codice:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
function Pinform(sito){
newf = window.open( "popup/f-inform.htm","alti","toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable=yes,width=430,height=450,top=100,left=150");
// newf.focus();
}
if(self.name==top.name){
/////////////////// mda routine //////////////////////////////
/*
This script gets the URL of the current page,
then extracts the file name and path from the URL
*/
var URL = unescape(location.href); // get current URL in plain ASCII
var xstart = URL.lastIndexOf("it/") + 3;
var xend = URL.length;
var hereName = URL.substring(xstart,xend);
var herePath = URL.substring(0,xstart);
// alert("The name of the current file is: " + hereName);
// document.write("The path of the current file is: " + herePath);
//
// old
//if(self.name==top.name){location.href="http://www.alessio.org"}
// if(top.location.search!=''){self.location.href=top.location.search.substr(1)}
alert(" Attenzione: Giungere ad una pagina web saltando la pagina principale, crea errori di navigazione !\n Meglio iniziare da http://www.alessio.org ");
location.search='';
location.href="indexsearch.htm?vadoli="+escape(hereName);
}