function GenerateRand(pageToLoad, winName, width, height, center, scroll) {		//alert("mathdd");			randomNum(x);			pageToLoad = pageToLoad + "?seq=" + x;			//alert(pageToLoad);			openAWindow( pageToLoad, winName, width, height, center, scroll);		}function randomNum (x) {	var x = Math.random();	}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 );}function changepage()	{		//Fe - Form element		fe = document.formname;		//SE - select element		se = document.formname.selectname.options;		//alert(se.selectedIndex);			reload = se[se.selectedIndex].value;		//use the alert for testing, uncomment the document.location line to do real work.		//selecttest should be your 'empty' page		//alert(reload);		document.location = reload;	}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;  	width=iwidth+20;  	height=iheight+35;  	if ((parseInt(navigator.appVersion) >= 4 ) && (center)){        xposition = (screen.width - width) / 2;        yposition = (screen.height - height) / 2;    }	if( !msie && version < 4 ) 		{		popUpWin = window.open('','popup','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,screenx='+xposition+',screeny='+yposition+',left='+xposition+',top='+yposition+',width='+(iwidth+25)+',height='+(iheight+44));		} 	else 		{		    	popUpWin = window.open('','popup','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,screenx='+xposition+',screeny='+yposition+',left='+xposition+',top='+yposition+',width='+(iwidth+20)+',height='+(iheight+35));		}	popUpWin.document.writeln("<HTML><HEAD><TITLE>Hancock Building Associates, Inc.</TITLE></HEAD>");	popUpWin.document.write('<body link="#000033" alink="#b22222"');	popUpWin.document.write(' vlink="#a9a9a9" bgcolor="white" text="#000033" ');	popUpWin.document.writeln('  marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">');	popUpWin.document.writeln('<FONT face="arial,helvetica,sans-serif" size="2"><center><b>');	popUpWin.document.write(ititle , '</b></center></font>');	popUpWin.document.write("<TABLE><tr><td width='", iwidth+20 ,"' height='", iheight+140 ,"' 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('<FONT face="arial,helvetica,sans-serif" size="2">');	popUpWin.document.write("<a href='javascript:window.close()'>Close</a></font>");	popUpWin.document.writeln("</td></tr></table>");	popUpWin.document.writeln('</body></HTML>');	popUpWin.document.close();    if (popUpWin.focus)     	{	    popUpWin.focus();    	}	}