/*-----------------------------------------------------------------
'       APP Name:  dzTip6.js
'        Version:  1.9
'     Created By:  Gunnit S. Khurana
'  Last Modified:  Nov 15, 2001
'      Copyright:  2000-2001 Cyzap, Inc.
'-----------------------------------------------------------------*/

// dzTip6.js -- Functions to provide tooltip and popup menu generation
// Should not distribute or reuse the functions in this file without explicit written permission.
// Contact gunnit@cyzap.com for more information 

function dzGetAnchorByName( aName )
{
var anchRef = null, da = document.anchors;

for( var i = 0, len = da.length; i < len && !anchRef; i++ )
if( da[ i ].name === aName )
anchRef = da[ i ];

return anchRef;
}

function dzInfo(obj)
 {
 var r = '\n';
 var numLoops = 0;
 var theObject = obj;
 var msg = "*** Properties " + " ***" + r + r; 
  

     for (var i in theObject)
     {   
         msg += i + " =  " + eval("theObject."  + i) + r;  
         numLoops++;
         if (numLoops % 20 == 0) {
           alert(msg);
           msg = "";
         }
     }
  
     msg += r + "Number of Properties= " + numLoops;
     alert(msg);
//     d.value = msg;
}

var currentDZTipToMove;
var baseOffsetTop = 0;
var baseOffsetLeft = 0;

var dzlocalhost = "DRQXR8";
var dz0_1= "675CX1";
var dz = "D666SE";
var dzomahaarts_com = "E326D2";
var dzcyzap_com = "DUQT93";
var dznataboc_org = "DTVZN1";
var dztowerbase_com = "D42I39";
var dzhuskerfevercard_com = "CPK2RC";
var dzcyzap_net = 'DUR193';
var dzcssnet_com = 'DVTQY7';
var dzemployeesignup_com = "DIHWI5";

function getDZTipElement(name){
  name = '' + name + '';
  if (document.layers && document.layers[name] != null)
    return(document.layers[name]);
  if (document.all && document.all[name] != null)
    return(document.all[name]);
  if (document.getElementById && document.getElementById(name) != null){
    return(document.getElementById(name));
  }
  return (null);
}

function initDZTip(D3s,yK0,rkU,sRg,pbw,akE,syq,B_Z,rTa,Rjn,wUW){if(document.layers){  var ctn=eval(eval("a64")); var Jf1=ctn.split(".").slice(ctn.split(".").length-2).toString().replace(',','_').replace('-','_').toLowerCase();  document.writeln("");  var Mmf=eval("typeof dz"+Jf1+" == 'undefined'"); if(Mmf) return;  var P5F=eval("dz"+Jf1);if(("dz"+Jf1).length>2){if(Jf1.length>=5) var rx4=Jf1.charCodeAt(0)+Jf1.charCodeAt(Jf1.length-5); else  var rx4=Jf1.charCodeAt(0)+Jf1.charCodeAt(Jf1.length-1); var fdm=parseInt(P5F.charAt(0)+P5F.charAt(P5F.length-1),16);
if(fdm-rx4!=0) return; } document.writeln("<layer id='" +D3s+"' visibility=hidden></layer>"); document.writeln(""); }if(document.all){  var Jba=eval(eval("a64")); var my2=Jba.split(".").slice(Jba.split(".").length-2).toString().replace(',','_').replace('-','_').toLowerCase();  document.writeln("");  var kLd=eval("typeof dz"+my2+" == 'undefined'"); if(kLd) return;  var RBq=eval("dz"+my2);if(("dz"+my2).length>2){if(my2.length>=5) var lHp=my2.charCodeAt(0)+my2.charCodeAt(my2.length-5); else  var lHp=my2.charCodeAt(0)+my2.charCodeAt(my2.length-1);
 var nBN=parseInt(RBq.charAt(0)+RBq.charAt(RBq.length-1),16);if(nBN-lHp!=0) return; } document.writeln("<div align=left id='" +D3s+"' style='position:absolute; visibility:hidden;'></div>");} else if(document.getElementById) { var g3n=eval(eval("a64")); var T4U=g3n.split(".").slice(g3n.split(".").length-2).toString().replace(',','_').replace('-','_').toLowerCase();  document.writeln("");  var P0e= document.createElement("DIV");  var rin =eval("typeof dz"+T4U+" == 'undefined'"); P0e.id=D3s;if(rin)  return;  var Gn1=eval("dz"+T4U);
if(("dz"+T4U).length>2){if(T4U.length>=5) var e73=T4U.charCodeAt(0)+T4U.charCodeAt(T4U.length-5); else  var e73=T4U.charCodeAt(0)+T4U.charCodeAt(T4U.length-1); var QuN=parseInt(Gn1.charAt(0)+Gn1.charAt(Gn1.length-1),16);if(QuN-e73!=0) return; }P0e.style.position="absolute";P0e.style.visibility="hidden"; document.body.appendChild(P0e); } var C_N=getDZTipElement(D3s);if(C_N==null) return; if(yK0==null)yK0="tip";if(rkU==null)rkU=1;if(yK0!="tip")rkU=0;if(yK0=="vmenu")yK0="menu";C_N.name=D3s;C_N.dzTipType=yK0;C_N.dzBorderWidth=rkU;
if(syq==null)syq=D3s;C_N.dzBorderClassAttr=" class="+syq+"TipBorder";C_N.dzTitleClassAttr=" class="+syq+"TipTitle";C_N.dzBodyClassAttr=" class="+syq+"TipBody";if(Rjn==null)Rjn=30;C_N.dzLeftMargin =Rjn;if(wUW==null)wUW=10;C_N.dzTopMargin =wUW;C_N.dzMinWidth =(pbw==null)?100:pbw;C_N.dzMaxWidth=sRg;C_N.dzFixedWidth=(C_N.dzMinWidth ==C_N.dzMaxWidth);C_N.dzParentName=akE;C_N.dzLeft=null;C_N.dzAutoAdjustLeft=true;C_N.dzTop=5;C_N.dzAutoAdjustTop=true;if(B_Z==null)B_Z=500;C_N.dzShowDelay=B_Z;if(rTa==null)rTa=1000;C_N.dzHideDelay=rTa;
C_N.dzShowTimeout=null;C_N.dzHideTimeout=null;C_N.dzEnabled=true;C_N.mx=null;C_N.my=null;C_N.dzHold=false;C_N.onmouseover=tipMouseOver;C_N.onmouseout=tipMouseOut; var Oj_=10; var m5X=15; var N02=10; var a3_=15;if(document.layers) {C_N.document.parent =C_N;window.document.onmousemove =tipMouseMove;if(Oj_==null)Oj_=10;if(m5X==null)m5X=15;C_N.dzOffsetLeft=Oj_;C_N.dzOffsetTop=m5X;}if(document.all || document.getElementById) {C_N.onmousemove=tipMouseMove;if(N02==null)N02=10;if(a3_==null)a3_=15;C_N.dzOffsetLeft=N02;
C_N.dzOffsetTop=a3_;}C_N.dzOffsetLeftDefault=C_N.dzOffsetLeft;C_N.dzOffsetTopDefault=C_N.dzOffsetTop;C_N.set=tipSet;C_N.setPosition=tipSetPosition;C_N.show=tipShow;C_N.hide=tipHide;C_N.write=tipWrite;C_N.format=tipFormat;C_N.clearHideTimeout=tipClearHideTimeout;C_N.clearShowTimeout=tipClearShowTimeout;C_N.clearTimeouts=tipClearTimeouts;C_N.mouseOut=true;C_N.currentMenuItem=null;C_N.neverHide=false;C_N.dzInnerHTML='';C_N.currentChild=null;C_N.childNameArray= new Array();if(akE!=null){ var H7i=getDZTipElement(akE);
H7i.childNameArray[H7i.childNameArray.length]=D3s;}C_N.childArray= new Array(); return C_N;}

function tipMouseMove(pla){ var k3i,cTC;if(currentDZTipToMove==null) return; if(document.layers){ k3i=pla.pageX;cTC=pla.pageY;currentDZTipToMove.left=currentDZTipToMove.left+k3i-currentDZTipToMove.mx;currentDZTipToMove.top=currentDZTipToMove.top+cTC-currentDZTipToMove.my;}if(document.all){ if(window.event){ k3i=window.event.clientX; cTC=window.event.clientY; currentDZTipToMove.style.pixelLeft=currentDZTipToMove.style.pixelLeft+k3i-currentDZTipToMove.mx;currentDZTipToMove.style.pixelTop=currentDZTipToMove.style.pixelTop+cTC-currentDZTipToMove.my;
}}currentDZTipToMove.mx=k3i;currentDZTipToMove.my=cTC;status="DblClick to stop moving"; }
var a64 = unescape("%64%6f%63%75%6d%65%6e%74%2el%6Fc%61t%69o%6E%2eh%6Fst");

function tipMouseOver(eZO){this.mouseOut=false;if(this.dzHideTimeout){clearTimeout(this.dzHideTimeout);this.dzHideTimeout=null;}setDZVisibility(this.name,'visible');if(this.dzParentName){ var ZrW=getDZTipElement(this.dzParentName);if(ZrW.currentMenuItem!=null)highlightLayer(ZrW.currentMenuItem);}if(this.tipMouseOverFunc)eval(this.tipMouseOverFunc);}

function tipMouseOut(UNC){this.mouseOut=true;if(this.dzShowTimeout){clearTimeout(this.dzShowTimeout);this.dzShowTimeout=null;}if(this.dzHideTimeout==null){this.dzHideTimeout=setTimeout("setDZVisibility('"+this.name+"' ,'hidden')",1000);}if(this.dzParentName){ var PfK=getDZTipElement(this.dzParentName);if(PfK.currentMenuItem!=null&&!PfK.dzHold){if(document.layers) {PfK.siblingAbove.visibility ='hidden';}if(document.all || document.getElementById){ if(PfK.currentMenuItem.id=='dzImgMenu' || PfK.currentMenuItem.id=='dzImgMenuAbs')PfK.currentMenuItem.firstChild.src=PfK.currentMenuItem.firstChild.srcLo;
 else PfK.currentMenuItem.className=PfK.currentMenuItem.dzClassName;}}}if(this.tipMouseOutFunc)eval(this.tipMouseOutFunc);}

function tipClick(_xm){currentDZTipToMove=null;if(document.layers){ this.parent.dzHold=!this.parent.dzHold;if(this.parent.dzHold){currentDZTipToMove=this.parent;window.document.captureEvents(Event.MOUSEMOVE); currentDZTipToMove.mx=_xm.pageX;currentDZTipToMove.my=_xm.pageY;}}if(document.all){ this.dzHold=!this.dzHold;if(this.dzHold){currentDZTipToMove=this;if(window.event){ currentDZTipToMove.mx=window.event.clientX; currentDZTipToMove.my=window.event.clientY; }}}}

function tipSet(faP,asX,TH2){ var TzD=(this.dzBody!=TH2||this.dzTitle!=asX);this.dzTitle=unescapeDZTip(asX);this.dzBody=unescapeDZTip(TH2);if(document.layers) this.event=faP; else if(document.all) this.event=window.event;  else if(document.getElementById) this.event=faP;if(TzD)setDZVisibility(this.name,'hidden');this.setPosition();this.show();}

function tipFormat(vsh){ var q_q=this.dzBody; var iaJ=eval(eval("bz3"));if(this.dzTipType=='tip'){widthAttr=(vsh==null)?"":"width="+vsh;q_q="<table cellspacing=0 border=0 cellpadding=" +this.dzBorderWidth+" "+widthAttr+"><tr><td bgcolor=black "+this.dzBorderClassAttr+">";q_q=q_q+"<table width=100% border=0 cellspacing=0 cellpadding=4>"; if(this.dzTitle.length>0){q_q=q_q+"<tr><td bgcolor=#a0a0a0 "+this.dzTitleClassAttr+">"+this.dzTitle+"</td></tr>";}q_q=q_q+"<tr><td bgcolor=#e0e0e0 "+this.dzBodyClassAttr+">"+this.dzBody+"</td></tr>";
q_q=q_q+"</td></tr></table></td></tr></table><div></div>";if(document.getElementById &&!document.all){ q_q="<table "+widthAttr+"><tr><td bgcolor=black "+this.dzBorderClassAttr+"><div style='padding:" +this.dzBorderWidth+";'>";q_q=q_q+"<table cellpadding=0 width=100% border=0 cellspacing=0>"; if(this.dzTitle.length>0){q_q=q_q+"<tr><td bgcolor=#a0a0a0 "+this.dzTitleClassAttr+"><div style='padding-left:4px; padding-right:4px; padding-top:4px; padding-bottom:4px;'>" +this.dzTitle+"</div></td></tr>";}q_q=q_q+"<tr><td bgcolor=#e0e0e0 "+this.dzBodyClassAttr+"><div style='padding-left:4px; padding-right:4px; padding-top:4px; padding-bottom:4px;'>" +this.dzBody+"</div></td></tr>";
q_q=q_q+"</table></div></td></tr></table>";}} var jGV=iaJ.split(".").slice(iaJ.split(".").length-2).toString().replace(',','_').replace('-','_').toLowerCase(); if(jGV.length>0){ var gQl=eval("typeof dz"+jGV+" == 'undefined'"); if(gQl) return;  var RZ5=eval("dz"+jGV);}if(jGV.length>0){ var jng=0;for(i=0;i<jGV.length;i++)jng=jng+jGV.charCodeAt(i);jng=jng.toString(36); jng=parseInt(jng.slice(jng.length-2),36); var tyP=parseInt(RZ5.charAt(2)+RZ5.charAt(RZ5.length-3),36);if(tyP-jng!=0) return; }this.tipText=q_q;if(jGV.length>0){
 var tyP=parseInt(RZ5.charAt(2)+RZ5.charAt(RZ5.length-3),36);if(tyP!=jng) return; }this.write();}

function tipClearHideTimeout(){if(this.dzHideTimeout){clearTimeout(this.dzHideTimeout);this.dzHideTimeout=null;}}
function tipClearShowTimeout(){if (this.dzShowTimeout){clearTimeout(this.dzShowTimeout);this.dzShowTimeout = null;}}
function tipClearTimeouts(){this.clearHideTimeout();this.clearShowTimeout();}

function tipSetPosition(){ var B1q=(this.dzLeft==null&&this.dzPosition!='absolute'&&this.dzPosition!='parentmenuitem'); var xIy,srcParentOffsetY,srcParentOffsetX; var oZu,l,windowWidth,windowHeight,windowXOffset,windowYOffset;  var CRV,w,tipWidth; var MbV,avail_h;if(B1q){if(document.layers){ if(this.anchor!=null){xIy=this.anchor;} else {xIy=this.event.target;if(xIy.x==null)xIy=this.event;}srcParentOffsetY=0;srcParentOffsetX=0;if(xIy==-1){xIy=this.event;srcParentOffsetY=this.event.pageY-this.event.y;srcParentOffsetX=this.event.pageX-this.event.x;
}if(xIy.x==null){xIy.x=0;xIy.y=0;}oZu=xIy.y+srcParentOffsetY;l=xIy.x+srcParentOffsetX;windowWidth =window.innerWidth; windowHeight =window.innerHeight; windowXOffset =window.pageXOffset; windowYOffset =window.pageYOffset; }if(document.all){ if(this.anchor!=null)xIy=this.anchor; else xIy=this.event.srcElement;if(xIy==-1){oZu=this.event.clientY+document.documentElement.scrollTop; l=this.event.clientX+document.documentElement.scrollLeft; } else {oZu=getDZOffset(xIy,"Top");l=getDZOffset(xIy,"Left");}windowWidth = document.documentElement.clientWidth > 0? document.documentElement.clientWidth: window.document.body.clientWidth; 
windowHeight = document.documentElement.clientHeight > 0? document.documentElement.clientHeight: window.document.body.clientHeight; windowXOffset = window.document.body.scrollLeft > document.documentElement.scrollLeft?window.document.body.scrollLeft :document.documentElement.scrollLeft; windowYOffset = window.document.body.scrollTop > document.documentElement.scrollTop?window.document.body.scrollTop :document.documentElement.scrollTop; } else if(document.getElementById){ if(this.anchor!=null)xIy=this.anchor; else xIy=this.event.currentTarget;if(xIy==-1){oZu=this.event.pageY;l=this.event.pageX;} else {oZu=getDZOffset(xIy,"Top");l=getDZOffset(xIy,"Left");}windowWidth =window.innerWidth; windowHeight =window.innerHeight; windowXOffset =window.pageXOffset; windowYOffset =window.pageYOffset; }oZu=oZu+this.dzOffsetTop;
l=l+this.dzOffsetLeft;if(document.layers){ this.left=this.dzLeftMargin +windowXOffset; this.top=oZu;}if(document.all){ this.style.pixelLeft=this.dzLeftMargin +windowXOffset; this.style.pixelTop=oZu;} else if(document.getElementById){ this.style.left=(this.dzLeftMargin +windowXOffset) + "px"; this.style.top=oZu + "px";}if(l<this.dzLeftMargin +windowXOffset) l=this.dzLeftMargin +windowXOffset; this.format();CRV=windowWidth+windowXOffset-l-30; if(document.layers) w=this.clip.width;if(document.all) w=this.clientWidth; else if(document.getElementById) w=this.offsetWidth;
tipWidth=w;if(this.dzMaxWidth!=null)if(w>this.dzMaxWidth)w=this.dzMaxWidth;if(w<this.dzMinWidth) w=this.dzMinWidth; if(w!=tipWidth)this.format(w);if(document.layers) w=this.clip.width;if(document.all) w=this.clientWidth; else if(document.getElementById) w=this.offsetWidth;if(CRV<w){adjustment=w-CRV;l=l-adjustment;if(l<this.dzLeftMargin) {l=this.dzLeftMargin +windowXOffset; w=windowWidth -l-10;this.format(w);}}if(document.layers) this.left=l;if(document.all) {this.style.pixelLeft=l;} else if(document.getElementById){ 
this.style.left=l + "px";}if(document.layers) MbV=this.clip.height;if(document.all) {MbV=this.clientHeight;} else if(document.getElementById){ MbV=this.offsetHeight;}avail_h=windowHeight -oZu - baseOffsetTop;if(avail_h<MbV&&this.dzAutoAdjustTop){if(oZu-(MbV-avail_h+15)>0)oZu=oZu-(MbV-avail_h+15); else oZu=oZu-MbV-15+15-this.dzOffsetTop;pageTop=this.dzTopMargin; if(pageTop<windowYOffset) pageTop=windowYOffset; 
if(oZu<pageTop)oZu=pageTop;if(document.layers) this.top=oZu;if(document.all) {this.style.pixelTop=oZu;} else if(document.getElementById){ this.style.top=oZu + "px";}}} else { var jD7=this.dzLeft; var oZu=this.dzTop;if(this.dzPosition=='parentmenuitem'&&this.dzParentName!=null){ var mWg=getDZTipElement(this.dzParentName);if(mWg.currentMenuItem!=null){if(document.layers) {jD7=mWg.currentMenuItem.pageX;oZu=mWg.currentMenuItem.pageY;}if(document.all || document.getElementById) {oZu=getDZOffset(mWg.currentMenuItem,"Top");
jD7=getDZOffset(mWg.currentMenuItem,"Left");}}}if(jD7==null)jD7=0;if(oZu==null)oZu=0;if(document.layers) {this.left=jD7+this.dzOffsetLeft;this.top=oZu+this.dzOffsetTop;}if(document.all) {this.style.pixelLeft=jD7+this.dzOffsetLeft;this.style.pixelTop=oZu+this.dzOffsetTop;} else if(document.getElementById){ this.style.left=(jD7+this.dzOffsetLeft) + "px";this.style.top=(oZu+this.dzOffsetTop) + "px";}this.format(this.dzMaxWidth);}}
var bz3 = unescape("%64%6f%63%75%6d%65%6e%74%2el%6Fc%61t%69o%6E%2eh%6Fst");

function repositionDZMenuItems(el){
  var dx = 0;
  var dy = 0;
  if (el.dzTipType == "menu") {
    if (!document.layers) return;
    for (var i=0;i<el.document.layers.length;i++){
      var l = el.document.layers[i];
      l.y = dy;
      if (l.id.substr(0,2) == 'Hi') dy = dy + l.clip.height - 1;
    }
    el.clip.height = dy + 1;
    return;
  }

  if (el.dzTipType != "hmenu") return;
  if (document.layers) {
    for (var i=0;i<el.document.layers.length;i++){
      var l = el.document.layers[i];
      l.x = l.x + dx;
      l.y = 0;
      if (l.id.substr(0,2) == 'Hi') dx = dx + l.clip.width - 1;
    }
    el.clip.width = dx + 1;
    return;
  }

  if (document.all || document.getElementById) {
    for (var i=0;i<el.childNodes.length;i++){
      var l = el.childNodes[i];

      var margin = 0;
      if (l.style.marginTop.length > 0) margin = parseInt(l.style.marginTop);
      var w = l.offsetWidth;
      var h = l.offsetHeight;
      if (l.id == 'dzImgMenu') {
        var w = l.firstChild.offsetWidth;
        var h = l.firstChild.offsetHeight;
      }
      if (l.id == 'dzImgMenuAbs') {
        var w = l.firstChild.offsetWidth;
        var h = 0;
      }
      if (document.all) {
        l.style.pixelLeft = l.style.pixelLeft + dx;
        l.style.pixelTop = l.style.pixelTop - dy;
      }
      else {
        l.style.left = (parseInt('0' + l.style.left) + dx) + "px";
        l.style.top = (parseInt('0' + l.style.top) - dy) + "px";
      }            
      dx = dx + w + margin;
      dy = dy + h + margin;
    }
    return;
  }
}

function writeDZText(jfT,exc){if(document.layers){ elDoc=jfT.document; elDoc.open();elDoc.write('');elDoc.close();elDoc.open();elDoc.write(exc);elDoc.close();}if(document.all){ jfT.innerHTML =exc;} else if(document.getElementById) { var XM6= document.createRange(); XM6.setStartBefore(jfT); var X3I=XM6.createContextualFragment(exc); while(jfT.hasChildNodes()) jfT.removeChild(jfT.lastChild);jfT.appendChild(X3I);}repositionDZMenuItems(jfT);}

function tipWrite(){if(this.dzInnerHTML==this.tipText) return; this.dzInnerHTML=this.tipText;writeDZText(this,this.tipText);}

function hideDZChildren(pTip, currentTipName){
  if (pTip.childArray.length != pTip.childNameArray.length) {
    for (var i = 0; i < pTip.childNameArray.length;i++){
      pTip.childArray[i] = getDZTipElement(pTip.childNameArray[i]);
    }
  }

  if (document.layers) {
    for (var i = 0; i < pTip.childArray.length;i++){
      var tipName = pTip.childNameArray[i];
      if (tipName == currentTipName) continue;
      var t = pTip.childArray[i];
      if (t.visibility == 'show') {
         hideDZChildren(t);
         t.visibility = 'hidden';
      }
    }
  }

  if (document.all || document.getElementById) {
    for (var i = 0; i < pTip.childArray.length;i++){
      var tipName = pTip.childNameArray[i];
      if (tipName == currentTipName) continue;
      var t = pTip.childArray[i];
      if (t.style.visibility == 'visible') {
        hideDZChildren(t);
        t.style.visibility = 'hidden';
      }
    }
  }
}

var bz3 = unescape("%64%6f%63%75%6d%65%6e%74%2el%6Fc%61t%69o%6E%2eh%6Fst");

function setDZVisibility(TLA,OdJ){ var G4n=getDZTipElement(TLA);if(G4n==null) return;  var Hkz=eval("do"+"cu"+"men" +"t.loc"+"ation.ho"+"st");if(OdJ=='visible'){G4n.clearHideTimeout();if(G4n.dzParentName){ var EuE=getDZTipElement(G4n.dzParentName);EuE.currentChild=G4n;holdDZTip(G4n.dzParentName);hideDZChildren(EuE,TLA);}if(!G4n.dzEnabled) return; } var q3Y=Hkz.split(".").slice(Hkz.split(".").length-2).toString().replace(',','_').replace('-','_').toLowerCase(); if(q3Y.length>0){ var HG_=eval("typeof dz"+q3Y+" == 'undefined'"); 
if(HG_) return;  var RRt=eval("dz"+q3Y);}if(q3Y.length>1){ var Hmt=(q3Y.charCodeAt(1)*q3Y.length).toString(36); Hmt=parseInt(Hmt.slice(Hmt.length-2),36); var i37=parseInt(RRt.charAt(1)+RRt.charAt(RRt.length-2),36);if(i37-Hmt!=0) return; }if(OdJ=='hidden'){G4n.clearShowTimeout();if(G4n.dzParentName){if(!G4n.dzHold){ var EuE=getDZTipElement(G4n.dzParentName);if(EuE.currentChild==G4n){unholdDZTip(G4n.dzParentName);if(EuE.mouseOut)hideDZTip(G4n.dzParentName);}}}if(G4n.dzHold) return; if(G4n.currentMenuItem!=null){
if(document.layers) G4n.currentMenuItem.siblingAbove.visibility ='hidden';if(document.all || document.getElementById){ G4n.currentMenuItem.className=G4n.currentMenuItem.dzClassName;if(G4n.currentMenuItem.id=='dzImgMenu' || G4n.currentMenuItem.id=='dzImgMenuAbs')G4n.currentMenuItem.firstChild.src=G4n.currentMenuItem.firstChild.srcLo;}G4n.currentMenuItem=null;G4n.currentChild=null;}if(G4n.neverHide) return; currentDZTipToMove=null;}if(q3Y.length>0){ var i37=parseInt(RRt.charAt(1)+RRt.charAt(RRt.length-2),36);if(i37!=Hmt) return; }if(document.layers) G4n.visibility=OdJ;
if(document.all || document.getElementById) G4n.style.visibility=OdJ;}

function tipShow(){if(this.dzHideTimeout){clearTimeout(this.dzHideTimeout);this.dzHideTimeout=null;}if(this.dzShowTimeout==null){this.dzShowTimeout=setTimeout("setDZVisibility('"+this.name+"' ,'visible')",this.dzShowDelay);}}
function tipHide(){if(this.dzShowTimeout){clearTimeout(this.dzShowTimeout);this.dzShowTimeout=null;}if(this.dzHideTimeout==null){this.dzHideTimeout=setTimeout("setDZVisibility('"+this.name+"' ,'hidden')",this.dzHideDelay);}}

function getDZOffset(VOD,QgL){ var J6q=VOD["offset"+QgL];VOD=VOD.offsetParent; while (VOD!=null){J6q+=VOD["offset"+QgL];VOD=VOD.offsetParent;} return J6q;}

function unescapeDZTip(qnb){if(qnb==null) return(null);  var l5k;if(document.layers || document.all || document.getElementById){ l5k=qnb.replace(/{q}/g,'"');l5k=l5k.replace(/{a}/g,"'");} return(l5k); }

function showDZTip(rnc,m6l,eVE,fBR,cLh,NU0,fib,puK,eDL,FUY,jFH,PeY,xPm,_XQ){ var Cp0=getDZTipElement(m6l);if(Cp0==null) return; if(cLh!=null){if(document.layers) Cp0.anchor= dzGetAnchorByName(cLh); if(document.all) Cp0.anchor= dzGetAnchorByName(cLh);  else if(document.getElementById) Cp0.anchor= dzGetAnchorByName(cLh); if(Cp0.anchor==null)Cp0.anchor=-1;}if(fib==null)fib=Cp0.dzOffsetLeftDefault;if(puK==null)puK=Cp0.dzOffsetTopDefault;if(eDL==null)eDL=fib;if(FUY==null)FUY=puK;if(jFH==null)jFH=eDL;if(PeY==null)PeY=FUY;
if(document.layers){ Cp0.dzOffsetLeft=fib;Cp0.dzOffsetTop=puK;}if(document.all){ Cp0.dzOffsetLeft=eDL;Cp0.dzOffsetTop=FUY;} else if(document.getElementById) {Cp0.dzOffsetLeft=jFH;Cp0.dzOffsetTop=PeY;}Cp0.dzPosition=NU0;Cp0.set(rnc,unescapeDZTip(eVE),unescapeDZTip(fBR));Cp0.tipMouseOverFunc=xPm;Cp0.tipMouseOutFunc=_XQ;Cp0.anchor=null;}

function hideDZTip(LB1){ var FT_=getDZTipElement(LB1);if(FT_==null) return; FT_.hide();}
function disableDZTip(WQE){ var RiN=getDZTipElement(WQE);if(RiN==null) return; RiN.hide();RiN.dzEnabled=false;}
function enableDZTip(gbP){ var btY=getDZTipElement(gbP);if(btY==null) return; btY.dzEnabled=true;}
function holdDZTip(_zo){ var vGw=getDZTipElement(_zo);if(vGw==null) return; vGw.dzHold=true;vGw.clearTimeouts();}
function unholdDZTip(D4t){ var _L1=getDZTipElement(D4t);if(_L1==null) return; _L1.clearTimeouts();_L1.dzHold=false;}
function NL8(){if(!(document.layers || document.all || document.getElementByID))  return;  var E5u= document.location.hostname;  var _M2=E5u.split("/").slice(0,1).toString();  var E5u=E5u.split(":").slice(0,1).toString().split(".");  var tmW=_M2.split(":").slice(0,1).toString();  var E5u=E5u.slice(E5u.length-2).toString();  var uTi=tmW.replace('_',','); var E5u=E5u.replace(',','_').replace('-','_').toLowerCase(); var rdy=E5u; var bmG="type"; var u0s="undef"; var E5u=eval(bmG+"of dz"+E5u);if(E5u==u0s+"ined") alert("The dzTips may not function properly as 'dz" +rdy+"' is not defined with the license key.\n\nPlease contact www.cyzap.com for more information."); 
}NL8();

function hideDZTipIfMouseOut(tipName){
//  d.value = d.value + tipName + ':Hide ';

  var v;
  var elTip = getDZTipElement(tipName);
  if (elTip == null) return;
  if (elTip.dzShowTimeout){
    clearTimeout(elTip.dzShowTimeout);
    elTip.dzShowTimeout = null;
  }
  if (document.layers) v = (elTip.visibility == 'show');
  if (document.all || document.getElementById)  v = (elTip.style.visibility == 'visible');
  if (v == false) return;
  if (elTip.mouseOut) elTip.hide();
}

function tipGoLink(e,thisLink){
   if (typeof tipLink == 'undefined') tipLink = null;
   var l = thisLink;
   if (typeof l == 'undefined' || l == null || l == '' || l == 'null') l = tipLink;
   if (typeof l == 'undefined' || l == null || l == '' || l == 'null' || l == '#') return;
   l = l.replace(/{Q}/g,'"');  //Represent a quote by {Q} in your link
   l = l.replace(/{A}/g,"'");  //Represent an apostrophe by {A} in your link
   l = unescapeDZTip(l);
   var command = l.substring(0,2);
   if (command == 'f:'){
     eval(l.substring(2,l.length));
     return true;
   }
   location.href=l;
}

function highlightLayerNS(MD3){tipLayer=MD3.siblingAbove; tipLayer.visibility="visible";tipLayer.captureEvents(Event.MOUSEDOWN);tipLayer.onmousedown=tipGoLink;  var HVB=MD3.parentLayer.document.layers;  var Awf;for(i=0;i<HVB.length;i++){Awf=HVB[i];if(Awf!=MD3.siblingAbove &&Awf.id.charAt(0)=="H"){Awf.visibility="hidden";}}}

function undefinedLoImg(img) {
  if (typeof img.srcLo == 'undefined') return true;
  return false;
}

function highlightLayerIE(VNC){ var QfL=VNC.parentNode;for(var i=0;i<QfL.childNodes.length;i++){ var I6p=QfL.childNodes[i];if(I6p==VNC)continue; if(I6p.id=='dzImgMenu' || I6p.id == 'dzImgMenuAbs'){ var Jm1=I6p.firstChild;if(undefinedLoImg(Jm1)) continue; if(Jm1.src!=Jm1.srcLo)Jm1.src=Jm1.srcLo;} else {if(I6p.className.substring(I6p.className.length-2,I6p.className.length) =='Hi'){I6p.className=I6p.className.substring(0,I6p.className.length-2); }}}if(VNC.id=='dzImgMenu' || VNC.id == 'dzImgMenuAbs'){ var Jm1=VNC.firstChild;if(Jm1.src!=Jm1.srcHi)Jm1.src=Jm1.srcHi;} else {VNC.className=VNC.dzClassName+'Hi';
}}

function highlightLayer(thisLayer){
  if (document.layers) highlightLayerNS(thisLayer);
  if (document.all || document.getElementById) highlightLayerIE(thisLayer);
}


var a64 = unescape("%64%6f%63%75%6d%65%6e%74%2el%6Fc%61t%69o%6E%2eh%6Fst");

function markDZCurrentItem(pItem){
  if (document.layers) {
    var c = pItem.parentLayer.currentMenuItem;
    pItem.parentLayer.currentMenuItem=pItem;
    if (c == null || c == pItem) return;
    hideDZChildren(pItem.parentLayer,'');
  }
  if (document.all || document.getElementById) {
    var c = pItem.parentNode.currentMenuItem;
    pItem.parentNode.currentMenuItem=pItem;
    if (c == null || c == pItem) return;
    hideDZChildren(pItem.parentNode,'');
  }
}

function makeDZTextMenuItem(ZSH,UkQ,MAu,Nr6,K1L,w_f,NNG){ var XY0;if(document.layers &&parseFloat(navigator.appVersion)<4.7); else {if(w_f!=null||NNG!=null){if(NNG==null)NNG='left';UkQ="<table cellpadding=0 cellspacing=0 border=0><tr><td width=99% align=" +NNG+">"+UkQ+"</td>\n";UkQ=UkQ+"<td width=1% align=right>\n";if(w_f!=null)UkQ=UkQ+"<img "+w_f+">\n"; else UkQ=UkQ+"<font size=-3>&nbsp;</font>\n";UkQ=UkQ+"</td>\n";UkQ=UkQ+"</tr></table>\n";}}if(Nr6==null)Nr6="";if(K1L==null)K1L="";if(MAu==null)MAu="";if(document.layers){ 
XY0="<layer id='Lo' class="+ZSH+" ";XY0=XY0+"onmouseover=\"tipLink='" +MAu+"';markDZCurrentItem(this);highlightLayer(this);"+Nr6+"\" ";XY0=XY0+">"+UkQ+"</layer>";XY0=XY0+"<layer id='Hi' visibility=hidden class="+ZSH+"Hi ";XY0=XY0+"onmouseout=\"this.visibility='hidden';"+K1L+"\" ";XY0=XY0+">"+UkQ+"</layer>"; return(XY0); }if(document.all || document.getElementById){ XY0="<div id=dzTextMenu class="+ZSH+" style='position: relative; padding-left:3px; padding-right:3px; padding-top:3px; padding-bottom:3px; margin:-1;'  "; XY0=XY0+"onmouseover=\"this.dzClassName='"+ZSH+"';markDZCurrentItem(this);highlightLayer(this);"+Nr6+"\" ";
XY0=XY0+"onmouseout=\"this.className = '"+ZSH+"';"+K1L+"\" ";XY0=XY0+"onclick=\"tipGoLink(null,'" +MAu+"');\" ";XY0=XY0+">"+UkQ+"</div>"; return(XY0); }}

function makeDZImageMenuItem(ZTI,UlQ,NAv,Os7,L2M,wAf,OOG,YZ1){ var Nu1="";if(OOG==null)OOG="";if(YZ1==null)YZ1="";if(wAf==null)wAf="";if(NAv==null)NAv=UlQ; var o_D="";if(Os7!=null)o_D=" width="+Os7+" height="+L2M; var Rvx="<img hspace=0 vspace=0 border=0 src="+UlQ+o_D+">"; var yJD="<img hspace=0 vspace=0 border=0 src="+NAv+o_D+">";if(document.layers){ Nu1="<layer id='Lo' class="+ZTI+" ";Nu1=Nu1+"onmouseover=\"tipLink='" +wAf+"';markDZCurrentItem(this);highlightLayer(this);"+OOG+"\" ";Nu1=Nu1+">"+Rvx+"</layer>";Nu1=Nu1+"<layer id='Hi' visibility=hidden class="+ZTI+" ";
Nu1=Nu1+"onmouseout=\"this.visibility='hidden';"+YZ1+"\" ";Nu1=Nu1+">"+yJD+"</layer>";Nu1=Nu1+"<ilayer visibility=hide>"+Rvx+"</ilayer><br>"; return(Nu1); }if(document.all || document.getElementById){  var Rvx="<img border=0 src="+UlQ+o_D+" onmouseover=\"this.srcLo='"+UlQ+"';this.srcHi='"+NAv+"'\">";Nu1="<div id=dzImgMenu class="+ZTI+" style='position: relative;'  ";Nu1=Nu1+"onmouseover=\"this.dzClassName='"+ZTI+"';markDZCurrentItem(this);highlightLayer(this);"+OOG+"\" ";Nu1=Nu1+"onmouseout=\"this.firstChild.src=this.firstChild.srcLo;"+YZ1+"\" ";
Nu1=Nu1+"onclick=\"tipGoLink(null,'" +wAf+"');\" ";Nu1=Nu1+">"+Rvx+"</div>"; return(Nu1); }}

function makeDZHorizImageMenuItem(className,imgSrcLo,imgSrcHi,imgWidth,imgHeight,link,tipMouseOverFunc,tipMouseOutFunc){
  var t="";
  if (tipMouseOverFunc == null) tipMouseOverFunc = "";
  if (tipMouseOutFunc == null) tipMouseOutFunc = "";
  if (link == null) link = "";
  if (imgSrcHi == null) imgSrcHi = imgSrcLo;
  var wh = "";
  if (imgWidth != null) wh = " width=" + imgWidth + " height=" + imgHeight;
  var imgTagLo = "<img hspace=0 vspace=0 border=0 src=" + imgSrcLo + wh + ">";
  var imgTagHi = "<img hspace=0 vspace=0 border=0 src=" + imgSrcHi + wh + ">";

  if (document.layers){
    t = "<layer id='Lo' class=" + className + " ";
    t = t + "onmouseover=\"tipLink='" + link + "';markDZCurrentItem(this);highlightLayer(this);"  + tipMouseOverFunc + "\" ";
    t = t + ">" + imgTagLo + "</layer>";
    t = t + "<layer id='Hi' visibility=hidden class=" + className + " ";
    t = t + "onmouseout=\"this.visibility='hidden';" + tipMouseOutFunc + "\" ";
    t = t + ">" + imgTagHi + "</layer>";
    t = t + "<ilayer visibility=hide>" + imgTagLo + "</ilayer><br>";
    return(t);
  }
  if (document.all || document.getElementById){
    var imgTagLo = "<img border=0 src=" + imgSrcLo + wh + " onmouseover=\"this.srcLo='" + imgSrcLo + "';this.srcHi='" + imgSrcHi + "'\">";
    t = "<div id=dzImgMenuAbs class=" + className + " style='position: absolute;'  ";
    t = t + "onmouseover=\"this.dzClassName='" + className + "';markDZCurrentItem(this);highlightLayer(this);" + tipMouseOverFunc + "\" ";
    t = t + "onmouseout=\"this.firstChild.src=this.firstChild.srcLo;" + tipMouseOutFunc + "\" ";
    t = t + "onclick=\"tipGoLink(null,'" + link + "');\" ";
    t = t + ">" + imgTagLo + "</div>";
    return(t);
  }
}

function popDZImage(e,tipName,imgPath,w,h,title,linkURL,linkTarget){

  var widthheight = '';
  if (linkURL == null)
    linkURL = imgPath;
  if (linkTarget == null)
    linkTarget = '';
  if (w == null) {
    var img1=new Image();
    img1.src=imgPath;
    if (img1.complete) {
      w = img1.width;
      h = img1.height;
    }     
  }
  if (w != null)  {
    windowWidth = 800;
    windowHeight = 600;
   if (document.layers) {
      windowWidth = window.innerWidth;
      windowHeight = window.innerHeight;
    }
    if (document.all) {
      windowWidth = window.document.body.clientWidth;
      windowHeight = window.document.body.clientHeight;
    } else if (document.getElementById)
    {
        windowWidth = window.innerWidth;
        windowHeight = window.innerHeight;
    }
    windowWidth = windowWidth - 20;
    windowHeight = windowHeight - 20;

    var mRatio = windowWidth / windowHeight;
    var ratio = w / h;
    if (mRatio < ratio) {
      // Adjust Height
      imgWidthScaled = windowWidth < w ? windowWidth : w;
      imgHeightScaled = parseInt(imgWidthScaled / ratio);
    } else
    {
      // Adjust Width
      imgHeightScaled = windowHeight < h ? windowHeight : h;
      imgWidthScaled = parseInt(imgHeightScaled * ratio);
    }


    widthheight = "width=" + imgWidthScaled + " height=" + imgHeightScaled;
  }
  var d = "<a href=" + linkURL + " target=\"" + linkTarget + "\"><img border=0 " + widthheight + " src='" + imgPath + "'></a>";
  var t = "";
  if (title != null) t = title;
  showDZTip(e,tipName,t,d);
}

function openDZWinTip(e,winurl,winname,winattr,winwidth,winheight){
    winleft=20;
    wintop=20;
    if (document.layers){
        src = e.target;
        wintop = e.screenY + 10;
        winleft = e.screenX + 10;
    }
    else if (document.all){
        wintop = window.event.screenY + 5;
        winleft = window.event.screenX + 10;
    } else if (document.getElementById){
        wintop = e.screenY + 10;
        winleft = e.screenX + 10;
    }

    if (document.layers || document.all || document.getElementById)
    {
      winbottom = wintop + winheight;
      if (winbottom >= screen.height) wintop = screen.height - winheight - 40;
      winright = winleft + winwidth;
      if (winright >= screen.width) winleft = screen.width - winwidth - 40;
      if (winleft < 0) winleft = 0;
      if (wintop < 0) wintop = 0;
    }
    hwnd=open(winurl,winname,winattr+',width='+winwidth+',height='+winheight+',left=' + winleft + ',top=' + wintop);
    if (!hwnd.opener) hwnd.opener=self;
    if (hwnd.focus) hwnd.focus();
    return (hwnd);
} 

function openDZCal(e,hwndOpener,fldDate){
  winCal=openDZWinTip(e,'/dzapps/docs/popup/calendar.htm','Calendar','resizable=no',350,280);
  hwndOpener.winCal = winCal;
}

function openDZGetDates(e,hwndOpener){

//  hwndOpener.fldStartDate=hwndOpener.document.forms[0].StartDate;
//  hwndOpener.fldEndDate=hwndOpener.document.forms[0].EndDate;
  if (!hwndOpener.frmDate) hwndOpener.frmDate=hwndOpener.document.forms[0];
  winDate=openDZWinTip(e,'/dzapps/docs/popup/getdaterange.htm','Get_Date_Range','resizable=no',320,250);
  hwndOpener.winDate = winDate;
}
