/*function showInt(a, b) {
   if (document.images) {
    document.images[a].src = path+"img/"+b;
   return true;
   }
}

function ShowLayer(nameImg,srcImg){
	document.all["stregaDiv"].document.images[nameImg].src='img/'+srcImg;
	return true;
}*/
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ns6 = ((document.getElementById)&&(!ie4))? true:false

function showImg(a, b) {
   if (document.images) {
    document.images[a].src ="../img/"+b;
   return true;
   }
}

function showImgInt(a, b) {
   if (document.images) {
    document.images[a].src ="img/"+b;
   return true;
   }
}


function Apri(quale) {
	    if (quale == 1) window.open("http://www.disney.it/Publishing/privacy.htm","condizioni","width=420,height=400, resizable=no,menubar=no,scrollBars=1");
		if (quale == 2) window.open("http://www.disney.it/Publishing/condizioni.htm","condizioni","width=420,height=400, resizable=no,menubar=no,scrollBars=1");
	  }
	  

function ShowImgLayer(nameImg,srcImg){
	if(ie4) document.all["stregaDiv"].document.images[nameImg].src='img/'+srcImg;
	else if(ns4) document.layers["stregaDiv"].document.images[nameImg].src='img/'+srcImg;
	else if(ns6) document.getElementById("stregaDiv").document.images[nameImg].src='img/'+srcImg;
	return true;
}


function shake(n) {
if (parent.moveBy) {
	for (i = 10; i > 0; i--) {
	for (j = n; j > 0; j--) {
		parent.moveBy(0,i);
		parent.moveBy(i,0);
		parent.moveBy(0,-i);
		parent.moveBy(-i,0);
        }
     }
  }
}


function Lascia(dove) {
window.open("http://www.abbonamentionline.com/"+dove,"sito","scrollbars=1");
//	window.open("http://www.abbonamentionline.com/"+dove,'sito');
	    window.open("../away.htm","away","width=400,height=237, resizable=no,menubar=no,scrollBars=1");
	  }

function LasciaA(dove) {
	//window.open(dove,'altrosito');
	
		window.open(dove,"altrosito","scrollbars=1");
	    window.open("../away.htm","away","width=400,height=237, resizable=no,menubar=no,scrollBars=1");
	  }

