function zoom(path)
	{
	i1 = new Image;
	i1.src = path;
	html = '<HTML>\n<HEAD>\n<TITLE>Image</TITLE>\n</HEAD>\n<BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER>\n<a href=\"#\" onClick=\"window.close()\"><IMG SRC="'+path+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+14,document.imageTest.height+32)"><\/a>\n</CENTER>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','width=100,height=100,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};

function auth(title, text)
	{
	html = '<HTML>\n<HEAD>\n<TITLE>'+title+'</TITLE>\n</HEAD>\n<BODY bgcolor=\"#01426E\" text=\"#68ACD9\" link=\"#68ACD9\" vlink=\"#68ACD9\" alink=\"#68ACD9\" LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0>\n<CENTER>\n<a href=\"#\" onClick=\"window.close()\">'+text+'<\/a>\n</CENTER>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','width=300,height=150,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	}

function instructions(address_label, address_text, instr_label, instr_text)
	{
	html = '<HTML>\n<HEAD>\n<TITLE>'+instr_label+'</TITLE>\n<style type="text/css">\n<!-- \nbody {\n	font-family: Verdana;\n	font-size: 11px;\n}\n-->\n</style>\n</HEAD>\n<BODY bgcolor=\"#01426E\" text=\"#68ACD9\" link=\"#68ACD9\" vlink=\"#68ACD9\" alink=\"#68ACD9\" LEFTMARGIN=10 MARGINWIDTH=10 TOPMARGIN=10 MARGINHEIGHT=10>\n<b>IMMOGAMMA, BENIDORM<\/b><br><br><b>'+address_label+':<\/b> '+address_text+'<br><b>'+instr_label+':<\/b> '+instr_text+'<br><br><img src=\"img\/mappa1.jpg\"><br><br><img src=\"img\/mappa2.jpg\"><br>\n<script language="JavaScript">\nwindow.onload = function() {\nif (typeof(window.print) != "undefined"){window.print();}\nelse{var str = "Please press CTRL + P"; alert (str); }\n}\n</script>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','width=460,height=660,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=auto,resizable=0');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	}

function details (html_text)
	{
	html = '<HTML>\n<HEAD>\n<TITLE>Print</TITLE>\n<style type="text/css">\n<!-- \nbody, td {\n	font-family: Verdana;\n	font-size: 11px;\n}\n-->\n</style>\n</HEAD>\n<BODY bgcolor=\"#01426E\" text=\"#68ACD9\" link=\"#68ACD9\" vlink=\"#68ACD9\" alink=\"#68ACD9\" LEFTMARGIN=10 MARGINWIDTH=10 TOPMARGIN=10 MARGINHEIGHT=10>\n'+html_text+'\n<script language="JavaScript">\nwindow.onload = function() {\nif (typeof(window.print) != "undefined"){window.print();}\nelse{var str = "Please press CTRL + P"; alert (str); }\n}\n</script>\n</BODY>\n</HTML>';
	popupImage = window.open('','_blank','width=760,height=660,toolbar=0,location=0,directories=0,menuBar=0,scrollbars=yes,resizable=1');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	}

function displayFlashInfo()
	{
	var flashInfo = flash.getFlashInfo();
	details(flashInfo)
	}

