<!--
var IE = document.all?true:false
if (!IE) document.captureEvents(Event.MOUSEMOVE);document.onmousemove = getMouseXY;var tempY = 0



menuobj = "";
menuid = "";
function getMouseXY(e) {if (IE) {tempY = event.clientY + document.body.scrollTop} else {tempY = e.pageY};
if (tempY < 100  || tempY > 160){
if (menuid == "") {
CloseMenu();
} else {
OpenMenu(menuobj, menuid)
}
}

return true}
/*
var image=new Image()


function slideit(obj)
{
image.src = "images/I_" + obj + ".jpg"
if (!document.images){
slide.filters.blendTrans.apply()
document.images.slide.src = eval("image.src")
slide.filters.blendTrans.play()
return null;
}
}
*/

function OpenMenu(obj, id, mid){
var el = document.getElementById(obj);
var ar = document.getElementsByTagName("span"); 
if(el.style.display != "block"){
for (var i=0; i<ar.length; i++){
if (ar[i].className=="mainmenu"){
ar[i].style.display = "none";
}	
if (ar[i].className=="menutitle"){
ar[i].style.color = "#909090";
}			
}
el.style.display = "block";
document.getElementById(id).style.color = "#B43026";
}
if (mid != undefined) {
menuobj = obj;
menuid = id;
}
}
function CloseMenu(obj){
var ar = document.getElementsByTagName("span"); 
for (var i=0; i<ar.length; i++){
if (ar[i].className=="mainmenu"){
ar[i].style.display = "none";
}
if (ar[i].className=="menutitle"){
ar[i].style.color = "#909090";
}	
}
}
function OpenBrandMenu(obj, id){
var el = document.getElementById(obj);
var ar = document.getElementsByTagName("span"); 
if(el.style.display != "block"){
for (var i=0; i<ar.length; i++){
if (ar[i].className=="brandmenu")
ar[i].style.display = "none";
}
el.style.display = "block";
document.getElementById(id).style.color = "#B43026";
if (id != ida) {
document.getElementById(ida).style.color = "#909090";
}
ida = id;
}
}
function OpenProductMenu(obj, id){
var el = document.getElementById(obj);
var ar = document.getElementsByTagName("span"); 
if(el.style.display != "block"){
for (var i=0; i<ar.length; i++){
if (ar[i].className=="productmenu"){
ar[i].style.display = "none";
}
if (ar[i].className=="protitle"){
ar[i].style.color = "#909090";
}
}
el.style.display = "block";
document.getElementById(id).style.color = "#B43026";
if (id != ida) {
document.getElementById(ida).style.color = "#909090";
}
ida = id;		
}
}
ida = "pr0";
function SelectItemMenu(id){
document.getElementById(id).style.color = "#B43026";
}
function deSelectItemMenu(id){
if (id != ida) {
document.getElementById(id).style.color = "#909090";
}
}
function OpenItemMenu(obj, id){
var el = document.getElementById(obj);
var ar = document.getElementsByTagName("span"); 
for (var i=0; i<ar.length; i++){
if (ar[i].className=="subpmenu"){
ar[i].style.display = "none";
}
}
el.style.display = "block";
document.getElementById(id).style.color = "#B43026";
document.getElementById(ida).style.color = "#909090";
ida = id;	
}
function startPopUp(desktopURL) {
  var desktop = window.open(desktopURL, "_blank","width=820,height=600,left=10, top=10, scrollbars=yes");
}
function startPopUp1(desktopURL) {
  var desktop = window.open(desktopURL, "_blank","width=520,height=410,left=150, top=50, scrollbars=no");
}
function setVariables() {
if (navigator.appName == "Netscape") {v = ".top=";h = ".left=";dS = "document.";sD = "";y = "window.pageYOffset";x = "window.pageXOffset";iW = "window.innerWidth";iH = "window.innerHeight";
}else {h = ".pixelLeft=";v = ".pixelTop=";dS = "";sD = ".style";y = "document.body.scrollTop";iH = "document.body.clientHeight";}
if (screen.height > 600) {innerY = eval(iH) - 385;} else {innerY = eval(iH) - 220;} object = "logo";}movey = 0;ydiff = 0;ystart = 0;
function checkLocation() {ydiff = ystart - eval(y);movey = Math.round(ydiff / 10);ystart -= movey;
if (ydiff < 0 && document.body.scrollTop > 500) {eval(dS + object + sD + v + (ystart-370));
} else if (ydiff > 0 && document.body.scrollTop > 350) {eval(dS + object + sD + v + ystart);
} else {eval(dS + object + sD + v + innerY);}setTimeout("checkLocation()", 10);}
//-->
