
var H_URL_BASE='',H_TOPIC='',H_KEY='',L_H_TEXT='',H_FILTER='',H_BRAND='',bSearch=false;var H_CONFIG='',L_H_APP='',L_CONTACTUS_URL='';var H_BURL='helppane.htm',H_TARG='',H_VER='2.6';var h_win,H_OTHER='',bResize=true,bOptNoResize=false;function DoHelp(iNm){var sQP,W,H,sWD,sc=window.screen.width,bIE4PC;var agent=window.navigator.userAgent.toLowerCase();var app=window.navigator.appName.toLowerCase();var agent_isMac=(agent.indexOf('mac')>-1);var agent_isIE=(agent.indexOf("msie")>-1&&parseInt(window.navigator.appVersion.substring(0,1))>=4);var agent_isMSN=false,vi=agent.indexOf('msn '),agent_isMacMSN=false;if(vi>-1){agent_isMSN=agent.substring(vi+4);agent_isMSN=parseFloat(agent_isMSN.substring(0,agent_isMSN.indexOf(";")));agent_isMSN=(agent_isMSN!=NaN&&agent_isMSN>=6);}
agent_isMacMSN=agent.indexOf('ppc mac os x')>-1&&agent.indexOf('msn explorer')>-1;sQP=(H_BURL.indexOf("?")>-1)?"&":"?";sQP+='H_VER='+H_VER;sQP+='&INI='+H_CONFIG;if(agent_isMSN&&!agent_isMacMSN){sQP+='&H_APP='+encodeURIComponent(L_H_APP);sQP+=(bSearch)?'&SEARCHTERM='+escape(H_KEY)+'&S_TEXT='+encodeURIComponent(L_H_TEXT):'&TOPIC='+H_TOPIC;}else{sQP+='&H_APP='+escape(L_H_APP);sQP+=(bSearch)?'&SEARCHTERM='+escape(H_KEY)+'&S_TEXT='+escape(L_H_TEXT):'&TOPIC='+H_TOPIC;}
if(H_BRAND!==''){sQP+='&BrandID='+H_BRAND;}
if(H_FILTER!==''){sQP+='&Filter='+H_FILTER;}
if(L_CONTACTUS_URL!==''){sQP+='&ContactUS='+L_CONTACTUS_URL;}
if(typeof(v1)!="undefined"){sQP+='&v1='+escape(v1);}
else{sQP+='&v1='+escape(document.location.protocol+"//"+document.location.hostname);}
sQP+='&v2='+escape(document.location.search);if(typeof(H_CONFIG)!="undefined"&&(window.self.name===null||window.self.name===""||window.self.name=="msnMain")){window.self.name=H_CONFIG.substring(0,H_CONFIG.indexOf("."));}
sQP+='&tmt='+escape(window.name);if(sc<=800){sQP+="&sp=1";}
if(bOptNoResize){sQP+='&bOptNoResize=1';}
W=(sc<=800)?180:230;if(agent_isMac&&agent_isIE){W=224;}
H=(agent.indexOf("windows")>0&&agent.indexOf("aol")>0)?window.screen.availHeight-window.screenTop-22:window.screen.availHeight;sWD="toolbar=0,status=0,menubar=0,resizable=1,top=0,width="+W;if(agent_isMSN){window.external.showHelpPane(H_URL_BASE+'/frameset.asp'+sQP,W);}
else if(agent.indexOf('webtv')>0||agent.indexOf('msn companion')>0){window.top.location.replace(H_URL_BASE+'/frameset.asp'+sQP);}
else if(app.indexOf('netscape')>-1&&window.navigator.appVersion.indexOf('4.')>-1){var fw;if(agent_isMac){sWD+=",height="+(H-38)+",left="+(sc-W-16);fw=30;}
else{sWD+=",height="+(H-30)+",left="+(sc-W-12);fw=12;}
if(!bOptNoResize){window.top.window.resizeTo(window.screen.availWidth-W-(window.outerWidth-window.innerWidth)-fw,window.screen.availHeight-(window.outerHeight-window.innerHeight));}
if(!bOptNoResize){window.top.window.moveTo(0,0);}
h_win=window.open(H_URL_BASE+'/frameset.asp'+sQP,'_help',sWD);}
else if(agent.indexOf("opera")>-1){sWD+=",height="+H+",left="+(sc-W-(agent_isMac?5:0));if(!bOptNoResize){window.resizeTo(window.screen.availWidth-W-(agent_isMac?20:0),window.screen.availHeight);}
if(!bOptNoResize){window.moveTo(0,0);}
h_win=window.open(H_URL_BASE+'/frameset.asp'+sQP,'_help',sWD);}
else if(agent.indexOf("aol")>-1){sWD+=",height="+(H-115);window.open(H_URL_BASE+'/frameset.asp'+sQP,'_help',sWD);}
else if(agent_isIE||agent.indexOf('netscape6')>-1){sWD+=",height="+H+",left="+(sc-W);bResize=false;bIE4PC=agent.indexOf("msie 4")>0;if(H_TARG===''){H_TARG=(bIE4PC)?'_help26':'_help';}
if(iNm!==null){H_TARG+=iNm;}
if(bIE4PC){window.open(H_BURL+sQP,H_TARG,sWD);}
else{h_win=window.open(H_BURL+sQP,H_TARG,sWD);}
if(h_win&&!agent_isMac&&app.indexOf("netscape")<0){h_win.opener=window.self;}}
else{window.open(H_URL_BASE+'/frameset.asp'+sQP,'_help');}}