//ICASA.net header

document.write("<table cellspacing='0' cellpadding='0' class='headerTop'>")
document.write("<tr valign='middle'>")
document.write("<td width='150'><img src='../images/header_name.jpg' height='60' width='150' title='ICASA' /></td>")
document.write("<td width='*'><img src='images/hdr_dssat.png' title='DSSAT Version 4' /></td>")
document.write("<td width='310'><img src='images/hdr_dssatphoto.jpg' title='CDs Photo' /></td>")
document.write("</tr>")
document.write("</table>")


//DSSAT Menu 

document.write("<table cellspacing='0' cellpadding='0' class='headerBottom'>")
document.write("<tr>")
document.write("<td width='151'>&#160;</td>")
document.write("<td width='30'  bgcolor='#006b84' background='../images/header_corner.png'>&#160;</td>")
document.write("<td bgcolor='#006b84'>")


var start=location.href.lastIndexOf("/")+1
var end=location.href.lastIndexOf(".")


//document.write(location.href.substring(start,end))  ****used for testing


if (location.href.substring(start,end)=="index") {document.write("<font class=current> Introduction </font>")}
else {document.write("<a class=toc href='index.html'> Introduction </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="minimum") {document.write("<font class=current> Minimum Data </font>")}
else {document.write("<a class=toc href='minimum.html'> Minimum Data </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="product") {document.write("<font class=current> Product Info </font>")}
else {document.write("<a class=toc href='product.html'> Product Info </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="order") {document.write("<font class=current> Order </font>")}
else {document.write("<a class=toc href='order.html'> Order </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="ibsnat") {document.write("<font class=current> IBSNAT </font>")}
else {document.write("<a class=toc href='ibsnat.html'> IBSNAT </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="puborder") {document.write("<font class=current> Publications </font>")}
else {document.write("<a class=toc href='puborder.html'> Publications </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="support") {document.write("<font class=current> Support </font>")}
else {document.write("<a class=toc href='support.html'> Support </a>")}


document.write("<font class='hdrTocDivider'>|</font>")


if (location.href.substring(start,end)=="downloads") {document.write("<font class=current> Downloads </font>")}
else {document.write("<a class=toc href='http://168.29.150.63/update'> Downloads </a>")}


document.write("<font class='hdrTocDivider'>|</font>")



if (location.href.substring(start,end)=="register") {document.write("<font class=current> Register </font>")}
else {document.write("<a class=toc href='register.html'> Register </a>")}

document.write("<font class='hdrTocDivider'>|</font>")

if (location.href.substring(start,end)=="licenses") {document.write("<font class=current> Licenses </font>")}
else {document.write("<a class=toc href='licenses.htm'> Licenses </a>")}




document.write("</td>")



document.write("</tr>")
document.write("</table>")

