

var closeproducttimer;
function Off2ndMenuItem(menu)
{
	if(show2ndmenu==menu)
		document.getElementById("dM"+show2ndmenu+"td"+menu2default).style.backgroundColor='#00A5C4';		
}

function Close2ndMenutd(e)
{
//	closeproducttimer=setTimeout("exitproduct()",200);
	Close2ndMenu(-1);
	if(!enteredproduct)
	{
		MenuOffExcept(menu1default);
	}
}

function enterproductmenu()
{
	if(closeproducttimer)
		clearTimeout(closeproducttimer);
}

function exitproductmenu()
{
	closeproducttimer=setTimeout("exitproduct()",200);
}

var enteredproduct=false;
function enterproduct()
{
enteredproduct=true;
	if(closeproducttimer)
		clearTimeout(closeproducttimer);
		
	el = document.getElementById('td2');
	el1 = document.getElementById('productmenu');

	el1.style.top = el.offsetHeight + getOffsetTop(el)-23;
	el1.style.left = getOffsetLeft(el)-50;
	
	fadein('productmenu',10);	
	show('productmenu');
}

var html = new Array();
var productimages = new Array();
var productdesc = new Array();
html[0]='<tr id="html0"><td>intentionally left blank</td></tr>';
productimages[0]="http://www.konceptech.com/images/menu/LL3001.gif";
productimages[1]="http://www.konceptech.com/images/menu/LL2001.gif";
productimages[2]="http://www.konceptech.com/images/menu/LL3100.gif";
productimages[3]="http://www.konceptech.com/images/menu/LL1100.gif";
productimages[4]="http://www.konceptech.com/images/menu/LL5000.gif";
productimages[5]="http://www.konceptech.com/images/menu/HL3001.gif";
productimages[6]="http://www.konceptech.com/images/menu/HL5000.gif";
//productimages[7]="http://www.konceptech.com/images/menu/HL3001-RED.jpg";
productimages[7]="http://www.konceptech.com/images/menu/HL2001.gif";
productimages[8]="http://www.konceptech.com/images/menu/HL3100.gif";
productimages[9]="http://www.konceptech.com/images/menu/HL1100.gif";

productdesc[0]="<b>Z-Bar LED Desk Lamp</b><p>Available in Silver, Metallic Black, White, <br>Metallic Red, Metallic Aqua, Metallic Blue<p>On/Off Toggle, 66 LEDs, 9.6 Watts consumption";
productdesc[1]="<b>Icelight LED Desk Lamp</b><p>Available in Silver, Metallic Black, and Metallic Blue<p>On/Off Toggle, 66 LEDs, 9.6 Watts consumption";
productdesc[2]="<b>Mini-Z LED Lamp</b><p>Available in Silver and Metallic Black<p>On/Off Toggle, 40 LEDs, 7.4 Watts consumption";
productdesc[3]="<b>i-Bar LED Lamp</b><p>Available in Silver and Metallic Black<p>On/Off Toggle, 38 LEDs, 7.4 Watts consumption";
productdesc[4]="<b>i-Tower LED Floor Lamp</b><p>Available in Silver and Metallic Black<p>On/Off Toggle, 66 LEDs, 9.6 Watts consumption";
productdesc[5]="<b>Z-Bar LED High Power Desk Lamp</b><p>Available in Silver and Metallic Black<p>Built-in 4-step dimmer<br>6 next generation High Power LEDs<br>9 Watts consumption";
productdesc[6]="<b>i-Tower High Power LED Floor Lamp</b><p>Available in Silver and Metallic Black<p>Built-in 4-step dimmer<br>6 next generation High Power LEDs<br>9 Watts consumption";
//productdesc[7]="<b><br>Z-Bar High Power LED Desk Lamp in <font color=red>RED</font></b><p><p>Built-in 4-step dimmer<br>6 next generation High Power LEDs<br>9 Watts consumption";
productdesc[7]="<b>IceLight High Power LED Desk Lamp</b><p><font color=#00ADCD>Coming soon in Silver and Metallic Black</font><p>Built-in 4-step dimmer<br>6 next generation High Power LEDs<br>9 Watts consumption";
productdesc[8]="<b>Z-Bar Mini High Power LED Desk Lamp</b><p>Available in Silver and Metallic Black<p>Built-in 4-step dimmer<br>4 next generation High Power LEDs<br>6.5 Watts consumption";
productdesc[9]="<b>i-Bar Mini High Power LED Desk Lamp</b><p>Available in Silver and Metallic Black<p>Built-in 4-step dimmer<br>4 next generation High Power LEDs<br>6.5 Watts consumption";


function exitproductcallback()
{
	var max=8;
	entered=false;
	for(i=1;i<max;i++)
	{
		if(document.getElementById("td"+i).style.backgroundColor!='')
			entered=true;
	}

	if(!entered && menu1default!=-1)
		document.getElementById("td"+menu1default).style.backgroundColor='#00ADCD';
	
}


function exitproduct()
{
	enteredproduct=false;
	setTimeout("exitproductcallback()",10);
	hide('productmenu');
//	fadeout('productmenu',1);
	document.getElementById("td2").style.backgroundColor='';
}

function Close2ndMenu(div)
{
	
}

function MenuOff(me)
{	
	if(me==show2ndmenu)
	{
		if(menu1default!=-1)
			MenuOffExcept(menu1default);
	}
}
function MenuOffExcept(me)
{
	var max=8;
	for(i=1;i<max;i++)
	{
		if(me!=i && i!=2)
		{
			document.getElementById("td"+i).style.backgroundColor='';
		}
	}

	if(me!=-1)
		document.getElementById("td"+me).style.backgroundColor='#00ADCD';
}



function showProduct(me)
{
	if(	document.getElementById('productdiv'+me).style.zIndex!=1000)
	{

	fadein('productdiv'+me,5);
	for(i=0;i<productimages.length;i++)
	{
		if(i==me)
		{
			document.getElementById('productdiv'+i).style.zIndex=1000;
		}
		else		
			document.getElementById('productdiv'+i).style.zIndex=0;
			
	}
	}
}

function WriteHeader()
{
	
document.write('</head>');
document.write('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">');
document.write('<table align=center width=780px style="border-right: 1px solid #cccccc;border-left: 1px solid #cccccc" border=0 cellpadding=0 cellspacing=0>');
document.write('  <tr >');
document.write('	<td style="padding: 20 0 10 30; height: 0px; "><a href="/index.html"><img border=0 alt="Koncept Technologies" src=http://www.konceptech.com/images/KONCEPT.gif></a><div  id=productmenu style="position:absolute; display:none; top:0; left:0; z-index: 100;" ><table  onmouseover="enterproductmenu()" onmouseout="exitproductmenu()"  border=0 cellspacing=0 cellpadding=0 ><tr height=30px><td style="border-bottom:1px #bcbcbc solid; width: 50px" onmouseover="exitproductmenu()"  >&nbsp; </td><td style="border-left: 1px #bcbcbc solid; border-top: 1px #bcbcbc solid; border-right: 1px #bcbcbc solid;" align=center bgcolor=white><div width=100% style="  background-color:#eeeeee; height:14px;">Products</div></td><td onmouseover="exitproductmenu()"   style="border-bottom:1px #bcbcbc solid; width:396px">&nbsp;</td></tr><tr><td bgcolor=white colspan=3 style="border-bottom:1px #bcbcbc solid; border-left:1px #bcbcbc solid; border-right:1px #bcbcbc solid;"><table bgcolor=white cellpadding=1 ><tr><td style="padding: 0 0 0 10"  width=151><b>Original Series</b></td><td  width=196><b>High Power Series</b></td><td width=151 style="padding: 0 10 0 0"><b>Under Cabinet</b><i>(coming soon)</i></td></tr>');
document.write('<tr><td colspan=3> <br></td></tr>');
document.write('<tr><td style="padding: 0 0 0 10"><a href="http://www.konceptech.com/zbar.html" onmouseover="showProduct(0)">Z-Bar LED Desk Lamp</a></td><td><a onmouseover="showProduct(5)" href="http://www.konceptech.com/highpowerzbar.html">Z-Bar High Power LED Desk Lamp</a></td><td></td></tr>');
//document.write('<tr><td style="padding: 0 0 0 10"></td><td><a onmouseover="showProduct(7)" href="http://www.konceptech.com/zbarHPRed.html">Z-Bar<font style="font-style: italic; color: red; font-weight: bold"> RED </font><font color=#00A5C4><b></b></font></a></td><td></td></tr>');
document.write('<tr><td style="padding: 0 0 0 10"><a onmouseover="showProduct(1)" href="http://www.konceptech.com/icelight.html">IceLight LED Desk Lamp</a></td><td><a onmouseover="showProduct(7)"  href="http://www.konceptech.com/icelighthighpower.html">IceLight High Power LED Desk Lamp</a></td><td></td></tr>');
document.write('<tr><td style="padding: 0 0 0 10"><a onmouseover="showProduct(2)"  href="http://www.konceptech.com/miniz.html">Mini-Z LED Desk Lamp</a></td><td><a onmouseover="showProduct(8)"  href="http://www.konceptech.com/zbarmini.html">Z-Bar Mini High Power LED Lamp</a></td><td></td></tr>');
document.write('<tr><td style="padding: 0 0 0 10"><a onmouseover="showProduct(3)" href="http://www.konceptech.com/ibar.html">i-Bar LED Desk Lamp</a></td><td><a onmouseover="showProduct(9)"  href="http://www.konceptech.com/ibarmini.html">i-Bar Mini High Power LED Lamp</a></td><td></td></tr>');
document.write('<tr><td colspan=3> <br></td></tr>');
document.write('<tr><td style="padding: 0 0 0 10"><a onmouseover="showProduct(4)" href="http://www.konceptech.com/itower.html">i-Tower LED Floor Lamp</a></td><td><a onmouseover="showProduct(6)" href="http://www.konceptech.com/highpoweritower.html">i-Tower High Power LED Floor Lamp</a></td><td></td></tr>');
document.write('<tr><td colspan=3 valign=middle align=center style="padding: 20 0 10 0"><img align=middle src="http://www.konceptech.com/images/clipart/hr.gif"></td></tr>');
document.write('<tr><td colspan=3 valign=middle align=center style="padding: 0 10 10 10; height:270px"><div id=producttable style="height:250px; overflow:hidden;">');
document.write('<div id=pdefault style="background-color: white; z-index: 1; position:relative; height:250px; filter:alpha(opacity=100)"><table bgcolor=white width=100% height=250px><tr><td>&nbsp;</td></tr></table></div>');
for(i=0;i<productimages.length;i++)
{
document.write('<div id=productdiv'+i+' style="background-color: white; z-index: 0; visibility: hidden; position:relative; height:250px; bottom:'+(i+1)*250+'px"><table width=100% border=0 cellpadding=0 cellspacing=0><tr><td valign=bottom align=center width=250px>');
document.write('<img src="'+productimages[i]+'"></td><td style="padding: 0 0 0 10" valign=bottom>'+productdesc[i]+'</td></tr></table>');
document.write('</div>');
}			   
document.write('</div></td></tr>');			   
document.write('	</table></td></tr></table></div></td>');
document.write('	<td align=right valign=top style="padding: 3 10 0 0">');
document.write('	<nobr><a href=http://www.konceptech.com/termsofuse.html>terms of use</a> | <a href=http://www.konceptech.com/returnpolicy.html>return policy</a> | <a href=http://www.konceptech.com/contactus.html>contact us</a></nobr>');
document.write('	</td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('	<td  id=tdMenu onmouseout=Close2ndMenutd(event) valign=top colspan=2 >');
document.write('		<table bgcolor=#888888 name="MenuTable" border=0 cellpadding=1 cellspacing=1><tr>');
document.write('			<td id="td0" style="padding: 0 0 0 20"  onmouseover="Close2ndMenu(-1); MenuOffExcept(-1)"></td>');
document.write('			<td id="td1" style="padding: 1 20 1 20"   onmouseover="Close2ndMenu(-1); MenuOffExcept(1)"><a href="http://www.konceptech.com/aboutus.html" class=awhite><nobr>About Koncept</nobr></a></td>');
document.write('			<td id="td2" style="padding: 0 20 0 20"  onmouseover="enterproduct();Close2ndMenu(-1); MenuOffExcept(2);  "><a href="javascript:void(0)" class=awhite>Products</a></td>');
document.write('			<td id="td3" style="padding: 0 20 0 20"  onmouseover="Close2ndMenu(1); MenuOffExcept(3)"><a href="http://www.konceptech.com/resellers.html" class=awhite><nobr>Where to buy</nobr></a></td>');
document.write('			<td id="td4" style="padding: 0 20 0 20"   onmouseover="Close2ndMenu(-1); MenuOffExcept(4)"><a href=http://www.konceptech.com/press.html class=awhite>Press</a></td>');
document.write('			<td id="td5" style="padding: 0 20 0 20"   onmouseover="Close2ndMenu(-1); MenuOffExcept(5)"><a href=http://www.konceptech.com/handa.html class=awhite>Honors/Awards</a></td>');
document.write('			<td id="td6" style="padding: 0 20 0 20"   onmouseover="Close2ndMenu(-1); MenuOffExcept(6)"><a href=http://www.konceptech.com/faq.html class=awhite>FAQ</a></td>');
document.write('			<td id="tdempty"  width=100%  onmouseover="Close2ndMenu(-1); MenuOffExcept(-1)">');
document.write('			<td id="td7" style="padding: 0 10 0 10" align=right onmouseout="MenuOff(7)" onmouseover="Close2ndMenu(-1); MenuOffExcept(7)"><nobr><a href="http://www.konceptech.com/Merchant2/merchant.mv?Screen=BASK&Store_Code=K" class=awhite><img border=0 align=absbottom src=http://www.konceptech.com/images/ShoppingCart.gif> Shopping Cart</a></nobr></td>');
document.write('			</tr>');
document.write('		</table>');
document.write('	</td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('	<td colspan=2 height=100% style="background-position: left top; background-repeat: no-repeat">');
}