//popup photo gallery
function ShowPic (URL, DESCRIP) 
{
	windowprops = "height=344, width=436";
	
	text = '<html><head><title>Gustino Restaurant</title></head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">';
	text += '<table width="436" border="0" cellspacing="0" cellpadding="0" bgcolor="#3F3C38">';
	text += '<tr><td width="37" height="1" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td>';
	text += '<td width="362" height="1" align="left" valign="top"><img src="images/1x1tr.gif" width="362" height="1"></td>';
	text += '<td width="37" height="1" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="3" align="left" valign="top" bgcolor="#C99F05"><img src="images/1x1tr.gif" width="1" height="3"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="3" align="left" valign="top"><img src="images/1x1tr.gif" width="1" height="3"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="1" align="left" valign="top" bgcolor="#C99F05"><img src="images/1x1tr.gif" width="1" height="1"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="25" align="left" valign="top"><img src="images/1x1tr.gif" width="1" height="25"></td></tr>';
	text += '<tr><td width="37" height="240" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td>';
	text += '<td width="362" height="240" align="center" valign="middle">';
	text += "<a href='javascript:close()'>";
	text += '<img src="' + URL + '" style="border: 0px;"></a></td>';
	text += '<td width="37" height="240" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="25" align="left" valign="top"><img src="images/1x1tr.gif" width="1" height="25"></td></tr>';
	text += '<tr><td width="37" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td>';
	text += '<td width="362" align="center"><font face="Arial, Verdana" size="2" color="#ffffff">' + DESCRIP;
	text += '</font></td>';
	text += '<td width="37" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="25" align="left" valign="top"><img src="images/1x1tr.gif" width="1" height="25"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="1" align="left" valign="top" bgcolor="#C99F05"><img src="images/1x1tr.gif" width="1" height="1"></td></tr>'; 
	text += '<tr><td colspan="3" width="436" height="3" align="left" valign="top"><img src="images/1x1tr.gif" width="1" height="3"></td></tr>';
	text += '<tr><td colspan="3" width="436" height="3" align="left" valign="top" bgcolor="#C99F05"><img src="images/1x1tr.gif" width="1" height="3"></td></tr>';
	text += '<tr><td width="37" height="1" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td>';
	text += '<td width="362" height="1" align="left" valign="top"><img src="images/1x1tr.gif" width="362" height="1"></td>';
	text += '<td width="37" height="1" align="left" valign="top"><img src="images/1x1tr.gif" width="37" height="1"></td></tr>';
	text += '</table></body></html>';
	
	preview = window.open("", "preview", windowprops);
	preview.document.open();
	preview.document.write(text);
	preview.document.close();
}


//popup menu
function menuPop (URL,WIDTH,HEIGHT)
{
	var params = "toolbar=0";
	params += ",scrollbars=1";
	params += ",statusbar=0";
	params += ",menubar=0";
	params += ",resizable=1";
	params += ",width=" + WIDTH;
	params += ",height=" + HEIGHT;
	params += ",left=192";
	params += ",top=144";
	
	mainpopup = window.open(URL,"_blank",params);
}




