return [parseInt(width),parseInt(height)];
}
+ this.basicauth_logout = function() {
+ var userAgent = navigator.userAgent.toLowerCase();
+
+ if (userAgent.indexOf("msie") != -1) {
+ document.execCommand("ClearAuthenticationCache", false);
+ }
+
+ xhr_objectCarte = null;
+
+ if(window.XMLHttpRequest)
+ xhr_object = new XMLHttpRequest();
+ else if(window.ActiveXObject)
+ xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
+ else
+ alert ("Your browser doesn't support XMLHTTPREQUEST");
+
+ xhr_object.open ('GET', '/logout', false, '\0', 'password');
+ xhr_object.send ("");
+ xhr_object = null;
+
+ document.location = window.location;
+ return false;
+ }
+
this.maximize = function(s) {
var height = $(window).height();
var width = $(window).width();