<!-- Begin

// NOTE: If you use a ' add a slash before it like this \'

// USE lowercase FOR ALL OPTIONS ONLY
var showtop		= "no"		//  SHOW MENU TOP AREA

   if (showtop == "yes") {
document.write('<div id="menutop" style="z-index: 10;" class="printhide">');
document.write('<img src="/picts/menu-top.gif" width="170" height="107" class="menutrans"><br>');
document.write('</div>');
}

document.write('<div id="menulocation" style="z-index: 10;">');
document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="175"><tr><td class="menu-top-border">');
document.write('<img src="/picts/menu-top.gif" width="175" height="119" class="menutrans"></a><br>');

document.write('<ul id="top-nav">');



// START MENU LINKS - EDIT BELOW THIS AREA




document.write('  <li class="menuT"><a href="/index.html">Home</a></li>');


document.write('  <li class="menuT"><a href="/AboutMapTools.html">About Us</a>');
document.write('    <ul id="sub-nav">');
document.write('      <li><a href="/AboutMapTools.html">About Us</a></li>');
document.write('      <li><a href="/ContactMapTools.html">Contact Us</a></li>');
document.write('      <li><a href="/WhatsNew.html">News</a></li>');
document.write('      <li><a href="/SiteIndex.html">Site Map</a></li>');
document.write('      <li><a href="/search.html">Search</a></li>');
document.write('      <li><a href="/privacy.html">Privacy Policy</a></li>');
document.write('    </ul>');
document.write('  </li>');



document.write('  <li class="menuT"><a href="/products/index.html">Products</a>'); 
document.write('    <ul id="sub-nav">');
//document.write('      <li><a href="/products/beginers.html">For Beginners</a></li>');
document.write('      <li><a href="/products/byScale.html">Listed By Scale</a></li>');
document.write('      <li><a href="/products/byToolType.html">Listed by Type</a></li>');
//document.write('      <li><a href="/products/military.html">Military Coordinate Protractors</a></li>');
document.write('      <li><a href="/products/index.html">All Products</a></li>');
document.write('      <li><a href="/maps.html">Maps from MyTopo</a></li>');
document.write('      <li><a href="/products/catalog.html">Request a Catalog</a></li>');
document.write('      <li><a href="http://forum.maptools.com/viewforum.php?f=3">Support Forum</a></li>');
document.write('    </ul>');
document.write('  </li>');

//if (getCookie("basketid")) {
	document.write('  <li class="menuT"><a href="https://shop.maptools.com/viewbasket.php">Shopping Cart</a>');
	document.write('    <ul id="sub-nav">');
	document.write('      <li><a href="https://shop.maptools.com/viewbasket.php">View Shopping Cart</a></li>');
	document.write('      <li><a href="http://shop.maptools.com/checkout.php">Checkout</a></li>');
	document.write('    </ul>');
	document.write('  </li>');
//}


document.write('  <li class="menuT"><a href="/tutorials.html">Tutorials</a>');
document.write('    <ul id="sub-nav">');
document.write('      <li><a href="/coordsys">Choosing a Geographic Coordinate System</a></li>');
document.write('      <li><a href="/UsingUTM">UTM Coordinates</a></li>');
document.write('      <li><a href="/UsingLatLon">Lat/Lon Coordinates</a></li>');
document.write('      <li><a href="/video">Video Tutorials</a></li>');
document.write('      <li><a href="/faq.html">FAQ</a></li>');
document.write('      <li><a href="http://forum.maptools.com/viewforum.php?f=3">Support Forum</a></li>');
document.write('    </ul>');
document.write('  </li>');



document.write('  <li class="menuT"><a href="/SiteIndex.html">Resources</a>');
document.write('    <ul id="sub-nav">');
document.write('      <li><a href="/FreeTools">Free PDF Tools</a></li>');
document.write('      <li><a href="/instructors">Resources for Navigation Instructors</a></li>');
document.write('      <li><a href="/Links.html">Useful Links</a></li>');
document.write('      <li><a href="/dealers.html">Dealer List</a></li>');
document.write('      <li><a href="/wholesale">Wholesale Purchasing</a></li>');
document.write('    </ul>');
document.write('  </li>');


document.write('  <li class="menuT"><a href="/ContactMapTools.html">Contact</a></li>');




// END LINKS //

document.write('</ul>');
document.write('</td></tr><tr><td align="center">');

var showdate		= "yes"		// SHOW THE DATE ON THE PAGE


// FLASH CHANGER OPTIONS

var showsflash		= "yes"		// SHOW FLASH IMAGE CHANGER
var flashcolor		= "00672C"	// FLASH BACKGROUND COLOR
var flashspace		= "20"		// MOVE FLASH UP OR DOWN
var flashwC		= "175"		// WIDTH OF THE FLASH CHANGER
var flashhC		= "150"		// HEIGHT OF THE FLASH CHANGER
var bordercolor		= "066830"	// FLASH CHANGER BORDER COLOR






document.write('</td></tr><tr><td height="1" class="menu-bottom-line">');
document.write('<img src="/picts/spacer.gif" width="175" height="1"></a><br>');
document.write('</td></tr><tr><td align="center">');


document.write('<img src="/picts/spacer.gif" width="175" height="'+flashspace+'"></a><br>');





// FLASH CHANGER
   if (showsflash == "yes") {
document.write('<div class="printhide">');
document.write('<TABLE cellpadding="0" cellspacing="0" border="0" style="border-top: #'+bordercolor+' 1px solid;border-bottom: #'+bordercolor+' 1px solid;"><tr><td valign="top">');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+flashwC+'" HEIGHT="'+flashhC+'" id="imagechanger" ALIGN="">');
document.write('<PARAM NAME=movie VALUE="/imagechanger.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#'+flashcolor+'>');
document.write('<EMBED src="/imagechanger.swf" quality=high bgcolor=#'+flashcolor+'  WIDTH="'+flashwC+'" HEIGHT="'+flashhC+'" NAME="imagechanger" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
document.write('</EMBED>');
document.write('</OBJECT><br>');
document.write('</td></tr></table>');
document.write('<br><br>');
document.write('</div>');
}




document.write('</td></tr></table></DIV>');




// START DATE SCRIPT
   if (showdate == "yes") {

document.write('<div id="date-location">');
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
//setCookie("basketid","123456",1);
//if (getCookie("basketid")) {
	document.write("<span class=\"date-font\"><nobr><a href=\"https://shop.maptools.com/viewbasket.php\">View Cart</a> </nobr></span>")
//}
document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
document.write(d.getDate() + ". ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getFullYear())
document.write("</nobr><br></span>")
document.write('</div>');

}


//  End -->

// YOU DO NOT NEED TO EDIT BELOW THIS LINE









function IEHoverPseudo() {

	var navItems = document.getElementById("top-nav").getElementsByTagName("li");
	
	for (var i=0; i<navItems.length; i++) {
		if(navItems[i].className == "menuT") {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuT"; }
		}
	}

}
window.onload = IEHoverPseudo;

function getCookie(c_name)
{
if (document.cookie.length>0)
  {
  c_start=document.cookie.indexOf(c_name + "=");
  if (c_start!=-1)
    { 
    c_start=c_start + c_name.length+1; 
    c_end=document.cookie.indexOf(";",c_start);
    if (c_end==-1) c_end=document.cookie.length;
    return unescape(document.cookie.substring(c_start,c_end));
    } 
  }
return "";
}

function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : ";expires="+exdate.toGMTString());
}
