<!-- 
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) ||
    (bName == "Microsoft Internet Explorer" && bVer >= 4)) br ="n3";
        
else br = "n2";

if (br == "n3") {
  image1on = new Image();   image1on.src = "/html/assets/images/navSkinCareOn.gif";  
  image1off = new Image();  image1off.src = "/html/assets/images/navSkinCare.gif";
  image2on = new Image();   image2on.src = "/html/assets/images/navShavingOn.gif";
  image2off = new Image();  image2off.src = "/html/assets/images/navShaving.gif";
  image3on = new Image();   image3on.src = "/html/assets/images/navHairCareOn.gif";
  image3off = new Image();  image3off.src = "/html/assets/images/navHairCare.gif";
  image4on = new Image();   image4on.src = "/html/assets/images/navBodyOn.gif";
  image4off = new Image();  image4off.src = "/html/assets/images/navBody.gif";
  image5on = new Image();   image5on.src = "/html/assets/images/navSunCareOn.gif";  
  image5off = new Image();  image5off.src = "/html/assets/images/navSunCare.gif";
  image6on = new Image();   image6on.src = "/html/assets/images/navToolsOn.gif";
  image6off = new Image();  image6off.src = "/html/assets/images/navTools.gif";
  image7on = new Image();   image7on.src = "/html/assets/images/navTipsTrendsOn.gif";
  image7off = new Image();  image7off.src = "/html/assets/images/navTipsTrends.gif";
  image8on = new Image();   image8on.src = "/html/assets/images/navGiftGuideOn.gif";
  image8off = new Image();  image8off.src = "/html/assets/images/navGiftGuide.gif";  
  image9on = new Image();   image9on.src = "/html/assets/images/homeNavSkinCareOn.gif";
  image9off = new Image();  image9off.src = "/html/assets/images/homeNavSkinCare.gif";
  image10on = new Image();   image10on.src = "/html/assets/images/homeNavShavingOn.gif";
  image10off = new Image();  image10off.src = "/html/assets/images/homeNavShaving.gif";
  image11on = new Image();   image11on.src = "/html/assets/images/homeNavHairCareOn.gif";  
  image11off = new Image();  image11off.src = "/html/assets/images/homeNavHairCare.gif";
  image12on = new Image();   image12on.src = "/html/assets/images/homeNavBodyOn.gif";
  image12off = new Image();  image12off.src = "/html/assets/images/homeNavBody.gif";
  image13on = new Image();   image13on.src = "/html/assets/images/homeNavSunCareOn.gif";
  image13off = new Image();  image13off.src = "/html/assets/images/homeNavSunCare.gif";
  image14on = new Image();   image14on.src = "/html/assets/images/homeNavToolsOn.gif";
  image14off = new Image();  image14off.src = "/html/assets/images/homeNavTools.gif";   
  
}

function imgAct(imageName) {
  if (br =="n3") {
  document[imageName].src = eval(imageName + "on.src");
  }
}


function imgInact(imageName) {
   if (br == "n3") {
   document[imageName].src = eval(imageName + "off.src");
   }
}

function toggleVisibility(id, NNtype, IEtype, WC3type) {
    if (document.getElementById) {
        eval("document.getElementById(id).style.visibility = \"" + WC3type + "\"");
    } else {
        if (document.layers) {
            document.layers[id].visibility = NNtype;
        } else {
            if (document.all) {
                eval("document.all." + id + ".style.visibility = \"" + IEtype + "\"");
            }
        }
    }
}

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;

  if(document.images){
    if (typeof(daImage) == 'string') {
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

function formHandler(brandShopper){
var URL = document.brandShopper.brand.options[document.brandShopper.brand.selectedIndex].value;
window.location.href = URL;
}

function formHandler2(eBlastSelect){
var URL = document.eBlastSelect.issue.options[document.eBlastSelect.issue.selectedIndex].value;
window.location.href = URL;
}

function openContentWindow(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=600,height=375,left=0,top=0');");
}

function openContentWindowStore(URL) {
        day = new Date();
        id = day.getTime();
        eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=no,location=0,statusbar=0,menubar=0,resizable=0,width=669,height=380,left=0,top=0');");
}

function openShippingPromoWindow(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=370,height=250,left=0,top=0');");
}

function openUSStateCodes(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=360,height=415,left=0,top=0');");
}

function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=670,height=450');
self.name = "mainWin";
}

function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}

function clearField()
	{
	if (document.mailList.email.value == "email address")
		{
		document.mailList.email.value = ""
		}
}

var currentdate = 0;
var core = 0;

function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}

url = new initArray(
"",
"",
"" 
);

image = new initArray(
"http://shop.sophee.com/html/assets/images/summer04-1.jpg",
"http://shop.sophee.com/html/assets/images/summer04-2.jpg",
"http://shop.sophee.com/html/assets/images/summer04-3.jpg"
);

text = new initArray(
"skin care, hair care and lifestyle for men",
"skin care, hair care and lifestyle for men",
"skin care, hair care and lifestyle for men"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranurl = url[core];
var ranimage = image[core];
var rantext = text[core];

// -->
