function doTabLoad(_2f9){
var name=new String(document.location.hash);
if(name.substring(0,1)=="#"){
name=name.substring(1);
}
if(name==""||name==null){
name=_2f9;
}
var _2fb=document.getElementById("tab_"+name);
if(_2fb){
selectTab(_2fb);
}
}
function selectTab(_2fc){
var _2fd=getNodeText(_2fc).arpu_compressSpace();
var _2fe;
if(_2fc.nodeName=="A"){
_2fe=_2fc.parentNode;
}else{
if(_2fc.nodeName=="LI"){
_2fe=_2fc;
}
}
var _2ff=_2fe.parentNode;
var tabs=_2ff.childNodes;
var _301="";
for(i=0;i<tabs.length;i++){
if(tabs[i].nodeName=="LI"){
tabs[i].setAttribute("class","off");
tabs[i].setAttribute("className","off");
var _302=document.getElementById(tabs[i].id+"_content");
if(_302!=null){
_302.style.display="none";
}
}
}
_2fe.setAttribute("class","on");
_2fe.setAttribute("className","on");
var _302=document.getElementById(_2fe.id+"_content");
if(_302!=null){
_302.style.display="block";
}
if(window.doTabTrack!=undefined){
doTabTrack(_2fd);
}
if(window.doTabTrackArpu!=undefined){
doTabTrackArpu(_2fd);
}
if(typeof (window["$ES"])!="undefined"){
$ES(".tagToolTip").each(function(tip,_304){
tip.setStyle("visibility","hidden");
});
}
}
function getNodeText(obj){
if(obj.nodeType==3){
return obj.nodeValue;
}
var txt=new Array(),i=0;
while(obj.childNodes[i]){
txt[txt.length]=getNodeText(obj.childNodes[i]);
i++;
}
return txt.join("");
}
String.prototype.arpu_trim=function(){
var a=this.replace(new RegExp("\\s+$","g"),"");
a=a.replace(new RegExp("^\\s+","g"),"");
return a;
};
String.prototype.arpu_compressSpace=function(){
return this.arpu_trim().replace(new RegExp("\\s+","g")," ");
};
String.prototype.arpu_removeSpace=function(){
return this.arpu_trim().replace(new RegExp("\\s+","g"),"");
};
var onLoadList=[];
var onResizeList=[];
function addOnLoad(_308){
onLoadList[onLoadList.length+1]=_308;
}
function addOnResize(_309){
onResizeList[onResizeList.length+1]=_309;
}
function doOnLoad(){
for(var i=0;i<onLoadList.length;i++){
eval(onLoadList[i]);
}
return true;
}
function doOnResize(){
for(var i=0;i<onLoadList.length;i++){
eval(onLoadList[i]);
}
return true;
}
Behaviour.addLoadEvent(function(){
doOnLoad();
});
window.onresize=function(){
doOnResize();
};
function openWin(_30c,name,_30e,_30f,_310,_311){
_311=(_311=="yes")?"yes":"no";
var win;
win=window.open(_30c,name,"width="+_30e+",height="+_30f+",scrollbars="+_310+",top=5,left=10,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable="+_311+",alwaysRaised=no,z-lock=no");
if(win.opener==null){
win.opener=window;
}
win.opener.name="main_page";
if(window.focus){
win.focus();
}
return false;
}
function stopEvent(_313){
if(_313==null){
if(document.all){
window.event.cancelBubble=true;
}
}else{
if(document.all){
window.event.cancelBubble=true;
}else{
_313.stopPropagation();
}
}
}
function matchHeights(_314,_315){
if(_314!=null&&_314.length>0){
var _316=0;
for(var i=0;i<_314.length;i++){
if(_314[i]!=null&&_314[i].offsetHeight>_316){
_316=_314[i].offsetHeight;
}
}
if(_315!=null){
for(var i=0;i<_315.length;i++){
if(_315[i]!=null&&_315[i].offsetHeight>_316){
_316=_315[i].offsetHeight;
}
}
}
for(var i=0;i<_314.length;i++){
_314[i].style.height=_316+"px";
if(_314[i].offsetHeight>_316){
_314[i].style.height=(_316-(_314[i].offsetHeight-_316))+"px";
}
}
}
}
function matchWidths(_318,_319){
if(_318!=null&&_318.length>0){
var _31a=0;
for(var i=0;i<_318.length;i++){
if(_318[i]!=null&&_318[i].offsetWidth>_31a){
_31a=_318[i].offsetWidth;
}
}
if(_319!=null){
for(var i=0;i<_319.length;i++){
if(_319[i]!=null&&_319[i].offsetWidth>_31a){
_31a=_319[i].offsetWidth;
}
}
}
for(var i=0;i<_318.length;i++){
_318[i].style.width=_31a+"px";
if(_318[i].offsetWidth>_31a){
_318[i].style.width=(_31a-(_318[i].offsetWidth-_31a))+"px";
}
}
}
}
function doTermsAndConditionsClickDisable(_31c){
var _31d=doTermsAndConditions(_31c);
if(_31d==true){
doClickDisable(_31c);
}
return _31d;
}
function doTermsAndConditions(_31e,_31f,_320,_321){
if(_31e!=null){
var href=_31e.href;
if(href==null){
return false;
}
var _323=_31e.id;
if(_323==null){
_323="";
}
if(_31f==null){
_31f=_323+"_tos_checkbox";
}
if(_320==null){
_320=_323+"_tos_warning";
}
var _324=document.getElementById(_31f);
var _325=document.getElementById(_320);
if(_324!=null){
checks=getElementsById(_31f);
numchecked=0;
for(i=0;i<checks.length;i++){
if(checks[i].checked){
numchecked++;
}
}
if(numchecked){
_31e.href=_31e.href+"&tom=1";
return true;
}else{
if(_325!=null){
warns=getElementsById(_320);
for(i=0;i<warns.length;i++){
if(_321=="display"){
warns[i].style.display="block";
}else{
if(document.all){
warns[i].className="toswarnshow_ie";
}else{
warns[i].className="toswarnshow";
}
}
}
return false;
}else{
return true;
}
}
}
return true;
}
}
function doClickDisable(_326){
if(_326!=null){
var _327=null;
var _328=_326;
for(i=0;i<10;i++){
_328=_328.parentNode;
if(_328==null){
return true;
}
if(_328.id=="switchbutton"){
_327=_328;
break;
}
}
if(_327==null){
return true;
}
var _329=null;
var _32a=null;
for(i=0;i<_327.childNodes.length;i++){
nownode=_327.childNodes[i];
if(nownode.id=="active"){
_329=nownode;
}
if(nownode.id=="inactive"){
_32a=nownode;
}
}
if((_329!=null)&&(_32a!=null)){
_329.style.display="none";
_32a.style.display="inline";
return true;
}
return true;
}
}
function getElementsById(mid){
var _32c=new Array();
var _32d=new Array();
_32d=document.getElementsByTagName("*");
j=0;
for(i=0;i<_32d.length;i++){
if(_32d[i].id==mid){
_32c[j]=_32d[i];
j++;
}
}
return _32c;
}
function findPosX(obj){
var _32f=0;
if(obj.offsetParent){
while(obj.offsetParent){
_32f+=obj.offsetLeft;
obj=obj.offsetParent;
}
}else{
if(obj.x){
_32f+=obj.x;
}
}
return _32f;
}
function findPosY(obj){
var _331=0;
if(obj.offsetParent){
while(obj.offsetParent){
_331+=obj.offsetTop;
obj=obj.offsetParent;
}
}else{
if(obj.y){
_331+=obj.y;
}
}
return _331;
}
function doClickTOSCheck(ele,_333,_334){
var _335=getElementsById(ele.id);
for(i=0;i<_335.length;i++){
_335[i].checked=ele.checked;
}
var _336=getElementsById(_333);
for(i=0;i<_336.length;i++){
if(_334=="display"){
_336[i].style.display="none";
}else{
_336[i].className="toswarnhidden";
}
}
}
function doClickTOSWarning(ele,_338){
var _339=getElementsById(ele.id);
for(i=0;i<_339.length;i++){
if(_338=="display"){
_339[i].style.display="none";
}else{
_339[i].className="toswarnhidden";
}
}
}
function isDefined(_33a){
return (typeof _33a!="undefined");
}
var rolloverInitialized=false;
function rolloverInit(){
if(!rolloverInitialized&&isDefined(document.images)){
var _33b=document.body.id;
var _33c=new Array();
if(isDefined(document.getElementsByTagName)){
_33c=document.getElementsByTagName("img");
var _33d=document.getElementsByTagName("input");
for(var i=0;i<_33d.length;i++){
if(_33d[i].type=="image"){
_33c[_33c.length]=_33d[i];
}
}
}else{
_33c=document.images;
_33d=new Array();
for(var _33f=0;_33f<document.forms.length;_33f++){
for(var _340=0;_340<document.forms.elements.length;_340++){
if(isDefined(document.forms.elements[i].src)){
_33d[_33d.length]=document.forms.elements[i];
}
}
}
}
for(var i=0;i<_33c.length;i++){
if(_33c[i].src.indexOf("_button.")!=-1){
var _341=_33c[i];
_341.offImage=new Image();
_341.offImage.src=_341.src;
_341.onImage=new Image();
_341.onImage.imageElement=_341;
_341.disImage=new Image();
_341.disImage.imageElement=_341;
if(navigator.userAgent.toLowerCase().indexOf("safari")!=-1){
_341.onmouseover=function(){
this.src=this.onImage.src;
};
_341.onmouseout=function(){
this.src=this.offImage.src;
};
}else{
_341.onImage.onload=function(){
this.imageElement.onmouseover=function(){
this.src=this.onImage.src;
};
this.imageElement.onmouseout=function(){
this.src=this.offImage.src;
};
};
}
_341.onImage.src=_341.src.replace(/_button\./,"_button_hil.");
_341.disImage.src=_341.src.replace(/_button\./,"_button_dis.");
}
}
}
rolloverInitialized=true;
}
if(isDefined(window.addEventListener)){
window.addEventListener("load",rolloverInit,false);
}else{
if(isDefined(window.attachEvent)){
window.attachEvent("onload",rolloverInit);
}
}
function disableImage(_342){
if(_342.disImage!=null){
_342.onmouseover=function(){
};
_342.onmouseout=function(){
};
_342.src=_342.disImage.src;
}
}
function disableButton(lin){
for(var i=0;i<lin.childNodes.length;i++){
disableImage(lin.childNodes[i]);
}
lin.style.cursor="progress";
lin.onclick=function(){
return false;
};
}
function disableButtonGfxOnly(lin){
for(var i=0;i<lin.childNodes.length;i++){
disableImage(lin.childNodes[i]);
}
}
function hideall(_347){
var _348=new Array();
var _349=new Array();
_349=document.getElementsByTagName("*");
j=0;
for(i=0;i<_349.length;i++){
strtmp=_349[i].id;
if(strtmp.indexOf(_347)==0){
_349[i].style.display="none";
}
if(strtmp.indexOf("question_"+_347)==0){
_349[i].setAttribute("class","help_question");
_349[i].setAttribute("className","help_question");
}
}
}
function togglefaq(name){
tabTmp=document.getElementById(name);
tabTmp2=document.getElementById("question_"+name);
if(tabTmp!=null){
if(tabTmp.style.display=="block"){
tabTmp.style.display="none";
if(tabTmp2!=null){
tabTmp2.setAttribute("class","help_question");
tabTmp2.setAttribute("className","help_question");
}
}else{
hideall("faqdiv");
tabTmp.style.display="block";
if(tabTmp2!=null){
tabTmp2.setAttribute("class","help_question_selected");
tabTmp2.setAttribute("className","help_question_selected");
}
}
}
}
function doPopup(item){
var win=window.open(item.href,"popup","menubar=0,scrollbars=1,resizable=1,location=0,toolbar=0,width=425,height=450");
win.focus();
return false;
}
function doQuickenPopup(item){
var win=window.open(item.href,"popup","menubar=0,scrollbars=1,resizable=1,location=0,toolbar=0,width=1028,height=450");
win.focus();
return false;
}
function refreshImage(item){
window.setTimeout(function(){
item.src=item.src;
},100);
}
function removeNode(n){
if(n.hasChildNodes()){
for(var i=0;i<n.childNodes.length;i++){
n.parentNode.insertBefore(n.childNodes[i].cloneNode(true),n);
}
}
n.parentNode.removeChild(n);
}
function doOmnitureWait(_352,_353,_354){
if(_354==null){
_354=new Date();
}
if(_353==null){
_353=0;
}
var _355=true;
var _356=document.getElementById("omniture_container_arpu");
var _357=document.getElementById("omniture_container_aol");
if(_356){
var _358=getChild(_356,"IMG",null);
if(_358==null){
_355=false;
}else{
if(_358.complete){
}else{
_355=false;
}
}
}
if(_357){
var _359=getChild(_356,"IMG",null);
if(_359==null){
_355=false;
}else{
if(_359.complete){
}else{
_355=false;
}
}
}
if(_355||(_353!=0&&(new Date().getTime()>=_354.getTime()+_353))){
setTimeout(_352,1);
}else{
setTimeout(function(){
window.doOmnitureWait(_352,_353,_354);
},100);
}
}
function doOmnitureReloadWait(_35a){
window.onload=function(){
setTimeout(function(){
window.doOmnitureWait(function(){
document.location.replace(_35a);
},3000);
},1);
};
}
function createCookie(name,_35c,days){
if(days){
var date=new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var _35f="; expires="+date.toGMTString();
}else{
var _35f="";
}
document.cookie=name+"="+_35c+_35f+"; path=/";
}
function readCookie(name){
var _361=name+"=";
var ca=document.cookie.split(";");
for(var i=0;i<ca.length;i++){
var c=ca[i];
while(c.charAt(0)==" "){
c=c.substring(1,c.length);
}
if(c.indexOf(_361)==0){
return c.substring(_361.length,c.length);
}
}
return null;
}
function eraseCookie(name){
createCookie(name,"",-1);
}
function camelCaseObjName(_366){
var _367=_366.charAt(0).toLowerCase();
var end=_366.substring(1,_366.length);
return _367+end;
}
function buildObject(_369){
var obj=new Object();
for(var i=0;i<_369.length;i++){
var _36c=$(_369[i]);
obj[camelCaseObjName(_36c.name)]=_36c.value;
}
return obj;
}
function getFirstParent(_36d,_36e){
var _36f=null;
for(var _370=_36d;;testelement=testelement.parentNode){
if(testelement.tagName==_36e){
_36f=testelement;
break;
}
}
return _36f;
}
function getChild(_371,_372,_373){
var _374=null;
var _375=_371.childNodes;
for(var i=0;i<_375.length;i++){
if(_375.item(i).tagName==_372){
if(_373==null||_375.item(i).className==_373){
_374=_375.item(i);
break;
}
}
}
return _374;
}
function doMatches(){
for(var i=0;i<10;i++){
var _378=new Array(1);
_378[0]=document.getElementById("top"+i);
matchWidths(getElementsById("rest"+i),_378);
}
matchHeights(getElementsById("featureProductShorty"));
var _379=new Array(2);
_379[0]=document.getElementById("landingColumnLeftContent");
_379[1]=document.getElementById("landingColumnRightContent");
if(_379[0]&&_379[1]){
matchHeights(_379);
}
}
function matchHilights(){
var navy=document.getElementsByClassName("imghil");
for(var i=0;i<navy.length;i++){
var _37c=navy[i].parentNode;
var _37d=new Array(1);
var _37e=new Array(1);
_37d[0]=navy[i];
_37e[0]=_37c;
matchWidths(_37d,_37e);
matchHeights(_37d,_37e);
}
}
sfHover=function(){
var nav=document.getElementById("nav");
if(nav==null){
return;
}
var _380=nav.getElementsByTagName("LI");
for(var i=0;i<_380.length;i++){
_380[i].onmouseover=function(){
this.className+=" hover";
};
_380[i].onmouseout=function(){
this.className=this.className.replace(new RegExp(" hover\\b"),"");
};
}
};
if(window.attachEvent){
window.attachEvent("onload",sfHover);
}
function getElementsById2(mid){
var _383=new Array();
var _384=new Array();
_384=document.getElementsByTagName("*");
j=0;
for(i=0;i<_384.length;i++){
if(_384[i].id==mid){
_383[j]=_384[i];
j++;
}
}
return _383;
}
