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
}

var menuArrayItem = [
		['Mens by Material', 'http://www.canemart.com/c/material_mens/', null],
		['Womens by Material', 'http://www.canemart.com/c/material_womens/', null],
		['Mens by Style', 'http://www.canemart.com/c/handle_mens/', null],
		['Womens by Style', 'http://www.canemart.com/c/handle_womens/', null],
		['by Cane Features', 'http://www.canemart.com/c/features_canes/', null],
		['Folding / Adjustable', 'http://www.canemart.com/c/adjustable/', null],
		['Hiking / Trekking', 'http://www.canemart.com/c/hiking_trekking/', null],
		['Accessories', 'http://www.canemart.com/c/accessories/', null]
	];

var menuArrayBrand = [
		['Able Tripod', 'http://www.canemart.com/c/able_tripod/', null],
		['Classic Canes', 'http://www.canemart.com/c/classic_canes/', null],
		['Fayet', 'http://www.canemart.com/c/fayet/', null],
		['Gastrock', 'http://www.canemart.com/c/gastrock/', null],
		['Harvy Cane', 'http://www.canemart.com/c/harvy/', null],
		['Lincoln Canes', 'http://www.canemart.com/c/lincoln/', null],
		['Oerre Italy', 'http://www.canemart.com/c/oerre_italy/', null],
		['Star Canes', 'http://www.canemart.com/c/star_canes/', null],
		['Stigaurd Canes', 'http://www.canemart.com/c/stigaurd_canes/', null],
		['Whistle Creek', 'http://www.canemart.com/c/whistle_creek/', null],
		['more...', 'http://www.canemart.com/c/brands/', null]
	];

var menuArrayInformation = [
		['Cane Facts', 'http://www.canemart.com/canefacts.html', null],
		['Sizing', 'http://www.canemart.com/main-sizing.html', null]
	];

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



var menuArrayMetals = [
		['All Elegant Metals', 'http://www.canemart.com/c/metals_elegant_all/canes.html', null],
		['Silver / Gold', 'http://www.canemart.com/c/metals_silver_gold/canes.html', null],
		['Nickel / Chrome', 'http://www.canemart.com/c/metals_nickel_chrome/canes.html', null],
		['Brass', 'http://www.canemart.com/c/metals_ brass/canes.html', null],
		['Other Metals', 'http://www.canemart.com/c/metals_others/canes.html', null]
	];
	
	var menuArrayWood = [
		['All Wooden Canes', 'http://www.canemart.com/c/wood_all_canes/canes.html', null],
		['Acacia', 'http://www.canemart.com/c/wood_acacia/canes.html', null],
		['Beech', 'http://www.canemart.com/c/wood_beech/canes.html', null],
		['Cherry', 'http://www.canemart.com/c/wood_cherry/canes.html', null],
		['Chestnut', 'http://www.canemart.com/c/wood_chestnut/canes.html', null],
		['Hazelwood', 'http://www.canemart.com/c/wood_hazelwood/canes.html', null],
		['Maple', 'http://www.canemart.com/c/wood_maple/canes.html', null],
		['Oak', 'http://www.canemart.com/c/wood_oak/canes.html', null],
		['Natural Bark', 'http://www.canemart.com/c/wood_natural_bark/canes.html', null],
		['Exotic Imported Woods', 'http://www.canemart.com/c/wood_exotic/canes.html', null],
		['Other Hardwoods', 'http://www.canemart.com/c/wood_hardwoods_woods/canes.html', null]
	];

	var menuArrayComfort = [
		['All Comfort Materials', 'http://www.canemart.com/c/comfort_materials_all/canes.html', null],
		['Acrylic', 'http://www.canemart.com/c/comfort_acrylic/canes.html', null],
		['Soft Touch', 'http://www.canemart.com/c/comfort_soft_touch/canes.html', null],
		['Lightweight Aluminum', 'http://www.canemart.com/c/comfort_aluminum/canes.html', null],
		['Shock Absorber', 'http://www.canemart.com/c/shock_absorber/canes.html', null],
		['Super Lightweight', 'http://www.canemart.com/c/super_light/canes.html',null]
	];
			
	var menuArrayLucite = [
		['All Lucite', 'http://www.canemart.com/c/lucite_all/canes.html', null],
		['Clear', 'http://www.canemart.com/c/lucite_clear/canes.html', null],
		['Amber', 'http://www.canemart.com/c/lucite_amber/canes.html', null],
		['Color', 'http://www.canemart.com/c/lucite_color/canes.html', null]
	];
	
	var menuArrayExclusive = [	
	['All Exclusive Materials', 'http://www.canemart.com/c/exclusive_materials_all/canes.html', null],
	['Leather', 'http://www.canemart.com/c/exclusive_materials_leather/canes.html', null],
	['Faux Ivory', 'http://www.canemart.com/c/exclusive_materials_ivory_faux/canes.html', null],
	['Horn', 'http://www.canemart.com/c/exclusive_materials_horn/canes.html', null],
	['Collectors Pieces', 'http://www.canemart.com/c/exclusive_materials_collectors/canes.html', null]
	];
	
	var menuArraySpecialty = [
	['All Specialty Canes', 'http://www.canemart.com/c/specialty_all/canes.html', null],
	['Umbrella / Seat', 'http://www.canemart.com/c/specialty_umbrella_seat/canes.html', null],
	['Safety', 'http://www.canemart.com/c/specialty_safety/canes.html', null],
	['Extra Strong / Long', 'http://www.canemart.com/c/specialty_x-strong_x-long/canes.html', null],
	['Folding / Adjustable', 'http://www.canemart.com/c/specialty_folding_adjustable/canes.html', null],
	['Lightweight / Travel', 'http://www.canemart.com/c/specialty_lightweight_travel/canes.html', null],
	['Visually Impaired', 'http://www.canemart.com/c/specialty_visually_impaired/canes.html', null],
	['Collectors Pieces', 'http://www.canemart.com/c/specialty_collectors_pieces/canes.html', null],
	['Super Lightweight','http://www.canemart.com/c/super_light/canes.html',null]
	];
	
	
	var menuArrayAccessories =[
	['All Cane Accessories', 'http://www.canemart.com/c/cane_accessories_all/canes.html', null],
	['Cane Stands', 'http://www.canemart.com/c/cane_accessories_cane_stands/canes.html', null],
	['Wrist Straps', 'http://www.canemart.com/c/cane_accessories_wrist_straps/canes.html', null],
	['Cane Tips / Ferrules', 'http://www.canemart.com/c/cane_accessories_Cane_tips_ferrules/canes.html', null]
	];

	TOP_MENU_LEFT_OFFSET = 0;