var inactivemenu = -1;

function Top_Banner() {
var d = document
var TopA = Top_Banner.arguments
var StrAboutUs ="<a href='http://www.WhatKidsCanDo.org/aboutus/A_aboutusDirectory.html' onMouseOver=\"MM_callJS('menu1();')\" onMouseOut=\"MM_callJS('menu1shut();')\">"
var StrFeatures ="<a href='http://www.WhatKidsCanDo.org/FeatureStories/A_FeatureStoriesDirectory.html' onMouseOver=\"MM_callJS('menu2();')\" onMouseOut=\"MM_callJS('menu2shut();')\">"
var StrWire ="<a href='http://www.WhatKidsCanDo.org/Wire/Wire.asp' onMouseOver=\"MM_callJS('menu3();')\" onMouseOut=\"MM_callJS('menu3shut();')\">"
var StrStudentWork="<a href='http://www.WhatKidsCanDo.org/StudentWork/A_StudentWorkDirectory.html' onMouseOver=\"MM_callJS('menu4();')\" onMouseOut=\"MM_callJS('menu4shut();')\">"
var StrResearch ="<a href='http://www.WhatKidsCanDo.org/Research/A_ResearchDirectory.html' onMouseOver=\"MM_callJS('menu5();')\" onMouseOut=\"MM_callJS('menu5shut();')\">"
var StrPublications ="<a href='http://www.WhatKidsCanDo.org/Publications/A_PublicationsDirectory.html' onMouseOver=\"MM_callJS('menu6();')\" onMouseOut=\"MM_callJS('menu6shut();')\">"
var StrResources ="<a href='http://www.WhatKidsCanDo.org/Resources/A_ResourcesDirectory.html' onMouseOver=\"MM_callJS('menu7();')\" onMouseOut=\"MM_callJS('menu7shut();')\">"
ObjHeader = TopA[0]
d.write("<Body BgColor='#FFFFFF' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' "+
        "onLoad=\"MM_preloadImages('http://www.WhatKidsCanDo.org/images/MenuButtons/AboutUsUP.gif','http://www.WhatKidsCanDo.org/images/MenuButtons/FeatureStoriesUP.gif', "+
       "'http://www.WhatKidsCanDo.org/images/MenuButtons/KidsOnTheWireUP.gif','http://www.WhatKidsCanDo.org/images/MenuButtons/StudentWorkVoiceUP.gif','http://www.WhatKidsCanDo.org/images/MenuButtons/ResearchUP.gif',"+
        "'http://www.WhatKidsCanDo.org/images/MenuButtons/WKCDPublicationsUP.gif','http://www.WhatKidsCanDo.org/images/MenuButtons/ResourcesUp.gif','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',"+
        "'http://www.WhatKidsCanDo.org/images/general/mailinglistUP.gif')\" background='http://www.WhatKidsCanDo.org/images/general/background.gif'");
d.write("<table width='720' border='0' cellspacing='0' cellpadding='0' vAlign='Top'> "+
            "<tr><td><a href='http://www.WhatKidsCanDo.org/Index.asp'><img src='http://www.WhatKidsCanDo.org/images/Headers/")
d.write(TopA[0])
    if (TopA[0] == "FrontPageHeader.gif")
          {d.write("' width='719' border='0'></a></td></tr></Table>"); 
           }
else {
      d.write("' width='719' border='0'></a></td></tr></Table>");
      }
    d.write("<table width='720' border='0' cellspacing='0' cellpadding='0' height='20'><tr><td nowrap>"); 
    d.write(StrAboutUs)    
    d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/AboutUs.gif' "+
            "height='20' border='0' name='Image1'></a>");
     d.write(StrFeatures)
     d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/FeatureStories.gif' "+
             "height='20' border='0'  name='Image2'></a>");
      d.write(StrWire)
       d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/KidsOnTheWire.gif' "+
               "height='20' border='0' name='Image3'></a>");
     d.write(StrStudentWork)
        d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/StudentWorkVoice.gif' "+
                "height='20' border='0' name='Image4'></a>");
        d.write(StrResearch)
        d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/Research.gif'  height='20' "+
            "border='0' name='Image5'></a>")
         d.write(StrPublications)
          d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/WKCDPublications.gif' height='20' "+
            "border='0' name='Image6'></a>")
           d.write(StrResources)
           d.write("<img src='http://www.whatkidscando.org/images/MenuButtons/Resources.gif'  height='20' "+
            " border='0' name='Image7'></a></td></tr></table>")
              }

function LeftMenu() {
      var LeftA = LeftMenu.arguments
       var d = document

var StrKOWire ="<a href='http://www.WhatKidsCanDo.org/Wire/Wire.asp'>"
var StrCategoryLine = ("<A href='A_"+LeftA[0]+"Directory.html'><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=#000066>"+LeftA[1]+" Directory</font></a>")
    var d = document
        d.write("<Link rel='stylesheet' href='http://www.whatkidscando.org/StyleMain.css'>"); 
    //**java script for fly-out menus
    startList = function FlyMenus() {
	 if (document.all&&document.getElementById) {
		 navRoot = document.getElementById("nav");
		 for (i=0; i<navRoot.childNodes.length; i++) {
			 node = navRoot.childNodes[i];
			 if (node.nodeName=="LI") {
		 	node.onmouseover=function FlyMenus() {
		 		this.className+=" over";
			 }
			 node.onmouseout=function FlyMenus() {
			 	this.className=this.className.replace(" over", "");
			 	}
		 	}
	 	}
 	}
 }
 window.onload=startList;
 //** End of Java script for fly-out menus
 
        //***This opens two column table for left hand menu & center well
         d.write("<Table width='720' vAlign='top' cellpadding='0' cellspacing='0'><Tr>")
         //****This opens Td for the left hand table
         d.write("<Td width='145' bgcolor='#DDD1BB' vAlign='top'>")
         d.write("<table width='145' valign='top' cellpadding='5'><TR>")
         d.write("<TD vAlign='top'><P>")
         d.write("<form method='POST' action='http://www.WhatKidsCanDo.org/Search/SearchDisplay.asp?SearchCase=FrontPage' Name='SearchForm'>"+
                       "<font size=2 face='Verdana, Arial, Helvetica, sans-serif' color=#660000><B>SEARCH: </B><BR>"+
                       "</font><font size=1 face='Verdana, Arial, Helvetica, sans-serif'>"+ 
                       "<input type='text' name='BoxSearchWords1' size='12'>&nbsp;"+
                       "<input type='image'  src='http://www.WhatKidsCanDo.org/Images/General/SearchGo.gif' border=0 alt='Go' onClick='document.SearchForm.submit()'>");
         d.write("</font></Form><Div Align='center'>"); 
               
        if (LeftA[2] != "Directory") {
                                   d.write("<BR><BR>")
		                            d.write(StrCategoryLine)
		                               }
         d.write("<P><a href='http://www.WhatKidsCanDo.org/index.asp'><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=#000066>Home</font></a><br>")
          d.write("<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=black><B>___________</B></font><P>"); 
         
		
		d.write(StrKOWire) 
		  d.write("<img src='http://www.WhatKidsCanDo.org/images/whitekids.gif' width='100' border='0' name='image34'></a>");    
		  d.write("<a href='http://www.whatkidscando.org/wire/wire.asp'>"+
				"<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color='#000066'><BR>[Current Wire News...]<br></a></font>"+
				"<P><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color='black'><B>___________</B></font></Div><P>");
				
//***Start the fly-out menus				
 d.write ("<ul id='nav'>" + 
    "<li id='fly'><div><a href=''><b><font size=1 color=000066>NEXT GENERATION PRESS</font></b></a></div>" +
	 "<ul id='NGP'>" +
	 "<li><a href='http://www.whatkidscando.org/ngp/ngpintro.html'><b>Homepage</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/NGP/whatwecanttellyou.html'><b>What We Can't Tell You</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/NGP/senttotheprincipal.html'><b>Sent to the Principal</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/NGP/firstinthefamily.html'><b>First in the Family</b></a></li>" +
	 "</ul>" +
	 "</li>" + 
    "<br><img src='http://www.whatkidscando.org/images/FlyMenus/spacer.gif' height='20'><br>" +
    "<li id='fly'><div><a href=''><b><font size=1 color=660000>Student Research for Action</font></b></a></div>" + 
	 "<ul>" + 
	 "<li><a href='http://www.whatkidscando.org/studentresearch/srahome.html'><b>Homepage</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/studentresearch/2005pdfs/0506grantapp.pdf'><b>2005-2006 Grant Application</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/studentresearch/04reports.html'><b>Links to '04-'05 Final Reports</b></a></li>" +
	 "</ul>" +
	 "</li>" + 
    "<br><img src='http://www.whatkidscando.org/images/FlyMenus/spacer.gif' height='20'><br>" +
    "<li id='fly'><div><a href=''><b><font size=1 color=660000>Students as Allies in Improving Their Schools</font></b></a></div>" + 
	 "<ul id='SAA'>" + 
	 "<li><a href='http://www.whatkidscando.org/studentallies/studentalliesintro.html'><b>Homepage</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/studentallies/SAAReports.html'><b>Reports and Tools</b></a></li>" +
	 "<li><a href='http://www.whatkidscando.org/studentallies/SAAResources.html'><b>Additional Resources and Links</b></a></li>" +
	 "</ul>" +
	 "</li> " +
    " <br><img src='http://www.whatkidscando.org/images/FlyMenus/spacer.gif' height='20'><br>" +
    "<li id='fly'><div><a href=''><b><font size=1 color=660000>Other Collections</font></b></a></div>" +
    "<ul id='Other'>" +
	 "<li><a href='http://www.whatkidscando.org/portfoliosmallschools/portfoliohome.html'><b>Student Learning in Small Schools:</b> An Online Portfolio</a></li>" +
	 "<li><a href='http://www.whatkidscando.org/intheirownwords/GradSpeeches05.html'><b>Graduation Speeches</b></a></li>" +
    "<li><a href='http://www.whatkidscando.org/centralhs/homeC.html'><b>Inside Out:</b> How a School Turns Itself Around</a></li>" +
	 "</ul>" +
    "</li>" + 
    "<br><img src='http://www.whatkidscando.org/images/FlyMenus/spacer.gif' height='20'><br>" +
    "</ul>"); 

//***End the fly-out menus	

//****Now Available: Books
d.write("<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=#660000>"+
"<b>NOW AVAILABLE IN PAPERBACK</b></font><p>"); 
d.write("<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=black><B>FIRES IN THE BATHROOM:</font></a></B></font><br>"+
"<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=black>"+
"<b>Advice to Teachers from High School Students</b><br><i>The New Press, April 2003</i>"+
"      <BR>by Kathleen Cushman and the students of What Kids Can Do. Introduction by Lisa Delpit<br></font>"+ 
"  <a href='http://www.whatkidscando.org/publications/a_firesdirectory.html'><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=#000066>"+
"<b>Preview and order</b></a><br></font><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=black><p>"+
"<p><br><font  size=1 face='Verdana, Arial, Helvetica, sans-serif' color=660000>");

d.write("<b>ARCHIVES</b><p></font><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=black>"+
"Like an e-zine, whatkidscando.org posts new content every six weeks. Click on the menu tabs for "+
"annotated directories of feature stories, student work and voice, and research reports. </font><p><br>");

		 //****Code for uploading emails to Topica.com
		d.write("<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=#660000><B>STAY INFORMED</B>");
      d.write("<FORM ACTION='http://www.email-publisher.com/survey/index.html' METHOD='POST' "+
              "TARGET='New_Window' NAME='TEPremotesub'>");
      d.write("<INPUT TYPE='HIDDEN' NAME='branding' VALUE='800058666'>");
      d.write("<INPUT TYPE='HIDDEN' NAME='primarylanguage' VALUE='eng'>");
      d.write("<INPUT TYPE='HIDDEN' NAME='secondarylanguage' VALUE='None'>");
	
		 d.write("<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color=Black>"+
               "Every six weeks, WKCD posts new content on our site. Just submit your e-mail"+ 
               " address, click  &#34;join&#34; and we&#146;ll add you to our list!</FONT></TD></TR>");
		 d.write("<TR><TD width =140><INPUT TYPE='HIDDEN' NAME='lists' VALUE='800058666'><P>"+
					"<FONT STYLE='font-size: 9pt' SIZE='-1'><INPUT TYPE='text' SIZE='20' NAME='email' "+
					"VALUE='your email' onFocus=\"if (document && document.TEPremotesub && document.TEPremotesub.email && document.TEPremotesub.email.value == 'your email') "+
					"document.TEPremotesub.email.value = '';\"></FONT>"+
					"<FONT STYLE='font-size: 9pt' FACE='Geneva,Helvetica,Arial,Sans Serif' SIZE='-1'><P>"+
					"<Center><INPUT TYPE='submit' VALUE='Join'></FONT></center></TD></TR></form>");
      
if (LeftA[2] == "DefaultMenu2") {
                        d.write("<TR><TD><img src='http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif'' width='140'  height='200'><P><a href='#Top'>"+
                                    "<font Class='LeftMenu'> Top</font></a><P>"+
	                            	   "<a href='http://www.WhatKidsCanDo.org/home/home.html'><font Class='LeftTitle'>Home</font></a><P>")
                         d.write("<img src='http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif''  width='140' height='200'><P><a href='#Top'>"+
                                    "<font Class='LeftMenu'>	Top</font></a><P>"+
	                            	   "<a href='http://www.WhatKidsCanDo.org/Home/home.html'><font Class='LeftTitle'>Home</font></a><P>&nbsp;<P></TD></TR>")
                                    }
                }
function CenterPrep() {
              var CenterArgs = CenterPrep.arguments
             var d = document
             d.write("</TD></Tr></Table></Td><TD width='510' vAlign='Top'>")
        //This puts in the EmailThis Article to a Friend 
            if ( CenterArgs[0] != "NoEmail" ) {
              var StrUrl = parent.document.location 
               d.write("<Div align='right'><BR><img src='http://www.whatkidscando.org/images/general/email.jpg'>");
               d.write("&nbsp;&nbsp;<A href='http://66.116.178.189/Scripts/EmailForm.asp?Url=");
               d.write(StrUrl+"&Title=GrabTitle'>");
               d.write("<font size=1 face='Verdana, Arial, Helvetica, sans-serif' color='#000066'>");
               d.write("Email this page to a friend</A>&nbsp;&nbsp;&nbsp;</Div>"); 
                       }
                         } 
function BottomInfo() {  
var d = document
   
	d.write("</TD></TR></Table>")
	 d.write("<Table Width='720' vAlign='Center'  Align='Top'><TR><TD><p align='center'>"+
                 "<img src='http://www.WhatKidsCanDo.org/images/general/logo.gif' "+
          "width='146' height='97' border='0' align='left' name='Image33'></a></Td><Td align='center'>"+
            	 "<font face='Verdana, Arial, Helvetica, sans-serif' size='1' color='#000066'>"+
                 "<a href='#Top'>Top of Page</a> | "+ 
                "<a href='http://www.whatkidscando.org/Index.asp'>Home</a> | "+ 
                 "<a href='http://www.whatkidscando.org/aboutus/A_aboutusDirectory.html'>About Us</a> | "+ 
                 "<a href='http://www.whatkidscando.org/featurestories/A_featurestoriesDirectory.html'>Feature Stories</a> | "+
                 "<a href='http://www.whatkidscando.org/Wire/Wire.asp'>Kids On the Wire</a><br>"+
                 "<a href='http://www.whatkidscando.org/StudentWork/A_studentworkDirectory.html'>Student Work & Voice</a> | "+
                  "<a href='http://www.whatkidscando.org/Research/A_ResearchDirectory.html'>Research</a> | "+
                  "<a href='http://www.whatkidscando.org/Publications/A_PublicationsDirectory.html'>WKCD Publications</a> | "+
                  "<a href='http://www.whatkidscando.org/Resources/A_ResourcesDirectory.html'>Resources</a>"+ 
                  "</font><br><br><font size='1'><b><font face='Verdana, Arial, Helvetica, sans-serif'>"+
                  "What Kids Can Do, Inc.</font></b><br><font color='#CC9900' face='Verdana, Arial, Helvetica, sans-serif'></font>"+
                  "<font face='Verdana, Arial, Helvetica, sans-serif' size='1'>P.O. Box 603252 <font color='#CC9900'> | "+
                  "</font> Providence, RI 02906<font color='#CC9900'> | </font>  (401) 247-7665 phone/fax<br>"+
                  "Copyright &copy; 2007 What Kids Can Do, Inc.<br><br>"+
                  "<a href='mailto:info@whatkidscando.org'>Email: info@whatkidscando.org</a> | "+
                  "<a href='http://www.whatkidscando.org/index.asp'>Home: www.whatkidscando.org</a></font>"+
                  "<font face='Verdana, Arial, Helvetica, sans-serif' size='1'> | "+
                  "<a href='http://www.whatkidscando.org/AboutUs/privacy.html'>privacy policy</a>"+
                  "</font></p></TD></TR></Table>")
            //** This activates OPENTRACKER
          d.write("<script defer src='http://server1.opentracker.net/?site=www.whatkidscando.org'>"+
          "</script><noscript><a href='http://www.opentracker.net' target='_blank'>"+
          "<img src='http://img.opentracker.net/?cmd=nojs&site=www.whatkidscando.org' alt='site monitor' border='0'>"+
          "</a> </noscript>")
           //**  This ends OPENTRACKER 
           d.write("</body>")      
            }
  //************* Email insert
      function InsertEmail() {
               var EmailArgs = InsertEmail.arguments
                   var d = document
                   d.write("<Div align='right'><img src='http://www.whatkidscando.org/images/General/Email.jpg'>");
                   d.write("&nbsp;&nbsp;<A href='http://www.whatkidscando.org/Scripts/EmailForm.asp?Url=");
                   d.write(EmailArgs[0]+"&Title=");
                   d.write(EmailArgs[1]+"'><font size=1 face='Verdana, Arial, Helvetica, sans-serif' color='#000066'>");
                   d.write("Email this page to a friend</A>&nbsp;&nbsp;&nbsp;</DIV><BR>");
                      } 
//************  mouse over functions 

function menu1(){
	if (inactivemenu != 1){
   		MM_swapImage('Image1','','http://www.WhatKidsCanDo.org/images/MenuButtons/AboutUsUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/aboutus.gif',1);
	}
}
function menu1shut(){
	if (inactivemenu != 1){
   		MM_swapImage('Image1','','http://www.WhatKidsCanDo.org/images/MenuButtons/AboutUs.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu2(){
	if (inactivemenu != 2){
   		MM_swapImage('Image2','','http://www.WhatKidsCanDo.org/images/MenuButtons/FeatureStoriesUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/featurestories.gif',1)
   		   
	}
}
function menu2shut(){
	if (inactivemenu != 2){
	      MM_swapImage('Image2','','http://www.WhatKidsCanDo.org/images/MenuButtons/FeatureStories.gif',1); 
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu3(){
	if (inactivemenu != 3){
   		MM_swapImage('Image3','','http://www.WhatKidsCanDo.org/images/MenuButtons/KidsOnTheWireUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/shorttakes.gif',1);
	}
}
function menu3shut(){
	if (inactivemenu != 3){
	      MM_swapImage('Image3','','http://www.WhatKidsCanDo.org/images/MenuButtons/KidsOnTheWire.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu4(){
	if (inactivemenu != 4){
   		MM_swapImage('Image4','','http://www.WhatKidsCanDo.org/images/MenuButtons/StudentWorkVoiceUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/studentwork.gif',1);
	}
}
function menu4shut(){
	if (inactivemenu != 4){
   MM_swapImage('Image4','','http://www.WhatKidsCanDo.org/images/MenuButtons/StudentWorkVoice.gif',1);
   MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu5(){
	if (inactivemenu != 5){
   		MM_swapImage('Image5','','http://www.WhatKidsCanDo.org/images/MenuButtons/ResearchUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/intheirwords.gif',1);
	}
}
function menu5shut(){
	if (inactivemenu != 5){
   		MM_swapImage('Image5','','http://www.WhatKidsCanDo.org/images/MenuButtons/Research.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu6(){
	if (inactivemenu != 6){
   		MM_swapImage('Image6','','http://www.WhatKidsCanDo.org/images/MenuButtons/WKCDPublicationsUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/whatslearned.gif',1);
	}
}
function menu6shut(){
	if (inactivemenu != 6){
   		MM_swapImage('Image6','','http://www.WhatKidsCanDo.org/images/MenuButtons/WKCDPublications.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu7(){
	if (inactivemenu != 7){
   		MM_swapImage('Image7','','http://www.WhatKidsCanDo.org/images/MenuButtons/resourcesUP.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/resources.gif',1);
	}
}
function menu7shut(){
	if (inactivemenu != 7){
   		MM_swapImage('Image7','','http://www.WhatKidsCanDo.org/images/MenuButtons/resources.gif',1);
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}
function menu8(){
	if (inactivemenu != 8){
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/over/home.gif',1);
	}
}
function menu8shut(){
	if (inactivemenu != 8){
   		MM_swapImage('overimg','','http://www.WhatKidsCanDo.org/images/pixel_gifs/shim.gif',1);
	}
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function ShowDateNow()
                  {
   var months=new Array(13);
  months[1]="January";
  months[2]="February";
  months[3]="March";
  months[4]="April";
  months[5]="May";
  months[6]="June";
  months[7]="July";
  months[8]="August";
  months[9]="September";
  months[10]="October";
  months[11]="November";
  months[12]="December";

  var time=new Date();
  var lmonth=months[time.getMonth() + 1];
  var date=time.getDate();
  var year=time.getYear();

  if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000))
  year="19" + year;
  if (navigator.appName == "Netscape")
  year=1900 + year;
  document.write('<font color="#666666" face="Verdana, Arial, Helvetica, sans-serif" size="2">');
  document.write(lmonth + " ");
  document.write(date + ", " + year);
  document.write('&nbsp;&nbsp;&nbsp;</font></B>');
                 }      
