function chkBrowser(){this.ver=navigator.appVersion;this.dom=document.getElementById?1:0;this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;this.ns4=(document.layers && !this.dom)?1:0;this.bVer=(this.ie5 || this.ie4 || this.ns4 || this.ns5);return this;}
bVer=new chkBrowser();ns4 = (document.layers)? true:false;ie4 = (document.all)? true:false;function AttB(f){if(bVer.ie4)f.style.display='block';}function AttN(f){if(bVer.ie4)f.style.display='none';}

function show(idLayer,idParent){
cLayer=bVer.dom?document.getElementById(idLayer).style:bVer.ie4?document.all[idLayer].style:bVer.ns4?idParent?document[idParent].document[idLayer]:document[idLayer]:0;
cLayer.display='block';divLinksForm=(ns4)?document.divLinks.document.divLinks:document.divLinks;}

function hide(idLayer,idParent){cLayer=bVer.dom?document.getElementById(idLayer).style:bVer.ie4?document.all[idLayer].style:bVer.ns4?idParent?document[idParent].document[idLayer]:document[idLayer]:0;
var d=document.Wiz;cLayer.display='none';}

function A_openBrWindow(theURL) {
var externalWin1 = null;
externalWin1 = window.open(theURL,'FotoA','width=300,height=300,top=0,left=0,Resizable=1');
}

function B_openBrWindow(theURL) {
var externalWin2 = null;
externalWin2 = window.open(theURL,'Note','width=600,height=500,top=0,left=0,Resizable=1,ScrollBars=1');
}

function chiama() {
var externalWin33 = null;
externalWin33 = window.open('Chiama.htm','Chiamacigratis','width=430,height=380,top=0,left=0,Resizable=1,ScrollBars=0');
}

function Note(theURL) {
var externalWin1 = null;
externalWin1 = window.open(theURL,'Note','width=600,height=500,top=0,left=0,Resizable=1,ScrollBars=1');
}

function VaiA(FileName,url)
{
    var movie = window.document.head
	window.main.location = url
    movie.SetVariable("filename",FileName);
    movie.TCallLabel("_root", "HeadSwap");
}

function reSize()
{
var fo1 = new FlashObject("swf/Bk_main.swf", "SecondoPiano", "1000", "700", "#ffffff");
fo1.addVariable("sec", getQueryParamValue("sec"));
fo1.addParam("quality", "Best");
fo1.addParam("wmode", "Transparent");
fo1.addParam("salign", "tl");
fo1.write("SecondoPiano");	
	
}



