xGap=(navigator.appName == "Netscape")?11:9;
yGap=(navigator.appName == "Netscape")?31:29;

function popFooter(quale){
	var xCrd=(screen.availWidth-684-xGap)/2;
	var yCrd=(screen.availHeight-543-yGap)/2; 
	windowFeatures = 'width=684,height=543,status=no,top='+yCrd+',left='+xCrd
	newWindow=window.open('/popup_footer/pop_'+quale+'.php', 'footer', windowFeatures);
	
}

function giocoMissioneCuccioliBricks(){
	var xCrd=(screen.availWidth-820-xGap)/2;
	var yCrd=(screen.availHeight-670-yGap)/2; 
	windowFeatures = 'width=820,height=670,status=no,top='+yCrd+',left='+xCrd
	newWindow=window.open('http://www.focusjunior.it/comportamento_cani/index.html', 'footer', windowFeatures);
}
function giocoMissioneCuccioliPuzzle(){
	var xCrd=(screen.availWidth-620-xGap)/2;
	var yCrd=(screen.availHeight-440-yGap)/2; 
	windowFeatures = 'width=620,height=440,status=no,top='+yCrd+',left='+xCrd
	newWindow=window.open('http://www.legadelcane.org/giochi-gadget/puzzle.html', 'footer', windowFeatures);
}

