WzTooltip={tt_Debug:false,tt_Enabled:true,TagsToTip:true,shutUp:true,config:{Above:false,BgColor:"#E2E7FF",BgImg:"",BorderColor:"#003099",BorderStyle:"solid",BorderWidth:1,CenterMouse:false,ClickClose:false,ClickSticky:false,CloseBtn:false,CloseBtnColors:["#990000","#FFFFFF","#DD3333","#FFFFFF"],CloseBtnText:"&nbsp;X&nbsp;",CopyContent:true,Delay:400,Duration:0,Exclusive:false,FadeIn:0,FadeOut:0,FadeInterval:30,Fix:null,FollowMouse:true,FontFace:"Verdana,Geneva,sans-serif",FontSize:"11px",FontWeight:"normal",Height:0,JumpHorz:false,JumpVert:true,Left:false,OffsetX:14,OffsetY:8,Opacity:100,Padding:3,Shadow:false,ShadowColor:"#C0C0C0",ShadowWidth:5,Sticky:false,TextAlign:"left",Title:"",TitleAlign:"left",TitleBgColor:"",TitleFontColor:"#FFFFFF",TitleFontFace:"",TitleFontSize:"",TitlePadding:2,Width:0,ClassName:"",ThumbNail:"",CloseButton:false,getContent:null,needsResize:null,ShiftHorz:null},presets:{tags:{Balloon:true,Above:true,FollowMouse:false,Width:"200",Exclusive:true,Delay:300,ClassName:"infoBalloon",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">'+a.content+"</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},brackets:{Balloon:true,Above:false,FollowMouse:false,CloseButton:true,Exclusive:true,ClassName:"infoBalloon",ThumbNail:"/shop/Common/images/wz_tooltip/negativeBracketIco.png",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title titleBracket">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">'+a.content+"</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},valueAdd:{Balloon:true,Above:true,FollowMouse:false,CloseButton:true,Exclusive:true,ClassName:"favoriteBalloon",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='</th><th class="title titleBracket">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+="<td  >";html+='<form onSubmit="ValueAdd.saveValue($(\'addValueForm\')); return false;" id="addValueForm">';html+='<input type="text" name="valueAdd" id="valueAdd" ><br />';html+='<input class="primaryButton" type="submit" name="addValueButton" value="Add" />';html+="</form>";html+="</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},valuePct:{Balloon:true,Above:true,FollowMouse:false,CloseButton:true,Exclusive:true,ClassName:"favoriteBalloon",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='</th><th class="title titleBracket">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+="<td  >";html+='<form onSubmit="ValueAdd.savePct($(\'addValueForm\')); return false;" id="addValueForm">';html+='<input type="text" name="pctAdd" id="pctAdd" ><br />';html+='<input class="primaryButton" type="submit" name="addPctButton" value="Add" />';html+="</form>";html+="</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},plain:{Balloon:true,Above:false,FollowMouse:false,Width:0,Duration:-250,ClassName:"userinfoBalloon",getContent:function(a){return a.content}},userInfo:{Balloon:true,Above:false,FollowMouse:false,OffsetX:0,OffsetY:5,Width:0,Duration:-250,ClassName:"userinfoBalloon",ThumbNail:"/shop/Common/images/wz_tooltip/i_ico.jpg",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">'+a.content+"</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},easyLink:{Balloon:true,Above:false,FollowMouse:false,OffsetX:0,OffsetY:5,Width:0,Duration:-250,ClassName:"userinfoBalloon",ThumbNail:"/shop/Common/images/ico_easylink_greybg.gif",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">'+a.content+"</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},order:{Balloon:true,Above:true,FollowMouse:false,Width:0,Duration:2500,CloseButton:true,ClassName:"orderBalloon",ThumbNail:"/shop/Common/images/wz_tooltip/shopping.jpg",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td class="itemAddedQty" rowspan=2>'+a.extraContent+"</td>";html+='<td class="itemAddedMsg">';html+='<span class="itemAddedMsg">'+a.content+"</span>";html+='<br><span class="itemAddedPartno">('+a.partno+")</span>";html+="</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},favorite:{Balloon:true,Above:true,FollowMouse:false,OffsetX:0,OffsetY:5,Width:0,Duration:2500,CloseButton:true,ClassName:"favoriteBalloon",ThumbNail:"/shop/Common/images/wz_tooltip/fav_ico.jpg",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">';html+='<span class="itemAddedMsg">'+a.content+"</span>";html+='<br><span class="itemAddedPartno">('+a.partno+")</span>";html+="</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},error:{Balloon:true,Above:true,FollowMouse:false,OffsetX:0,OffsetY:5,Width:0,CloseButton:true,ClassName:"errorBalloon",ThumbNail:"/shop/Common/images/wz_tooltip/error_ico.jpg",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">'+a.content+"</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},warning:{Balloon:true,Above:false,FollowMouse:false,OffsetX:0,OffsetY:5,Width:0,Duration:-250,ClassName:"userinfoBalloon warningBalloon",ThumbNail:"/shop/Common/images/warningsmall.gif",getContent:function(a){html="<table>";html+="<thead>";html+="<tr>";html+='<th class="thumbnail"><img align="middle" src="'+a.ThumbNail+'"/>';html+='</th><th class="title">'+a.Title+"</th>";html+="</tr>";html+="</thead>";html+="<tbody>";html+="<tr>";html+='<td colspan="2" class="itemAddedMsg">'+a.content+"</td>";html+="</tr>";html+="</tbody>";html+="</table>";return html}},atp:{Balloon:true,Above:true,FollowMouse:false,FadeIn:400,FadeOut:300,Width:162},barcode:{Balloon:true,Above:true,FollowMouse:false,FadeIn:400,FadeOut:300,Width:162}},Tip:function(){WzTooltip.tt_Tip(arguments,null)},ElementToTip:function(){WzTooltip.tt_Tip(arguments,arguments[0])},TagToTip:function(){var a=WzTooltip.tt_GetElt(arguments[0]);if(a){WzTooltip.tt_Tip(arguments,a)}},UnTip:function(){try{var a=Element.fire(WzTooltip.Element,"wztooltip:close",WzTooltip.MetaParams);Event.stopObserving(WzTooltip.Element,"wztooltip:close");WzTooltip.Element=null}catch(b){}WzTooltip.tt_OpReHref();if(WzTooltip.tt_aV.Duration<0&&(WzTooltip.tt_iState&2)){WzTooltip.tt_tDurt.Timer("WzTooltip.tt_HideInit()",-WzTooltip.tt_aV.Duration,true)}else{if(!(WzTooltip.tt_aV.Sticky&&(WzTooltip.tt_iState&2))){WzTooltip.tt_HideInit()}}},tt_aElt:new Array(10),tt_aV:{},tt_sContent:null,tt_t2t:null,tt_t2tDad:null,tt_musX:null,tt_musY:null,tt_over:null,tt_x:null,tt_y:null,tt_w:null,tt_h:null,tt_Extension:function(){WzTooltip.tt_ExtCmdEnum();WzTooltip.tt_aExt[WzTooltip.tt_aExt.length]=this;return this},tt_SetTipPos:function(b,d){var c=WzTooltip.tt_aElt[0].style;WzTooltip.tt_x=b;WzTooltip.tt_y=d;c.left=b+"px";c.top=d+"px";if(WzTooltip.tt_ie56){var a=WzTooltip.tt_aElt[WzTooltip.tt_aElt.length-1];if(a){a.style.left=c.left;a.style.top=c.top}}},tt_HideInit:function(){Event.stopObserving(document,"mousemove",WzTooltip.tt_Move);if(WzTooltip.tt_iState){WzTooltip.tt_ExtCallFncs(0,"HideInit");WzTooltip.tt_iState&=~(4|8);if(WzTooltip.tt_flagOpa&&WzTooltip.tt_aV.FadeOut){WzTooltip.tt_tFade.EndTimer();if(WzTooltip.tt_opa){var a=Math.round(WzTooltip.tt_aV.FadeOut/(WzTooltip.tt_aV.FadeInterval*(WzTooltip.tt_aV.Opacity/WzTooltip.tt_opa)));WzTooltip.tt_Fade(WzTooltip.tt_opa,WzTooltip.tt_opa,0,a);return}}WzTooltip.tt_tHide.Timer("WzTooltip.tt_Hide();",1,false)}},tt_Hide:function(){if(WzTooltip.tt_db&&WzTooltip.tt_iState){WzTooltip.tt_OpReHref();if(WzTooltip.tt_iState&2){WzTooltip.tt_aElt[0].style.visibility="hidden";WzTooltip.tt_ExtCallFncs(0,"Hide")}WzTooltip.tt_tShow.EndTimer();WzTooltip.tt_tHide.EndTimer();WzTooltip.tt_tDurt.EndTimer();WzTooltip.tt_tFade.EndTimer();if(!WzTooltip.tt_op&&!WzTooltip.tt_ie){WzTooltip.tt_tWaitMov.EndTimer();WzTooltip.tt_bWait=false}if(WzTooltip.tt_aV.ClickClose||WzTooltip.tt_aV.ClickSticky){WzTooltip.tt_RemEvtFnc(document,"mouseup",WzTooltip.tt_OnLClick)}WzTooltip.tt_ExtCallFncs(0,"Kill");if(WzTooltip.tt_t2t&&!WzTooltip.tt_aV.CopyContent){WzTooltip.tt_UnEl2Tip()}WzTooltip.tt_iState=0;WzTooltip.tt_over=null;WzTooltip.tt_ResetMainDiv();if(WzTooltip.tt_aElt[WzTooltip.tt_aElt.length-1]){WzTooltip.tt_aElt[WzTooltip.tt_aElt.length-1].style.display="none"}if(WzTooltip.Element!=null){try{var a=Element.fire(WzTooltip.Element,"wztooltip:close",WzTooltip.MetaParams);Event.stopObserving(WzTooltip.Element,"wztooltip:close");WzTooltip.Element=null}catch(b){}}}},tt_GetElt:function(a){return(document.getElementById?document.getElementById(a):document.all?document.all[a]:null)},tt_GetDivW:function(a){return Element.getDimensions(a).width},tt_GetDivH:function(a){return(a?(a.offsetHeight||a.style.pixelHeight||0):0)},tt_GetScrollX:function(){return(window.pageXOffset||(WzTooltip.tt_db?(WzTooltip.tt_db.scrollLeft||0):0))},tt_GetScrollY:function(){return(window.pageYOffset||(WzTooltip.tt_db?(WzTooltip.tt_db.scrollTop||0):0))},tt_GetClientW:function(){return WzTooltip.tt_GetWndCliSiz("Width")},tt_GetClientH:function(){return WzTooltip.tt_GetWndCliSiz("Height")},tt_GetEvtX:function(a){return(a?((typeof(a.pageX)!=WzTooltip.tt_u)?a.pageX:(a.clientX+WzTooltip.tt_GetScrollX())):0)},tt_GetEvtY:function(a){return(a?((typeof(a.pageY)!=WzTooltip.tt_u)?a.pageY:(a.clientY+WzTooltip.tt_GetScrollY())):0)},tt_AddEvtFnc:function(b,a,c){if(b){if(b.addEventListener){b.addEventListener(a,c,false)}else{b.attachEvent("on"+a,c)}}},tt_RemEvtFnc:function(b,a,c){if(b){if(b.removeEventListener){b.removeEventListener(a,c,false)}else{b.detachEvent("on"+a,c)}}},tt_GetDad:function(a){return(a.parentNode||a.parentElement||a.offsetParent)},tt_MovDomNode:function(b,a,c){if(a){a.removeChild(b)}if(c){c.appendChild(b)}},tt_aExt:new Array(),tt_db:null,tt_op:null,tt_ie:null,tt_ie56:null,tt_bBoxOld:null,tt_body:null,tt_ovr_:null,tt_flagOpa:null,tt_maxPosX:null,tt_maxPosY:null,tt_iState:0,tt_opa:null,tt_bJmpVert:null,tt_bJmpHorz:null,tt_elDeHref:null,tt_tShow:new Number(0),tt_tHide:new Number(0),tt_tDurt:new Number(0),tt_tFade:new Number(0),tt_tWaitMov:new Number(0),tt_bWait:false,tt_u:"undefined",tt_Init:function(){if(!WzTooltip.tt_Browser()||!WzTooltip.tt_MkMainDiv()){return}WzTooltip.tt_IsW3cBox();WzTooltip.tt_OpaSupport();if(WzTooltip.TagsToTip||WzTooltip.tt_Debug){WzTooltip.tt_SetOnloadFnc()}WzTooltip.tt_AddEvtFnc(window,"unload",WzTooltip.tt_Hide)},tt_Browser:function(){var n,nv,n6,w3c;n=navigator.userAgent.toLowerCase(),nv=navigator.appVersion;WzTooltip.tt_op=(document.defaultView&&typeof(eval("window.opera"))!=WzTooltip.tt_u);WzTooltip.tt_ie=n.indexOf("msie")!=-1&&document.all&&!WzTooltip.tt_op;if(WzTooltip.tt_ie){var ieOld=(!document.compatMode||document.compatMode=="BackCompat");WzTooltip.tt_db=!ieOld?document.documentElement:(document.body||null);if(WzTooltip.tt_db){WzTooltip.tt_ie56=parseFloat(nv.substring(nv.indexOf("MSIE")+5))>=5.5&&typeof document.body.style.maxHeight==WzTooltip.tt_u}}else{WzTooltip.tt_db=document.documentElement||document.body||(document.getElementsByTagName?document.getElementsByTagName("body")[0]:null);if(!WzTooltip.tt_op){n6=document.defaultView&&typeof document.defaultView.getComputedStyle!=WzTooltip.tt_u;w3c=!n6&&document.getElementById}}WzTooltip.tt_body=(document.getElementsByTagName?document.getElementsByTagName("body")[0]:(document.body||null));if(WzTooltip.tt_ie||n6||WzTooltip.tt_op||w3c){if(WzTooltip.tt_body&&WzTooltip.tt_db){if(document.attachEvent||document.addEventListener){return true}}else{WzTooltip.tt_Err("wz_tooltip.js must be included INSIDE the body section, immediately after the opening <body> tag.",false)}}WzTooltip.tt_db=null;return false},tt_MkMainDiv:function(){if(WzTooltip.tt_body.insertAdjacentHTML){WzTooltip.tt_body.insertAdjacentHTML("afterBegin",WzTooltip.tt_MkMainDivHtm())}else{if(typeof WzTooltip.tt_body.innerHTML!=WzTooltip.tt_u&&document.createElement&&WzTooltip.tt_body.appendChild){WzTooltip.tt_body.appendChild(WzTooltip.tt_MkMainDivDom())}}if(WzTooltip.tt_GetMainDivRefs()){return true}WzTooltip.tt_db=null;return false},tt_MkMainDivHtm:function(){return('<div id="WzTtDiV"></div>'+(WzTooltip.tt_ie56?('<iframe id="WzTtIfRm" src="javascript:false" scrolling="no" frameborder="0" style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:none;"></iframe>'):""))},tt_MkMainDivDom:function(){var a=document.createElement("div");if(a){a.id="WzTtDiV"}return a},tt_GetMainDivRefs:function(){WzTooltip.tt_aElt[0]=WzTooltip.tt_GetElt("WzTtDiV");if(WzTooltip.tt_ie56&&WzTooltip.tt_aElt[0]){WzTooltip.tt_aElt[WzTooltip.tt_aElt.length-1]=WzTooltip.tt_GetElt("WzTtIfRm");if(!WzTooltip.tt_aElt[WzTooltip.tt_aElt.length-1]){WzTooltip.tt_aElt[0]=null}}if(WzTooltip.tt_aElt[0]){var a=WzTooltip.tt_aElt[0].style;a.visibility="hidden";a.position="absolute";a.overflow="hidden";return true}return false},tt_ResetMainDiv:function(){WzTooltip.tt_SetTipPos(0,0);WzTooltip.tt_aElt[0].innerHTML="";WzTooltip.tt_aElt[0].style.width="0px";WzTooltip.tt_h=0},tt_IsW3cBox:function(){var a=WzTooltip.tt_aElt[0].style;a.padding="10px";a.width="40px";WzTooltip.tt_bBoxOld=(WzTooltip.tt_GetDivW(WzTooltip.tt_aElt[0])==40);a.padding="0px";WzTooltip.tt_ResetMainDiv()},tt_OpaSupport:function(){var a=WzTooltip.tt_body.style;WzTooltip.tt_flagOpa=(typeof(a.KhtmlOpacity)!=WzTooltip.tt_u)?2:(typeof(a.KHTMLOpacity)!=WzTooltip.tt_u)?3:(typeof(a.MozOpacity)!=WzTooltip.tt_u)?4:(typeof(a.opacity)!=WzTooltip.tt_u)?5:(typeof(a.filter)!=WzTooltip.tt_u)?1:0},tt_SetOnloadFnc:function(){WzTooltip.tt_AddEvtFnc(document,"DOMContentLoaded",WzTooltip.tt_HideSrcTags);WzTooltip.tt_AddEvtFnc(window,"load",WzTooltip.tt_HideSrcTags);if(WzTooltip.tt_body.attachEvent){WzTooltip.tt_body.attachEvent("onreadystatechange",function(){if(WzTooltip.tt_body.readyState=="complete"){WzTooltip.tt_HideSrcTags()}})}if(/WebKit|KHTML/i.test(navigator.userAgent)){var a=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(a);WzTooltip.tt_HideSrcTags()}},10)}},tt_HideSrcTags:function(){if(!window.tt_HideSrcTags||window.tt_HideSrcTags.done){return}window.tt_HideSrcTags.done=true;if(!WzTooltip.tt_HideSrcTagsRecurs(WzTooltip.tt_body)){WzTooltip.tt_Err("There are HTML elements to be converted to tooltips.\nIf you want these HTML elements to be automatically hidden, you must edit wz_tooltip.js, and set TagsToTip in the global tooltip configuration to true.",true)}},tt_HideSrcTagsRecurs:function(c){var f,e;var b=c.childNodes||c.children||null;for(var d=b?b.length:0;d;){--d;if(!WzTooltip.tt_HideSrcTagsRecurs(b[d])){return false}f=b[d].getAttribute?(b[d].getAttribute("onmouseover")||b[d].getAttribute("onclick")):(typeof b[d].onmouseover=="function")?(b[d].onmouseover||b[d].onclick):null;if(f){e=f.toString().match(/TagToTip\s*\(\s*'[^'.]+'\s*[\),]/);if(e&&e.length){if(!WzTooltip.tt_HideSrcTag(e[0])){return false}}}}return true},tt_HideSrcTag:function(b){var c,a;c=b.replace(/.+'([^'.]+)'.+/,"$1");a=WzTooltip.tt_GetElt(c);if(a){if(WzTooltip.tt_Debug&&!TagsToTip){return false}else{a.style.display="none"}}else{WzTooltip.tt_Err("Invalid ID\n'"+c+"'\npassed to TagToTip(). There exists no HTML element with that ID.",true)}return true},tt_Tip:function(a,b){WzTooltip.UnTip();if(!WzTooltip.tt_db||(WzTooltip.tt_iState&8)){return}if(WzTooltip.tt_iState){WzTooltip.tt_Hide()}if(!WzTooltip.tt_Enabled){return}WzTooltip.tt_t2t=b;WzTooltip.tt_ReadCmds(a);if(WzTooltip.tt_aV.Fix==null){Event.observe(document,"mousemove",WzTooltip.tt_Move)}WzTooltip.tt_iState=1|4;WzTooltip.tt_AdaptConfig1();WzTooltip.tt_MkTipContent(a);WzTooltip.tt_MkTipSubDivs();WzTooltip.tt_FormatTip();WzTooltip.tt_bJmpVert=false;WzTooltip.tt_bJmpHorz=false;WzTooltip.tt_maxPosX=WzTooltip.tt_GetClientW()+WzTooltip.tt_GetScrollX()-WzTooltip.tt_w-1;WzTooltip.tt_maxPosY=WzTooltip.tt_GetClientH()+WzTooltip.tt_GetScrollY()-WzTooltip.tt_h-1;WzTooltip.tt_AdaptConfig2();WzTooltip.tt_OverInit();WzTooltip.tt_ShowInit();var d=$(WzTooltip.tt_aElt[6]).down();if(WzTooltip.tt_aV.needsResize!=null&&WzTooltip.tt_aV.needsResize(d)){WzTooltip.tt_FormatTip();WzTooltip.tt_ShowInit()}WzTooltip.tt_Move();WzTooltip.Element=$("WzBoDy");if(a[1].OnClose!=null&&WzTooltip.Element!=null){Event.observe(WzTooltip.Element,"wztooltip:close",a[1].OnClose)}var c=Element.fire(WzTooltip.Element,"wztooltip:show")},tt_ReadCmds:function(b){for(var c in WzTooltip.config){WzTooltip.tt_aV[c]=WzTooltip.config[c]}for(var c in b[1]){WzTooltip.tt_aV[c]=b[1][c]}if(globalVariables.browser.isIE&&globalVariables.browser.ver<8){WzTooltip.tt_aV.FadeIn=false;WzTooltip.tt_aV.FadeOut=false;WzTooltip.tt_aV.Delay=false}if(WzTooltip.tt_aV.ClassName.length>0){WzTooltip.tt_aElt[0].className=WzTooltip.tt_aV.ClassName}else{WzTooltip.tt_aElt[0].className=null}},tt_AdaptConfig1:function(){WzTooltip.tt_ExtCallFncs(0,"LoadConfig");if(!WzTooltip.tt_aV.TitleBgColor.length){WzTooltip.tt_aV.TitleBgColor=WzTooltip.tt_aV.BorderColor}if(!WzTooltip.tt_aV.TitleFontColor.length){WzTooltip.tt_aV.TitleFontColor=WzTooltip.tt_aV.BgColor}if(!WzTooltip.tt_aV.TitleFontFace.length){WzTooltip.tt_aV.TitleFontFace=WzTooltip.tt_aV.FontFace}if(!WzTooltip.tt_aV.TitleFontSize.length){WzTooltip.tt_aV.TitleFontSize=WzTooltip.tt_aV.FontSize}if(WzTooltip.tt_aV.CloseBtn){if(!WzTooltip.tt_aV.CloseBtnColors){WzTooltip.tt_aV.CloseBtnColors=new Array("","","","")}for(var a=4;a;){--a;if(!WzTooltip.tt_aV.CloseBtnColors[a].length){WzTooltip.tt_aV.CloseBtnColors[a]=(a&1)?WzTooltip.tt_aV.TitleFontColor:WzTooltip.tt_aV.TitleBgColor}}if(!WzTooltip.tt_aV.Title.length){WzTooltip.tt_aV.Title=" "}}if(WzTooltip.tt_aV.Opacity==100&&typeof WzTooltip.tt_aElt[0].style.MozOpacity!=WzTooltip.tt_u&&!Array.every){WzTooltip.tt_aV.Opacity=99}if(WzTooltip.tt_aV.FadeIn&&WzTooltip.tt_flagOpa&&WzTooltip.tt_aV.Delay>100){WzTooltip.tt_aV.Delay=Math.max(WzTooltip.tt_aV.Delay-WzTooltip.tt_aV.FadeIn,100)}},tt_AdaptConfig2:function(){if(WzTooltip.tt_aV.CenterMouse){WzTooltip.tt_aV.OffsetX-=((WzTooltip.tt_w-(WzTooltip.tt_aV.Shadow?WzTooltip.tt_aV.ShadowWidth:0))>>1);WzTooltip.tt_aV.JumpHorz=false}},tt_MkTipContent:function(b){if(WzTooltip.tt_t2t){if(WzTooltip.tt_aV.CopyContent){WzTooltip.tt_sContent=WzTooltip.tt_t2t.innerHTML}else{WzTooltip.tt_sContent=""}}else{WzTooltip.tt_sContent=b[0]}WzTooltip.tt_ExtCallFncs(0,"CreateContentString")},tt_MkTipSubDivs:function(){var b="position:relative;margin:0px;padding:0px;border-width:0px;left:0px;top:0px;line-height:normal;width:auto;",a=' cellspacing="0" cellpadding="0" border="0" style="'+b+'"><tbody style="'+b+'"><tr><td ';WzTooltip.tt_aElt[0].style.width=WzTooltip.tt_GetClientW()+"px";WzTooltip.tt_aElt[0].innerHTML=(""+(WzTooltip.tt_aV.Title.length&&!WzTooltip.tt_aV.Balloon?('<div id="WzTiTl" style="position:relative;z-index:1;"><table id="WzTiTlTb"'+a+'id="WzTiTlI" style="'+b+'">'+WzTooltip.tt_aV.Title+"</td>"+(WzTooltip.tt_aV.CloseBtn?('<td align="right" style="'+b+'text-align:right;"><span id="WzClOsE" style="position:relative;left:2px;padding-left:2px;padding-right:2px;cursor:'+(WzTooltip.tt_ie?"hand":"pointer")+';" onmouseover="WzTooltip.tt_OnCloseBtnOver(1)" onmouseout="WzTooltip.tt_OnCloseBtnOver(0)" onclick="WzTooltip.tt_HideInit()">'+WzTooltip.tt_aV.CloseBtnText+"</span></td>"):"")+"</tr></tbody></table></div>"):"")+'<div id="WzBoDy" style="position:relative;z-index:0;"><table'+a+'id="WzBoDyI" style="'+b+'">'+WzTooltip.tt_sContent+"</td></tr></tbody></table></div>"+(WzTooltip.tt_aV.Shadow?('<div id="WzTtShDwR" style="position:absolute;overflow:hidden;"></div><div id="WzTtShDwB" style="position:relative;overflow:hidden;"></div>'):""));WzTooltip.tt_GetSubDivRefs();if(WzTooltip.tt_t2t&&!WzTooltip.tt_aV.CopyContent){WzTooltip.tt_El2Tip()}WzTooltip.tt_ExtCallFncs(0,"SubDivsCreated")},tt_GetSubDivRefs:function(){var b=new Array("WzTiTl","WzTiTlTb","WzTiTlI","WzClOsE","WzBoDy","WzBoDyI","WzTtShDwB","WzTtShDwR");for(var a=b.length;a;--a){WzTooltip.tt_aElt[a]=WzTooltip.tt_GetElt(b[a-1])}},tt_FormatTip:function(){var f,j,e,b=WzTooltip.tt_aV.Padding,d,c=WzTooltip.tt_aV.BorderWidth,a,g,i=(b+c)<<1;if(WzTooltip.tt_aV.Title.length&&!WzTooltip.tt_aV.Balloon){d=WzTooltip.tt_aV.TitlePadding;f=WzTooltip.tt_aElt[1].style;f.background=WzTooltip.tt_aV.TitleBgColor;f.paddingTop=f.paddingBottom=d+"px";f.paddingLeft=f.paddingRight=(d+2)+"px";f=WzTooltip.tt_aElt[3].style;f.color=WzTooltip.tt_aV.TitleFontColor;if(WzTooltip.tt_aV.Width==-1){f.whiteSpace="nowrap"}f.fontFamily=WzTooltip.tt_aV.TitleFontFace;f.fontSize=WzTooltip.tt_aV.TitleFontSize;f.fontWeight="bold";f.textAlign=WzTooltip.tt_aV.TitleAlign;if(WzTooltip.tt_aElt[4]){f=WzTooltip.tt_aElt[4].style;f.background=WzTooltip.tt_aV.CloseBtnColors[0];f.color=WzTooltip.tt_aV.CloseBtnColors[1];f.fontFamily=WzTooltip.tt_aV.TitleFontFace;f.fontSize=WzTooltip.tt_aV.TitleFontSize;f.fontWeight="bold"}if(WzTooltip.tt_aV.Width>0){WzTooltip.tt_w=WzTooltip.tt_aV.Width}else{WzTooltip.tt_w=WzTooltip.tt_GetDivW(WzTooltip.tt_aElt[3])+WzTooltip.tt_GetDivW(WzTooltip.tt_aElt[4]);if(WzTooltip.tt_aElt[4]){WzTooltip.tt_w+=b}if(WzTooltip.tt_aV.Width<-1&&WzTooltip.tt_w>-WzTooltip.tt_aV.Width){WzTooltip.tt_w=-WzTooltip.tt_aV.Width}}a=-c}else{WzTooltip.tt_w=0;a=0}f=WzTooltip.tt_aElt[5].style;f.top=a+"px";if(c){f.borderColor=WzTooltip.tt_aV.BorderColor;f.borderStyle=WzTooltip.tt_aV.BorderStyle;f.borderWidth=c+"px"}if(WzTooltip.tt_aV.BgColor.length){f.background=WzTooltip.tt_aV.BgColor}if(WzTooltip.tt_aV.BgImg.length){f.backgroundImage="url("+WzTooltip.tt_aV.BgImg+")"}f.padding=b+"px";f.textAlign=WzTooltip.tt_aV.TextAlign;if(WzTooltip.tt_aV.Height){f.overflow="auto";if(WzTooltip.tt_aV.Height>0){f.height=(WzTooltip.tt_aV.Height+i)+"px"}else{WzTooltip.tt_h=i-WzTooltip.tt_aV.Height}}f=WzTooltip.tt_aElt[6].style;f.fontFamily=WzTooltip.tt_aV.FontFace;f.fontSize=WzTooltip.tt_aV.FontSize;f.fontWeight=WzTooltip.tt_aV.FontWeight;f.textAlign=WzTooltip.tt_aV.TextAlign;if(WzTooltip.tt_aV.Width>0){j=WzTooltip.tt_aV.Width}else{if(WzTooltip.tt_aV.Width==-1&&WzTooltip.tt_w){j=WzTooltip.tt_w}else{j=WzTooltip.tt_GetDivW(WzTooltip.tt_aElt[6]);if(WzTooltip.tt_aV.Width<-1&&j>-WzTooltip.tt_aV.Width){j=-WzTooltip.tt_aV.Width}}}if(j>WzTooltip.tt_w){WzTooltip.tt_w=j}WzTooltip.tt_w+=i;if(WzTooltip.tt_aV.Shadow){WzTooltip.tt_w+=WzTooltip.tt_aV.ShadowWidth;g=Math.floor((WzTooltip.tt_aV.ShadowWidth*4)/3);f=WzTooltip.tt_aElt[7].style;f.top=a+"px";f.left=g+"px";f.width=(WzTooltip.tt_w-g-WzTooltip.tt_aV.ShadowWidth)+"px";f.height=WzTooltip.tt_aV.ShadowWidth+"px";f.background=WzTooltip.tt_aV.ShadowColor;f=WzTooltip.tt_aElt[8].style;f.top=g+"px";f.left=(WzTooltip.tt_w-WzTooltip.tt_aV.ShadowWidth)+"px";f.width=WzTooltip.tt_aV.ShadowWidth+"px";f.background=WzTooltip.tt_aV.ShadowColor}else{g=0}WzTooltip.tt_SetTipOpa(WzTooltip.tt_aV.FadeIn?0:WzTooltip.tt_aV.Opacity);WzTooltip.tt_FixSize(a,g)},tt_FixSize:function(a,g){var j,d,f,k,b=WzTooltip.tt_aV.Padding,c=WzTooltip.tt_aV.BorderWidth,e;WzTooltip.tt_aElt[0].style.width=WzTooltip.tt_w+"px";WzTooltip.tt_aElt[0].style.pixelWidth=WzTooltip.tt_w;d=WzTooltip.tt_w-((WzTooltip.tt_aV.Shadow)?WzTooltip.tt_aV.ShadowWidth:0);j=d;if(!WzTooltip.tt_bBoxOld){j-=(b+c)<<1}WzTooltip.tt_aElt[5].style.width=j+"px";if(WzTooltip.tt_aElt[1]){j=d-((WzTooltip.tt_aV.TitlePadding+2)<<1);if(!WzTooltip.tt_bBoxOld){d=j}WzTooltip.tt_aElt[1].style.width=d+"px";WzTooltip.tt_aElt[2].style.width=j+"px"}if(WzTooltip.tt_h){f=WzTooltip.tt_GetDivH(WzTooltip.tt_aElt[5]);if(f>WzTooltip.tt_h){if(!WzTooltip.tt_bBoxOld){WzTooltip.tt_h-=(b+c)<<1}WzTooltip.tt_aElt[5].style.height=WzTooltip.tt_h+"px"}}WzTooltip.tt_h=WzTooltip.tt_GetDivH(WzTooltip.tt_aElt[0])+a;if(WzTooltip.tt_aElt[8]){WzTooltip.tt_aElt[8].style.height=(WzTooltip.tt_h-g)+"px"}e=WzTooltip.tt_aElt.length-1;if(WzTooltip.tt_aElt[e]){WzTooltip.tt_aElt[e].style.width=WzTooltip.tt_w+"px";WzTooltip.tt_aElt[e].style.height=WzTooltip.tt_h+"px"}},tt_DeAlt:function(c){var a;if(c){if(c.alt){c.alt=""}if(c.title){c.title=""}a=c.childNodes||c.children||null;if(a){for(var b=a.length;b;){WzTooltip.tt_DeAlt(a[--b])}}}},tt_OpDeHref:function(a){if(!WzTooltip.tt_op){return}if(WzTooltip.tt_elDeHref){WzTooltip.tt_OpReHref()}while(a){if(a.hasAttribute&&a.hasAttribute("href")){a.t_href=a.getAttribute("href");a.t_stats=window.status;a.removeAttribute("href");a.style.cursor="hand";WzTooltip.tt_AddEvtFnc(a,"mousedown",WzTooltip.tt_OpReHref);window.status=a.t_href;WzTooltip.tt_elDeHref=a;break}a=WzTooltip.tt_GetDad(a)}},tt_OpReHref:function(){if(WzTooltip.tt_elDeHref){WzTooltip.tt_elDeHref.setAttribute("href",WzTooltip.tt_elDeHref.t_href);WzTooltip.tt_RemEvtFnc(WzTooltip.tt_elDeHref,"mousedown",WzTooltip.tt_OpReHref);window.status=WzTooltip.tt_elDeHref.t_stats;WzTooltip.tt_elDeHref=null}},tt_El2Tip:function(){var a=WzTooltip.tt_t2t.style;WzTooltip.tt_t2t.t_cp=a.position;WzTooltip.tt_t2t.t_cl=a.left;WzTooltip.tt_t2t.t_ct=a.top;WzTooltip.tt_t2t.t_cd=a.display;WzTooltip.tt_t2tDad=WzTooltip.tt_GetDad(WzTooltip.tt_t2t);WzTooltip.tt_MovDomNode(WzTooltip.tt_t2t,WzTooltip.tt_t2tDad,WzTooltip.tt_aElt[6]);a.display="block";a.position="static";a.left=a.top=a.marginLeft=a.marginTop="0px"},tt_UnEl2Tip:function(){var a=WzTooltip.tt_t2t.style;a.display=WzTooltip.tt_t2t.t_cd;WzTooltip.tt_MovDomNode(WzTooltip.tt_t2t,WzTooltip.tt_GetDad(WzTooltip.tt_t2t),WzTooltip.tt_t2tDad);a.position=WzTooltip.tt_t2t.t_cp;a.left=WzTooltip.tt_t2t.t_cl;a.top=WzTooltip.tt_t2t.t_ct;WzTooltip.tt_t2tDad=null},tt_OverInit:function(){if(window.event){WzTooltip.tt_over=window.event.target||window.event.srcElement}else{WzTooltip.tt_over=WzTooltip.tt_ovr_}WzTooltip.tt_DeAlt(WzTooltip.tt_over);WzTooltip.tt_OpDeHref(WzTooltip.tt_over)},tt_ShowInit:function(){WzTooltip.tt_tShow.Timer("WzTooltip.tt_Show()",WzTooltip.tt_aV.Delay,true);if(WzTooltip.tt_aV.ClickClose||WzTooltip.tt_aV.ClickSticky){WzTooltip.tt_AddEvtFnc(document,"mouseup",WzTooltip.tt_OnLClick)}},tt_Show:function(){var a=WzTooltip.tt_aElt[0].style;a.zIndex=Math.max((window.dd&&dd.z)?(dd.z+2):0,1010);if(WzTooltip.tt_aV.Sticky||!WzTooltip.tt_aV.FollowMouse){WzTooltip.tt_iState&=~4}if(WzTooltip.tt_aV.Exclusive){WzTooltip.tt_iState|=8}if(WzTooltip.tt_aV.Duration>0){WzTooltip.tt_tDurt.Timer("WzTooltip.tt_HideInit()",WzTooltip.tt_aV.Duration,true)}WzTooltip.tt_ExtCallFncs(0,"Show");a.visibility="visible";WzTooltip.tt_iState|=2;if(WzTooltip.tt_aV.FadeIn){WzTooltip.tt_Fade(0,0,WzTooltip.tt_aV.Opacity,Math.round(WzTooltip.tt_aV.FadeIn/WzTooltip.tt_aV.FadeInterval))}WzTooltip.tt_ShowIfrm()},tt_ShowIfrm:function(){if(WzTooltip.tt_ie56){var a=WzTooltip.tt_aElt[WzTooltip.tt_aElt.length-1];if(a){var b=a.style;b.zIndex=WzTooltip.tt_aElt[0].style.zIndex-1;b.display="block"}}},tt_Move:function(a){if(a){WzTooltip.tt_ovr_=a.target||a.srcElement}a=a||window.event;if(a){WzTooltip.tt_musX=WzTooltip.tt_GetEvtX(a);WzTooltip.tt_musY=WzTooltip.tt_GetEvtY(a)}if(WzTooltip.tt_iState&4){if(!WzTooltip.tt_op&&!WzTooltip.tt_ie){if(WzTooltip.tt_bWait){return}WzTooltip.tt_bWait=true;WzTooltip.tt_tWaitMov.Timer("WzTooltip.tt_bWait = false;",1,true)}if(WzTooltip.tt_aV.Fix){WzTooltip.tt_iState&=~4;WzTooltip.tt_PosFix()}else{if(!WzTooltip.tt_ExtCallFncs(a,"MoveBefore")){WzTooltip.tt_SetTipPos(WzTooltip.tt_Pos(0),WzTooltip.tt_Pos(1))}}WzTooltip.tt_ExtCallFncs([WzTooltip.tt_musX,WzTooltip.tt_musY],"MoveAfter")}},tt_Pos:function(b){var h,j,c,a,d,f,e,g,i;if(b){j=WzTooltip.tt_aV.JumpVert;c=WzTooltip.tt_aV.Above;a=WzTooltip.tt_aV.OffsetY;d=WzTooltip.tt_h;f=WzTooltip.tt_maxPosY;e=WzTooltip.tt_GetScrollY();g=WzTooltip.tt_musY;i=WzTooltip.tt_bJmpVert}else{j=WzTooltip.tt_aV.JumpHorz;c=WzTooltip.tt_aV.Left;a=WzTooltip.tt_aV.OffsetX;d=WzTooltip.tt_w;f=WzTooltip.tt_maxPosX;e=WzTooltip.tt_GetScrollX();g=WzTooltip.tt_musX;i=WzTooltip.tt_bJmpHorz}if(j){if(c&&(!i||WzTooltip.tt_CalcPosAlt(b)>=e+16)){h=WzTooltip.tt_PosAlt(b)}else{if(!c&&i&&WzTooltip.tt_CalcPosDef(b)>f-16){h=WzTooltip.tt_PosAlt(b)}else{h=WzTooltip.tt_PosDef(b)}}}else{h=g;if(c){h-=d+a-(WzTooltip.tt_aV.Shadow?WzTooltip.tt_aV.ShadowWidth:0)}else{h+=a}}if(h>f){h=j?WzTooltip.tt_PosAlt(b):f}if(h<e){h=j?WzTooltip.tt_PosDef(b):e}return h},tt_PosDef:function(a){if(a){WzTooltip.tt_bJmpVert=WzTooltip.tt_aV.Above}else{WzTooltip.tt_bJmpHorz=WzTooltip.tt_aV.Left}return WzTooltip.tt_CalcPosDef(a)},tt_PosAlt:function(a){if(a){WzTooltip.tt_bJmpVert=!WzTooltip.tt_aV.Above}else{WzTooltip.tt_bJmpHorz=!WzTooltip.tt_aV.Left}return WzTooltip.tt_CalcPosAlt(a)},tt_CalcPosDef:function(a){return a?(WzTooltip.tt_musY+WzTooltip.tt_aV.OffsetY):(WzTooltip.tt_musX+WzTooltip.tt_aV.OffsetX)},tt_CalcPosAlt:function(b){var c=b?WzTooltip.tt_aV.OffsetY:WzTooltip.tt_aV.OffsetX;var a=c-(WzTooltip.tt_aV.Shadow?WzTooltip.tt_aV.ShadowWidth:0);if(c>0&&a<=0){a=1}return((b?(WzTooltip.tt_musY-WzTooltip.tt_h):(WzTooltip.tt_musX-WzTooltip.tt_w))-a)},tt_PosFix:function(){var a,f,e;if(!Object.isArray(WzTooltip.tt_aV.Fix)){WzTooltip.tt_aV.Fix=[WzTooltip.tt_aV.Fix,0,0]}if(typeof(WzTooltip.tt_aV.Fix[0])=="number"){a=WzTooltip.tt_aV.Fix[0];f=WzTooltip.tt_aV.Fix[1]}else{if(typeof(WzTooltip.tt_aV.Fix[0])=="string"){el=WzTooltip.tt_GetElt(WzTooltip.tt_aV.Fix[0])}else{el=WzTooltip.tt_aV.Fix[0]}a=WzTooltip.tt_aV.Fix[1];f=WzTooltip.tt_aV.Fix[2];if(!WzTooltip.tt_aV.Above&&el){f+=WzTooltip.tt_GetDivH(el)}e=el;a+=Element.viewportOffset(el).left+document.viewport.getScrollOffsets().left||0;f+=Element.viewportOffset(el).top+document.viewport.getScrollOffsets().top||0}if(WzTooltip.tt_aV.Above){f-=WzTooltip.tt_h}var d=WzTooltip.tt_GetScrollX();window.scrollTo(d,WzTooltip.tt_GetScrollY());var b=document.viewport.getWidth();if(a+WzTooltip.tt_w>b-20){WzTooltip.tt_bJmpHorz=true;WzTooltip.tt_aV.ShiftHorz=WzTooltip.tt_aV.ShiftHorz+b-(a+WzTooltip.tt_w+20);a=a+WzTooltip.tt_aV.ShiftHorz}var c=WzTooltip.tt_GetScrollY();window.scrollTo(d,c);if(f<c){WzTooltip.tt_bJmpVert=true;f=f+WzTooltip.tt_h+e.getHeight()}WzTooltip.tt_SetTipPos(a,f)},tt_Fade:function(b,c,d,e){if(e){c+=Math.round((d-c)/e);if((d>b)?(c>=d):(c<=d)){c=d}else{WzTooltip.tt_tFade.Timer("WzTooltip.tt_Fade("+b+","+c+","+d+","+(e-1)+")",WzTooltip.tt_aV.FadeInterval,true)}}c?WzTooltip.tt_SetTipOpa(c):WzTooltip.tt_Hide()},tt_SetTipOpa:function(a){WzTooltip.tt_SetOpa(WzTooltip.tt_aElt[5],a);if(WzTooltip.tt_aElt[1]){WzTooltip.tt_SetOpa(WzTooltip.tt_aElt[1],a)}if(WzTooltip.tt_aV.Shadow){a=Math.round(a*0.8);WzTooltip.tt_SetOpa(WzTooltip.tt_aElt[7],a);WzTooltip.tt_SetOpa(WzTooltip.tt_aElt[8],a)}},tt_OnCloseBtnOver:function(b){var a=WzTooltip.tt_aElt[4].style;b<<=1;a.background=WzTooltip.tt_aV.CloseBtnColors[b];a.color=WzTooltip.tt_aV.CloseBtnColors[b+1]},tt_OnLClick:function(a){a=a||window.event;if(!((a.button&&a.button&2)||(a.which&&a.which==3))){if(WzTooltip.tt_aV.ClickSticky&&(WzTooltip.tt_iState&4)){WzTooltip.tt_aV.Sticky=true;WzTooltip.tt_iState&=~4}else{if(WzTooltip.tt_aV.ClickClose){WzTooltip.tt_HideInit()}}}},tt_Int:function(a){var b;return(isNaN(b=parseInt(a))?0:b)},tt_GetWndCliSiz:function(c){var a,f=window["inner"+c],e="client"+c,d="number";if(typeof f==d){var b;return(((a=document.body)&&typeof(b=a[e])==d&&b&&b<=f)?b:((a=document.documentElement)&&typeof(b=a[e])==d&&b&&b<=f)?b:f)}return(((a=document.documentElement)&&(f=a[e]))?f:document.body[e])},tt_SetOpa:function(c,a){var b=c.style;WzTooltip.tt_opa=a;if(WzTooltip.tt_flagOpa==1){if(a<100){if(typeof(c.filtNo)==WzTooltip.tt_u){c.filtNo=b.filter}var d=b.visibility!="hidden";b.zoom="100%";if(!d){b.visibility="visible"}b.filter="alpha(opacity="+a+")";if(!d){b.visibility="hidden"}}else{if(typeof(c.filtNo)!=WzTooltip.tt_u){b.filter=c.filtNo}}}else{a/=100;switch(WzTooltip.tt_flagOpa){case 2:b.KhtmlOpacity=a;break;case 3:b.KHTMLOpacity=a;break;case 4:b.MozOpacity=a;break;case 5:b.opacity=a;break}}},tt_Err:function(b,a){if((WzTooltip.tt_Debug||!a)&&!WzTooltip.shutUp){alert("Tooltip Script Error Message:\n\n"+b)}},tt_ExtCmdEnum:function(){},tt_ExtCallFncs:function(c,d){var a=false;for(var e=WzTooltip.tt_aExt.length;e;){--e;var f=WzTooltip.tt_aExt[e]["On"+d];if(f&&f(c)){a=true}}return a}};Number.prototype.Timer=function(c,b,a){if(!this.value||a){this.value=window.setTimeout(c,b)}};Number.prototype.EndTimer=function(){if(this.value){window.clearTimeout(this.value);this.value=0}};WzTooltip.tt_Init();
