var myMenu1 = new ypSlideOutMenu("menu1", "down", 0, 0, 140, 30*20) //What's new
var myMenu1_8 = new ypSlideOutMenu("menu1_8", "right", 139, 30*3-11, 140,30*7, "menu1") 
var myMenu1_9 = new ypSlideOutMenu("menu1_9", "right", 139, 30*5-11, 140,30*14, "menu1") //Hot Žiļ}
var myMenu2 = new ypSlideOutMenu("menu2", "down", 118, 0, 140, 30*10) //Brand Story
var myMenu3 = new ypSlideOutMenu("menu3", "down", 224, 0, 140, 30*10) //Treatment
//var myMenu4 = new ypSlideOutMenu("menu4", "down", 270, 0, 140, 30*20) //Treatment
//var myMenu4_1 = new ypSlideOutMenu("menu4_1", "right", 409, 25*0, 140,30*8, "menu4") 
var myMenu4 = new ypSlideOutMenu("menu4", "down", 333, 0, 140, 30*10) //Salon Locator
var myMenu4_2 = new ypSlideOutMenu("menu4_2", "right", 472, 25*1, 140,30*8, "menu4") 
var myMenu4_3 = new ypSlideOutMenu("menu4_3", "right", 472, 25*2, 140,30*8, "menu4") 
//var myMenu5 = new ypSlideOutMenu("menu5", "down", 358, 0, 140, 30*10) //Beauty Voice
var myMenu6 = new ypSlideOutMenu("menu6", "down", 564, 0, 140, 30*10) //Beauty Party
var myMenu7 = new ypSlideOutMenu("menu7", "down", 671, 0, 140, 30*10) //Store Locator
var myMenu8 = new ypSlideOutMenu("menu8", "down", 779, 0, 140, 30*10) //Store Locator
ypSlideOutMenu.writeCSS();
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 FlashInsert(fSwf,fWidth,fHeight,fBgcolor,params,idName) {if(!fBgcolor || fBgcolor=="") fBgcolor = "#FFFFFF";if(!idName)idName="flash";if(!params) params = new Object();if(!params.version) params.version = "7,0,0,0";var objectParams = "";var embedParams = "";for(var i in params) {objectParams += "<PARAM NAME="+i+" VALUE=\""+params[i]+"\">\n";embedParams += i+"=\""+params[i]+"\"";}document.write("<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" ");document.write("codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+params.version+"\"");document.write("WIDTH=\""+fWidth+"\" HEIGHT=\""+fHeight+"\" id=\"" + idName + "\" ALIGN=\""+params.align+"\">");document.write("<PARAM NAME=movie VALUE=\""+fSwf+"\">"); document.write("<PARAM NAME=quality VALUE=best>");document.write("<PARAM NAME=bgcolor VALUE="+fBgcolor+">");document.write(objectParams);document.write("<EMBED src=\""+fSwf+"\" quality=best bgcolor=\""+fBgcolor+"\"  WIDTH=\""+fWidth+"\" HEIGHT=\""+fHeight+"\" ALIGN=\""+params.align+"\" id=\"" + idName + "\"" );document.write(embedParams);document.write("TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED>");document.write("</OBJECT>");}
function playVdeio(sn){var winPaly = window.open('../play_new.asp?sn='+sn,'play','top=0,left='+(screen.width>980?(screen.width-980)/2:0)+',width='+(screen.width>980?980:screen.width)+',height=662,scrollbars=yes,resizable=yes,menubar=yes');winPaly.window.focus();}
function unblur(){this.blur();}
function blurLinks(){
	if (!document.getElementById) return;
	theLinks = document.getElementsByTagName("a");
	for(i=0; i<theLinks.length; i++)
		theLinks[i].onfocus = unblur;
}
