function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function selezionaLingua(ID,IDa,pagina,lang){	        
    url = document.location.host;        
    if (IDa !=0)
	    url = "http://"+url+""+pagina+"?ID="+ID+"&IDa="+IDa+"&lang="+lang+"";			
	else if (ID !=0)
	    url = "http://"+url+""+pagina+"?ID="+ID+"&lang="+lang+"";			    
	else
	    url = "http://"+url+""+pagina+"?lang="+lang+"";			        
	document.forms[0].action = url;
	document.forms[0].submit();
}

function selezionaBudget(ID){	        
    url = document.location.host;    
	url = "http://"+url+"/catalogo_prodotti.aspx?IDb="+ID+"";			
	document.forms[0].action = url;
	document.forms[0].submit();
}


function selezionaTipologia(ID){	        
    url = document.location.host;    
	url = "http://"+url+"/catalogo_prodotti.aspx?prov=invio";			
	document.forms[0].action = url;
	document.forms[0].submit();
}

function registrati(){	    
    url = document.location.host;    
	url = "http://"+url+"/registrazione_step1.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function newsletter(){	        
	url = "http://alchimedia.mailupnet.it/frontend/subscribe.aspx";				
	document.forms[0].action = url;
	document.forms[0].target = "_blank";			
}



function prenota(){	    
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/prenota.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function registrati2(){	    
    url = document.location.host;    
	url = "http://"+url+"/registrazione_step2.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function modificaDati(){	    
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/modifica_dati.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}
function segnalaDon(){	    
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/segnala_donazione.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}


function segnala(){	    
    url = document.location.host;    
	url = "http://"+url+"/segnala.aspx?from=post";			
	document.forms[0].action = url;	
}


function modificaDatiDon(){	    
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/modifica_dati_donatore.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function login(){	    
    url = document.location.host;    
	url = "http://"+url+"/login.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function ricorda(){	        
    url = document.location.host;    
	url = "http://"+url+"/ricorda.aspx?from=post";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}
function vaiARegistrati(){	    
    url = document.location.host;    
	url = "http://"+url+"/registrazione_step1.aspx";			
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function vaiKiros(){	        
	url = "https://www.kirosrent.com/cgi-bin/kfs2/kfs_popup_ws.cgi";				
	document.forms[0].target="_blank"
	document.forms[0].action = url;
	document.forms[0].submit();
}

function addCarrello(){	        
	url = document.location.host;    
	url = "http://"+url+"/carrelloAdd.aspx";		
	document.forms[0].action = url;
	//document.forms[0].submit();
}

function tornaCatalogo(){	        
	url = document.location.host;    
	url = "http://"+url+"/shop.aspx";		
	document.forms[0].action = url;
	
}

// Funzione utilizzata nel carrello per aggiornare
function aggiorna(){	
    url = document.location.host;    
	url = "http://"+url+"/carrelloEdit.aspx";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere
function procedi(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step2.aspx";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere
function procedi3(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step3.aspx?from=noAtt";		
	document.forms[0].action = url;
}


// Funzione utilizzata procedere
function procedi2(){	
    url = document.location.host;    
	url = "http://"+url+"/service.aspx?trouble=noqMin";		
	document.forms[0].action = url;
}


// Funzione utilizzata procedere
function procediOfferta(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/offerta.aspx";		
	document.forms[0].action = url;
}


// Funzione indietro
function indietro(){	   
	url = "javascript:history.back(-1);";		
	document.forms[0].action = url;	
}

// Funzione utilizzata procedere carrello 8
function procediCarStep8(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/bivio.aspx";		
	document.forms[0].action = url;
}


// Funzione utilizzata procedere carrello 3
function procediCarStep3(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step3.aspx";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere carrello 4
function procediCarStep4(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step4.aspx";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere carrello 5
function procediCarStep5(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step5.aspx";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere carrello 6
function procediCarStep6(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step6.aspx";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere carrello 8 ritiro sede
function procediCarStep6bi(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step7.aspx?from=sede";		
	document.forms[0].action = url;
}

// Funzione utilizzata procedere carrello 7
function procediCarStep7(){	
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/carrello_step7.aspx";		
	document.forms[0].action = url;
}



// Funzione utilizzata procedere kiros
function procediKiros(){	    
	url = "https://www.kirosrent.com/cgi-bin/kfs2/kfs_calc_ws.cgi";		
	document.forms[0].target="_blank"
	document.forms[0].action = url;
}


// Funzione utilizzata procedere carrello 6
function procediCarta(){	
    url = document.location.host;        
	url = "https://ecommerce.cim-italia.it/ecomm/DispatcherServlet";		
	document.forms[0].action = url;
}

function pagaPreview(){	        
    url = document.location.host;    
	url = "http://"+url+"/areaRiservata/pagaPreview.aspx";			
	document.forms[0].action = url;	
}

function ricerca(){	        
    url = document.location.host;    
	url = "http://"+url+"/risultati_ricerca.aspx";			
	document.forms[0].action = url;
	document.forms[0].submit();
}

function ricerca_avanzata(){	        
    url = document.location.host;    
	url = "http://"+url+"/risultati_ricerca.aspx?from=cerca";			
	document.forms[0].action = url;
	document.forms[0].submit();
}

