var msie = (navigator.appName.indexOf('Microsoft') == -1) ? 0 : 1;				var version = navigator.appVersion.substring(0, navigator.appVersion.indexOf(' '));				var win = (navigator.appVersion.indexOf('Win') != -1) ? 1 : 0;function openPopUpImage(url,iwidth,iheight,ititle,center) 	{	xposition=0;	yposition=0;	if ((parseInt(navigator.appVersion) >= 4 ) && (center))   		{        xposition = (screen.width - iwidth) / 2;        yposition = (screen.height - iheight) / 2;    	}		if( !msie && version < 4 ) 		{		popUpWin = window.open('','popup','screenx='+(xposition)+',screeny='+(yposition)+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+(iwidth+25)+',height='+(iheight+44));		} 	else 		{		    	popUpWin = window.open('','popup','left='+(xposition)+',top='+(yposition)+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+(iwidth+20)+',height='+(iheight+70));		}	popUpWin.document.writeln("<HTML><HEAD><TITLE>Surfside 7s</TITLE>");	popUpWin.document.write('<link rel="stylesheet" href="scripts/style.css">');	popUpWin.document.writeln("</HEAD>");	popUpWin.document.write('<body ');	popUpWin.document.writeln('  marginheight="0" marginwidth="0" leftmargin="0" topmargin="5">');	popUpWin.document.writeln('<table border="0" cellpadding="3" cellspacing="5"><tr><td>');	popUpWin.document.writeln('<span class="subtitle"><center>');	popUpWin.document.write(ititle , '</center></span>');	popUpWin.document.write("</td></tr><tr><td width='", iwidth+10 ,"' height='", iheight+10 ,"' valign='top' align='center'>");	popUpWin.document.writeln('<IMG SRC="', url, '" height="',iheight,'" width="',iwidth,'"></td></tr>');	popUpWin.document.writeln("<tr><td width='",iwidth,"' valign='top' align='center'>");	popUpWin.document.writeln('<span class="text336699">');	popUpWin.document.write("<a href='javascript:window.close()'>Close</a></span>");	popUpWin.document.writeln("</td></tr></table>");	popUpWin.document.writeln('</body></HTML>');	popUpWin.document.close();    if (popUpWin.focus)     	{	    popUpWin.focus();    	}	}	function openAWindow(pageToLoad, winName, width, height, center) 	{	/* Opens a new window on the users desktop.*/                                      	   xposition=0; yposition=0;   if ((parseInt(navigator.appVersion) >= 4 ) && (center)){        xposition = (screen.width - width) / 2;        yposition = (screen.height - height) / 2;    }       args = "width=" + width + ","     + "height=" + height + ","     + "location=1,"     + "menubar=1,"    + "resizable=1,"    + "scrollbars=1,"    + "status=1,"     + "titlebar=1,"    + "toolbar=1,"    + "hotkeys=1,"    + "screenx=" + xposition + ","  //NN Only    + "screeny=" + yposition + ","  //NN Only    + "left=" + xposition + ","     //IE Only    + "top=" + yposition;           //IE Only    window.open( pageToLoad,winName,args );}