function writeFooter() {

	document.write('<p align="center"><a href="../index.htm" target="_top">Home</a> | <a href="../aboutus/aboutus.html">About Us</a> | <a href="../products/products.html"> Other Products</a> | <a href="../services/services.html">Services</a>| <a href="../netrule-docs/netrule.html"> NetRule</a> | <a href="../contactus.html">Contact Us</a>');

}

function writeFooter1() {

	document.write('<p align="center"><a href="../../index.htm" target="_top">Home</a> | <a href="../../aboutus/aboutus.html">About Us</a> | <a href="../../products/products.html"> Other Products</a> | <a href="../../services/services.html">Services</a>| <a href="../../netrule-docs/netrule.html"> NetRule</a> | <a href="../../contactus.html">Contact Us</a>');

}


function syncNavMenu(menu) {

	//if (window.frames.length != 0) {

	switch(menu) {

		case 'About Us':       window.top.lowerFrame.nav.location="../aboutus/leftnav.html"; break

		case 'Products':       window.top.lowerFrame.nav.location="../products/leftnav.html"; break

		case 'Services':       window.top.lowerFrame.nav.location="../services/leftnav.html"; break

		case 'NetRule':       window.top.lowerFrame.nav.location="../netrule-docs/leftnav.html"; break

		case 'White Papers':   window.top.lowerFrame.nav.location="../whitepapers/leftnav.html"; break

		case 'Download':       window.top.lowerFrame.nav.location="../download/leftnav.html"; break

		default:    alert("Menu " + menu + " does not exist!");         

	//}

	}

}



function writeShortDate() {

var mydate=new Date()

var year=mydate.getYear()

if (year < 1000)

year+=1900

var day=mydate.getDay()

var month=mydate.getMonth()+1

var daym=mydate.getDate()

if (daym<10)

daym="0"+daym

var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")

var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

document.write(month+"."+daym+"."+year)

}



function rollOn(x) {

x.className = "menuItemHighlight"

}



function rollOff(x) {

x.className = "menuItem"

}



function buildMenuItem (text,location){

var msg

msg = "window.top.lowerFrame.content.location='"+location+"'";

document.write('<DIV class="menuItem" onmouseover="rollOn(this)" onmouseout="rollOff(this)" onclick="'+msg+'">'+text+'</DIV>')

}

