// JScript source code
//Highlight Table Cells Script-- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor)
{
source=ie? event.srcElement : e.target
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD"&&source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if
(ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TR"||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}


 document.write("<style type=\"text\/css\">") //escape sequences in-there
  
 
 //doucment.write("P{text-align:justify}")
 //document.write<"link rel=\"stylesheet\" href=\"full-justify.css\" ">
 //doucment.write(" A.special:link{text-decoration :none; color:#0000ff}")
 //document.write("A:visited{ text-decoration:none; color:#0000ff}")
 document.write(".fixed {font-size:9pt; font-weight:bold text-decoration:none}")
 document.write(".plain {text-decoration:none;font-weight:bold;color:#0000FF }")
 document.write("</style>")
 
 function drawMenu()
 { 
 
 document.write("<form name=\"form1\" method=\"post\" id=\"form1\" action=\"http:\/\/mctrans.ce.ufl.edu\/store\/shopcart1.asp\" >")
 document.write("<table border=1 color=blue bordercolorlight=black alink=blue vlink=blue height=60 cellSpacing=0 cellPadding=0 width=165 bgColor=\"#ffffff\" ")
 document.write("<tr><td>")
 document.write("<font class=fixed face=Arial size=1><center><strong>Product Keyword Search<br>")
 document.write("</strong></center></font>")
 document.write("&nbsp;<input type=text size=15 id=pr_name name=pr_name >&nbsp;")
 document.write("<input type=submit id=submit value=Go style=\"font-size: 12\" >")
 document.write("<input type=hidden name=findctrl value=find>")
 document.write("<font class=fixed face=Arial size=2><center><strong><A href=http://mctrans.ce.ufl.edu/store/shopcart2.asp>")
 document.write("Advanced Search")
 document.write("</a></strong></center></font>")
 document.write("</td></tr>")
 document.write("</table>")
 document.write("</form>")
 
 document.write("<table border=1 color=blue bordercolorlight=black alink=blue vlink=blue height=241 cellSpacing=0 cellPadding=0 width=165 bgColor=#ffffff onMouseover=\"changeto(event, \'silver\')\" onMouseout=\"changeback(event, \'white\')\">")
 document.write("<p>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\">")
 document.write("<font class=fixed  face=Arial size=2><center><strong><A class=plain href=http://mctrans.ce.ufl.edu/catalog>")
 document.write("Products")
 document.write("</a></strong></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/newsletters/><strong>")
 document.write("Newsletters")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/hcs><strong>")
 document.write("Highway Capacity Software")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/featured/TRANSYT-7F/><strong>")
 document.write("TRANSYT-7F")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")

 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/featured/tsis/><strong>")
 document.write("TSIS-CORSIM")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
  
 document.write("<tr><TD height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/featured/><strong>")
 document.write("Featured Software")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/technicalAssistance><strong>")
 document.write("Support")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/Demos><strong>")
 document.write("Demos")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/store/shopcart1.asp?action=showproduct&category=training><strong>")
 document.write("Mc<i>Trans</i> Training")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/transportationSites><strong>")
 document.write("Info & Links")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/memberServices><strong>")
 document.write("Join Mc")
 document.write("<i>Trans</i>")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
  
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/aboutMctrans><strong>")
 document.write("About Mc")
 document.write("<i>Trans</i>")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain target=_blank href=http://www.ce.ufl.edu><strong>")
 document.write("Civil & Coastal Engineering")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/index.htm><strong>")
 document.write("Mc<i>Trans</i> Home")
 document.write("</strong></a></center></font>")
 document.write("</td></tr>")

 document.write("</p>")
 document.write("</table>")
 }
 
 
 function drawMenuIE()
 {
  
  
 document.write("<table border=1 color=blue bordercolorlight=black alink=blue vlink=blue height=60 cellSpacing=0 cellPadding=0 width=165 bgcolor=\"#00FF00\" ")
 document.write("<p>")
 
 document.write("<form name=form1 method=post id=form1 action=http:\/\/mctrans.ce.ufl.edu\/store\/shopcart1.asp >")
 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\">")
 document.write("<font class=fixed face=Arial size=1><center><strong>Product Keyword Search<br>")
 document.write("&nbsp;<input type=text size=16 id=pr_name name=pr_name >&nbsp;&nbsp;<input type=submit id=submit value=\" Go \"  style= \" font-size: 11; font-family: Arial \" ><br>")
 document.write("<input type=hidden name=findctrl value=find>")
 document.write("</strong></center></font>")
 document.write("<font class=fixed face=Arial size=2><center><strong><A href=http://mctrans.ce.ufl.edu/store/shopcart2.asp>")
 document.write("Advanced Search")
 document.write("</a></strong></center></font>")
 document.write("</td></tr>")
 document.write("</form>")

 document.write("</p>")
 document.write("</table>") 

 document.write("<table border=1 color=blue bordercolorlight=black alink=blue vlink=blue height=241 cellSpacing=0 cellPadding=0 width=165 bgColor=#ffffff onMouseover=\"changeto(event, \'silver\')\" onMouseout=\"changeback(event, \'white\')\">")
 document.write("<p>")

 document.write("<tr><TD  height=21 align=center bgcolor=\"#ffffff\">")
 document.write("<font class=fixed  face=Arial size=2><center><strong><A class=plain href=http://mctrans.ce.ufl.edu/catalog>")
 document.write("Products")
 document.write("</a></strong></center></font>")
 document.write("</td></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/newsletters><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/newsletters/><strong>")
 document.write("Newsletters")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/hcs><TD height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/hcs><strong>")
 document.write("Highway Capacity Software")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/featured/TRANSYT-7F/><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/featured/TRANSYT-7F/><strong>")
 document.write("TRANSYT-7F")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")

 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/featured/TRANSYT-7F/><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/featured/TSIS/><strong>")
 document.write("TSIS-CORSIM")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")

 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/featured><TD height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/featured/><strong>")
 document.write("Featured Software")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/technicalAssistance><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/technicalAssistance><strong>")
 document.write("Support")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/Demos><TD height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/Demos><strong>")
 document.write("Demos")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/store/shopcart1.asp?action=showproduct&category=training><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/store/shopcart1.asp?action=showproduct&category=training><strong>")
 document.write("Mc<i>Trans</i> Training")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/transportationSites><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/transportationSites><strong>")
 document.write("Info & Links")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/memberServices><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/memberServices><strong>")
 document.write("Join Mc")
 document.write("<i>Trans</i>")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/aboutMctrans><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/aboutMctrans><strong>")
 document.write("About Mc")
 document.write("<i>Trans</i>")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://www.ce.ufl.edu><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain target=_blank href=http://www.ce.ufl.edu><strong>")
 document.write("Civil & Coastal Engineering")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")
 
 document.write("<tr><A class=plain href=http://mctrans.ce.ufl.edu/index.htm><TD  height=21 align=center bgcolor=\"#ffffff\"   >")
 document.write("<font class=fixed face=Arial size=2><center><A class=plain href=http://mctrans.ce.ufl.edu/index.htm><strong>")
 document.write("Mc<i>Trans</i> Home")
 document.write("</strong></a></center></font>")
 document.write("</td></a></tr>")

 document.write("</p>")
 document.write("</table>")
 

  
 }
 
  if(ie)
 {
     temp=navigator.appVersion.split("MSIE")
     version=parseFloat(temp[1])
 //    document.write(version)
     if (version>5.0) //NON IE browser will return 0
       drawMenuIE()
     else 
       drawMenu()         
  }
else 
 { 
   drawMenu()
 }
   
