/*slideMenu.js*/
<!--

///// PAGE SOURCE ID /////
var m;
 
function carryOver(number){
m=number

///// DEFAULT SETTINGS /////

YOffset=20; // no quotes!!
if (Opera6) {YOffset=5}; //Opera6 works differently
staticYOffset=20; // no quotes!!
slideSpeed=10; // no quotes!!
waitTime=200; // no quotes!! this sets the time the menu stays out after the mouse goes off it.
menuBGColor="black";
menuIsStatic="yes";
menuWidth=200; // Must be a multiple of 10! no quotes!!
if (NS) {menuWidth=250};
hdrFontFamily="arial, sans serif";
hdrFontSize="3";
hdrFontColor="#000000";
hdrBGColorSite="#8080FF";//was green
hdrAlign="center";
hdrVAlign="center";
hdrHeight="20";
linkFontFamily="arial";
if(IE||IE6||AOL||Opera||CHR||SAF){linkFontSize="2"};
if(NS||NS6){linkFontSize="2"};
linkBGColorSite="#C0C0FF";
linkOverBGColorSite="#800080";
linkColorSite="black";
linkOverColorSite="white";
linkTarget="_top";
barBGColorSite="#30FAF3";//was#ff4400;#FF40FF is also good, lavender
barFontFamily="arial, sans serif";
barFontSize="2";
barFontColor="#000000";//was#ffffff
barVAlign="center";
barWidth=20; // no quotes!!


/////NOW START THE MENU GENERATOR/////
startMenu("BASE SITE", "NAVIGATION")
for (k=0;k<sitems.length;k++) {

cellName="cell"+k;

if (k==m) {addSiteItem1(sitems[k], sitemlinks[k],cellName);
k++;
cellName="cell"+k;
}

addSiteItem(sitems[k], sitemlinks[k],cellName);
}
if (m!=0) {
addSiteItem("Previous", sitemlinks[m-1],cellName);}
if(m<9) {
addSiteItem("Next", sitemlinks[m+1],cellName);
}

endMenu()
}

var n;

function rakeCarryOver(number){
n=number

///// DEFAULT SETTINGS /////

YOffset=20; // no quotes!!
if (Opera6) {YOffset=5}; //Opera6 works differently
staticYOffset=20; // no quotes!!
slideSpeed=10; // no quotes!!
waitTime=200; // no quotes!! this sets the time the menu stays out after the mouse goes off it.
menuBGColor="black";
menuIsStatic="yes";
menuWidth=200; // Must be a multiple of 10! no quotes!!
if (NS) {menuWidth=250};
hdrFontFamily="arial, sans serif";
hdrFontSize="3";
hdrFontColor="#000000";
hdrBGColorSite="#78FAC8";//was green
hdrAlign="center";
hdrVAlign="center";
hdrHeight="20";
linkFontFamily="arial";
if(IE||IE6||AOL||Opera||CHR||SAF){linkFontSize="2"};
if(NS||NS6){linkFontSize="2"};
linkBGColorRake="#C9FFEB";
linkOverBGColorRake="#800000";
linkColorRake="black";
linkOverColorRake="white";
linkTarget="_top";
linkAlign="Left";
barBGColorRake="#0FC882";//was#ff4400;#FF40FF is also good, lavender
barFontFamily="arial, sans serif";
barFontSize="2";
barFontColor="#000000";//was#ffffff
barVAlign="center";
barWidth=20; // no quotes!!


/////NOW START THE MENU GENERATOR/////
startMenuRake("Lawn Rake Invention", "NAVIGATION")
for (k=0;k<rakeItem.length;k++) {
if (k==n) {addRakeItem1(rakeItem[k], rakeItemLink[k]);k++}

addRakeItem(rakeItem[k], rakeItemLink[k]);
}
if (n!=0) {
addRakeItem("Previous", rakeItemLink[n-1]);}
if(n<12) {
addRakeItem("Next", rakeItemLink[n+1]);
}
addRakeItem("Base site","index.html");
endMenu()
}


///// BROWSER DETECTION /////

function Is() {
this.ua = navigator.userAgent.toLowerCase();
this.major = parseInt(navigator.appVersion);
// DOM Support
if (document.addEventListener && document.removeEventListener) this.dom2events = true;
if (document.getElementById) this.dom1getbyid = true;
// Opera
this.opera = this.ua.indexOf("opera") != -1;
if (this.opera) {
this.opera5 = (this.ua.indexOf("opera 5") != -1 || this.ua.indexOf("opera/5") != -1);
this.opera6 = (this.ua.indexOf("opera 6") != -1 || this.ua.indexOf("opera/6") != -1);
this.opera7 = (this.ua.indexOf("opera 7") != -1 || this.ua.indexOf("opera/7") != -1);
this.opera8 = (this.ua.indexOf("opera 8") != -1 || this.ua.indexOf("opera/8") != -1);
this.opera9 = (this.ua.indexOf("opera 9") != -1 || this.ua.indexOf("opera/9") != -1);
this.opera10 = (this.ua.indexOf("opera 10") != -1 || this.ua.indexOf("opera/10") != -1);
}


// Misc.
this.hotjava = this.ua.indexOf("hotjava") != -1;
this.webtv = this.ua.indexOf("webtv") != -1;
//this.aol = this.ua.indexOf("aol") != -1;
if (this.hotjava || this.webtv || this.aol) return;
// Gecko, NN4+, and NS6
this.gecko = this.ua.indexOf("gecko") != -1;
this.nav = (this.ua.indexOf("mozilla") != -1 && this.ua.indexOf("spoofer") == -1 && this.ua.indexOf("compatible") == -1);
if (this.nav) {
this.nav4 = this.major == 4;
this.nav4up= this.major >= 4;
this.nav5up= this.major >= 5;
this.nav6 = this.major == 5;
this.nav6up= this.nav5up;
}



//Firefox
this.firefox = this.ua.indexOf("firefox") != -1;

//Chrome
this.chrome = this.ua.indexOf("chrome") != -1;

//Safari
this.safari = this.ua.indexOf("safari") != -1;

//Opera
this.opera = this.ua.indexOf("opera") != -1;

//MSIE
this.ie = this.ua.indexOf("msie") != -1;
if (this.ie) {
this.ie3 = this.major < 4;
this.ie4 = (this.major == 4 && this.ua.indexOf("msie 5") == -1 && this.ua.indexOf("msie 6") == -1);
this.ie4up = this.major >= 4;
this.ie5 = (this.major == 4 && this.ua.indexOf("msie 5.0") != -1);
this.ie5up = !this.ie3 && !this.ie4;
this.ie6 = (this.major == 4 && this.ua.indexOf("msie 6.0") != -1);
this.ie6up = (!this.ie3 && !this.ie4 && !this.ie5 && this.ua.indexOf("msie 5.5") == -1);
this.ie7 = (this.major == 4 && this.ua.indexOf("msie 7.0") != -1);
this.ie8 = (this.major == 4 && this.ua.indexOf("msie 8.0") != -1);
this.ie9 = (this.major == 4 && this.ua.indexOf("msie 9.0") != -1);
this.ie10 = (this.major == 4 && this.ua.indexOf("msie 10.0") != -1);
}
}
var is = new Is();

Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1 || navigator.userAgent.match(/Konqueror/));
Opera = is.opera;
Opera5 = is.opera5;
Opera6 = is.opera6;
Opera7 = is.opera7;
Opera8 = is.opera8;
Opera9 = is.opera9;
Opera10 = is.opera10;

IE = (is.ie);
IE4 = is.ie4;
IE5 = is.ie5;
IE6 = is.ie6;
IE7 = is.ie7;
IE8 = is.ie8;
IE9 = is.ie9;
IE10 = is.ie10;
NS4 = is.nav4;
NS5 = is.nav5;
NS6 = is.nav6;
IE4up = is.ie4up;
IE5up = is.ie5up;
IE6up = is.ie6up;
NS4up = is.nav4up;
NS5up = is.nav5up;
NS6up = is.nav6up;

//AOL
var agt=navigator.userAgent.toLowerCase();
var is_aol   = (agt.indexOf("aol") != -1);
var is_aol3  = (is.aol && is_ie3);
var is_aol4  = (is.aol && is_ie4);
var is_aol5  = (agt.indexOf("aol 5") != -1);
var is_aol6  = (agt.indexOf("aol 6") != -1);
var is_aol7  = ((agt.indexOf("aol 7")!=-1) || (agt.indexOf("aol7")!=-1));
var is_aol8  = ((agt.indexOf("aol 8")!=-1) || (agt.indexOf("aol8")!=-1));

AOL = is_aol;
AOL3 = is_aol3;
AOL4 = is_aol4;
AOL5 = is_aol5;
AOL6 = is_aol6;
AOL7 = is_aol7;
AOL8 = is_aol8;

FIRE = is.firefox;
CHR = is.chrome;
SAF = is.safari;
OP= is.opera;

NS6 = (document.getElementById&&!document.all);
IE = (document.all);
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4");

///// LINK ITEMS-ARRAY 1 /////
var sitems= new Array(11);
sitems[0]="Home";
sitems[1]="Inventing the pulling tool";
sitems[2]="How to contact us";
sitems[3]="How to order";
sitems[4]="Printable order form";
sitems[5]="New York State sales tax &nbsp;calculator<img id='arrowId5' src='images/tri.gif' width=5 height=10 style='margin-left:100px;' />";
sitems[6]="Recycling symbols<img id='arrowId6' src='images/tri.gif' width=5 height=10 style='margin-left:50px;' />"; 
sitems[7]="How to recycle";
sitems[8]="Privacy, legal and security &nbsp;issues";
sitems[9]="Sitemap";
sitems[10]="Email for more information";

///// LINK ITEMS-ARRAY 2 /////
var sitemlinks= new Array(11);
sitemlinks[0]="index.html";
sitemlinks[1]="story.html";
sitemlinks[2]="How_to_contact_us.html";
sitemlinks[3]="How_to_order.html";
sitemlinks[4]="printorder.html";
sitemlinks[5]="";
sitemlinks[6]="symbols.html";
sitemlinks[7]="How_to_recycle.html";
sitemlinks[8]="privacy.html";
sitemlinks[9]="sitemap.html";
sitemlinks[10]="mailto:info@earthodyssey.com";

/////RAKE ITEMS-ARRAY 1 /////
var rakeItem= new Array(14);
rakeItem[0]="Images 1-An Overview";
rakeItem[1]="Images 2-Raking Leaves";
rakeItem[2]="Images 3-Pushing Leaves";
rakeItem[3]="Images 4-Rake Components";
rakeItem[4]="Synopsis of the Invention- &nbsp;[Entry page]";
rakeItem[5]="Patent Information";
rakeItem[6]="Abstract and Summary"; 
rakeItem[7]="Background of the Invention";
rakeItem[8]="Objects of the Invention";
rakeItem[9]="Drawings";
rakeItem[10]="Description of the Invention";
rakeItem[11]="Claims";
rakeItem[12]="Thumbnail images";
rakeItem[13]="Email the inventor";

/////RAKE LINK ITEMS-ARRAY 2 /////
var rakeItemLink= new Array(14);
rakeItemLink[0]="rakeImages1.html";
rakeItemLink[1]="rakeImages2.html";
rakeItemLink[2]="rakeImages3.html";
rakeItemLink[3]="rakeImages4.html";
rakeItemLink[4]="lawnRakeIndex.html";
rakeItemLink[5]="patentInfo.html";
rakeItemLink[6]="abstract.html";
rakeItemLink[7]="background.html";
rakeItemLink[8]="objects.html";
rakeItemLink[9]="drawings.html";
rakeItemLink[10]="description.html";
rakeItemLink[11]="claims.html";
rakeItemLink[12]="thumbnails.html";
rakeItemLink[13]="mailto:inventor@earthodyssey.com";

var menuArray_5=new Array(2);
menuArray_5[0]=["http://www.earthodyssey.com/sales_tax.html","Basic version"]
menuArray_5[1]=["http://www.earthodyssey.com/sales_taxEnhanced.html","Enhanced version"]

var menuArray_6=new Array(4);
menuArray_6[0]=["http://www.earthodyssey.com/symbols.html","United States"]
menuArray_6[1]=["http://www.earthodyssey.com/symbolsJapan.html","Japan"]
menuArray_6[2]=["http://www.earthodyssey.com/symbolsNZ.html","New Zealand"]
menuArray_6[3]=["http://www.earthodyssey.com/symbolsAustralia.html","Australia"]

var flagArray = new Array(4)
flagArray[0]=["http://www.earthodyssey.com/symbols.html","United States","US","103","54"]
flagArray[1]=["http://www.earthodyssey.com/symbolsJapan.html","Japan","japan","103","66"]
flagArray[2]=["http://www.earthodyssey.com/symbolsNZ.html","New Zealand","newZealand","108","54"]
flagArray[3]=["http://www.earthodyssey.com/symbolsAustralia.html","Australia","australia","108","54"]





//////capture cursor position
/*if (NS) {
document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=moveHandler;
} else {
document.onmousemove=moveHandlerIE;
}

function moveHandler(e) {
xPos=e.pageX;
yPos=e.pageY;
return true;
}

function moveHandlerIE () {
xPos=window.event.x + document.body.scrollLeft;
yPos=window.event.y + document.body.scrollTop;
}
*/

///// SLIDE FUNCTION //////
moving=setTimeout("null",1)
function moveOut() {
if ((NS6 && parseInt(ssm.left)<0)||((IE||AOL||CHR||SAF) && ssm.pixelLeft<0)||(NS && ssm.left<0)) {
clearTimeout(moving);moving = setTimeout("moveOut()", slideSpeed)
if (NS6) {theleft+=10;ssm.left = theleft+"px";}
if (IE||AOL||CHR||SAF) {ssm.pixelLeft += 10;}
if (NS) {ssm.left += 10;ssm.clip.left-=10}}
else {clearTimeout(moving);moving=setTimeout("null",1)}};

//showMenu keeps track of whether a dropdown menu is visible. If it is don"t slide
var showMenu;

function moveBack() {

clearTimeout(moving);moving = setTimeout("moveBack1()", waitTime)}
function moveBack1() {

if (showMenu!="true"){
if ((NS6 && parseInt(ssm.left)>(-menuWidth))||((IE||AOL||CHR||SAF)&& ssm.pixelLeft>(-menuWidth))||(NS && ssm.left>(-menuWidth))) {
clearTimeout(moving);moving = setTimeout("moveBack1()", slideSpeed);
if (NS6) {theleft-=10;ssm.left = theleft+"px";}
if (IE||AOL||CHR||SAF) {ssm.pixelLeft -= 10;}
if (NS) {ssm.left -= 10;ssm.clip.left+=10}}
else {clearTimeout(moving);moving=setTimeout("null",1)}
}
window.status = "";
};

//if (IE) {alert("Hello Explorer")};
//if (CHR) {alert("Hello Chrome")};
//if (FIRE) {alert("Hello Firefox")};
//if (SAF) {alert("Hello Safari")};
//if (OP) {alert("Hello Opera")};

///// STATIC FUNCTION /////
//Opera5 has unusual combination of NS and IE characteristics//
lastY = 0;

function makeStatic() {

if (IE) {winY = document.body.scrollTop;}

if (((IE6||IE7||IE8||IE9||IE10)&!Opera7)||AOL) {winY = document.all('topHtml').scrollTop;}
if (NS||NS6||Opera5||Opera6||Opera7||Opera8||Opera9||Opera10||CHR||SAF) {winY = window.pageYOffset;}
if (NS6||IE||NS||IE6||IE7||IE8||IE9||IE10||Opera5||Opera6||Opera7||Opera8||Opera9||Opera10||AOL||CHR||SAF) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY);}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);

if (NS6||CHR||SAF||Opera9||Opera10) ssm.top=parseInt(ssm.top)+smooth+"px";
if (IE||IE6||IE7||IE8||IE9||IE10||Opera5||Opera6||Opera7||Opera8||AOL) ssm.pixelTop+=smooth;
if (NS) bssm.top+=smooth;
compareY=lastY;
lastY = lastY+smooth;

//following line makes menu disappear when moving down//
if (compareY!=lastY){ssm.visibility="hidden";}else{ssm.visibility="visible";}
setTimeout("makeStatic()",50)}

}


////WRITE FLAG LINKS//////
var offset;

function writeFlagLinks () {
var iFlag=7;
for (s=0;s<flagArray.length;s++) {

//alert(document.URL)
//alert(flagArray[s][0]);

//alert(document.URL+","+flagArray[s][0]+","+s)
if (document.URL==flagArray[s][0]) {s++}
if (s!=flagArray.length){

offset = 100*(iFlag);

document.write('<div class="flag" style="top:'+offset+'px;"><a href="'+flagArray[s][0]+'" title="link to recycling symbols of '+flagArray[s][1]+'"><img src="images/flags/'+flagArray[s][2]+'.gif" alt="link to recycling symbols of '+flagArray[s][1]+'" style="width:'+flagArray[s][3]+'px;height:'+flagArray[s][4]+'px;" /></a></div>')

iFlag++;
}
else {}
}
}


///// SETS OBJECT NAMES AND LOADS MENU /////
function initSlide() {
if (NS6||CHR||SAF){ssm=document.getElementById("thessm").style;
ssm.visibility="visible";ssm.left = -menuWidth+"px";}
else if (IE||AOL) {ssm=document.all("thessm").style;
ssm.visibility = "visible";ssm.pixelLeft = -menuWidth;}
else if (NS) {bssm=document.layers["basessm1"];
ssm=bssm.document.layers["basessm2"].document.layers["thessm"];
ssm.clip.left = menuWidth;ssm.left = -menuWidth;ssm.visibility = "show";}
if (menuIsStatic=="yes") makeStatic()}

///// MENU BUILDER FUNCTIONS /////

//original program omitted "auto" from the clip property//

function startMenu(menuHeader, barText) {
dropDown();

if (IE||NS6||AOL||CHR||SAF) {document.write('<div id="thessm" style="visibility:hidden;position :absolute;left:0px;top:'+YOffset+'px ;z-index :20;width:1px" onmouseover="moveOut();return true" onmouseout="moveBack()">')}
//if (NS) {document.write('<layer name="basessm1" top="'+YOffset+'" left=0 visibility="show" width="'+(menuWidth+barWidth+10)+'"><ilayer name="basessm2" width="'+(menuWidth+barWidth+20)+'"><layer visibility="hide" name="thessm" bgcolor="'+menuBGColor+'" left="0" onmouseover="moveOut()" onmouseout="moveBack()">')}
//if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><tr><td>')}

document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'">');
 
tempBar="";addHdr(menuHeader);
if(barText.indexOf('<img')>-1) {tempBar=barText}
else{for (i=0;i<barText.length;i++) {
tempBar+=barText.substring(i, i+1)+'<br>'}}
document.write('<td style="margin-left:0px;margin-right:0px" align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColorSite+'" valign="'+barVAlign+'" style="font-family:'+barFontFamily+';font-size:12pt;color:'+barFontColor+';font-weight:bold"><b>'+tempBar+'</b></td></tr>');
theleft=-menuWidth}

function startMenuRake(menuHeader, barText) {
baseMenu();
rakeDropDown()

if (IE||NS6||AOL||CHR||SAF) {document.write('<div id="thessm" style="visibility:hidden;position :absolute ;left :0px ;top : '+YOffset+'px ;z-index : 20;width:1px" onmouseover="moveOut();return true" onmouseout="moveBack()">')}
//if (NS) {document.write('<layer name="basessm1" top="'+YOffset+'" left="0" visibility="show" width="'+(menuWidth+barWidth+10)+'"><ilayer name="basessm2" width="'+(menuWidth+barWidth+20)+'"><layer visibility="hide" name="thessm" bgcolor="'+menuBGColor+'" left="0" onmouseover="moveOut()" onmouseout="moveBack()">')}
//if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><tr><td>')}

document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'">');
 
tempBar="";addHdr(menuHeader);
if(barText.indexOf('<img')>-1) {tempBar=barText}
else{for (i=0;i<barText.length;i++) {
tempBar+=barText.substring(i, i+1)+'<br>'}}
document.write('<td style="margin-left:0px;margin-right:0px" align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColorRake+'" valign="'+barVAlign+'" style="font-family:'+barFontFamily+';font-size:12pt;color:'+barFontColor+';font-weight:bold"><b>'+tempBar+'</b></td></tr>');
theleft=-menuWidth}


function endMenu() {

document.write('</table>')
if (NS6){document.write('</td></tr></table>')}
if (IE||NS6||AOL||CHR||SAF) {document.write('</div>')}
if (NS) {document.write('</layer></ilayer></layer>')}
if (NS6||IE||NS||AOL||CHR||SAF) {setTimeout("initSlide();", 1)}
}

function addHdr(text) {
document.write('<tr><td bgcolor="'+hdrBGColorSite+'" height="'+hdrHeight+'" align="'+hdrAlign+'" valign="'+hdrVAlign+'" width="'+(menuWidth-1)+'">&nbsp;<font face="'+hdrFontFamily+'" size="'+hdrFontSize+'" color="'+hdrFontColor+'"><b>'+text+'</b></font></td>'+((!tempBar)?"":'</tr>'))}

function subMenuOver (menu) {
var cellNumber="cell"+menu.id.substring(9,11);
menu.style.position="absolute";
if (IE||AOL||Opera) {menu.style.pixelTop=menuYpos;
if (menu.style.pixelTop<=0) {menu.style.pixelTop=5}
menu.style.pixelLeft=100;
}
if (NS6||CHR||SAF) {menu.style.top=menuYpos+"px";
if (parseInt(menu.style.top)<=0) {menu.style.top=5+"px";}
menu.style.left=100+"px";}

menu.style.visibility="visible";
showMenu="true";
//keep cell white when dropdown is visible

if (IE||AOL||Opera) {document.all("cell"+menu.id.substring(9,11)).style.backgroundColor="white";
document.all("cell"+menu.id.substring(9,11)).style.color="red";}
if (NS6||CHR||SAF) {document.getElementById("cell"+menu.id.substring(9,11)).style.backgroundColor="white";
document.getElementById("cell"+menu.id.substring(9,11)).style.color="red";}

if (Opera5){document.all("cell"+menu.id.substring(9,11)).style.background="white";}
}



function rakeSubMenuOver (menu,siteCellIndex) {

rakeB[siteCellIndex].visibility="visible";
siteB.visibility="visible";
if (IE||AOL||Opera||CHR||SAF) {siteB.pixelLeft=100;}
if (NS6) {siteB.left=100+"px";}
showMenu="true";
if (IE||AOL||Opera||CHR||SAF) {menu.style.pixelLeft=180;}
if (NS6) {menu.style.left=180+"px";}
//keep cell white when dropdown is visible
if (IE||AOL||Opera) {document.all("siteCell"+siteCellIndex).style.backgroundColor="white";
document.all("siteCell"+siteCellIndex).style.color="red";}
if (NS6||CHR||SAF) {document.getElementById("siteCell"+siteCellIndex).style.backgroundColor="white";
document.getElementById("siteCell"+siteCellIndex).style.color="red";}
if (Opera5){document.all("siteCell"+siteCellIndex).style.background="white";}
}


var testB= new Array(11);

function dropDown() {
for (j=0;j<=sitems.length;j++) {
if (j==5){

document.write('<div id="testBlock'+j+'" style="visibility:hidden;position:absolute;z-index:120;width:180px;left:180px;top:20px" onmouseover="subMenuOver(this);return true" onmouseout="disappear(this)">');
document.write('<table bgcolor="black" align="center" border="0" cellpadding="0" cellspacing="1" >');

//check if on a sales tax page
for (i=0;i<menuArray_5.length;i++) {
if (document.URL==menuArray_5[i][0]){
document.write('<tr ><td  id="menuArrayCell'+i+'" style="border-top:1px solid white;background-color:white;cursor:default;text-align:left;width:150px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;padding-left:10px;"  onmouseover="this.style.color=\'red\';window.status=\'You are presently visiting this page.\'" onmouseout="if (Opera5){this.style.background=\'white\';}; this.style.color=\''+linkColorSite+'\'"> '+menuArray_5[i][1]+'</td></tr>')}
else {
document.write('<tr><td  id="menuArrayCell'+i+'" style="border-top:1px solid white;background-color:'+linkBGColorSite+';cursor:pointer;text-align:left;width:150px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;padding-left:10px;" onclick="window.location=\''+menuArray_5[i][0]+'\'" onmouseover="if (Opera5){this.style.background=\''+linkOverBGColorSite+'\';}; this.style.backgroundColor=\''+linkOverBGColorSite+'\';this.style.color=\''+linkOverColorSite+'\';window.status=\''+menuArray_5[i][0]+'\'" onmouseout="if (Opera5){this.style.background=\''+linkBGColorSite+'\';}; this.style.backgroundColor=\''+linkBGColorSite+'\';this.style.color=\''+linkColorSite+'\'"> '+menuArray_5[i][1]+'</td></tr>')
}
}


document.write('</table></div>');
if (IE||AOL||Opera) {testB[j]=document.all("testBlock"+j).style}
if (NS6||CHR||SAF){testB[j]=document.getElementById("testBlock"+j).style}
}

if (j==6){

document.write('<div id="testBlock'+j+'" style="visibility:hidden;position:absolute;z-index:120;width:180px;left:180px;top:20px" onmouseover="subMenuOver(this);return true" onmouseout="disappear(this)">');
document.write('<table bgcolor="black" align="center" border="0" cellpadding="0" cellspacing="1" >');

//check if on a symbols page

for (c=0;c<menuArray_6.length;c++) {

if (document.URL==menuArray_6[c][0]){

document.write('<tr ><td  id="menuArrayCell0" style="border-top:1px solid white;background-color:white;cursor:default;text-align:left;width:150px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;padding-left:10px;"  onmouseover="this.style.color=\'red\';window.status=\'You are presently visiting this page.\'" onmouseout="if (Opera5){this.style.background=\'white\';}; this.style.color=\''+linkColorSite+'\'"> '+menuArray_6[c][1]+'</td></tr>')}
else {

document.write('<tr><td  id="menuArrayCell'+c+'" style="border-top:1px solid white;background-color:'+linkBGColorSite+';cursor:pointer;text-align:left;width:150px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;padding-left:10px;" onclick="window.location=\''+menuArray_6[c][0]+'\'" onmouseover="if (Opera5){this.style.background=\''+linkOverBGColorSite+'\';}; this.style.backgroundColor=\''+linkOverBGColorSite+'\';this.style.color=\''+linkOverColorSite+'\';window.status=\''+menuArray_6[c][0]+'\'" onmouseout="if (Opera5){this.style.background=\''+linkBGColorSite+'\';}; this.style.backgroundColor=\''+linkBGColorSite+'\';this.style.color=\''+linkColorSite+'\'"> '+menuArray_6[c][1]+'</td></tr>')
}
}

document.write('</table></div>');
if (IE||AOL||Opera) {testB[j]=document.all("testBlock"+j).style}
if (NS6||CHR||SAF){testB[j]=document.getElementById("testBlock"+j).style}
}


}
}

//third level menu
var rakeB= new Array(11);

function rakeDropDown() {
for (j=0;j<=sitems.length;j++) {

if (j==5) {

document.write('<div id="rakeTestBlock'+j+'" style="visibility:hidden;position:absolute;z-index:320;width:230px;left:250px;top:220px" onmouseover="rakeSubMenuOver(this,'+j+');return true" onmouseout="rakeDropDownDisappear(this,'+j+')">');
document.write('<table bgcolor="black" align="center" border="0" cellpadding="0" cellspacing="1" >');
for (i=0;i<menuArray_5.length;i++) {
document.write('<tr ><td  style="border-top:1px solid white;background-color:#C9FFEB;cursor:pointer;text-align:left;width:150px;height:20px;font-family:arial;font-size:10pt;color:black;font-weight:bold;padding-left:10px;" onclick="window.location=\''+menuArray_5[i][0]+'\'" onmouseover="if (Opera5){this.style.background=\''+linkOverBGColorRake+'\';};this.style.backgroundColor=\''+linkOverBGColorRake+'\';this.style.color=\''+linkOverColorRake+'\';if (!NS6){window.status=\''+menuArray_5[i][0]+'\'}" onmouseout="if (Opera5){this.style.background=\'#C9FFEB\';}; this.style.backgroundColor=\'#C9FFEB\';this.style.color=\''+linkColorRake+'\'">'+menuArray_5[i][1]+'</td></tr>')
}
document.write('</table></div>');
}

if (j==6) {

document.write('<div id="rakeTestBlock'+j+'" style="visibility:hidden;position:absolute;z-index:420;width:230px;left:250px;top:250px" onmouseover="rakeSubMenuOver(this,'+j+');return true" onmouseout="rakeDropDownDisappear(this,'+j+')">');
document.write('<table bgcolor="black" align="center" border="0" cellpadding="0" cellspacing="1" >');
for (i=0;i<menuArray_6.length;i++) {
document.write('<tr ><td  style="border-top:1px solid white;background-color:#C9FFEB;cursor:pointer;text-align:left;width:150px;height:20px;font-family:arial;font-size:10pt;color:black;font-weight:bold;padding-left:10px;" onclick="window.location=\''+menuArray_6[i][0]+'\'" onmouseover="if (Opera5){this.style.background=\''+linkOverBGColorRake+'\';};this.style.backgroundColor=\''+linkOverBGColorRake+'\';this.style.color=\''+linkOverColorRake+'\';if (!NS6){window.status=\''+menuArray_6[i][0]+'\'}" onmouseout="if (Opera5){this.style.background=\'#C9FFEB\';}; this.style.backgroundColor=\'#C9FFEB\';this.style.color=\''+linkColorRake+'\'">'+menuArray_6[i][1]+'</td></tr>')
}
document.write('</table></div>');

}
if (j==5 || j==6){
if (IE||AOL||Opera) {rakeB[j]=document.all("rakeTestBlock"+j).style};
if (NS6||CHR||SAF){rakeB[j]=document.getElementById("rakeTestBlock"+j).style};
}
}
}


function rakeDropDownDisappear(menu,siteCellIndex){

rakeB[siteCellIndex].visibility="hidden";
siteB.visibility="hidden";
if (IE||AOL||Opera) {document.all("siteCell"+siteCellIndex).style.backgroundColor=linkBGColorRake;
document.all("siteCell"+siteCellIndex).style.color=linkColorRake;}
if (NS6||CHR||SAF) {document.getElementById("siteCell"+siteCellIndex).style.backgroundColor=linkBGColorRake;
document.getElementById("siteCell"+siteCellIndex).style.color=linkColorRake;}
if (IE||AOL||Opera||CHR||SAF) {rakeB[siteCellIndex].pixelLeft=250;}
if (NS6) {rakeB[siteCellIndex].left=250+"px";}
if (Opera5){document.all("siteCell"+siteCellIndex).style.background=linkBGColorRake;}

rakeBaseDisappear(siteCellIndex);

showMenu="false";
moveBack();

}


var menuXpos;
var menuYpos;
var loc;
var loc1;
var locA;
var newIndex;


//base site, when cursor hits sales tax link in slide out menu
function newBlock(newIndex,m) {

testB[m].visibility="visible";
testB[m].position="absolute";
if (IE||AOL||Opera) {
document.all("cell"+m).style.backgroundColor="black";
document.all("cell"+m).style.color="white";
document.all("arrowId"+m).src="images/whiteArrow1.gif";
}else if (NS6||CHR||SAF) {
document.getElementById("cell"+m).style.backgroundColor="black";
document.getElementById("cell"+m).style.color="white";
document.getElementById("arrowId"+m).src="images/whiteArrow1.gif";
}
if (Opera5) {document.all("cell"+m).style.background="black";}
if (IE||AOL||Opera||CHR||SAF) {testB[m].pixelTop=ssm.pixelTop+m*20;
if (testB[m].pixelTop <=0){testB[m].pixelTop=5}
menuYpos=testB[m].pixelTop;
testB[m].pixelLeft=180;
}

if (NS6) {testB[m].top=parseInt(ssm.top)+m*20+"px";
if (testB[m].top <=0){testB[m].top=5+"px"}
menuYpos=parseInt(testB[m].top);
testB[m].left=180+"px";
}
}


//following function only for the sales tax page when cursor hits the sales tax link

function newBlockTax(newIndex,m) {

testB[m].visibility="visible";
testB[m].position="absolute";

if (IE||AOL||Opera) {
document.all("cell"+m).style.backgroundColor="black";
document.all("cell"+m).style.color="white";
document.all("arrowId"+m).src="images/whiteArrow1.gif";
}else if (NS6||CHR||SAF) {
document.getElementById("cell"+m).style.backgroundColor="black";
document.getElementById("cell"+m).style.color="white";
document.getElementById("arrowId"+m).src="images/whiteArrow1.gif";
}
if (Opera5) {document.all("cell"+m).style.background="black";

}
if (IE||AOL||Opera||CHR||SAF) {testB[m].pixelTop=ssm.pixelTop+m*20;
if (testB[m].pixelTop <=0){testB[m].pixelTop=5}
menuYpos=testB[m].pixelTop;
testB[m].pixelLeft=180;

}

if (NS6) {testB[m].top=parseInt(ssm.top)+m*20+"px";
if (testB[m].top <=0){testB[m].top=5+"px"}
menuYpos=parseInt(testB[m].top);
testB[m].left=180+"px";
}

}


function oldBlock(menuLoc,arrowLoc){

/*added following line to make submenu disapppear 10.8.2003, may be redundant with another method used earlier and elsewhere in program*/

testB[arrowLoc].visibility="hidden";


menuLoc.style.backgroundColor=linkBGColorSite;
menuLoc.style.color="black";
if (IE||AOL||Opera) {document.all("arrowId"+arrowLoc).src="images/tri.gif";
}else if (NS6||CHR||SAF) {document.getElementById("arrowId"+arrowLoc).src="images/tri.gif";
}
if (Opera5) {menuLoc.style.background=linkBGColorSite;}
}

function oldBlockTax(menuLoc,arrowLoc){

menuLoc.style.backgroundColor="white";
menuLoc.style.color="black";
if (IE||AOL||Opera) {document.all("arrowId"+arrowLoc).src="images/tri.gif";
}else if (NS6||CHR||SAF) {document.getElementById("arrowId"+arrowLoc).src="images/tri.gif";
}
if (Opera5) {menuLoc.style.background="white";}
testB[arrowLoc].visibility="hidden";
}

function disappear (newIndex1) {
loc2=newIndex1.id.substring(9,11);
locB=parseInt(loc2);
if (IE||AOL||Opera) {
document.all("cell"+loc2).style.backgroundColor=linkBGColorSite;
document.all("cell"+loc2).style.color=linkColorSite;
document.all("arrowId"+loc2).src="images/tri.gif";
}else if (NS6||CHR||SAF) {
document.getElementById("cell"+loc2).style.backgroundColor=linkBGColorSite;
document.getElementById("cell"+loc2).style.color=linkColorSite;
document.getElementById("arrowId"+loc2).src="images/tri.gif";
}
if (Opera5) {document.all("cell"+loc2).style.background=linkBGColorSite;}
testB[locB].visibility="hidden";
showMenu="false";
moveBack();


}
//second level menu on lawnrake site pages
function baseMenu() {
p=1;
document.write('<div id="siteBlock'+p+'" style="visibility:hidden;position:absolute;z-index:220;width:200px;left:180px;top:130px" onmouseover="baseMenuOver(this);return true" onmouseout="baseDisappear(this)">');
document.write('<table bgcolor="black" align="center" border="0" cellpadding="0" cellspacing="1" >');

for (j=0;j<sitems.length;j++) {

if (j==5) {
siteText="<span style='font-size:10pt'>New York State sales tax &nbsp;calculator</span><img id='arrowId10' src='../images/tri.gif' width=5 height=10 style='margin-left:100px;' />";
document.write('<tr ><td  id="siteCell'+j+'" style="border-top:1px solid white;background-color:'+linkBGColorRake+';cursor:pointer;text-align:left;width:200px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorRake+';font-weight:bold;padding-left:10px;" onmouseover="if(Opera5){this.style.background=\'black\';};this.style.backgroundColor=\'black\';this.style.color=\'white\';if(IE||AOL||Opera){document.all(\'arrowId10\').src=\'../images/whiteArrow1.gif\';document.all(\'rakeTestBlock5\').style.visibility=\'visible\'}else if (NS6) {document.getElementById(\'arrowId10\').src=\'../images/whiteArrow1.gif\';document.getElementById(\'rakeTestBlock5\').style.visibility=\'visible\'};window.status=\'\'" onmouseout="if(Opera5){this.style.background=\''+linkBGColorRake+'\';};this.style.backgroundColor=\''+linkBGColorRake+'\';this.style.color=\''+linkColorRake+'\';if (IE||AOL||Opera){document.all(\'arrowId10\').src=\'../images/tri.gif\'; document.all(\'rakeTestBlock5\').style.visibility=\'hidden\'}else if (NS6){document.all(\'arrowId10\').src=\'../images/tri.gif\'; document.getElementById(\'rakeTestBlock5\').style.visibility=\'hidden\'};">'+siteText+'</td></tr>')

}else if (j==6) {

siteText="<span style='font-size:10pt'>Recycling symbols</span><img id='arrowId9' src='../images/tri.gif' width=5 height=10 style='margin-left:50px;' />";
document.write('<tr ><td  id="siteCell'+j+'" style="border-top:1px solid white;background-color:'+linkBGColorRake+';cursor:pointer;text-align:left;width:200px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorRake+';font-weight:bold;padding-left:10px;" onmouseover="if(Opera5){this.style.background=\'black\';};this.style.backgroundColor=\'black\';this.style.color=\'white\';if(IE||AOL||Opera){document.all(\'arrowId9\').src=\'../images/whiteArrow1.gif\';document.all(\'rakeTestBlock6\').style.visibility=\'visible\'}else if (NS6) {document.getElementById(\'arrowId9\').src=\'../images/whiteArrow1.gif\';document.getElementById(\'rakeTestBlock6\').style.visibility=\'visible\'};window.status=\'\'" onmouseout="if(Opera5){this.style.background=\''+linkBGColorRake+'\';};this.style.backgroundColor=\''+linkBGColorRake+'\';this.style.color=\''+linkColorRake+'\';if (IE||AOL||Opera){document.all(\'arrowId9\').src=\'../images/tri.gif\'; document.all(\'rakeTestBlock6\').style.visibility=\'hidden\'}else if (NS6){document.all(\'arrowId9\').src=\'../images/tri.gif\'; document.getElementById(\'rakeTestBlock6\').style.visibility=\'hidden\'};">'+siteText+'</td></tr>')
}else{

document.write('<tr ><td  id="siteCell'+j+'" style="border-top:1px solid white;background-color:'+linkBGColorRake+';cursor:pointer;text-align:left;width:200px;height:20px;font-family:arial;font-size:10pt;color:'+linkColorRake+';font-weight:bold;padding-left:10px;" onclick="window.location=\'http://www.earthodyssey.com/'+sitemlinks[j]+'\'" onmouseover=" if(Opera5){this.style.background=\''+linkOverBGColorRake+'\';}; this.style.backgroundColor=\''+linkOverBGColorRake+'\';this.style.color=\''+linkOverColorRake+'\';if (!NS6){window.status=\'http://www.earthodyssey.com/'+sitemlinks[j]+'\'}" onmouseout="if(Opera5){this.style.background=\''+linkBGColorRake+'\';};this.style.backgroundColor=\''+linkBGColorRake+'\';this.style.color=\''+linkColorRake+'\';">'+sitems[j]+'</td></tr>')
}


}

document.write('</table></div>');
if (IE||AOL||Opera) {siteB=document.all("siteBlock"+p).style}
if (NS6||CHR||SAF){siteB=document.getElementById("siteBlock"+p).style}


}

//make visible and adjust positions of submenus to maintain position relative to main menu

function siteMenuBlock() {
siteB.visibility="visible";
if (IE||AOL||Opera||CHR||SAF) {siteB.pixelTop=ssm.pixelTop+5*20;}
if (NS6) {siteB.top=(parseInt(ssm.top)+5*20)+"px";};


for (j=0;j<=sitems.length;j++) {

if (j==5 || j==6) {
if (IE||AOL||Opera||CHR||SAF) {rakeB[j].pixelTop=ssm.pixelTop+j*40;}
if (NS6) {rakeB[j].top=(parseInt(ssm.top)+j*40)+"px";};
}
}
if (IE||AOL||Opera) {siteB.pixelLeft=180;
document.all("rakeDropDown").style.backgroundColor="black";
document.all("rakeDropDown").style.color="white";
document.all("arrowId8").src="../images/whiteArrow1.gif";
}
if (NS6||CHR||SAF) {siteB.left=180+"px";
document.getElementById("rakeDropDown").style.backgroundColor="black";
document.getElementById("rakeDropDown").style.color="white";
document.getElementById("arrowId8").src="../images/whiteArrow1.gif";
}
if(Opera5){document.all("rakeDropDown").style.background="black";}
}

function baseMenuOver (menuBase) {
menuBase.style.position="absolute";

if ((IE||AOL||Opera||CHR||SAF) &&menuBase.style.pixelTop<=0) {menuBase.style.pixelTop=5}
if (NS6&&menuBase.style.top<=0) {menuBase.style.top=5+"px";}

if (IE||AOL||Opera||CHR||SAF) {menuBase.style.pixelLeft=100;}
if (NS6) {menuBase.style.left=100+"px";}
menuBase.style.visibility="visible";
showMenu="true";
//keep cell white when dropdown is visible
if (IE||AOL||Opera) {document.all("rakeDropDown").style.backgroundColor="white";
document.all("rakeDropDown").style.color="red";}
if (NS6||CHR||SAF) {document.getElementById("rakeDropDown").style.backgroundColor="white";
document.getElementById("rakeDropDown").style.color="red";}
if(Opera5){document.all("rakeDropDown").style.background="white";}
}

function baseDisappear () {
siteB.visibility="hidden";
showMenu="false";
moveBack();
if (IE||AOL||Opera) {siteB.pixelLeft=180;
document.all("rakeDropDown").style.backgroundColor=linkBGColorRake;
document.all("rakeDropDown").style.color=linkColorRake;
document.all("arrowId8").src="../images/tri.gif";
}
if (NS6||CHR||SAF) {siteB.left=180+"px";
document.getElementById("rakeDropDown").style.backgroundColor=linkBGColorRake;
document.getElementById("rakeDropDown").style.color=linkColorRake;
document.getElementById("arrowId8").src="../images/tri.gif";
}
if(Opera5){document.all("rakeDropDown").style.background=linkBGColorRake;}

rakeBaseDisappear11 ()

}

function rakeBaseDisappear (siteCellIndex) {
rakeB[siteCellIndex].visibility="hidden";
siteB.visibility="hidden";
showMenu="false";
moveBack();
if (IE||AOL||Opera) {siteB.pixelLeft=180;
document.all("rakeDropDown").style.backgroundColor="#C0C0FF";
document.all("rakeDropDown").style.color=linkColorRake;
document.all("arrowId8").src="../images/tri.gif";
}
if (NS6||CHR||SAF) {siteB.left=180+"px";
document.getElementById("rakeDropDown").style.backgroundColor="#C0C0FF";
document.getElementById("rakeDropDown").style.color=linkColorRake;
document.getElementById("arrowId8").src="../images/tri.gif";
}
if(Opera5){document.all("rakeDropDown").style.background="#C0C0FF";}
}

function rakeBaseDisappear11 () {

siteB.visibility="hidden";
showMenu="false";
moveBack();
if (IE||AOL||Opera) {siteB.pixelLeft=180;
document.all("rakeDropDown").style.backgroundColor="#C0C0FF";
document.all("rakeDropDown").style.color=linkColorRake;
document.all("arrowId8").src="../images/tri.gif";
}
if (NS6||CHR||SAF) {siteB.left=180+"px";
document.getElementById("rakeDropDown").style.backgroundColor="#C0C0FF";
document.getElementById("rakeDropDown").style.color=linkColorRake;
document.getElementById("arrowId8").src="../images/tri.gif";
}
if(Opera5){document.all("rakeDropDown").style.background="#C0C0FF";}
}

//for site only, menuWidth instead of menuWidth-1

function addSiteItem(text,link,cellId) {
var baseUrl="http://www.earthodyssey.com/"
if (text=="Email for more information"){baseUrl=""}
if (cellId!="cell5" && cellId!="cell6"){
document.write('<tr><td id='+cellId+' style="border-top:1px solid white;height:15px;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;background-color:'+linkBGColorSite+'; cursor:pointer;padding-left:5px" onclick="window.location=\''+baseUrl+link+'\'" onmouseover="if(Opera5){this.style.background=\''+linkOverBGColorSite+'\'};testB[5].visibility=\'hidden\'; this.style.backgroundColor=\''+linkOverBGColorSite+'\';this.style.color=\''+linkOverColorSite+'\';window.status=\''+baseUrl+link+'\'" onmouseout="if(Opera5){this.style.background=\''+linkBGColorSite+'\'}; this.style.backgroundColor=\''+linkBGColorSite+'\';this.style.color=\''+linkColorSite+'\';" width="'+(menuWidth)+'">'+text+'</td></tr>')
}else if (cellId=="cell5"){
document.write('<tr><td id='+cellId+' style="border-top:1px solid white;height:15px;font-family:arial;font-size:10pt;color:black;font-weight:bold;background-color:'+linkBGColorSite+'; cursor:pointer;padding-left:5px" onmouseover="newBlock(this,5);window.status=\'\'" onmouseout="oldBlock(this,5)" width="'+(menuWidth)+'">'+text+'</td></tr>')
}else if (cellId=="cell6"){
document.write('<tr><td id='+cellId+' style="border-top:1px solid white;height:15px;font-family:arial;font-size:10pt;color:black;font-weight:bold;background-color:'+linkBGColorSite+'; cursor:pointer;padding-left:5px" onmouseover="newBlock(this,6);window.status=\'\'" onmouseout="oldBlock(this,6)" width="'+(menuWidth)+'">'+text+'</td></tr>')
}
}

//following function makes white background for current page on link list//

function addSiteItem1(text, link) {

if (m!=5 && m!=6) {

document.write('<tr><td style="border-top:1px solid white;height:15px;background-color:#ffffff;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;padding-left:5px;" onmouseover="if (IE||AOL||Opera){ document.all(\'testBlock5\').style.visibility=\'hidden\'}else if (NS6){document.getElementById(\'testBlock5\').style.visibility=\'hidden\'}; window.status=\'You are presently visiting this page\'" width="'+(menuWidth-1)+'">'+text+'</td></tr>')

}else if (m==5 || m==6){document.write('<tr><td id="cell'+m+'" style="border-top:1px solid white;cursor:pointer;height:15px;background-color:#ffffff;font-family:arial;font-size:10pt;color:'+linkColorSite+';font-weight:bold;padding-left:5px;" onmouseover="newBlockTax(this,'+m+');window.status=\'\'"; onmouseout="oldBlockTax(this,'+m+')" width="'+(menuWidth-1)+'">'+text+'</td></tr>')
}
}

function addRakeItem(text, link) {
var baseUrl="http://www.earthodyssey.com/lawnRake/"
if (text=="Email the inventor"){baseUrl=""}
if (text=="Base site") {
text=text+"<img id='arrowId8' src='../images/tri.gif' width='5' height='10' style='margin-left:90px;' />";

document.write('<tr><td id="rakeDropDown" style="border-top:1px solid white;height:15px;font-family:arial;font-size:10pt;color:'+linkColorRake+';font-weight:bold;background-color:#C0C0FF; cursor:pointer;padding-left:5px;"  onmouseover="siteMenuBlock(this); window.status=\'\'" onmouseout="rakeBaseDisappear11(this);" width="'+(menuWidth-1)+'">'+text+'</td></tr>')
}else {

document.write('<tr><td style="border-top:1px solid white;height:15px;font-family:arial;font-size:10pt;color:'+linkColorRake+';font-weight:bold;background-color:'+linkBGColorRake+';cursor:pointer;padding-left:5px;" onclick="window.location=\''+baseUrl+link+'\'" onmouseover="if(Opera5){this.style.background=\''+linkOverBGColorRake+'\'};this.style.backgroundColor=\''+linkOverBGColorRake+'\';this.style.color=\''+linkOverColorRake+'\';window.status=\''+baseUrl+link+'\'" onmouseout="if(Opera5){this.style.background=\''+linkBGColorRake+'\'};this.style.backgroundColor=\''+linkBGColorRake+'\';this.style.color=\''+linkColorRake+'\';" width="'+(menuWidth-1)+'">'+text+'</td></tr>')}
}

//following function makes white background on link list//

function addRakeItem1(text, link) {

document.write('<tr><td style="border-top:1px solid white;height:15px;background-color:#ffffff;font-family:arial;font-size:10pt;color:black;font-weight:bold;padding-left:5px;" onmouseover="window.status=\'You are presently visiting this page\'" width="'+(menuWidth-1)+'">'+text+'</td></tr>')}

/*When a new version of IE comes out, must include, for example, IE9, IE10 etc. */

//-->