window.onload=function(){if(window.location.toString().indexOf("/support/email")>0){document.getElementById("installation_left").className="active"}if(window.location.toString().indexOf("redirect=voice")>0){document.getElementById("voice_image").src="/public/images/page-navigation/general-green.png";document.getElementById("general_image").src="/public/images/page-navigation/general-grey.png";open_tab2("voice")}if(window.location.toString().indexOf("questionlist")>0||window.location.toString().indexOf("support/international")>0){ref=document.referrer;html="";if(ref!=""){found=false;if(ref.indexOf("index")>0){html='<span id="bc-links"><a href="/support/index">Support Home</a></span>  <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("supportoverview_left").className="active";createCookie("breadcrumb_tab","supportoverview");found=true}if(ref.indexOf("faq")>0){html='<span id="bc-links"><a href="/support/index">Support Home</span></a> <img src="/public/images/page-navigation/right-arrow.png"> <span id="bc-links"><a href="/support/faq" style="text-decoration:none;">FAQs</a></span> <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("faqs_left").className="active";createCookie("breadcrumb_tab","faqs");found=true}if(ref.indexOf("installation")>0){html='<span id="bc-links"><a href="/support/index">Support Home</span></a> <img src="/public/images/page-navigation/right-arrow.png"> <span id="bc-links"><a href="/support/installation" id="breadcrumb2" style="text-decoration:none;">Installation</a></span> <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("installation_left").className="active";createCookie("breadcrumb_tab","installation");found=true}if(ref.indexOf("techsupport")>0){html='<span id="bc-links"><a href="/support/index">Support Home</span></a> <img src="/public/images/page-navigation/right-arrow.png"> <span id="bc-links"><a href="/support/techsupport">Tech Support</a></span> <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("techsupport_left").className="active";createCookie("breadcrumb_tab","techsupport");found=true}if(ref.indexOf("customerservice")>0){html='<span id="bc-links"><a href="/support/index">Support Home</span></a> <img src="/public/images/page-navigation/right-arrow.png"> <span id="bc-links"><a href="/support/customerservice" style="text-decoration:none;">Customer Service</a></span> <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("customerservice_left").className="active";createCookie("breadcrumb_tab","customerservice");found=true}title=$("#content_div h2").text();if(title==""){title=" "}if(found){html+=' <span id="bc-links"><a href="'+window.location.toString().split("/")[window.location.toString().split("/").length-1]+'">'+toProperCase(title.replace("<br>",""))+'</a></span> <img src="/public/images/page-navigation/down-arrow.png">'}else{html=readCookie("breadcrumb").replace(/<br>/g,"").replace(/--/g,";").replace(//g,"`").replace(title,"");if(html.toUpperCase().indexOf(title.toUpperCase())==-1){html+=' <span id="bc-links"><a href="'+window.location.toString().split("/")[window.location.toString().split("/").length-1]+'">'+toProperCase(title.replace("<br>",""))+'</a></span> <img src="/public/images/page-navigation/down-arrow.png"><br><br>'}tabname_bc=readCookie("breadcrumb_tab");if(document.getElementById(tabname_bc+"_left")){document.getElementById(tabname_bc+"_left").className="active"}}document.getElementById("faq_breadcrumb").innerHTML=html;createCookie("breadcrumb",html.replace(/<br>/g,"").replace(/;/g,"--"))}}if(window.location.toString().indexOf("support/email")>0){html='<span id="bc-links"><a href="/support/index">Support Home</span></a> <img src="/public/images/page-navigation/right-arrow.png"> <span id="bc-links"><a href="/support/techsupport">Tech Support</a></span> <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("techsupport_left").className="active";document.getElementById("installation_left").className="";document.getElementById("faq_breadcrumb").innerHTML=html;createCookie("breadcrumb_tab","supportoverview");title=$("#content_div h2").text();if(title==""){title="Get Your Email"}html+=' <span id="bc-links"><a href="'+window.location.toString().split("/")[window.location.toString().split("/").length-1]+'">'+toProperCase(title.replace("<br>",""))+'</a></span> <img src="/public/images/page-navigation/down-arrow.png">';document.getElementById("faq_breadcrumb").innerHTML=html;createCookie("breadcrumb",html.replace(/<br>/g,"").replace(/;/g,"--"))}else{if(window.location.toString().indexOf("support/international")>0){html='<span id="bc-links"><a href="/support/index">Support Home</span></a> <img src="/public/images/page-navigation/right-arrow.png"> <span id="bc-links"><a href="/support/questionlist/what-are-the-international-calling-rates-using-clear-voice">What Are The International Calling Rates Using Clear Voice? </a></span> <img src="/public/images/page-navigation/right-arrow.png">';document.getElementById("supportoverview_left").className="active";document.getElementById("installation_left").className="";document.getElementById("faq_breadcrumb").innerHTML=html;createCookie("breadcrumb_tab","supportoverview");title=$("#content_div h2").text();if(title==""){title="Get Your Email"}html+=' <span id="bc-links"><a href="'+window.location.toString().split("/")[window.location.toString().split("/").length-1]+'">'+toProperCase(title.replace("<br>",""))+'</a></span> <img src="/public/images/page-navigation/down-arrow.png">'}}};function createCookie(name,value,days){var date,expires;if(days){date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires="; expires="+date.toGMTString()}else{expires=""}document.cookie=name+"="+escape(value)+expires+"; path=/"}function readCookie(name){var nameEQ=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(nameEQ)==0){return unescape(c.substring(nameEQ.length,c.length))}}return""}function toProperCase(s){return s.replace(/^([a-z])|\s[^a-zA-Z0-9]?(.)/g,function($1){return $1.toUpperCase()})}function expand_div(divname,questionid,urlstr_in){var omniture_account_id="<?php echo cstOMNITURE_MYACCOUNT_ID;?>";var events=0;var upsell="";var products="";if(document.getElementById(divname).style.display=="none"||document.getElementById(divname).style.display==""){$(".expanding-question-wrapper").removeClass("active");$(".expanding-question-wrapper + .support-answers").attr("style","");$(".expanding-question-wrapper + .support-answers").html("");document.getElementById(divname).style.display="inline";urlstr="/support/questionlist/"+urlstr_in;document.getElementById(divname).innerHTML="<div id='support-spinner'><img src='/public/images/cmn/ajax/loader-alternate.gif'></div><br>";$(document.getElementById(divname)).prev().addClass("active");$.ajax({url:"/support/questionlist/"+urlstr_in+((typeof(widget)=="undefined")?"/1":""),data:"",dataType:"json",cache:true,success:function(data){var content;$("<div></div>").append(data).map(function(){if(typeof(widget)=="undefined"){widget='<div id="support-page-comment-container-ss">'+$(this).find("#support-page-comment-container").html()}content=$(this).find("dd:first").html()});$("#"+divname).html("<br>"+content+widget);document.getElementById("chars_remaining").style.width="275px";document.getElementById("user_comments").style.width="405px";document.getElementById("faq_title").style.fontSize="16px";document.getElementById("question_num").value=urlstr_in;sendOmnitureTracking("support:questionlist:"+urlstr_in,events,products,upsell);if(typeof(Omniture)!="undefined"){Omniture.sendLinkTrackEvent({pageName:"support:questionlist:"+urlstr_in.toLowerCase(),products:"",prop24:"support:questionlist:"+urlstr_in.toLowerCase(),prop1:"support:questionlist",prop4:"support:questionlist",prop8:"support:questionlist",prop23:"support:questionlist",eVar41:"support:questionlist",eVar42:"support:questionlist"})}}})}else{$(".expanding-question-wrapper").removeClass("active");$(".expanding-question-wrapper + .support-answers").attr("style","");$(".expanding-question-wrapper + .support-answers").html("")}}function record_was_this_helpful(question_num,level){level="";track_bool_value="";if(document.getElementById("helpful_radio1").checked){level="Yes";track_bool_value="y"}if(document.getElementById("helpful_radio2").checked){level="Somewhat";track_bool_value="s"}if(document.getElementById("helpful_radio3").checked){level="No";track_bool_value="n"}user_details=document.getElementById("user_comments").value;if(level==""){alert("Please choose a level of helpfulness");return}if(user_details.length>1000){alert("You have entered more than 1,000 characters in the comment area.");return}if(user_details=="Enter your comments here"){user_details=""}urlstr="/support/recordfaq/";urlstr+="?question_num="+question_num.replace(/'/g,"`");urlstr+="&level_of_helpfulness="+level;urlstr+="&bool_value="+track_bool_value;urlstr+="&user_feedback="+user_details.replace(/'/g,"`").replace(/ /g,"+").replace(/&/g," and ").replace(/'/g,"`");$.ajax({url:urlstr,data:"",dataType:"json",success:function(data){if(document.getElementById("support-page-comment-container-ss")){document.getElementById("support-page-comment-container-ss").innerHTML='<br><br><br><br><br><center><form id="feedback" name="feedback"><table class="user_table" id="helpful_table"><tr><td><span id="faq_title" class="ir" style="padding-left:10px; font-size:17px;color:#000000">Thank you!  Your feedback has been received.</span></td></tr></table></form></center><br><br><br>'}else{if(document.getElementById("support-page-comment-container")){document.getElementById("support-page-comment-container").innerHTML='<br><br><br><br><br><center><form id="feedback" name="feedback"><table class="user_table" id="helpful_table"><tr><td><span id="faq_title" class="ir" style="padding-left:10px; font-size:17px;color:#000000">Thank you!  Your feedback has been received.</span></td></tr></table></form></center><br><br><br>'}}if(typeof(Omniture)!="undefined"){Omniture.setParams(data);Omniture.sendPageLoadEvent()}},complete:function(data){if(document.getElementById("support-page-comment-container-ss")){document.getElementById("support-page-comment-container-ss").innerHTML='<br><br><br><br><br><center><form id="feedback" name="feedback"><table class="user_table" id="helpful_table"><tr><td><span id="faq_title" class="ir" style="padding-left:10px; font-size:17px;color:#000000">Thank you!  Your feedback has been received.</span></td></tr></table></form></center><br><br><br>'}else{if(document.getElementById("support-page-comment-container")){document.getElementById("support-page-comment-container").innerHTML='<br><br><br><br><br><center><form id="feedback" name="feedback"><table class="user_table" id="helpful_table"><tr><td><span id="faq_title" class="ir" style="padding-left:10px; font-size:17px;color:#000000">Thank you!  Your feedback has been received.</span></td></tr></table></form></center><br><br><br>'}}}});var track_list=track_bool_value+":"+question_num;sendOmnitureTracking("support:questionlist",54,track_list,document.getElementById)}function collapse_faq_header(header){if(document.getElementById(header).style.display=="none"){document.getElementById(header).style.display="inline"}else{document.getElementById(header).style.display="none"}}function open_tab(tabname){if(curfaq!=""){document.getElementById(curfaq).style.display="none"}document.getElementById("top-faq_div").style.display="none";document.getElementById("installation_div").style.display="none";document.getElementById("tech-support_div").style.display="none";document.getElementById("customer-service_div").style.display="none";document.getElementById(tabname+"_div").style.display="inline";document.getElementById("top-faq_image").src="/public/images/page-navigation/top-faq-under.gif";document.getElementById("installation_image").src="/public/images/page-navigation/installation-under.gif";document.getElementById("tech-support_image").src="/public/images/page-navigation/tech-support-under.gif";document.getElementById("customer-service_image").src="/public/images/page-navigation/customer-service-under.gif";document.getElementById(tabname+"_image").src="/public/images/page-navigation/"+tabname+".gif";curtab=tabname;var pageName=(tabname!="general")?"support:tab:"+tabname:"support:index";if(typeof(Omniture)!="undefined"){Omniture.sendLinkTrackEvent({pageName:pageName,prop1:pageName,prop2:pageName,prop8:pageName,prop23:pageName,prop21:pageName,prop38:tabname,eVar41:pageName,eVar42:pageName})}}function swap_image(tabname){if(curtab==tabname){}else{document.getElementById("top-faq_image").src="/public/images/page-navigation/top-faq-under.gif";document.getElementById("installation_image").src="/public/images/page-navigation/installation-under.gif";document.getElementById("tech-support_image").src="/public/images/page-navigation/tech-support-under.gif";document.getElementById("customer-service_image").src="/public/images/page-navigation/customer-service-under.gif";document.getElementById(tabname+"_image").src="/public/images/page-navigation/"+tabname+".gif";document.getElementById(curtab+"_image").src="/public/images/page-navigation/"+curtab+".gif"}}function swap_image_off(tabname){if(curtab==tabname){}else{document.getElementById("top-faq_image").src="/public/images/page-navigation/top-faq-under.gif";document.getElementById("installation_image").src="/public/images/page-navigation/installation-under.gif";document.getElementById("tech-support_image").src="/public/images/page-navigation/tech-support-under.gif";document.getElementById("customer-service_image").src="/public/images/page-navigation/customer-service-under.gif";document.getElementById(curtab+"_image").src="/public/images/page-navigation/"+curtab+".gif"}}function open_tab2(tabname){if(curfaq!=""){document.getElementById(curfaq).style.display="none"}document.getElementById("general_div").style.display="none";document.getElementById("voice_div").style.display="none";if(document.getElementById("iSpot_div")){document.getElementById("iSpot_div").style.display="none"}document.getElementById(tabname+"_div").style.display="inline";document.getElementById(tabname+"_image").src="/public/images/page-navigation/"+tabname+"-green.png";curtab=tabname;swap_image(curtab);if(typeof(Omniture)!="undefined"){var pageName=Omniture.getParam("pageName");var subSectionName=Omniture.getParam("pageName")+":"+tabname;Omniture.sendLinkTrackEvent({pageName:subSectionName,prop1:pageName,prop2:subSectionName,prop21:pageName,prop8:subSectionName,prop23:subSectionName,prop38:tabname,eVar41:pageName,eVar42:pageName})}}function swap_image2(tabname){if(document.getElementById("general_image")&&document.getElementById("voice_image")){document.getElementById("general_image").src="/public/images/page-navigation/general-grey.png";document.getElementById("voice_image").src="/public/images/page-navigation/voice-grey.png"}if(document.getElementById("iSpot_image")){document.getElementById("iSpot_image").src="/public/images/page-navigation/iSpot-grey.png"}document.getElementById(tabname+"_image").src="/public/images/page-navigation/"+tabname+"-green.png";document.getElementById(curtab+"_image").src="/public/images/page-navigation/"+curtab+"-green.png"}function swap_image_off2(tabname){if(document.getElementById("general_image")&&document.getElementById("voice_image")){document.getElementById("general_image").src="/public/images/page-navigation/general-grey.png";document.getElementById("voice_image").src="/public/images/page-navigation/voice-grey.png"}if(document.getElementById("iSpot_image")){document.getElementById("iSpot_image").src="/public/images/page-navigation/iSpot-grey.png"}document.getElementById(curtab+"_image").src="/public/images/page-navigation/"+curtab+"-green.png"}function show_chars_remaining(fld){fld_cur_length=fld.value.length;remaining=1000-fld_cur_length;if(remaining==0||remaining<0){fldstr=fld.value.substr(0,1000);document.getElementById("user_comments").value=fldstr;remaining=0}document.getElementById("chars_remaining").innerHTML=remaining+" characters remaining"}function CheckForText(sVal){if(sVal==""||sVal==null){document.getElementById("user_comments").value="Enter your comments here"}};