	function navroll_on(imgName)
{
	document[imgName].src = "https://secure.tkwebhosting.com/~aurorael//images/buttons/" + imgName + "_over.gif";
}

function navroll_off(imgName)
{
	document[imgName].src = "https://secure.tkwebhosting.com/~aurorael//images/buttons/" + imgName + ".gif";
}

	//Contents for menu 1
	var menu1=new Array()
	menu1[0]='<a href="http://www.auroraelectricsupply.com/about.html" class="topnav_links">Our Story</a><br>'
	menu1[1]='<a href="http://www.auroraelectricsupply.com/location.html" class="topnav_links">Location</a><br><img src="https://secure.tkwebhosting.com/~aurorael//images/spacer.gif" height="4">'
	

	//Contents for menu 2
	var menu2=new Array()
	menu2[0]='<a href="http://www.auroraelectricsupply.com/indoor.html" class="topnav_links">Indoor</a><br>'
	menu2[1]='<a href="http://www.auroraelectricsupply.com/outdoor.html" class="topnav_links">Outdoor</a><br><img src="https://secure.tkwebhosting.com/~aurorael//images/spacer.gif" height="4">'
	

	//Contents for menu 3
	var menu3=new Array()
	menu3[0]='<a href="http://www.auroraelectricsupply.com/elk.html" class="topnav_links">Elk Lighting</a><br>'
	menu3[1]='<a href="http://www.auroraelectricsupply.com/emerson.html" class="topnav_links">Emerson Fan</a><br>'
	menu3[2]='<a href="http://www.auroraelectricsupply.com/kichler.html" class="topnav_links">Kichler</a><br>'
	menu3[3]='<a href="http://www.auroraelectricsupply.com/murrayfeiss.html" class="topnav_links">Murray Feiss</a><br>'
	menu3[4]='<a href="http://www.auroraelectricsupply.com/quoizel.html" class="topnav_links">Quoizel</a><br>'
	menu3[5]='<a href="http://www.auroraelectricsupply.com/savoy.html" class="topnav_links">Savoy House</a><br>'
	menu3[6]='<a href="http://www.auroraelectricsupply.com/schonbek.html" class="topnav_links">Schonbek Crystal</a><br>'
	menu3[7]='<a href="http://www.auroraelectricsupply.com/hanover.html" class="topnav_links">Hanover</a><br><img src="https://secure.tkwebhosting.com/~aurorael//images/spacer.gif" height="4">'
	//Contents for menu 4
	var menu4=new Array()
	menu4[0]='<a href="http://www.auroraelectricsupply.com/account_help.html" class="topnav_links">Account Help</a><br>'
	menu4[1]='<a href="http://www.auroraelectricsupply.com/ordering.html" class="topnav_links">Ordering</a><br>'
	menu4[2]='<a href="http://www.auroraelectricsupply.com/shipping.html" class="topnav_links">Shipping & Returns</a><br>'
	menu4[3]='<a href="http://www.auroraelectricsupply.com/safety.html" class="topnav_links">Safety & Privacy</a><br>'
	menu4[4]='<a href="http://www.auroraelectricsupply.com/contact.html" class="topnav_links">Contact Us</a><br><img src="https://secure.tkwebhosting.com/~aurorael//images/spacer.gif" height="4">'

	var menuwidth='165px' //default menu width
	var menubgcolor='EBAC4D'  //menu bgcolor
	var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
	var hidemenu_onclick="yes" //hide menu when user clicks within menu?
	
var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")

dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

document.write("<div align='center'><table width='753' cellpadding='0' cellspacing='0' border='0' bgcolor='ffffff'>");
document.write("<tr>");
document.write("<td width='393'>");
document.write("<img src = 'https://secure.tkwebhosting.com/~aurorael//images/spacer.gif' width='393' height='1'><br>");
document.write("<img src = 'https://secure.tkwebhosting.com/~aurorael//images/logo.gif'><br>");
document.write("</td>");
document.write("<td width='360' valign='bottom'>");
document.write("<img src = 'https://secure.tkwebhosting.com/~aurorael//images/spacer.gif' width='360' height='1'>");
document.write("<table width='360' cellpadding='0' cellspacing='0' border='0' >");
document.write("<tr>");
document.write("<td valign='bottom'><a href=\"http://auroraelectricsupply.com/sunshop2/index.php?action=account\" onmouseover=\"navroll_on('login');\" onmouseout=\"navroll_off('login');\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/login.gif\" name=\"login\" alt=\"\" border=\"0\"></a><br></td>");
document.write("<td valign='bottom'><img src = 'https://secure.tkwebhosting.com/~aurorael//images/divider.gif'></td>");
document.write("<td valign='bottom'><a href=\"http://auroraelectricsupply.com/sunshop2/index.php?action=viewcart\" onmouseover=\"navroll_on('basket');\" onmouseout=\"navroll_off('basket');\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/basket.gif\" name=\"basket\" alt=\"\" border=\"0\"></a><br></td>");
document.write("<td valign='bottom'><img src = 'https://secure.tkwebhosting.com/~aurorael//images/divider.gif'></td>");
document.write("<td valign='bottom'><a href='http://www.auroraelectricsupply.com/sunshop2/index.php?action=account&display=wishlist' onmouseover=\"navroll_on('wishlist');\" onmouseout=\"navroll_off('wishlist');\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/wishlist.gif\" name=\"wishlist\" alt=\"\" border=\"0\"></a><br></td>");
document.write("<td valign='bottom'><form action='http://www.auroraelectricsupply.com/sunshop2/index.php?action=search' method='post'>");
document.write("<td valign='bottom'><input type='hidden' name='in' value='All'>");
document.write("<a href= 'http://auroraelectricsupply.com/sunshop2/index.php?action=advsearch' ><img src ='https://secure.tkwebhosting.com/~aurorael//images/buttons/search.gif' border='0'></a><br>");
document.write("<input type='text' name='search' value='Keyword Search'>&nbsp;<input type='image' name='Submit' src='https://secure.tkwebhosting.com/~aurorael//images/buttons/go.gif' border=0></td>");
document.write("</tr>");
document.write("<tr><td colspan=6><img src = 'https://secure.tkwebhosting.com/~aurorael//images/spacer.gif' width='1' height='6'></td</tr>");
document.write("</table>");


document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td colspan='2'>");
document.write("<table width='753' cellpadding='0' cellspacing='0' border='0'>");
	document.write("<tr>");
	document.write("<td width=51><a href=\"http://www.auroraelectricsupply.com/index.html\" onmouseover=\"navroll_on('home');\" onmouseout=\"navroll_off('home');\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/home.gif\" name=\"home\" alt=\"\" border=\"0\"></a><br></td>");
	document.write("<td width=56><a href=\"\" onClick=\"return clickreturnvalue()\" onMouseOver=\"navroll_on('about'); dropdownmenu(this, event, menu1, '135px')\" onMouseOut=\"navroll_off('about'); delayhidemenu()\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/about.gif\" name=\"about\" alt=\"\" border=\"0\"></a><br></td>");
	document.write("<td width =78><a href=\"\" onClick=\"return clickreturnvalue()\" onMouseOver=\"navroll_on('products'); dropdownmenu(this, event, menu2, '78px')\" onMouseOut=\"navroll_off('products'); delayhidemenu()\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/products.gif\" name=\"products\" alt=\"\" border=\"0\"></a><br></td>");
	document.write("<td width=65><a href=\"\" onClick=\"return clickreturnvalue()\" onMouseover=\"navroll_on('brands'); dropdownmenu(this, event, menu3, '140px')\" onMouseout=\"navroll_off('brands'); delayhidemenu()\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/brands.gif\" name=\"brands\" alt=\"\" border=\"0\"></a><br></td>");
	document.write("<td width=109><a href=\"http://www.auroraelectricsupply.com/design.html\" onmouseover=\"navroll_on('design');\" onmouseout=\"navroll_off('design');\"><img src=\"http://www.auroraelectricsupply.com/dev/images/buttons/design.gif\" name=\"design\" alt=\"\" border=\"0\"></a><br></td>");	
	document.write("<td width=103><a href=\"http://www.auroraelectricsupply.com/contractors.html\" onmouseover=\"navroll_on('contractors');\" onmouseout=\"navroll_off('contractors');\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/contractors.gif\" name=\"contractors\" alt=\"\" border=\"0\"></a><br></td>");	
	document.write("<td width=118><a href=\"\" onClick=\"return clickreturnvalue()\" onMouseover=\"navroll_on('customer'); dropdownmenu(this, event, menu4, '118px')\" onMouseout=\"navroll_off('customer'); delayhidemenu()\"><img src=\"https://secure.tkwebhosting.com/~aurorael//images/buttons/customer.gif\" name=\"customer\" alt=\"\" border=\"0\"></a><br></td>");
	document.write("<td width = 173 bgcolor=F6D8AB><img src='https://secure.tkwebhosting.com/~aurorael//images/spacer.gif'><br></td>");
	document.write("</tr>");
	document.write("</table>");
document.write("</td>");
document.write("</tr>");
document.write("</table></div><br>");
