<!--

var webID = "cyzap";

      // Browser Detection
      browser_name = navigator.appName;
      browser_version = parseFloat(navigator.appVersion); 

      if (browser_name == "Netscape" && browser_version >= 3.0) { roll = 'true'; }
      else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 4.0) { roll = 'true'; }
      else { roll = 'false'; }

function msover1(img,ref) 
{  if (roll == 'true') 
   { document.images[img].src = ref; 
   }
}

function msout1(img,ref)  
{  if (roll == 'true') 
   { document.images[img].src = ref; 
   } 
}


// Mouseover Function

function omov(name,status) {
   msover1(name,'/images/new/2_nav_' + name + '.gif');
   window.status=status;
   return true;
}

function omou(name,status) {
   msout1(name,'/images/new/1_nav_' + name + '.gif');
   window.status=status;
   return true;
}

// Functions for New Mouseovers


// function makeDZTextMenuItem(className,itemText,link,tipMouseOverFunc,tipMouseOutFunc,imgAttributes,spacerHeight)
// function initDZTip(tipName, tipType, borderWidth, maxWidth, minWidth, parentName, className, showDelay, hideDelay, leftMargin, topMargin)

  var ht = initDZTip('Help',1,400,100); //Tip
//  ht.dzHideDelay=0;
//  ht.dzShowDelay=2000;
  var mm = initDZTip('MainMenu','hmenu',null,null,null,null,null,null,null,0,0);  //Menu
  mm.neverHide = true;
  mm.dzHideDelay=100;
  mm.dzShowDelay=0;
  initDZTip('SM2','vmenu',0,null,null,'MainMenu',null,10,130,10,75);
  initDZTip('SM3','vmenu',0,null,null,'MainMenu',null,10,130,10,75);
  
  function showHelp(event,title,body){
    setTip(event,'Help',title,body);
  }
  
  function hideHelp(){
    hideTip('Help');
  }
  
  function browserSupportsMenu(){
      var agt=navigator.userAgent.toLowerCase(); 
      var is_minor = parseFloat(navigator.appVersion); 
      var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
      if (document.all || document.getElementByID) return true;
      if (document.layers && is_minor >= 4.7 && is_win) return true;
      return false;
  }
  
  function showMainMenu(event){
    if (!browserSupportsMenu()) return;
    var mo = "";
    mo = mo + makeDZImageMenuItem('ImgMainMenu','/images/nav_02_down.gif','/images/nav_02_up.gif',124,32,'/proprietary/',"showSubMenu_ProProd(event)","hideDZTip('SM2')");
    mo = mo + makeDZImageMenuItem('ImgMainMenu','/images/nav_03_down.gif','/images/nav_03_up.gif',124,32,'/capabilities/',null,null);
    mo = mo + makeDZImageMenuItem('ImgMainMenu','/images/nav_05_down.gif','/images/nav_05_up.gif',124,32,'/about/',"showSubMenu_About(event)","hideDZTip('SM3')");
    showDZTip(event,'MainMenu','',mo,'nav','relative',0,0);
  }

  function showVertMenu(event,tipName,mo,position,x,y){
    var tipTitle = '';  // For menus, tipTitle is always an empty string
    var tipAnchor = null; // This menu is not being positioned relative to an anchor <a name=...> tag so set it to null.
    var tipBody = mo; // mo is a text string created using a series of makeDZTextMenuItem function calls and goes as the tip body.

    if (!browserSupportsMenu()) return;
    showDZTip(event,tipName,tipTitle,tipBody,tipAnchor,'parentmenuitem',0,28);
  }

  function showMenu(event,tipName,mo,position,x,y){
    var tipTitle = '';  // For menus, tipTitle is always an empty string
    var tipAnchor = null; // This menu is not being positioned relative to an anchor <a name=...> tag so set it to null.
    var tipBody = mo; // mo is a text string created using a series of makeDZTextMenuItem function calls and goes as the tip body.

    if (!browserSupportsMenu()) return;

    if (position == 'flash') {
        showDZTip(event,tipName,tipTitle,tipBody,'flashAnchor','relative',x,y);
        return;
    }

    if (position == null) {
      /* showDZTip is defined in dzTip6.js */
      showDZTip(event,tipName,tipTitle,tipBody,tipAnchor,'parentmenuitem',147,5);
    } else {
      showDZTip(event,tipName,tipTitle,tipBody,tipAnchor,'relative',0,34);
    }        
  }
  


  function showSubMenu_ProProd(event,position,x,y){
    var mo = "";
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/ModernRounds/>Modern Rounds</a>',"/ModernRounds/",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/Decanters/>Decanters and Carafes</a>',"/Decanters/",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/Canisters/>Canisters</a>',"/Canisters/",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/Ovals/>Ovals</a>',"/Ovals/",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/SpecialtyShapes/>Specialty Shapes</a>',"/SpecialtyShapes/",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/Serum/>Serum</a>',"/Serum/",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/Miscellaneous/>Miscellaneous</a>',"/Miscellaneous/",null,null,null,null);
    showVertMenu(event,'SM2',mo,position,x,y);
  }

    function showSubMenu_About(event,position,x,y){
    var mo = "";
    mo = mo + makeDZTextMenuItem('MainMenu',"<a href=/Aboutus/ourstory.htm>Our Story</a>","/Aboutus/ourstory.htm",null,null,null,null);
    mo = mo + makeDZTextMenuItem('MainMenu','<a href=/Aboutus/contactus.htm>Contact Us</a>',"/Aboutus/contactus.htm",null,null,null,null);
    showVertMenu(event,'SM3',mo,position,x,y);
  }
  


function hideMainMenu(){
    hideDZTip('MainMenu');
  }

  function hideSubMenu1(){
    hideDZTip('SubMenu1');
  }
 
   function hideSubMenu2(){
    hideDZTip('SubMenu2');

  }
   function hideSubMenu3(){
    hideDZTip('SubMenu3');
  }

   function hideSubMenu4(){
    hideDZTip('SubMenu4');
  }

// Show Date

var today = new Date()
var time = today.getTime();
var dayOfMonth = today.getDate();
var dayOfWeek = today.getDay();
var hour = today.getHours();
var minutes = today.getMinutes();
var monthOfYear = today.getMonth();
var yearPast = today.getYear();
 
var month
if (monthOfYear == "0") {
   month = "January";
}
if (monthOfYear == "1") {
   month = "February";
}
if (monthOfYear == "2") {
   month = "March";
}
if (monthOfYear == "3") {
   month = "April";
}
if (monthOfYear == "4") {
   month = "May";
}
if (monthOfYear == "5") {
   month = "June";
}
if (monthOfYear == "6") {
   month = "July";
}
if (monthOfYear == "7") {
   month = "August";
}
if (monthOfYear == "8") {
   month = "September";
}
if (monthOfYear == "9") {
   month = "October";
}
if (monthOfYear == "10") {
   month = "November";
}
if (monthOfYear == "11") {
   month = "December";
}

var year
year = yearPast
if (year <= 200) {
  year = year + 1900;
}

function showGreeting () {
   document.write(month + " " + dayOfMonth +  ", " + year); 
}

function FlashInstalled(){
	result = false;

	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])
	{
		result = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
	}
	else if (document.all && (navigator.appVersion.indexOf("Mac")==-1))
	{
		// IE Windows only -- check for ActiveX control, have to hide code in eval from Netscape (doesn't like try)
		eval ('try {var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj)	result = true; xObj = null;	} catch (e)	{}');
	}
	return result;
}

function childFlash(childpage){
  if (FlashInstalled()) {
    document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" WIDTH="720" HEIGHT="200" id="splash" ALIGN=""><PARAM NAME=wmode value=transparent><PARAM NAME=movie VALUE="/_hidden/flash/childswfs/' + childpage + '.swf"><PARAM NAME=loop VALUE=false><PARAM NAME=menu VALUE=false><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="/_hidden/flash/childswfs/' + childpage + '.swf" loop=false menu=false quality=high bgcolor=#FFFFFF WIDTH="720" HEIGHT="200" NAME="splash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
  }
  else {
    document.write ('<img border="0" src="/images/childsplash_' + childpage + '.jpg" width="720" height="200">')
  }
}
//-->