	function A_pri(p_ath)
	{
		//window.open('Files/'+p_ath,'ModuloCorso','width=700,height=550,top=0,left=0,menubar=yes');
		var frmPDF = document.getElementById('stampefrm');
		frmPDF.src='Files/'+p_ath;
	}
	function D_ownL(p_ath)
	{
		var mywin=window.open('Download/'+p_ath,'DownLoad','width=0,height=0,top=0,left=0,menubar=no');
		mywin.close();
	}
	function M_anuali(p_ath)
	{
		var mywin=window.open('Manuali/'+p_ath,'DownLoad','width=0,height=0,top=0,left=0,menubar=no');
		mywin.close();
		//return "Manuali/"+ p_ath;
	}
	function F_oto(p_ath)
	{
		var mywin=window.open(p_ath,'FotoImmagine','width=1000,height=700,top=0,left=0,menubar=no');
	}
	function G_estionale(p_ath)
	{
		var mywin=window.open(p_ath,'Software','width=200,height=30,top=0,left=0,menubar=no');
	}

	function Registra(){
		document.location.replace('index.php?page=C2');
	}

	function goHome(){
		document.location.replace('index.php?page=T1');
	}	
	function InfoArea(){
		document.location.replace('index.php?page=C3');
	}

	function Recupero(){
		document.location.replace('index.php?page=C4');
	}	
	function goLogin(){
		document.location.replace('index.php?page=C7');
	}
	
	function goInfoUtente(){
		document.location.replace('index.php?page=C8');
	}
	
	function selezionaTest(){
		document.forms[0].action="index.php?page=L4";
		document.forms[0].submit();
	}		
	
	function avviaTest(idTs){
		document.forms[0].elements("idtest").value=idTs;
		document.forms[0].action="index.php?page=L5";
		document.forms[0].submit();
	}			

	function goDomandaSucc(num){
		document.forms[0].elements("numero").value=num;
		document.forms[0].action="index.php?page=L5";
		document.forms[0].submit();
	}			

	function goDomandaPrec(num){
		document.forms[0].elements("prec").value=num;
		document.forms[0].action="index.php?page=L5";
		document.forms[0].submit();
	}			

	function goRisultato(num){
		document.forms[0].elements("numero").value=num;
		document.forms[0].action="index.php?page=L6";
		document.forms[0].submit();
	}			
