function showTextWindow(b){document.getElementById(b).style.display="block";}function hideTextWindow(c){document.getElementById(c).style.display="none";}var KeyPressUtility=new Object();KeyPressUtility.getKeyFromEvent=function(e){if(e.keyCode)return e.keyCode;else{if(e.charCode)return e.charCode;}};KeyPressUtility.ENTER=13;KeyPressUtility.SPACE=32;function centerText(g,h){if(h.offsetWidth>=g){h.style.textAlign="right";h.style.width="auto";}else{h.style.textAlign="center";h.style.width=g+1+"px";}}function offsetRight(j){var rating=document.getElementById("starRating");var px=30;j.style.width=rating.offsetWidth+px+"px";}function findPosX(k){var curleft=0;if(k.offsetParent)while(k.offsetParent){curleft+=k.offsetLeft;k=k.offsetParent;}else{if(k.x)curleft+=k.x;}return curleft;}function findPosY(l){var curtop=0;if(l.offsetParent)while(l.offsetParent){curtop+=l.offsetTop;l=l.offsetParent;}else{if(l.y)curtop+=l.y;}return curtop;}var EventUtilityObject=function(){};EventUtilityObject.cancelEvent=function(e){if(e.preventDefault)e.preventDefault();else e.returnValue=false;};EventUtilityObject.instance=null;EventUtilityObject.getEventUtilityObject=function(){if(!EventUtilityObject.instance)EventUtilityObject.instance=new EventUtilityObject();return EventUtilityObject.instance;};if(document.addEventListener)EventUtilityObject.prototype.addEvent=function(m,n,o){m.addEventListener(n,o,false);};else{if(document.attachEvent)EventUtilityObject.prototype.addEvent=function(p,q,r){p.attachEvent("on"+q,r);};else EventUtilityObject.prototype.addEvent=function(s,t,u){s["on"+t]=u;};}if(document.removeEventListener)EventUtilityObject.prototype.removeEvent=function(v,w,x){v.removeEventListener(w,x,false);};else{if(document.detachEvent)EventUtilityObject.prototype.removeEvent=function(y,z,A){y.detachEvent("on"+z,A);};else EventUtilityObject.prototype.removeEvent=function(B,C){B["on"+C]=null;};}EventUtilityObject.prototype.getTarget=function(e){var target=e.target?e.target:e.srcElement;return target;};EventUtilityObject.prototype.getEvent=function(){if(window.event)return window.event;else return EventUtilityObject.prototype.getEvent.caller.arguments[0];};var EventDispatcher=function(){var _eventList={};this.getEventList=function(){return _eventList;};};EventDispatcher.prototype.attach=function(D,E,F){var eventList=this.getEventList();if(!eventList[D])eventList[D]=new Array({"object":E,"handler":F});else eventList[D][eventList[D].length]={"object":E,"handler":F};};EventDispatcher.prototype.notify=function(G){var eventList=this.getEventList();var count=eventList[G].length;for(var i=0;i<count;i++){var eventObj=new Object();eventObj.target=this;eventObj.event=G;eventList[G][i].object[eventList[G][i].handler].call(eventList[G][i].object,eventObj);}};function goToURL(H){location.href=H;}function openPopup(I,J,K,L,M){if(J==undefined)J=400;if(K==undefined)K=200;if(L==undefined)L=screen.availWidth/2-J/2;if(M==undefined)M=screen.availHeight/2-K/2;window.open(I,"_new","location=0,status=0,toolbar=0,menubar=0,resizable=0,scrollbars=yes,width="+J+",height="+K+",left="+L+",top="+M);}function goToName(N){var url=location.href;var i=url.indexOf("#");if(i>0)url=url.substring(0,i);location.href=url+"#"+N;}function getElementsByClassName(O,P,Q){var elements=O.getElementsByTagName(P);var returnList=new Array();Q=Q.replace(/\-/g,"\\-");var regEx=new RegExp("(^|\\s)"+Q+"(\\s|$)");var el;var count=elements.length;for(var i=0;i<count;i++){el=elements[i];if(regEx.test(el.className))returnList[returnList.length]=el;}return returnList;}var ImageSwapper=function(){var _imageCollection=[];this.setImageCollection=function(R){for(var i=R.length-1;i>=0;i--){_imageCollection[i]=new Image();_imageCollection[i].src=R[i];}};this.getImageCollection=function(){return _imageCollection;};};ImageSwapper.prototype.swapImage=function(S,T){var imageCollection=this.getImageCollection();S.src=imageCollection[T].src;};function appendRuleToStyleSheet(U,V){if(document&&document.styleSheets){if(document.styleSheets[0].rules)try{document.styleSheets[0].addRule(U,V);return true;}catch(e){return false;}else{if(document.styleSheets[0].cssRules)try{document.styleSheets[0].insertRule(U+" {"+V+";}",document.styleSheets[0].cssRules.length);return true;}catch(e){return false;}}}return false;}var IE6=isIELessThanSeven();function isIELessThanSeven(){var detect=navigator.userAgent.toLowerCase();var place=detect.indexOf("msie")+1;if(place&&detect.indexOf("opera")==-1){version=detect.charAt(place+4);if(version<7)return true;}return false;}function clearSRCForIE(W){if(IE6&&W.src.indexOf(".png")>0){var img=W.src;W.src="/Images/clear.gif";W.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+img+"')";}}String.prototype.trim=function(){return this.replace(/^\s.|\s$/,"");};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(X,Y){var result=-1;var len=this.length;var index=Y||0;index=index<0?Math.ceil(index):Math.floor(index);if(index<0)index+=len;for(;index<len;index++){if(index in this&&this[index]===X){result=index;break;}}return result;};var URL={"getFragment":function(){return decodeURIComponent(window.location.hash).substring(1);},"setFragment":function(Z){window.location.hash=encodeURIComponent(Z);}};var OmnitureInterface=new function(){var OmnitureCall=function(){try{s=s_gi(s_account);this.collectData(arguments);this.sendCall();}catch(e){}};var _pageView=function(pageName){this.collectData=function(){s.pageName=pageName;};this.sendCall=function(){s.t();};};this.pageView=function(pageName){OmnitureCall(new _pageView(pageName));};var _eventNotification=function(parameters){this.collectData=function(){var linkTracker=[];for(var i=0;i<parameters[0].length-1;i++){if(parameters[i]!=null&&parameters[i]!=""){var propName="prop"+(i+1);s[propName]=parameters[i];linkTracker[linkTracker.length]=propName;}}s.linkTrackVars=linkTracker.join(",");};this.sendCall=function(){s.tl(null,null,null);};};this.eventNotification=function(parameters){OmnitureCall(new _eventNotification(parameters));};}();var ToolTipControl=function(){var _currentToolTip=null;this.getCurrentToolTip=function(){return _currentToolTip;};this.setCurrentToolTip=function(ab){if(typeof ab=="string")_currentToolTip=document.getElementById(ab);else _currentToolTip=ab;};var _toolTipDisplayed=false;this.getToolTipDisplayed=function(){return _toolTipDisplayed;};this.setToolTipDisplayed=function(bb){_toolTipDisplayed=bb;};var _timer=new Number();this.callMethodLater=function(cb,eb,gb){_timer=setTimeout(function(){eb.call(gb);},cb);};this.cancleMethodCall=function(){clearTimeout(_timer);};var _tooltipLinkMapping=new Object();this.getTooltipLinkMapping=function(){return _tooltipLinkMapping;};this.setTooltipLinkMapping=function(hb){_tooltipLinkMapping=hb;};};ToolTipControl.prototype.setup=function(){var eventUtil=EventUtilityObject.getEventUtilityObject();var tooltips=getElementsByClassName(document.getElementsByTagName("body")[0],"label","tooltip");var tooltipLinkMapping=this.getTooltipLinkMapping();var self=this;for(var i=tooltips.length-1;i>=0;i--){var element=document.getElementById(tooltips[i].attributes.getNamedItem("for").nodeValue);if(element){tooltipLinkMapping[element.id]=tooltips[i];eventUtil.addEvent(element,"mouseover",function(){var e=eventUtil.getEvent();self.showToolTip.call(self,e);});eventUtil.addEvent(element,"mouseout",function(){var e=eventUtil.getEvent();self.hideToolTip.call(self,e);});}}};ToolTipControl.prototype.showToolTip=function(jb){this.cancleMethodCall();var eventUtil=EventUtilityObject.getEventUtilityObject();var tooltipLinkMapping=this.getTooltipLinkMapping();var target=eventUtil.getTarget(jb);target=this.getToolTipTarget(target);this.setCurrentToolTip(tooltipLinkMapping[target.id]);this.setPosition(jb);if(this.getToolTipDisplayed())this.displayCurrentToolTip();else this.callMethodLater(500,this.displayCurrentToolTip,this);};ToolTipControl.prototype.setPosition=function(kb){var eventUtil=EventUtilityObject.getEventUtilityObject();var target=eventUtil.getTarget(kb);var currentToolTip=this.getCurrentToolTip();var tipTop=0;var tipLeft=0;var adjustAmount=20;var scrollTop=0;var scrollLeft=0;if(document.documentElement&&document.documentElement.scrollTop){var scrollTop=document.documentElement.scrollTop;var scrollLeft=document.documentElement.scrollLeft;}else{if(document.body&&document.body.scrollTop){var scrollTop=document.body.scrollTop;var scrollLeft=document.body.scrollLeft;}}if(kb.y){tipLeft=kb.clientX+scrollLeft;tipTop=kb.clientY+scrollTop;}else{tipTop=kb.pageY;tipLeft=kb.pageX;}currentToolTip.style.top=tipTop+adjustAmount+"px";currentToolTip.style.left=tipLeft+"px";};ToolTipControl.prototype.displayCurrentToolTip=function(){var currentToolTip=this.getCurrentToolTip();currentToolTip.style.display="block";this.setToolTipDisplayed(true);};ToolTipControl.prototype.hideToolTip=function(lb){this.cancleMethodCall();var eventUtil=EventUtilityObject.getEventUtilityObject();var tooltipLinkMapping=this.getTooltipLinkMapping();var target=eventUtil.getTarget(lb);target=this.getToolTipTarget(target);tooltipLinkMapping[target.id].style.display="none";this.callMethodLater(500,this.removeCurrentToolTip,this);};ToolTipControl.prototype.removeCurrentToolTip=function(){this.setToolTipDisplayed(false);};ToolTipControl.prototype.getToolTipTarget=function(mb){while(mb.className!="tooltipLink"){mb=mb.parentNode;}return mb;};var RatingControl=function(nb,ob){EventDispatcher.call(this);this.editable=true;this.rating=0;var _ratingControl=nb;this.setRatingControl=function(pb){_ratingControl=pb;};this.getRatingControl=function(){return _ratingControl;};var _textBox=ob;this.setTextBox=function(qb){_textBox=qb;};this.getTextBox=function(){return _textBox;};var _ratingObjects=_ratingControl.getElementsByTagName("li");var _ratingObjectsCount=_ratingObjects.length;var _eventUtil=EventUtilityObject.getEventUtilityObject();var _self=this;for(var i=_ratingObjects.length-1;i>=0;i--){_eventUtil.addEvent(_ratingObjects[i],"mouseover",function(e){var evt=_eventUtil.getEvent();_self.ratingAdjust.call(_self,evt);});_eventUtil.addEvent(_ratingObjects[i],"mouseout",function(e){var evt=_eventUtil.getEvent();_self.ratingAdjust.call(_self,evt);});_eventUtil.addEvent(_ratingObjects[i],"mouseup",function(e){var evt=_eventUtil.getEvent();_self.ratingAdjust.call(_self,evt);});_eventUtil.addEvent(_ratingObjects[i].firstChild,"focus",function(e){var evt=_eventUtil.getEvent();_self.ratingAdjust.call(_self,evt);});_eventUtil.addEvent(_ratingObjects[i].firstChild,"blur",function(e){var evt=_eventUtil.getEvent();_self.ratingAdjust.call(_self,evt);});_eventUtil.addEvent(_ratingObjects[i].firstChild,"keypress",function(e){var evt=_eventUtil.getEvent();_self.ratingAdjust.call(_self,evt);});_ratingObjects[i].rating=i;}this.getRatingObjectsCount=function(){return _ratingObjectsCount;};this.getRatingObjects=function(){return _ratingObjects;};var _imageSwapper=new ImageSwapper();this.getImageSwapper=function(){return _imageSwapper;};};RatingControl.prototype=new EventDispatcher();RatingControl.prototype.setRatingImages=function(rb){var imageSwapper=this.getImageSwapper();imageSwapper.setImageCollection(rb);};RatingControl.prototype.ratingAdjust=function(sb){var EventUtil=EventUtilityObject.getEventUtilityObject();var ratingObj=EventUtil.getTarget(sb);while(String(ratingObj.nodeName).toLowerCase()!="li"){ratingObj=ratingObj.parentNode;}var rating=ratingObj.rating;this.rating=rating;var type=sb.type;var imageIndex=rating;var state=0;if(this.editable)switch(type){case "mouseup":imageIndex+=1;state=0;this.updateImages(rating,imageIndex,state);this.editable=false;this.notify("ratingSet");this.clearText();break;case "mouseover":imageIndex+=7;state=6;this.updateImages(rating,imageIndex,state);this.setText(rating);break;case "mouseout":imageIndex=0;this.updateImages(rating,imageIndex,state);this.clearText();break;case "focus":imageIndex+=7;state=6;this.updateImages(rating,imageIndex,state);break;case "blur":imageIndex=0;this.updateImages(rating,imageIndex,state);break;case "keypress":if(KeyPressUtility.getKeyFromEvent(sb)==KeyPressUtility.ENTER||KeyPressUtility.getKeyFromEvent(sb)==KeyPressUtility.SPACE){imageIndex+=1;this.updateImages(rating,imageIndex,state);this.editable=false;this.notify("ratingSet");}break;}};RatingControl.prototype.setText=function(tb){if(this.editable){var ratingObjects=this.getRatingObjects();var textBox=this.getTextBox();var text=ratingObjects[tb].getElementsByTagName("img")[0].alt;if(text){textBox.innerHTML=text;centerText(67,textBox);}}};RatingControl.prototype.clearText=function(){var textBox=this.getTextBox();textBox.innerHTML="&#160;";textBox.style.textAlign="right";textBox.style.width="auto";};RatingControl.prototype.updateImages=function(ub,vb,wb){if(this.editable){var imageSwapper=this.getImageSwapper();var ratingObjects=this.getRatingObjects();for(var i=this.getRatingObjectsCount()-1;i>=0;i--){if(i<=ub)imageSwapper.swapImage(ratingObjects[i].getElementsByTagName("img")[0],vb);else imageSwapper.swapImage(ratingObjects[i].getElementsByTagName("img")[0],wb);}}};var CSATControl=function(){var _eventUtil=EventUtilityObject.getEventUtilityObject();var _threshold=0;this.setThreshold=function(xb){_threshold=xb;};this.getThreshold=function(){return _threshold;};var _questions=null;this.setQuestions=function(yb){_questions=yb;var self=this;_eventUtil.addEvent(_questions,"submit",function(){self.QuestionsSubmited.call(self);});};this.getQuestions=function(){return _questions;};var _thankYou=null;this.setThankYou=function(zb){_thankYou=zb;};this.getThankYou=function(){return _thankYou;};var _ratingControl=null;this.setRatingControl=function(Ab,Bb){_ratingControl=new RatingControl(Ab,Bb);_ratingControl.attach("ratingSet",this,"ratingSet");};this.getRatingControl=function(){return _ratingControl;};};CSATControl.prototype.ratingSet=function(Cb){var threshold=this.getThreshold();var rating=Cb.target.rating;if(rating<threshold){var q=this.getQuestions();offsetRight(q);this.showElement(q);try{var euo=EventUtilityObject.getEventUtilityObject();clearVars();s_linkTrackVars="s_prop1";s_prop1=String(rating+1);euo.addEvent(window,"unload",this.quickSubmit);}catch(e){}}else{var t=this.getThankYou();offsetRight(t);this.showElement(t);this.submitAnswers();}};CSATControl.prototype.showElement=function(Db){Db.style.display="block";};CSATControl.prototype.hideElement=function(Eb){Eb.style.display="none";};CSATControl.prototype.setRatingControlImages=function(Fb){this.getRatingControl().setRatingImages(Fb);};CSATControl.prototype.QuestionsSubmited=function(){this.hideElement(this.getQuestions());var t=this.getThankYou();offsetRight(t);this.showElement(t);this.submitAnswers();};CSATControl.prototype.quickSubmit=function(){sendLinkEvent(null,null,null);};CSATControl.prototype.submitAnswers=function(){var rating=this.getRatingControl().rating+1;var answers=[rating];var questions=getElementsByClassName(this.getQuestions(),"div","multipuleChoice");var count=questions.length+1;for(var i=1;i<count;i++){answers[i]=null;var radioButtons=questions[i-1].getElementsByTagName("input");for(var j=radioButtons.length-1;j>=0;j--){if(radioButtons[j].checked==true)answers[i]=radioButtons[j].nextSibling.nodeValue;}}OmnitureInterface.eventNotification(answers);};var SectionControl={"ACTIVE_STATE":"activeLink","PASSIVE_STATE":"link","HOME_SECTION":"home","currentLink":null,"currentSection":null,"on":false,"click":function(Gb,Hb){EventUtilityObject.cancelEvent(Hb);if(SectionControl.on){var target=Hb.target!=undefined?Hb.target:Hb.srcElement;var section=document.getElementById("sec_"+Gb);SectionControl.showSection(section);SectionControl.setLink(target);StateHistory.updateState("section",Gb);}},"over":function(Ib){EventUtilityObject.cancelEvent(Ib);if(SectionControl.on){var target=Ib.target!=undefined?Ib.target:Ib.srcElement;SectionControl.activate(target);}},"out":function(Jb){EventUtilityObject.cancelEvent(Jb);if(SectionControl.on){var target=Jb.target!=undefined?Jb.target:Jb.srcElement;if(target!=SectionControl.currentLink)SectionControl.deactivate(target);}},"showSection":function(Kb){var currentSection=SectionControl.currentSection;if(!currentSection)currentSection=document.getElementById(SectionControl.HOME_SECTION);DiscoverDemo.close();currentSection.style.display="none";SectionControl.currentSection=Kb;Kb.style.display="block";},"setLink":function(Lb){SectionControl.clearLink();SectionControl.currentLink=Lb;SectionControl.activate(Lb);},"activate":function(Mb){Mb=SectionControl.getListObj(Mb);Mb.className=SectionControl.ACTIVE_STATE;if(IE6)Mb.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/Images/SuperCoolOverlay.png', sizingMethod='scale')";},"deactivate":function(Nb){Nb=SectionControl.getListObj(Nb);Nb.className=SectionControl.PASSIVE_STATE;if(IE6)Nb.style.filter="none";},"clearLink":function(){var currentLink=SectionControl.currentLink;if(currentLink)SectionControl.deactivate(currentLink);},"updateState":function(Ob){if(Ob==0){SectionControl.showSection(document.getElementById(SectionControl.HOME_SECTION));SectionControl.clearLink();}else try{SectionControl.showSection(document.getElementById("sec_"+Ob));SectionControl.setLink(document.getElementById("link_"+Ob));}catch(e){SectionControl.showSection(document.getElementById(SectionControl.HOME_SECTION));SectionControl.clearLink();}},"getListObj":function(Pb){while(Pb.nodeName.toLowerCase()!="li"){Pb=Pb.parentNode;}return Pb;}};function ActiveElementTracker(){this.current=null;}ActiveElementTracker.prototype.activate=function(Qb){var active="active";if(Qb.className.indexOf(active)<0){Qb.className=delineatedListManager.addItem(Qb.className,active," ");if(this.current)this.current.className=delineatedListManager.removeItem(this.current.className,active," ");this.current=Qb;}};var delineatedListManager={"addItem":function(Rb,Sb,Tb){Tb=Tb||",";if(Rb.indexOf(Sb)<0)Rb=Rb.length==0?Sb:Rb+Tb+Sb;return Rb;},"removeItem":function(Ub,Vb,Wb){Wb=Wb||",";var temp=Ub.split(Wb);var temp2=[];var count=temp.length;for(var i=0;i<count;i++){if(temp[i]!=Vb)temp2[temp2.length]=temp[i];}Ub=temp2.join(Wb);return Ub;}};function SectionNavigation(){this.menuLinks=new ActiveElementTracker();this.sections=new ActiveElementTracker();}SectionNavigation.prototype.menuItemClicked=function(Xb,Yb){this.menuLinks.activate(Xb);this.sections.activate(document.getElementById(Xb.href.substring(Xb.href.indexOf("#")+1)));EventUtilityObject.cancelEvent(Yb);};SectionNavigation.prototype.UpdateSection=function(Zb){sn.menuLinks.activate(document.getElementById("m"+Zb));sn.sections.activate(document.getElementById("s"+Zb));};SectionNavigation.prototype.SetCurrent=function(ac){sn.menuLinks.current=document.getElementById("m"+ac);sn.sections.current=document.getElementById("s"+ac);};var HeroButton={"toPress":function(bc){bc.className="Hero-Button HB-Press";bc.onfocus=null;},"toNormal":function(cc){cc.className="Hero-Button HB-Normal";cc.onfocus=function(){HeroButton.toFocus(this);};},"toFocus":function(ec){ec.className="Hero-Button HB-Focus";}};function getViewportWidth(){var xSize;if(self.innerWidth)xSize=self.innerWidth;else{if(document.documentElement&&document.documentElement.clientWidth)xSize=document.documentElement.clientWidth;else{if(document.body)xSize=document.body.clientWidth;}}return xSize;}function setIFAPosX(){var flashWidth=document.getElementById("ifaContentObj").width;var xSize=getViewportWidth();return xSize<flashWidth?"0px":Math.round(xSize/2)-Math.round(flashWidth/2)+"px";}function toggleIFA(){if(document.getElementById){var oLaunch=document.getElementById("ifa");var oIFA=document.getElementById("ifaContent");if(oIFA.style.display=="block")oIFA.style.display="none";else{var scrollTop=0;if(document.documentElement&&document.documentElement.scrollTop)scrollTop=document.documentElement.scrollTop;else{if(document.body&&document.body.scrollTop)scrollTop=document.body.scrollTop;}oIFA.style.display="block";var iLaunchTop=findPosY(oLaunch)-scrollTop;if(iLaunchTop<100)oIFA.style.top=100+scrollTop+"px";else oIFA.style.top=findPosY(oLaunch)-100+"px";oIFA.style.left=setIFAPosX();}}}var ifaDocId;function setIFADocId(gc){ifaDocId=gc;}function flashOmniture(hc){OmnitureInterface.pageView(hc);}var FlashObjectManager={"flashObjects":{},"registerFlashObject":function(jc,kc,lc,mc,nc,oc){this.flashObjects[jc]=this.createFlashObject(kc,lc,mc,nc,oc);},"getFlashObject":function(pc){return this.flashObjects[pc];},"createFlashObject":function(qc,rc,sc,tc,uc){if(document.all){var obj=["<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' id='",rc,"' width='",sc,"' height='",tc,"'>"];obj[obj.length]=["<param name=\"movie\" value=\"",qc,"\" />"].join("");}else var obj=["<object type=\"application/x-shockwave-flash\" data=\"",qc,"\" id=\"",rc,"\" width=\"",sc,"\" height=\"",tc,"\">"];for(var name in uc){obj[obj.length]=["<param name=\"",name,"\" value=\"",uc[name],"\" />"].join("");}obj[obj.length]="</object>";return obj.join("");},"writeFlashObject":function(vc,wc,xc,yc,zc){document.write(FlashObjectManager.createFlashObject(vc,wc,xc,yc,zc));}};var DiscoverDemo={"current":null,"load":function(e){var euo=new EventUtilityObject();var target=euo.getTarget(e);if(e.preventDefault)e.preventDefault();else e.returnValue=false;while(target.className!="leftColumn"){target=target.parentNode;}var demo=getElementsByClassName(target,"div","demo")[0];DiscoverDemo.current=demo;demo.style.display="block";demo.innerHTML=FlashObjectManager.getFlashObject(demo.id);},"close":function(){var demo=DiscoverDemo.current;if(demo){demo.style.display="none";demo.innerHTML="";DiscoverDemo.current=null;}}};function closeDiscoverDemo(){DiscoverDemo.close();}var State=function(Ac,Bc,Cc){this.name=Ac;this.defaultValue=Bc;this.currentValue=Bc;this.method=Cc;};State.prototype.change=function(Dc){this.currentValue=Dc;this.method(this.currentValue.trim());};State.prototype.setToDefault=function(Ec){this.currentValue=this.defaultValue;this.method(this.defaultValue);};var StateHistory={"interval":500,"intervalObj":null,"recentFragment":"","pollState":function(){var fragment=StateHistory.getFragment();if(fragment.length>0&&fragment!=StateHistory.recentFragment){StateHistory.recentFragment=fragment;StateHistory.stateChanged();}else{if(fragment.length==0){StateHistory.setToDefaults();StateHistory.recentFragment="";}}},"startPolling":function(){if(document.all){}else StateHistory.intervalObj=setInterval(StateHistory.pollState,StateHistory.interval);},"stopPolling":function(){clearInterval(StateHistory.intervalObj);StateHistory.intervalObj=null;},"stateChanged":function(){var states=StateHistory.recentFragment.split("-");var count=StateHistory.actions.length;for(var i=0;i<count;i++){var action=StateHistory.actions[i];var value=states[i];if(action.currentValue!=value)action.change.call(action,value);}},"actions":[],"nameIndexMap":{},"bindState":function(Fc,Gc,Hc){var actions=StateHistory.actions;var length=actions.length;StateHistory.nameIndexMap[Fc]=length;actions[length]=new State(Fc,Gc,Hc);if(!StateHistory.intervalObj)StateHistory.startPolling();},"updateState":function(Ic,Jc){var index=StateHistory.nameIndexMap[Ic];StateHistory.actions[index].currentValue=Jc;StateHistory.saveState(index,Jc);},"saveState":function(Kc,Lc){var rf=StateHistory.recentFragment.split("-");rf[Kc]=Lc;StateHistory.recentFragment=rf.join("-");StateHistory.setFragment(StateHistory.recentFragment);},"setToDefaults":function(){var actions=StateHistory.actions;for(var i=actions.length-1;i>=0;i--){actions[i].setToDefault();}},"getFragment":function(){if(document.all)return window.frames["state_iframe"].document.body.innerText;else return URL.getFragment();},"setFragment":function(Mc){if(document.all)document.getElementById("state_iframe").src="state.aspx?n="+Mc+"&s="+encodeURIComponent(document.getElementsByTagName("title")[0].innerText);else URL.setFragment(Mc);},"init":function(Nc){if(document.all){var fragment=URL.getFragment();if(fragment.length>0)Nc.innerHTML+="<iframe src='state.aspx?n="+fragment+"&s="+encodeURIComponent(document.getElementsByTagName("title")[0].innerText)+"' id = 'state_iframe' style='display:none;'></iframe>";else Nc.innerHTML+="<iframe src='state.aspx' id = 'state_iframe' style='display:none;'></iframe>";}}};var SuiteCommunicationProtocolWriter=new function(){this.TOU=false;var productSetValidation=new RegExp("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}(:?,[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})*$");this.Write=function(productList){var finalList=[];var trim=new RegExp("^(?:\\s|&nbsp;|&#160;)*|(?:\\s|&nbsp;|&#160;)*$","gi");for(var i=0;i in productList;i++){var productSet=productList[i];productSet=productSet.replace(trim,"");if(productSet.match(productSetValidation)){var temp=productSet.split(",");for(var j=0;j in temp&&finalList.length<100;j++){if(finalList.indexOf(temp[j])==-1)finalList[finalList.length]=temp[j];}}}if(finalList.length>0){var t=this.TOU?"1":"0";var d=new Date(new Date().getTime()+604800000).toUTCString();document.cookie="wlxp=p="+finalList.join(",").toLowerCase()+"&t="+t+";expires="+d;}};}();function setupCSAT(){if(document.getElementById("csat")){document.getElementById("csat").style.display="block";var csat=new CSATControl();csat.setThreshold(threshold);csat.setQuestions(document.getElementById("Questions"));csat.setThankYou(document.getElementById("thankYou"));csat.setRatingControl(document.getElementById("ratingControl"),document.getElementById("ratingControlText"));csat.setRatingControlImages(["/images/csat/star_P0.gif","/images/csat/star_P1.gif","/images/csat/star_P2.gif","/images/csat/star_P3.gif","/images/csat/star_P4.gif","/images/csat/star_P5.gif","/images/csat/star_A0.gif","/images/csat/star_A1.gif","/images/csat/star_A2.gif","/images/csat/star_A3.gif","/images/csat/star_A4.gif","/images/csat/star_A5.gif"]);}}function setupTooltip(){var ttc=new ToolTipControl();ttc.setup();}var demos;function init(){setupCSAT();setupTooltip();try{if(document.getElementById(SectionControl.HOME_SECTION)){StateHistory.bindState("section",0,SectionControl.updateState);StateHistory.init(document.getElementById("MX_DiscoverPage"));if(URL.getFragment().length>0)document.getElementById("home").style.display="none";SectionControl.on=true;}}catch(e){}}window.onload=init;appendRuleToStyleSheet("#csat","display:block;");