function doTabLoad(_423){
var name=new String(document.location.hash);
if(name.substring(0,1)=="#"){
name=name.substring(1);
}
if(name==""||name==null){
name=_423;
}
var _425=document.getElementById("tab_"+name);
if(_425){
selectTab(_425);
}
}
function selectTab(_426){
var _427=getNodeText(_426).arpu_compressSpace();
var _428;
if(_426.nodeName=="A"){
_428=_426.parentNode;
}else{
if(_426.nodeName=="LI"){
_428=_426;
}
}
var _429=_428.parentNode;
var tabs=_429.childNodes;
var _42b="";
for(i=0;i<tabs.length;i++){
if(tabs[i].nodeName=="LI"){
tabs[i].setAttribute("class","off");
tabs[i].setAttribute("className","off");
var _42c=document.getElementById(tabs[i].id+"_content");
if(_42c!=null){
_42c.style.display="none";
}
}
}
_428.setAttribute("class","on");
_428.setAttribute("className","on");
var _42c=document.getElementById(_428.id+"_content");
if(_42c!=null){
_42c.style.display="block";
}
if(window.doTabTrack!=undefined){
doTabTrack(_427);
}
if(window.doTabTrackArpu!=undefined){
doTabTrackArpu(_427);
}
if(typeof (window["$ES"])!="undefined"){
$ES(".tagToolTip").each(function(tip,_42e){
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(_432){
onLoadList[onLoadList.length+1]=_432;
}
function addOnResize(_433){
onResizeList[onResizeList.length+1]=_433;
}
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(_436,name,_438,_439,_43a,_43b){
_43b=(_43b=="yes")?"yes":"no";
var win;
win=window.open(_436,name,"width="+_438+",height="+_439+",scrollbars="+_43a+",top=5,left=10,toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable="+_43b+",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(_43d){
if(_43d==null){
if(document.all){
window.event.cancelBubble=true;
}
}else{
if(document.all){
window.event.cancelBubble=true;
}else{
_43d.stopPropagation();
}
}
}
function matchHeights(_43e,_43f){
if(_43e!=null&&_43e.length>0){
var _440=0;
for(var i=0;i<_43e.length;i++){
if(_43e[i]!=null&&_43e[i].offsetHeight>_440){
_440=_43e[i].offsetHeight;
}
}
if(_43f!=null){
for(var i=0;i<_43f.length;i++){
if(_43f[i]!=null&&_43f[i].offsetHeight>_440){
_440=_43f[i].offsetHeight;
}
}
}
for(var i=0;i<_43e.length;i++){
_43e[i].style.height=_440+"px";
if(_43e[i].offsetHeight>_440){
_43e[i].style.height=(_440-(_43e[i].offsetHeight-_440))+"px";
}
}
}
}
function matchWidths(_442,_443){
if(_442!=null&&_442.length>0){
var _444=0;
for(var i=0;i<_442.length;i++){
if(_442[i]!=null&&_442[i].offsetWidth>_444){
_444=_442[i].offsetWidth;
}
}
if(_443!=null){
for(var i=0;i<_443.length;i++){
if(_443[i]!=null&&_443[i].offsetWidth>_444){
_444=_443[i].offsetWidth;
}
}
}
for(var i=0;i<_442.length;i++){
_442[i].style.width=_444+"px";
if(_442[i].offsetWidth>_444){
_442[i].style.width=(_444-(_442[i].offsetWidth-_444))+"px";
}
}
}
}
function doTermsAndConditionsClickDisable(_446){
var _447=doTermsAndConditions(_446);
if(_447==true){
doClickDisable(_446);
}
return _447;
}
function doTermsAndConditions(_448,_449,_44a,_44b){
if(_448!=null){
var href=_448.href;
if(href==null){
return false;
}
var _44d=_448.id;
if(_44d==null){
_44d="";
}
if(_449==null){
_449=_44d+"_tos_checkbox";
}
if(_44a==null){
_44a=_44d+"_tos_warning";
}
var _44e=document.getElementById(_449);
var _44f=document.getElementById(_44a);
if(_44e!=null){
checks=getElementsById(_449);
numchecked=0;
for(i=0;i<checks.length;i++){
if(checks[i].checked){
numchecked++;
}
}
if(numchecked){
_448.href=_448.href+"&tom=1";
return true;
}else{
if(_44f!=null){
warns=getElementsById(_44a);
for(i=0;i<warns.length;i++){
if(_44b=="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(_450){
if(_450!=null){
var _451=null;
var _452=_450;
for(i=0;i<10;i++){
_452=_452.parentNode;
if(_452==null){
return true;
}
if(_452.id=="switchbutton"){
_451=_452;
break;
}
}
if(_451==null){
return true;
}
var _453=null;
var _454=null;
for(i=0;i<_451.childNodes.length;i++){
nownode=_451.childNodes[i];
if(nownode.id=="active"){
_453=nownode;
}
if(nownode.id=="inactive"){
_454=nownode;
}
}
if((_453!=null)&&(_454!=null)){
_453.style.display="none";
_454.style.display="inline";
return true;
}
return true;
}
}
function getElementsById(mid){
var _456=new Array();
var _457=new Array();
_457=document.getElementsByTagName("*");
j=0;
for(i=0;i<_457.length;i++){
if(_457[i].id==mid){
_456[j]=_457[i];
j++;
}
}
return _456;
}
function findPosX(obj){
var _459=0;
if(obj.offsetParent){
while(obj.offsetParent){
_459+=obj.offsetLeft;
obj=obj.offsetParent;
}
}else{
if(obj.x){
_459+=obj.x;
}
}
return _459;
}
function findPosY(obj){
var _45b=0;
if(obj.offsetParent){
while(obj.offsetParent){
_45b+=obj.offsetTop;
obj=obj.offsetParent;
}
}else{
if(obj.y){
_45b+=obj.y;
}
}
return _45b;
}
function doClickTOSCheck(ele,_45d,_45e){
var _45f=getElementsById(ele.id);
for(i=0;i<_45f.length;i++){
_45f[i].checked=ele.checked;
}
var _460=getElementsById(_45d);
for(i=0;i<_460.length;i++){
if(_45e=="display"){
_460[i].style.display="none";
}else{
_460[i].className="toswarnhidden";
}
}
}
function doClickTOSWarning(ele,_462){
var _463=getElementsById(ele.id);
for(i=0;i<_463.length;i++){
if(_462=="display"){
_463[i].style.display="none";
}else{
_463[i].className="toswarnhidden";
}
}
}
function isDefined(_464){
return (typeof _464!="undefined");
}
var rolloverInitialized=false;
function rolloverInit(){
if(!rolloverInitialized&&isDefined(document.images)){
var _465=document.body.id;
var _466=new Array();
if(isDefined(document.getElementsByTagName)){
_466=document.getElementsByTagName("img");
var _467=document.getElementsByTagName("input");
for(var i=0;i<_467.length;i++){
if(_467[i].type=="image"){
_466[_466.length]=_467[i];
}
}
}else{
_466=document.images;
_467=new Array();
for(var _469=0;_469<document.forms.length;_469++){
for(var _46a=0;_46a<document.forms.elements.length;_46a++){
if(isDefined(document.forms.elements[i].src)){
_467[_467.length]=document.forms.elements[i];
}
}
}
}
for(var i=0;i<_466.length;i++){
if(_466[i].src.indexOf("_button.")!=-1){
var _46b=_466[i];
_46b.offImage=new Image();
_46b.offImage.src=_46b.src;
_46b.onImage=new Image();
_46b.onImage.imageElement=_46b;
_46b.disImage=new Image();
_46b.disImage.imageElement=_46b;
if(navigator.userAgent.toLowerCase().indexOf("safari")!=-1){
_46b.onmouseover=function(){
this.src=this.onImage.src;
};
_46b.onmouseout=function(){
this.src=this.offImage.src;
};
}else{
_46b.onImage.onload=function(){
this.imageElement.onmouseover=function(){
this.src=this.onImage.src;
};
this.imageElement.onmouseout=function(){
this.src=this.offImage.src;
};
};
}
_46b.onImage.src=_46b.src.replace(/_button\./,"_button_hil.");
_46b.disImage.src=_46b.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(_46c){
if(_46c.disImage!=null){
_46c.onmouseover=function(){
};
_46c.onmouseout=function(){
};
_46c.src=_46c.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(_471){
var _472=new Array();
var _473=new Array();
_473=document.getElementsByTagName("*");
j=0;
for(i=0;i<_473.length;i++){
strtmp=_473[i].id;
if(strtmp.indexOf(_471)==0){
_473[i].style.display="none";
}
if(strtmp.indexOf("question_"+_471)==0){
_473[i].setAttribute("class","help_question");
_473[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(_47c,_47d,_47e){
if(_47e==null){
_47e=new Date();
}
if(_47d==null){
_47d=0;
}
var _47f=true;
var _480=document.getElementById("omniture_container_arpu");
var _481=document.getElementById("omniture_container_aol");
if(_480){
var _482=getChild(_480,"IMG",null);
if(_482==null){
_47f=false;
}else{
if(_482.complete){
}else{
_47f=false;
}
}
}
if(_481){
var _483=getChild(_480,"IMG",null);
if(_483==null){
_47f=false;
}else{
if(_483.complete){
}else{
_47f=false;
}
}
}
if(_47f||(_47d!=0&&(new Date().getTime()>=_47e.getTime()+_47d))){
setTimeout(_47c,1);
}else{
setTimeout(function(){
window.doOmnitureWait(_47c,_47d,_47e);
},100);
}
}
function doOmnitureReloadWait(_484){
window.onload=function(){
setTimeout(function(){
window.doOmnitureWait(function(){
document.location.replace(_484);
},3000);
},1);
};
}
function createCookie(name,_486,days){
if(days){
var date=new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var _489="; expires="+date.toGMTString();
}else{
var _489="";
}
document.cookie=name+"="+_486+_489+"; path=/";
}
function readCookie(name){
var _48b=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(_48b)==0){
return c.substring(_48b.length,c.length);
}
}
return null;
}
function eraseCookie(name){
createCookie(name,"",-1);
}
function camelCaseObjName(_490){
var _491=_490.charAt(0).toLowerCase();
var end=_490.substring(1,_490.length);
return _491+end;
}
function buildObject(_493){
var obj=new Object();
for(var i=0;i<_493.length;i++){
var _496=$(_493[i]);
obj[camelCaseObjName(_496.name)]=_496.value;
}
return obj;
}
function getFirstParent(_497,_498){
var _499=null;
for(var _49a=_497;;testelement=testelement.parentNode){
if(testelement.tagName==_498){
_499=testelement;
break;
}
}
return _499;
}
function getChild(_49b,_49c,_49d){
var _49e=null;
var _49f=_49b.childNodes;
for(var i=0;i<_49f.length;i++){
if(_49f.item(i).tagName==_49c){
if(_49d==null||_49f.item(i).className==_49d){
_49e=_49f.item(i);
break;
}
}
}
return _49e;
}
function doMatches(){
for(var i=0;i<10;i++){
var _4a2=new Array(1);
_4a2[0]=document.getElementById("top"+i);
matchWidths(getElementsById("rest"+i),_4a2);
}
matchHeights(getElementsById("featureProductShorty"));
var _4a3=new Array(2);
_4a3[0]=document.getElementById("landingColumnLeftContent");
_4a3[1]=document.getElementById("landingColumnRightContent");
if(_4a3[0]&&_4a3[1]){
matchHeights(_4a3);
}
}
function matchHilights(){
var navy=document.getElementsByClassName("imghil");
for(var i=0;i<navy.length;i++){
var _4a6=navy[i].parentNode;
var _4a7=new Array(1);
var _4a8=new Array(1);
_4a7[0]=navy[i];
_4a8[0]=_4a6;
matchWidths(_4a7,_4a8);
matchHeights(_4a7,_4a8);
}
}
sfHover=function(){
var nav=document.getElementById("nav");
if(nav==null){
return;
}
var _4aa=nav.getElementsByTagName("LI");
for(var i=0;i<_4aa.length;i++){
_4aa[i].onmouseover=function(){
this.className+=" hover";
};
_4aa[i].onmouseout=function(){
this.className=this.className.replace(new RegExp(" hover\\b"),"");
};
}
};
if(window.attachEvent){
window.attachEvent("onload",sfHover);
}
function getElementsById2(mid){
var _4ad=new Array();
var _4ae=new Array();
_4ae=document.getElementsByTagName("*");
j=0;
for(i=0;i<_4ae.length;i++){
if(_4ae[i].id==mid){
_4ad[j]=_4ae[i];
j++;
}
}
return _4ad;
}
