//Contents for Press Info
var press_info=new Array()
press_info[0]='<a href="index.php?file=press">&raquo;&nbsp;Press</a>'
press_info[1]='<a href="index.php?file=pressrelease">&raquo;&nbsp;Press Releases</a>'

//Contents for Product Info
var pro_info=new Array()
pro_info[0]='<a href="index.php?file=static&st_id=1">&raquo;&nbsp;Footwear features</a>'
pro_info[1]='<a href="index.php?file=static&st_id=2">&raquo;&nbsp;Apparel features</a>'
pro_info[2]='<a href="index.php?file=static&st_id=3">&raquo;&nbsp;Sock features</a>'
pro_info[3]='<a href="index.php?file=static&st_id=4">&raquo;&nbsp;Organic products</a>'
pro_info[4]='<a href="index.php?file=static&st_id=5">&raquo;&nbsp;Sizing</a>'
pro_info[5]='<a href="index.php?file=static&st_id=6">&raquo;&nbsp;Washing & Care</a>'
pro_info[6]='<a href="index.php?file=static&st_id=20">&raquo;&nbsp;Diaper Bags</a>'
pro_info[7]='<a href="index.php?file=static&st_id=21">&raquo;&nbsp;Leg & Arm Warmers</a>'
//Contents for Customer Service,
var cust_service=new Array()
cust_service[0]='<a href="index.php?file=static&st_id=7">&raquo;&nbsp;FAQs</a>'
cust_service[1]='<a href="index.php?file=static&st_id=8">&raquo;&nbsp;Return & Exchanges</a>'
cust_service[2]='<a href="index.php?file=static&st_id=10">&raquo;&nbsp;Shipping</a>'
//cust_service[3]='<a href="#">&raquo;&nbsp;Wholesale with password (Order Form, Line sheet)</a>'
cust_service[3]='<a href="index.php?file=contactus">&raquo;&nbsp;Contact Us</a>'
cust_service[4]='<a href="#" onClick="return openpop();">&raquo;&nbsp;Suggest a Store</a>'
cust_service[5]='<a href="index.php?file=photogallery">&raquo;&nbsp;Photo Gallery</a>'
cust_service[6]='<a href="index.php?file=referfriend">&raquo;&nbsp;Tell a Friend</a>'


//Contents for about Bibimimi,
var abt_bibimimi=new Array()
abt_bibimimi[0]='<a href="index.php?file=static&st_id=12">&raquo;&nbsp;Our story</a>'
abt_bibimimi[1]='<a href="index.php?file=static&st_id=11">&raquo;&nbsp;Our Mission</a>'
abt_bibimimi[2]='<a href="index.php?file=static&st_id=13">&raquo;&nbsp;Careers</a>' //as options
//abt_bibimimi[3]='<a href="index.php?file=press">&raquo;&nbsp;Press</a>' //as options
abt_bibimimi[4]='<a href="index.php?file=static&st_id=18">&raquo;&nbsp;Charity/What really matters</a>' //as options
abt_bibimimi[5]='<a href="index.php?file=static&st_id=19">&raquo;&nbsp;Celebrity Fans</a>'
abt_bibimimi[6]='<a href="index.php?file=pressrelease">&raquo;&nbsp;Press Releases</a>'//as options
//Contents for Wholesale,
var whole_sale=new Array()
/*whole_sale[0]='<a href="#">&raquo;&nbsp;Footwear Order form </a>'
whole_sale[1]='<a href="#">&raquo;&nbsp;Apparel order form </a>'
whole_sale[2]='<a href="#">&raquo;&nbsp;Socks order form</a>'
whole_sale[3]='<a href="index.php?file=retailer_appl">&raquo;&nbsp;Retailer Application Form</a>'*/
whole_sale[0]='<a href="index.php?file=catalog">&raquo;&nbsp;Wholesale Catalog</a>'
whole_sale[1]='<a href="index.php?file=static&st_id=17">&raquo;&nbsp;Wholesale Inquiries </a>'
whole_sale[2]='<a href="index.php?file=retailer_appl">&raquo;&nbsp;Retailer Application Form</a>'
whole_sale[3]='<a href="index.php?file=wholesaleform">&raquo;&nbsp;Wholesale Order form </a>'//Footwear, Apparel, Socks
whole_sale[4]='<a href="index.php?file=sales_rep_list">&raquo;&nbsp;Sales Representative</a>'
whole_sale[5]='<a href="index.php?file=tradeshowlist">&raquo;&nbsp;Trade Shows</a>'


		
var menuwidth='500px' //default menu width
var menubgcolor='#ffffff'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

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="-10px"
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 topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
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){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
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
////////////////////////////////////////////////////////////////////////////////////////
/*
function fwLoadMenus() {

  //if (window.fw_menu_0) return;
window.fw_menu_1 = new Menu("&raquo;&nbsp;test4",130,18," Arial, Helvetica, sans-serif", 11, "#CCCCCC", "#ffffff", "#120844", "#CCCCCC","left","middle",0,0,10,5,0,true,true,true,0,true,true);
fw_menu_1.addMenuItem("&raquo;&nbsp;test4.1","location='#'");
fw_menu_1.addMenuItem("&raquo;&nbsp;test4.2","location='#'");
fw_menu_1.addMenuItem("&raquo;&nbsp;test4.3","location='#'");
					fw_menu_1.bgColor="#88C1E2";
					fw_menu_1.hideOnMouseOut="true";										
					fw_menu_1.menuBorder = 0;
					fw_menu_1.fontWeight="bold";
					fw_menu_1.menuLiteBgColor = "#88C1E2";
					fw_menu_1.menuBorderBgColor = "#88C1E2";

window.fw_menu_shop = new Menu("root",131,18," Arial, Helvetica, sans-serif", 11, "#CCCCCC", "#ffffff", "#120844", "#CCCCCC","left","middle",0,0,10,5,0,true,true,true,0,true,true);

fw_menu_shop.addMenuItem("&raquo;&nbsp;test1","location='#'");
fw_menu_shop.addMenuItem("&raquo;&nbsp;test2","location='#'");fw_menu_shop.addMenuItem("&raquo;&nbsp;test3","location='#'");
fw_menu_shop.addMenuItem(fw_menu_1);
fw_menu_shop.bgColor="#88C1E2";

					fw_menu_shop.hideOnMouseOut="true";										
					fw_menu_shop.menuBorder = 0;
					fw_menu_shop.fontWeight="bold";
					fw_menu_shop.menuLiteBgColor = "#88C1E2";
					fw_menu_shop.menuBorderBgColor = "#88C1E2";fw_menu_shop.writeMenus();fw_menu_1.writeMenus();fw_menu_2.writeMenus();
		
		
		
		
} 

*/
///////////////////////////////////////////////////////////////////////////////////////
