    var ie4 = (document.all) if (!ie4)  document.write("<" + "script SRC=\"http://www.fetenet.com/dhtmllib2.js\"><\/script>") else  setup = new Function()function changeAd(page)	{					document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>");			document.write("<td width='231' bgcolor='black'><img height='1' width='231' src='images/fill.gif'><img src='http://www.fetenet.com/images/topleft.jpg' width='231' height='72'></td>");			document.write("<td bgcolor='black' align='left' width='394'>");						adchoice(page);						document.write("</td>");			document.write("<td width='100%' bgcolor='black'><img height='1' width='100%' src='http://www.fetenet.com/images/fill.gif'></td>");			document.write("</tr></table>");						}	function adchoice(page)	{				/*document.write("<img src='http://www.fetenet.com/images/sexfilesfn.gif'>");*/		if ( (page == 'intro')  )		{				document.write("<a href='http://info.fetenet.com/fn/updateus.lasso?'>");						document.write("<img src='http://www.fetenet.com/images/ad4.gif' border=0 hspace=10></a>");					} else if ( (page == 'showtopcs') ||  (page == 'newsdetail') )		{			document.write("<a href='http://info.fetenet.com/fn/updateus.lasso?'>");						document.write("<img src='http://www.fetenet.com/images/ad4.gif' border=0></a>");						}				else if ( (page == 'horoscope') || (page == 'showclub')  || (page == 'technology') || (page == 'personals') )		{			document.write("<a href='http://info.fetenet.com/fn/sexfiles.lasso?'>");			document.write("<img src='http://www.fetenet.com/images/ad1.gif' border=0></a>");					}else if ( (page == 'sexfiles') ||  (page == 'food') ||  (page == 'archives') )		{			document.write("<a href='http://info.fetenet.com/fn/showtopcs.lasso?-database=csnews.fp3&-layout=news&category=fete+net&-search&-sortfield=todayrelease&-sortorder=ascending&-sortfield=eventtoday&-sortorder=ascending&approved=yes&currentNE=Y&-noresultserror=noresults.html&-maxrecords=20'>");			document.write("<img src='http://www.fetenet.com/images/ad3.gif' border=0></a>");					}						else				{			document.write("<a href='http://info.fetenet.com/fn/chat.lasso?'>");					document.write("<img src='http://www.fetenet.com/images/ad2.gif' border=0></a>");			}		}/* Error Trap form for Profiles - Club Romance */function submitNow(form){if (  (document.mailfriend.EmailSend.value=='') || (document.mailfriend.name.value=='')  )	{	alert("A Name and Email Address Must Be Filled In To Continue. Thank You.");	}else	{ 	form.submit(); 	}}/* Open Dialog Window */ function launch(dialogfile,w,h) {  /* self.name = "opener";   remote = open("http://" + dialogfile, "remote", "resizable,status,width=" + w + ",height=" + h + ",left=0,top=0");   */    /*  remote=window.open("http://" + dialogfile, "remote", "resizable,status,width=" + w + ",height=" + h + ",left=0,top=0");  remote.creator=self;  */    if (dialogfile == "www.fetenet.com/adultcheck.html")  {	var windowprops = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,status=yes" + ",left=0,top=0,width=" + w + ",height=" + h;  }  else  {	var windowprops = "location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes,status=yes" + ",left=0,top=0,width=" + w + ",height=" + h;    }	var URL = "http://" + dialogfile;win = window.open (URL,"newwin", windowprops);	win.creator = self;	/*remote = window.open(URL,"Remote",windowprops);  remote.master=self;*/			 }/* BESTCLUB.HTML */function jumpclub(){nulocate=document.clubchoice.club.options[document.clubchoice.club.selectedIndex].value;document.location=nulocate;}/* FOOD.HTML */function jumpcity(){nulocate=document.citychoice.city.options[document.citychoice.city.selectedIndex].value;document.location="http://info.fetenet.com/fn/food.lasso?-database=food.fp3&-search&-layout=food&city=" + nulocate + "&-noresultserror=noresultsE.html";}/* Live Clock */function lead0(val) {  // add leading 0s when necessary  return val<10 ? "0"+val.toString() : val } function buildTime() {  var time = new Date()  var ampm = "AM"  var h=time.getHours()  // fix military time and determine ampm  if (h > 12) {h = h - 12; ampm = " PM";}     return "<font size='2' align='right' color='#000000' >Current Time: " + h+":"+lead0(time.getMinutes())+":"+ lead0(time.getSeconds()) + ampm + "</font><br><font size=1>(Eastern Standard Time)</font>" } function tick() {  // Replace the plain-text contents of the clock element  document.all.clock.innerHTML = buildTime() }         function doLoad() {       setup()     /*  setInterval("tick()",900)*/       setInterval("tick()",900)           	     }/* Clear previous element in multiple radio button polls */     /* Sex Pole */function clearbox(x)		{	for (i=4; i<8; i++)		if (x != i)			document.sexpoll.elements[i].checked=false;	}     /* Show / hide Ticket Outlet Locations */ function displayPopup() {        document.all.navBar.style.visibility = "visible"        window.event.cancelBubble = true        window.event.returnValue = false}function hidePopup() {        document.all.navBar.style.visibility = "hidden"}       function doLoad1() {       setup()        document.onmouseup = hidePopup  }                  <!-- ------------------- //-->      /* Check for Page with no Clock */    	locate = document.location + "";	ptn = locate.indexOf('showclub');    /*	if  ( (locate.indexOf('socachart') == -1) && (locate.indexOf('showclub') == -1) && (locate.indexOf('clubdetail') == -1) && (locate.indexOf('noresults2') == -1) )	window.onload = doLoad;  */        