// Set to "1" to display msgBox or "0" to hide
var messageBox=0
var msgHead="Off to a Wedding!!"
var msgBody="I will gone for a couple of days to a wedding in Wichita, Kansas. I am returning Tuesday evening and will be back Wednesday morning to play catch-up.<br><br>Thank you.... Norman"

if (messageBox==1){
	document.write("<div id='imgPicc' style='position:absolute;visibility:visible;z-index:100;filter: progid:DXImageTransform.Microsoft.Shadow(color=#105010,direction=135)' onmouseover='kill()'>");
	document.write("<table bgcolor='#F8F8F8' width='500' cellspacing='0' cellpadding='0' border='0'>");
	document.write("<tr><td width='10'><img src='corTL.jpg' width=10 height=64 border=0></td><td background='edgeT.jpg' valign='middle'><img align=right src=x.gif border='0' onmouseover='kill()'><font size=+1><div align='center'><b>" + msgHead + "</b></div></font></td><td width='12'><img src='corTR.jpg' width=12 height=64 border=0></td></tr>");
	document.write("<tr><td background='edgeL.jpg'></td><td class='regFont10'><br>" + msgBody + "<br><br><div align='center'><a href='#' onmouseover='kill()'>Close Message Box</a></div></td><td background='edgeR.jpg'></td></tr>");
	document.write("<tr><td><img src='corBL.jpg' width=10 height=17 border=0></td><td background='edgeB.jpg'></td><td><img src='corBR.jpg' width=12 height=17 border=0></td></tr>");
	document.write("</table>");
	document.write("</div>");


function FloatTopDiv()
{
	var startXX = 100;
	startYY = 100;
	var nsc = (navigator.appName.indexOf("Netscape") != -1);
	var dd = document;

	function mll(idd)
	{
		var ell=dd.getElementById?dd.getElementById(idd):dd.all?dd.all[idd]:dd.layers[idd];
		if(dd.layers)ell.style=ell;
		ell.sPP=function(x,y){this.style.left=x;this.style.top=y;};
		ell.x = startXX;
		ell.y = startYY;
		return ell;
	}

	window.stayTopLeftt=function()
	{
		var pYY = nsc ? pageYOffset : document.body.scrollTop;
//		ftlObjj.y += (pYY + startYY - ftlObjj.y)/8;
		ftlObjj.sPP(ftlObjj.x, ftlObjj.y);
		setTimeout("stayTopLeftt()", 10);
	}

	ftlObjj = mll("imgPicc");
	stayTopLeftt();
}

FloatTopDiv();
}



function kill(){
//  	msgobj.style.visibility="hidden"
	imgPicobj=document.getElementById? document.getElementById("imgPicc") : imgPicc
	imgPicobj.style.visibility="hidden"
	}

document.write('<div id="ie5menu" class="skin0" onMouseover="highlightie5(event)" onMouseout="lowlightie5(event)" onClick="jumptoie5(event)" display:none>');
document.write('<table border="0" cellpadding="0" cellspacing="0">');
document.write('<tr><td colspan="2">');

document.write('<table border="0" width="100%" cellpadding="0" cellspacing="0">');
document.write('<tr><td colspan="3" align="center" bgcolor="#336600"><font color="White"><b>&#151; NAVIGATION &#151;</b></font></td></tr>');
document.write('<tr><td>');
document.write('<div class="menuitems" url="index.htm">Home</div>   ');
document.write('</td><td>');
document.write('<div class="menuitems" url="firstvisit.htm">General Info</div>   ');
document.write('</td><td>');
document.write('<div class="menuitems" url="firstvisit.htm#pricing">Pricing Scheme</div>   ');
document.write('</td></tr><tr><td>');
document.write('<div class="menuitems" url="purchase.htm">How to Purchase</div>   ');
document.write('</td><td>');
document.write('<div class="menuitems" url="partslist.htm">Entire Parts List</div>   ');
document.write('</td><td>');
document.write('<div class="menuitems" url="contact.htm">Contact Info</div>   ');
document.write('</td></tr></table>');
document.write('</td></tr>');

document.write('<tr><td colspan="2" align="center" bgcolor="#336600"><font color="White"><b>&#151; PICK A MODEL &#151;</b></td></tr><tr><td>');
document.write('<div class="menuitems" url="1200patrol.htm">1200 Patrol (1971-1973)</div>   ');
document.write('<div class="menuitems" url="200sx.htm">200SX (1978-1988)</div>   ');
document.write('<div class="menuitems" url="210.htm">210 (1979-1982)</div>   ');
document.write('<div class="menuitems" url="240sx.htm">240SX (1989-1994)</div>   ');
document.write('<div class="menuitems" url="240Z260Z280Z.htm">240Z, 260Z, 280Z (1970-1978)</div>   ');
document.write('<div class="menuitems" url="280zx.htm">280ZX (1979-1983)</div>   ');
document.write('<div class="menuitems" url="300zx.htm">300ZX (Z31: 1984-1989)</div>   ');
document.write('<div class="menuitems" url="300zx32.htm">300ZX (Z32: 1990-1996)</div>   ');
document.write('<div class="menuitems" url="310.htm">310 (1978-1982)</div>   ');
document.write('<div class="menuitems" url="130014001600.htm">510 (Earlier): 1300, 1400, 1600 (1968-1973)</div>   ');
document.write('<div class="menuitems" url="510.htm">510 (Later: 1979-1981)</div>   ');
document.write('<div class="menuitems" url="520pickup.htm">520, 521 Pickup (1965-1972)</div>   ');
document.write('<div class="menuitems" url="610.htm">610 Sedan & Wagon (1973-1977)</div>   ');
document.write('<div class="menuitems" url="620pickup.htm">620 Pickup (1973-1979)</div>   ');
document.write('<div class="menuitems" url="710.htm">710 Sedan & Wagon (1974-1977)</div>   ');
document.write('<div class="menuitems" url="720truck.htm">720 Truck (1980-1985)</div>   ');
document.write('<div class="menuitems" url="810.htm">810 (1978-1980)</div>   ');
document.write('</td><td>');
document.write('<div class="menuitems" url="altima.htm">Altima (1998-2001)</div>   ');
document.write('<div class="menuitems" url="axxess.htm">Axxess (1990)</div>   ');
document.write('<div class="menuitems" url="b210.htm">B210 (1974-1978)</div>   ');
document.write('<div class="menuitems" url="f10.htm">F10 (1976-1978)</div>   ');
document.write('<div class="menuitems" url="maxima.htm">Maxima (1981-1994)</div>   ');
document.write('<div class="menuitems" url="minivan.htm">Mini-Van (1987-1989)</div>   ');
document.write('<div class="menuitems" url="pathfinder.htm">Pathfinder (1987-1995)</div>   ');
document.write('<div class="menuitems" url="patrol.htm">Patrol 60 (1961-1969)</div>   ');
document.write('<div class="menuitems" url="pulsar.htm">Pulsar (1982-1990)</div>   ');
document.write('<div class="menuitems" url="quest.htm">Quest (1993-1998)</div>   ');
document.write('<div class="menuitems" url="roadster.htm">Roadster (1965-1970)</div>   ');
document.write('<div class="menuitems" url="sentra.htm">Sentra (1982-1994)</div>   ');
document.write('<div class="menuitems" url="stanza.htm">Stanza (1982-1992)</div>   ');
document.write('<div class="menuitems" url="stanzaaltima.htm">Stanza Altima (1993-1997)</div>   ');
document.write('<div class="menuitems" url="stanzawagon.htm">Stanza Wagon (1986-1988)</div>   ');
document.write('<div class="menuitems" url="truck.htm">Truck (1986-1994)</div>   ');
document.write('<div class="menuitems" url="unknown.htm">UNCATEGORIZED ITEMS</div>   ');
document.write('</td></tr>');

document.write('<tr><td colspan="2" align="center" bgcolor="#336600"><font color="White"><b>&#151; CONTACT LINKS &#151;</b></td></tr><tr><td>');
document.write('</td></tr><tr><td align="center">');
document.write('<div class="menuitems" url="mailto:oem@oem-surplus.com?subject=Parts Question...">Parts Question...</div>   ');
document.write('</td><td align="center">');
document.write('<div class="menuitems" url="mailto:oem@oem-surplus.com?subject=Request to Purchase...">Request to Purchase...</div>   ');
document.write('</td></tr><tr><td align="center">');
document.write('<div class="menuitems" url="mailto:oem@oem-surplus.com?subject=Nissan WebPage Email...">Email Norman</div>   ');
document.write('</td><td align="center">');
document.write('<div class="menuitems" url="mailto:partsoutlet@oem-surplus.com?subject=Nissan WebPage Email...">Email James</div>   ');
document.write('</td></tr>');

document.write('</table>');
document.write('</div>');

//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar
var display_url=1

var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all
if (ie5||ns6)
var menuobj=document.getElementById("ie5menu")

function showmenuie5(e){
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientX
var bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge < menuobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? document.body.scrollLeft+event.clientX-menuobj.offsetWidth : window.pageXOffset+e.clientX-menuobj.offsetWidth
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? document.body.scrollLeft+event.clientX : window.pageXOffset+e.clientX

//same concept with the vertical position
if (bottomedge < menuobj.offsetHeight)
menuobj.style.top=ie5? document.body.scrollTop+event.clientY-menuobj.offsetHeight : window.pageYOffset+e.clientY-menuobj.offsetHeight
else
menuobj.style.top=ie5? document.body.scrollTop+event.clientY : window.pageYOffset+e.clientY

menuobj.style.visibility="visible"
return false
}

function hidemenuie5(e){
menuobj.style.visibility="hidden"
}

function highlightie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node
firingobj.style.backgroundColor="#336600"
firingobj.style.color="#9eb790"
if (display_url==1)
window.status=event.srcElement.url
}
}

function lowlightie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node
firingobj.style.backgroundColor="#9eb790"
firingobj.style.color="#000000"
window.status=''
}
}

function jumptoie5(e){
var firingobj=ie5? event.srcElement : e.target
if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){
if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode
if (firingobj.getAttribute("target"))
window.open(firingobj.getAttribute("url"),firingobj.getAttribute("target"))
else
window.location=firingobj.getAttribute("url")
}
}

if (ie5||ns6){
menuobj.style.display=''
document.oncontextmenu=showmenuie5
document.onclick=hidemenuie5
}
