function imgPopup(titolo,nomefile,descr,prezzo){
   msg=open("","prodotti","toolbar=no,directories=no,menubar=no,width=600,height=550,resizable=yes");
   msg.document.write('<html>\n<HEAD>\n<TITLE>',titolo);
   msg.document.write('</TITLE>\n<link rel="Stylesheet" href="css/screen.css" type="text/css" media="screen,print" />\n</HEAD>\n<body>\n<br />\n');
   msg.document.write('<div id="ThreeColMiddleBody">');
   msg.document.write('<img src="',nomefile,'" />\n');
   msg.document.writeln('<p class="totopBlack"><strong>',descr,'</strong></p>');
   msg.document.write('\n<p><strong>Prezzo : </strong>&euro; ',prezzo,'</p>');
    msg.document.write('</div>');
   msg.document.write("</body></html>");
   msg.document.close();
} 
function jump(menu,nome,file) {
	var loc = document.getElementById(menu).options[document.getElementById(menu).selectedIndex].value; 
	window.location=file+".php?"+nome+"="+loc;
}

function confirmAction(urlconfirm,selfpage)
{
  action = confirm('Sei sicuro ?')
  if (action==true)
    parent.self.location.href = urlconfirm;
  if (action==false)
    parent.self.location.href = selfpage;
}
