function jumpsite(nuova){ 
	xwidth="790"
	xheight="550"
	alth= screen.height/2
	largh = screen.width/2
	alth1=xheight/2+25
	largh1=xwidth/2+10
	alth=alth-alth1
	largh=largh-largh1
   	immage = window.open(nuova,"popDialog","width="+xwidth+",height="+xheight+",scrollbars=0,top="+alth+",left="+largh)  
	immage.window.focus();
}


function controlloBrowser()
{ 	
   	if (navigator.appName.indexOf("Microsoft")!=-1 && navigator.platform.indexOf("Win")!=-1 ) return true
   	else return false;	
}

function jumpsite_full() {
pagina = "finestra.htm";
nome_finestra = "amuletij";

	var W = window.screen.width-10;
	var H = window.screen.height-30;
   	
	if (controlloBrowser) 
		{
			opzioni="fullscreen=1"
		}
		else 
		{
			opzioni="width="+W+",height="+H+",top=0,left=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0";
		}
	
	var tuttoschermo = window.open(pagina ,nome_finestra, opzioni);
	tuttoschermo.focus();
}

function Check_Flash()
{
	Plug_Flash = "Shockwave Flash";
  	if ((navigator.plugins && navigator.plugins[Plug_Flash]) ||  (navigator.appName.indexOf('Microsoft') != -1 && navigator.appVersion.indexOf('Mac') == -1 && navigator.appVersion.indexOf('3.1') == -1)) 
   	{
    	    Apertura();
  	} else {
	    alert("Il sistema non ha rilevato il Plug-in Flash.");
	}
}


function dettaglio(pagina,nome,at,lg)
{
 up=(screen.height) ? (screen.height-at)/2 : 0;
 sx=(screen.width) ? (screen.width-lg)/2 : 0;

 new_finestra=window.open(pagina,nome,'height='+at+',width='+lg+',Top='+up+',Left='+sx+',scrollbars=yes,status=no,location=no,toolbar=no menubar=no')
 if (new_finestra.window.focus)
 {
  new_finestra.window.focus();
 }

}



function dettaglio(pagina){ 
	xwidth="700"
	xheight="450"
	alth= screen.height/2
	largh = screen.width/2
	alth1=xheight/2
	largh1=xwidth/2
	alth=alth-alth1
	largh=largh-largh1
   	presspage = window.open(pagina,"popDialog","width="+xwidth+",height="+xheight+",scrollbars=1,top="+alth+",left="+largh)  
	presspage.window.focus();

}


function photocolle(foto){ 
	xwidth="377"
	xheight="550"
	alth= screen.height/2
	largh = screen.width/2
	alth1=xheight/2
	largh1=xwidth/2
	alth=alth-alth1
	largh=largh-largh1
   	immage = window.open("foto.asp?foto="+foto,"collezione","width="+xwidth+",height="+xheight+",scrollbars=0,top="+alth+",left="+largh)  
	immage.window.focus();

}
