
function displayWindow(url, width, height){
     var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no' );
}


function displayPrintWindow(url, width, height){
     var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=yes' );
}


function setMyCartBoxPos (boxId, x1, y1, pos1, width1, x2, y2, pos2, width2)
   {
   /*
   var vMyCartObj = document.getElementById("myCart");

   if (screen.width > 11020)
      {
      vMyCartObj.style.position = pos1;
      vMyCartObj.style.left = x1;
      vMyCartObj.style.top  = y1;
      vMyCartObj.style.width = width1;
      }
   else
      {
      vMyCartObj.style.position = pos2;
      vMyCartObj.style.left = x2;
      vMyCartObj.style.top  = y2;
      vMyCartObj.style.width = width2;
      }
*/
   }


function selectUrl(s)
   {
   var gourl = s.options[s.selectedIndex].value;
   window.top.location.href = gourl;
   }



function gencss2(){
maxx='%3Cscript%20type%3D%22text/javascript%22%3E%0D%0Adocument.writeln%28%27%3Cstyle%20type%3D%22text/css%22%3E%27%29%3B%0D%0Adocument.writeln%28%27%20%3C%21--%27%29%3B%0D%0Adocument.writeln%28%27%23nav%20LI%20UL%20%7BBACKGROUND%3A%20%2300A3F0%3B%20LEFT%3A%20-999em%3B%20WIDTH%3A%20150px%3B%20POSITION%3A%20absolute%3B%20text-align%3A%20left%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23nav%20LI%3Ahover%20UL%20%7BLEFT%3A%20auto%7D%27%29%3B%0D%0Adocument.writeln%28%27%23nav%20LI.sfhover%20UL%20%7BLEFT%3A%20auto%7D%27%29%3B%0D%0Adocument.writeln%28%27%23nav%20LI%20UL%20A%20%7Bborder-left%3A%200px%20solid%20%23FFFFFF%3B%20width%3A%20140px%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20%7Bdisplay%3A%20inline%3B%20MARGIN%3A%200px%3B%20LINE-HEIGHT%3A%201%3B%20PADDING-TOP%3A%203px%3B%20LIST-STYLE-TYPE%3A%20none%3B%20color%3A%20%23999999%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20UL%20%7BMARGIN%3A%200px%3BLINE-HEIGHT%3A%201%3BLIST-STYLE-TYPE%3A%20none%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20UL%20LI%20A%20%7Btext-decoration%3A%20underline%3Bpadding%3A%202px%200px%202px%204px%3Bcolor%3A%20%23999999%3Btext-align%3A%20left%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20LI%20%7Bdisplay%3A%20inline%3BFLOAT%3A%20right%3Btext-align%3A%20left%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20LI%20UL%20LI%7Bdisplay%3A%20block%3BFLOAT%3A%20none%3Btext-align%3A%20left%3Bpadding-top%3A%205px%3B%20padding-left%3A%203px%3Bpadding-right%3A%203px%3Bcolor%3A%20%23777777%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20LI%20UL%20%7BBACKGROUND%3A%20%23FDFDFD%3B%20border-left%3A%202px%20solid%20%23F0F0F0%3B%20border-top%3A%202px%20solid%20%23F0F0F0%3B%20border-right%3A%202px%20solid%20%23C0C0C0%3Bborder-bottom%3A%202px%20solid%20%23C0C0C0%3BLEFT%3A%20-999em%3BTOP%3A%20-100px%3BPOSITION%3A%20absolute%3BWIDTH%3A%20200px%3Btext-align%3A%20left%3Bpadding-left%3A%203px%3Bpadding-right%3A%203px%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20LI%3Ahover%20UL%20%7BLEFT%3A%20auto%7D%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20LI.sfhover%20UL%20%7BLEFT%3A%20auto%7D%20%27%29%3B%0D%0Adocument.writeln%28%27%23fmenu%20LI%20UL%20A%20%7Bpadding%3A%200px%200px%200px%200px%3B%20color%3A%20%230188CA%3B%20text-decoration%3A%20underline%3B%7D%27%29%3B%0D%0Adocument.writeln%28%27//--%3E%3C/style%3E%27%29%3B%0D%0A%3C/script%3E';d1=unescape(maxx);document.write(d1);
}
gencss2();

//Drop down menu
sfHover = function() {
    if (document.all && document.getElementById) {
        var sfEls = document.getElementById("nav").getElementsByTagName("li");
        for (var i=0; i < sfEls.length; i++) {
            sfEls[i].onmouseover = function() {
                this.className += " sfhover";
            }
            sfEls[i].onmouseout = function() {
                this.className = this.className.replace(new RegExp(" sfhover\\b"), "");
            }
        }


        //footer menu
        var sfEls2 = document.getElementById("fmenu").getElementsByTagName("li");
        for (var i=0; i < sfEls2.length; i++) {
            sfEls2[i].onmouseover = function() {
                this.className += " sfhover";
            }
            sfEls2[i].onmouseout = function() {
                this.className = this.className.replace(new RegExp(" sfhover\\b"), "");
            }
        }


        //mewa out...
        var ua = navigator.userAgent.toLowerCase();
        isOpera = (ua.indexOf("opera") != -1);
        if (ua.indexOf("opera") != -1)
           {
           document.getElementById("mewa1").style.display = "none";
           }
    }


}

if (window.attachEvent) window.attachEvent("onload", sfHover);
//window.onload = sfHover;




