// A couple of window launching functions
function MM_openBrWindow(theURL,winName,features) { //v.2.0
var newWindow = window.open(theURL,winName,features);
newWindow.focus()
}
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? parseInt((screen.width-w)/2) : 0;
TopPosition = (screen.height) ? parseInt((screen.height-h)/2) : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',screenX='+TopPosition+',screenY='+LeftPosition+',scrollbars='+scroll;
win = window.open(mypage,myname,settings);
if(win.window.focus){win.window.focus();}
}
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("popup" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350,height=370,left=180,top=240');");
}
function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "','toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=390,height=330,top=120,left=120');");
}
// Select drop-down menu jump function
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
// Begin DHTML nav code here
function mmLoadMenus() {
if (window.mm_menu_0) return;
window.mm_menu_0 = new Menu("root",250,25,"Arial, Verdana, Helvetica, sans-serif",11,"#ffffff","#1AA3FF","#1AA3FF","#D8EF95","left","middle",5,0,900,0,5,true,true,true,10,false,false);
mm_menu_0.addMenuItem("YENİlenmiş Veet® Soğuk Ağda Bantları","window.open('/whatsnew/whatsnew.php#new1', '_top');");
mm_menu_0.addMenuItem("Veet® Tüy Dökücü Krem","window.open('/whatsnew/whatsnew.php#new2', '_top');");
mm_menu_0.fontWeight="bold";
mm_menu_0.hideOnMouseOut=true;
mm_menu_0.menuBorder=1;
mm_menu_0.menuLiteBgColor='#ffffff';
mm_menu_0.menuBorderBgColor='#D8EF95';
mm_menu_0.bgColor='#ffffff';
window.mm_menu_1 = new Menu("root",250,25,"Arial, Verdana, Helvetica, sans-serif",11,"#ffffff","#1AA3FF","#1AA3FF","#D8EF95","left","middle",5,0,900,0,5,true,true,true,10,false,false);
mm_menu_1.addMenuItem("Veet® AĞDALAR","window.open('/products/products_waxes.php', '_top');");
mm_menu_1.addMenuItem("Veet® KREMLER","window.open('/products/products_creams.php', '_top');");
mm_menu_1.addMenuItem("BENİM İÇİN HANGİ Veet® UYGUNDUR?","window.open('/which/which.php', '_top');");
mm_menu_1.fontWeight="bold";
mm_menu_1.hideOnMouseOut=true;
mm_menu_1.menuBorder=1;
mm_menu_1.menuLiteBgColor='#ffffff';
mm_menu_1.menuBorderBgColor='#D8EF95';
mm_menu_1.bgColor='#ffffff';
window.mm_menu_3 = new Menu("root",245,25,"Arial, Verdana, Helvetica, sans-serif",11,"#ffffff","#1AA3FF","#1AA3FF","#D8EF95","left","middle",5,0,900,0,5,true,true,true,10,false,false);
mm_menu_3.addMenuItem("Veet AĞDA Demosu","popUp('/popups/pop_demo_wax.php');");
mm_menu_3.fontWeight="bold";
mm_menu_3.hideOnMouseOut=true;
mm_menu_3.menuBorder=1;
mm_menu_3.menuLiteBgColor='#ffffff';
mm_menu_3.menuBorderBgColor='#D8EF95';
mm_menu_3.bgColor='#ffffff';
window.mm_menu_4 = new Menu("root",180,25,"Arial, Verdana, Helvetica, sans-serif",11,"#ffffff","#1AA3FF","#1AA3FF","#D8EF95","left","middle",5,0,900,0,5,true,true,true,10,false,false);
mm_menu_4.addMenuItem("GEL DEPILATORIO","window.open('/formen/products_men.php', '_top');");
mm_menu_4.fontWeight="bold";
mm_menu_4.hideOnMouseOut=true;
mm_menu_4.menuBorder=1;
mm_menu_4.menuLiteBgColor='#ffffff';
mm_menu_4.menuBorderBgColor='#D8EF95';
mm_menu_4.bgColor='#ffffff';
mm_menu_4.writeMenus();
} // mmLoadMenus()
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah)
{
this.version = "020320 [Menu; mm_menu.js]";
this.type = "Menu";
this.menuWidth = mw;
this.menuItemHeight = mh;
this.fontSize = fs;
this.fontWeight = "plain";
this.fontFamily = fnt;
this.fontColor = fclr;
this.fontColorHilite = fhclr;
this.bgColor = "#555555";
this.menuBorder = 1;
this.menuBgOpaque=opq;
this.menuItemBorder = 1;
this.menuItemIndent = idt;
this.menuItemBgColor = bg;
this.menuItemVAlign = valgn;
this.menuItemHAlign = halgn;
this.menuItemPadding = pad;
this.menuItemSpacing = space;
this.menuLiteBgColor = "#ffffff";
this.menuBorderBgColor = "#777777";
this.menuHiliteBgColor = bgh;
this.menuContainerBgColor = "#cccccc";
this.childMenuIcon = "/images/spacer.gif";
this.submenuXOffset = sx;
this.submenuYOffset = sy;
this.submenuRelativeToItem = srel;
this.vertical = vert;
this.items = new Array();
this.actions = new Array();
this.childMenus = new Array();
this.hideOnMouseOut = true;
this.hideTimeout = to;
this.addMenuItem = addMenuItem;
this.writeMenus = writeMenus;
this.MM_showMenu = MM_showMenu;
this.onMenuItemOver = onMenuItemOver;
this.onMenuItemAction = onMenuItemAction;
this.hideMenu = hideMenu;
this.hideChildMenu = hideChildMenu;
if (!window.menus) window.menus = new Array();
this.label = " " + label;
window.menus[this.label] = this;
window.menus[window.menus.length] = this;
if (!window.activeMenus) window.activeMenus = new Array();
}
function addMenuItem(label, action) {
this.items[this.items.length] = label;
this.actions[this.actions.length] = action;
}
function FIND(item) {
if( window.mmIsOpera ) return(document.getElementById(item));
if (document.all) return(document.all[item]);
if (document.getElementById) return(document.getElementById(item));
return(false);
}
function writeMenus(container) {
if (window.triedToWriteMenus) return;
var agt = navigator.userAgent.toLowerCase();
window.mmIsOpera = agt.indexOf("opera") != -1;
if (!container && document.layers) {
window.delayWriteMenus = this.writeMenus;
var timer = setTimeout('delayWriteMenus()', 500);
container = new Layer(100);
clearTimeout(timer);
} else if (document.all || document.hasChildNodes || window.mmIsOpera) {
document.writeln('');
container = FIND("menuContainer");
}
window.mmHideMenuTimer = null;
if (!container) return;
window.triedToWriteMenus = true;
container.isContainer = true;
container.menus = new Array();
for (var i=0; i