
var x=0;var y=0;var is_moz5=((navigator.userAgent.indexOf("Gecko")!=1)&&(parseInt(navigator.appVersion)>=5));var helpLabelList=new Array();function mouseMove(e){if(is_nav){x=e.pageX;y=e.pageY;}
if(is_ie){x=event.x;y=event.y;}
if(is_ie5up){x=event.x+document.body.scrollLeft;y=event.y+document.body.scrollTop;}}
if(is_ie)var help=helpLayer.style;if(is_nav4)var help=document.helpLayer;if(is_nav6up||is_moz5)var help=document.getElementById("helpLayer").style;document.onmousemove=mouseMove;if(is_nav)document.captureEvents(Event.MOUSEMOVE);function HelpLabel(content){this.content=unescape(content);this.stick=false;this.visible=false;this.over=false;this.draw=helpLabelDraw;this.show=helpLabelShow;this.hide=helpLabelHide;this.moveTo=helpLabelMoveTo;this.id=helpLabelList.length;helpLabelList[helpLabelList.length]=this;return this;}
function helpLabelDraw(content,portal)
{var img;if(portal){img="/ics/support/images/help.gif";}
else{img="/ics/images/common/help.gif";}
document.write(helpLabelHTML(content,img));}
function helpLabelHTML(content,img)
{var temp=new HelpLabel(content);return"<a href=\"#\" onclick=\"helpLabelList["+temp.id+"].show(true);\" onmouseover=\"helpLabelList["+temp.id+"].show();return false;\" onmouseout=\"helpLabelList["+temp.id+"].hide();return false;\"><img border=0 src=\""+img+"\"></a>";}
function helpLabelShow(stick){if(stick)this.stick=true;this.over=true;this.moveTo(x+10,y);if((!this.visible)||(this.stick))
{var closeLink="";var helpPopup=null;if(document.getElementById){helpPopup=document.getElementById("helpLayer");}
if(this.stick)closeLink="<div align=right><a align=right href=javascript:helpLabelList["+this.id+"].hide(true);><img src=/ics/images/common/iCloseSmall.gif border=0 width=10 height=10></a></div>";var text="<TABLE WIDTH=200 BORDER=0 CELLPADDING=5 CELLSPACING=1 BGCOLOR=#000000><TR><TD BGCOLOR=#FFFFE1 STYLE=\"font-family:tahoma;font-size:11px;\">"+this.content+closeLink+"</td></TR></TABLE>";if(helpPopup){helpPopup.innerHTML=text;helpPopup.style.visibility="visible";}else if(is_nav4){text="<TABLE WIDTH=200 BORDER=1 CELLPADDING=5 CELLSPACING=0 BGCOLOR=#FFFFE1><TR><TD><font face=Tahoma,Arial size=2>"+this.content+"</font>"+closeLink+"</td></TR></TABLE>";help.document.write(text);help.document.close();help.style.visibility="show";}
this.visible=true;for(var i=0;i<helpLabelList.length;i++){if(i!=this.id){helpLabelList[i].visible=false;helpLabelList[i].stick=false;}}}}
function helpLabelHide(forceClose){this.over=false;if((!this.stick)||(forceClose)){if(forceClose)hideLayer(this.id);else setTimeout("hideLayer("+this.id+")",500);}}
function hideLayer(id){if((helpLabelList[id].visible)&&(!helpLabelList[id].over)){if(is_nav4)help.visibility="hide";else if((is_ie)||(is_nav6up))help.visibility="hidden";else if(is_moz5)document.getElementById("helpLayer").innerHTML="";helpLabelList[id].visible=false;helpLabelList[id].stick=false;}}
function helpLabelMoveTo(xL,yL){help.left=xL+"px";help.top=yL+"px";}