today=new Date; day=today.getDay(); month=today.getMonth(); date=today.getDate(); year=today.getYear(); dayName=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); monName=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); calendar=today.getYear() if (calendar<1900){calendar=calendar+1900} bannerday=dayName[day]+", "+monName[month]+" "+date; dailyday=monName[month]+" "+date+", "+calendar; datenoyear=monName[month]+" "+date; function openPopup(u,n){window.open(u,n,"width=560,height=560,status=no,location=no,scrollbars=yes,resizable=yes,screenX=25,screenY=25,left=25,top=25");return false;} function clearfield(){if(document.search.query.value=='Enter search term'){document.search.query.value='';}} function preload(u){if(document.images){var img=new Image;img.src=u;}} function changeImage(o,n){if(document.images){document[o].src=n;}return true;} function citation(d,p){w=window.open('/applets/citethispage.php?dir='+d+'&passpage='+p+'&referer='+escape(location.href)+'&title='+escape(document.title),'citation','width=550,height='+(screen.availHeight-200)+',screenX=10,screenY=10,status=yes,resizable=yes,scrollbars=yes,toolbar=yes');w.focus();} function EmailForm(d){w=window.open('/applets/emailpage.php?dir='+d+'&referer='+escape(location.href)+'&title='+escape(document.title),'emailwindow','width=550,height=610,status=no,resizable=yes');w.focus();} // Hot Words ($Revision: 1.3 $) Copyright 2004 Infoplease. All rights reserved worldwide var IPHWver ="1";var IPHWstr="";var IPHWnum=0;var IPHWdest="";var IPHWid="ip"; //get selection function IPHWntg (w){ var str;var rng;var wspc=new RegExp('([ \\t\\v\\f\\r\\n]|%0D|%0A|%20)+','g'); if(w.getSelection!=null){str=escape(w.getSelection());str=str.replace(wspc,"%20");} else if(w.document.getSelection!=null){str=escape(w.document.getSelection());str=str.replace(wspc,"%20");} else if(w.document.selection.type=="Text" ){rng=w.document.selection.createRange();str=rng.text;} if(str) return (str); return ""; } function IPHWgrab(){ IPHWstr=IPHWntg(window); if (IPHWstr.length>0){window.top.status='Click to look up "'+unescape(IPHWstr)+'"';} else{window.top.status='Infoplease Hotwords: select text to look up';} return true; } function IPHWout(){window.top.status="";return true;} function IPHWgo(){IPHWnum++; if ((IPHWstr.length>0)){ url=IPHWdest+'/search.php3?query='+IPHWstr+'&hw='+IPHWid+IPHWver; childwin=window.open (url,'IPSearch'+IPHWnum,'directories=no,copyhistory=no,scrollbars=yes,resizable=yes,width=620,height=460'); }else{ var tm=String.fromCharCode(174); alert ('To use the HotWords'+tm+' lookup button:\n\n1. Highlight a word or phrase you want information about.\n2. Click the Hotwords button.\n3. A new window will pop up with our search results for your word or phrase.'); } return false; }