// AjaxScript adaptation multi-navigateurs : Internet Explorer, Safari, Mozilla Firefox pour Windows, Mac, Linux.
// Permet surtout l'exécution des codes javascripts appellés en Ajax.
// A utiliser librement !!! by Cyrilouletouriste, le 18 Janvier 2007.

var urlDOCLIGNE = "http://www.nxtbook.fr/newpress/guiltour/Queyras/Guide-pratique-Queyras-ete-2009/index.php";

urlDOCLIGNE += urlDOCLIGNE.indexOf("?") == -1 ? "?" : "&"

function openDOCLIGNE( fullscreen,page )

{

if ( fullscreen != 0 )

{

if( (navigator.appName == "Microsoft Internet Explorer") &&

(navigator.platform != "MacPPC") )

{

ff=window.open(urlDOCLIGNE + "startpage="+page+"&"+

"bm=iefullscreen",'NXTbookFullscreen','fullscreen=yes');

}

else

{

ff=window.open(urlDOCLIGNE + "startpage="+page+"&"+

"bm=maximized",'NXTbookFullscreen','top=0,left=0,width='+screen.width

+',height='+screen.height+',menubar=no,resize=no');

}

}

else

{

self.location.href = urlDOCLIGNE + "startpage=" + page + "&" + "bm=normal"

}

ff.focus();

return true;

}


