document.write('<style type="text/css"><!--');

document.write('#master {position:absolute; width: 200px; top: 10px; left: -150px; z-index:2; visibility:visible;}');
document.write('#menu {position:absolute; width: 18px; top: 0px; left: 150px; z-index:5; visibility:visible;}');
document.write('#top {position:absolute; width: 150px; top: 0px; left: 0px; z-index:5; visibility:visible;}');
document.write('#screen {position:absolute; width: 150px; top: 6px; left: 0px; z-index:5; visibility:visible;}');
document.write('#screenlinks {position:absolute; width: 150px; top: 6px; left: 0px; z-index:5; visibility:visible;}');


document.write('.NavJump {font-family: arial; font-size: 10pt; color: #808080; text-decoration: none;}');
document.write('a:link.NavJump {color : #808080;}');
document.write('a:visited.NavJump {color : #808080;}');
document.write('a:active.NavJump {text-decoration: none; color: #C0C0C0;}');
document.write('a:hover.NavJump {text-decoration: none; color: #C0C0C0;}');


document.write('--></style>');



var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0

if(ie){
document.write('<style type="text/css">')
document.write("#screen	{filter:Alpha(Opacity=80);}")
document.write("</style>")
}

var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0

if(ns){
document.write('<style type="text/css">')
document.write("#master	{clip:rect(0,150,250,0);}")
document.write("</style>")
}

var master = new Object("element")
master.curLeft = -150;	master.curTop = 10;
master.gapLeft = 0;		master.gapTop = 0;
master.timer = null;

function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){
clearTimeout(eval(layerName).timer)

if(eval(layerName).curLeft != fromLeft){
     if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft}
else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft}
else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft}
if(ie){document.all[layerName].style.left = eval(layerName).curLeft}
if(ns){document[layerName].left = eval(layerName).curLeft}
}

if(eval(layerName).curTop != fromTop){
     if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop}
else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop}
else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop}
if(ie){document.all[layerName].style.top = eval(layerName).curTop}
if(ns){document[layerName].top = eval(layerName).curTop}
}


eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30)
}




function setPace(layerName, fromLeft, fromTop, motionSpeed){
eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed
eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeed

moveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop)
}



var expandState = 0

function expand(){
if(expandState == 0){setPace("master", 0, 10, 10); if(ie){document.menutop.src = "images/menu_opened.gif"}; expandState = 1;}
else{setPace("master", -150, 10, 10); if(ie){document.menutop.src = "images/menu_closed.gif"}; expandState = 0;}
}

document.write('<div id="master">')
document.write('<div id="menu"><table border="0" width="18" cellspacing="0" cellpadding="0"><tr><td width="100%"><a href="javascript:expand()" onfocus="this.blur()"><img name="menutop" border="0" src="images/menu_closed.gif" width="18" height="70"></a></td></tr></table></div>')
document.write('<div id="top"><table border="0" width="150" cellspacing="0" cellpadding="0"><tr><td width="100%"><img border="0" src="images/menu_top.gif" width="150" height="6"></td></tr></table></div>')
document.write('<div id="screen"><table border="0" width="150" cellspacing="0" cellpadding="5"><tr><td width="100%" bgcolor="#ff33cc"><table border="0" width="100%" bgcolor="#808080" cellspacing="0" cellpadding="0"><tr><td width="100%"><table border="0" width="100%" cellspacing="1" cellpadding="5"><tr><td width="100%" bgcolor="#FFFFFF">')

//duplicate following lines when adding links

document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')
document.write('<font class="NavJump"><br></font>')


document.write('</td></tr></table></td></tr></table></td></tr></table></div>')
document.write('<div id="screenlinks"><table border="0" width="150" cellspacing="0" cellpadding="5"><tr><td width="100%"><table border="0" width="100%" bgcolor="#808080" cellspacing="0" cellpadding="0"><tr><td width="100%"><table border="0" width="100%" cellspacing="1" cellpadding="5"><tr><td width="100%" bgcolor="#FFFFFF">')

//duplicate lines above when adding links

document.write('<a href="index.htm" class="NavJump"><b>Home</b></a><br>')
document.write('<a href="links.htm" class="NavJump"><b>Links</b></a><br>')
document.write('<a href="docs.htm" class="NavJump"><b>Documents</b></a><br>')
document.write('<a href="paint.htm" class="NavJump"><b>Paint Info</b></a><br>')
document.write('<b>&nbsp;</b><br>')
document.write('<a href="cars.htm" class="NavJump"><b>Cars:</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars.htm" class="NavJump"><b>Featured Cars</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars_a.htm" class="NavJump"><b>A-Body</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars_b.htm" class="NavJump"><b>B-Body</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars_e.htm" class="NavJump"><b>E-Body</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars_nf.htm" class="NavJump"><b>Non-Factory</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars_gone.htm" class="NavJump"><b>R.I.P.</b></a><br>')
document.write('&nbsp;&nbsp;<a href="cars_fs.htm" class="NavJump"><b>For Sale/Wanted</b></a><br>')
document.write('<b>&nbsp;</b><br>')
document.write('<a href="faq.htm" class="NavJump"><b>FAQ</b></a><br>')
document.write('<a href="listing.htm" class="NavJump"><b>Get Your Car Listed</b></a><br>')


document.write('</td></tr></table></td></tr></table></td></tr></table></div></div>')

if(ie){var sidemenu = document.all.master;}
if(ns){var sidemenu = document.master;}

function FixY(){
if(ie){sidemenu.style.top = document.body.scrollTop+10}
if(ns){sidemenu.top = window.pageYOffset+10}
}


setInterval("FixY()",100);

