function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}

function loadPage(fInfo){
  location.href = fInfo.options[fInfo.selectedIndex].value
}

// Gmenu

var menuArrayItem = [
		['Shoe Care', 'http://www.Kugo.com/c/shoecare/', null],
		['Shoe Accessories', 'http://www.Kugo.com/c/shoeaccessories/', null],
		['Shoe Horns', 'http://www.Kugo.com/c/shoehorns/', null],
		['Shoe Trees', 'http://www.Kugo.com/c/shoetrees/', null],
		['Stretchers', 'http://www.Kugo.com/c/stretchers/', null],
		['Boot Care', 'http://www.Kugo.com/c/bootcare/', null],
		['Foot Care', 'http://www.Kugo.com/c/footcare/', null],
		['Foot Support', 'http://www.Kugo.com/c/footsupport_m/', null],
		['Nail / Skin', 'http://www.Kugo.com/c/nailskin/', null],
		['Socks >>', null, 'menuArraySocks']
	];

var menuArrayBrand = [
		['Collonil', 'http://www.Kugo.com/c/collonil/', null],
		['Kugo', 'http://www.Kugo.com/c/Kugo/', null],
		['Fox River', 'http://www.Kugo.com/c/foxriver/', null],
		['Kiwi', 'http://www.Kugo.com/c/kiwi/', null],
		['Meltonian', 'http://www.Kugo.com/c/meltonian/', null],
		['SofSole', 'http://www.Kugo.com/c/sofsole/', null],
		['Thorlos', 'http://www.Kugo.com/c/thorlos/', null],
		['Woodlore', 'http://www.Kugo.com/c/woodlore/', null],
		['more...', 'http://www.Kugo.com/c/brands/', null]
	];

var menuArrayInformation = [
		['Foot Care', 'http://www.Kugo.com/main-foot-care-facts.htm', null],
		['Shoe Care', 'http://www.Kugo.com/main-shoe-care-facts.htm', null],
		['Socks', 'http://www.Kugo.com/socks.html', null]
	];

var menuArrayCS = [
		['About Kugo', 'http://www.Kugo.com/aboutus.html', null],
		['Policies', 'http://www.Kugo.com/customerservice.html', null],
		['Contact Us', 'http://www.Kugo.com/contactus.html', null],
		['Order Tracking', 'http://www.Kugo.com/shipping.html#track', null],
		['Shipping', 'http://www.Kugo.com/shipping.html', null],
		['Ordering', 'http://www.Kugo.com/ordering.html', null],
		['Returns', 'http://www.Kugo.com/returns.html', null],
		['Account Information', 'http://www.Kugo.com/youraccount.html', null]
	];

var menuArraySocks = [
		['Mens Athletic', 'http://www.Kugo.com/c/athletic_mens/', null],
		['Womens Athletic', 'http://www.Kugo.com/c/athletic_womens/', null],
		['Dress / Formal', 'http://www.Kugo.com/c/dress_formal/', null],
		['Casual / Everyday', 'http://www.Kugo.com/c/casual_everyday/', null],
		['Medical / Support', 'http://www.Kugo.com/c/medical_support/', null],
		['Boot Socks', 'http://www.Kugo.com/c/boot_socks/', null]
	];
	
	TOP_MENU_LEFT_OFFSET = 0;