function getRotatorObjects(n){if(isHeroRotationRequired!=!1){if(parentObj=document.getElementById(n),parentObj.hasChildNodes)for(i=0;irotatorObjects.length-1&&(inObj=0),objectTracker(outObj,inObj)):(fadeOut(outObj,100),objectTracker(0,0),fadeIn(inObj,0),objectTracker(0,1));cycleTimeID=setTimeout(function(){rotate(outObj,inObj)},cycleTimer)}function select(n){fadeBool!=!0&&(pause("select"),fadeOut(outObj,100),fadeIn(n,0),choice=n,n==rotatorObjects.length-1?(inObj=0,outObj=n,objectTracker(outObj,inObj)):(outObj=n,inObj=n+1,objectTracker(outObj,inObj)))}function play(){fadeBool!=!0&&(hide("play"),show("pause"),fadeOut(outObj,100),fadeIn(inObj,0),inObj==rotatorObjects.length-1?(startCycle(inObj,0,cycleTimer),objectTracker(inObj,0)):(startCycle(inObj,inObj+1,cycleTimer),objectTracker(inObj,inObj+1)),typeof onPausePlay=="function"&&onPausePlay("play"))}function pause(n){show("play");hide("pause");clearTimeout(cycleTimeID);n!="select"&&typeof onPausePlay=="function"&&onPausePlay("pause")}function clear(){clearTimeout(cycleTimeID);clearTimeout(outTimeID);clearTimeout(inTimeID)}function fadeOut(n,t){obj=rotatorObjects[n];t>=0?(fadeBool=!0,Opacity(obj,t),t-=opacitystep,outTimeID=setTimeout(function(){fadeOut(n,t)},50)):(obj.style.visibility="hidden",clearTimeout(outTimeID))}function fadeIn(n,t){obj=rotatorObjects[n];obj.style.visibility="visible";t<=100?(Opacity(obj,t),t+=opacitystep,inTimeID=setTimeout(function(){fadeIn(n,t)},50)):(selectBool=!1,fadeBool=!1,clearTimeout(inTimeID),updateControl(n))}function Opacity(n,t){t>100||t<0||(n.style.MozOpacity!=null?n.style.MozOpacity=t/100-.001:n.style.opacity!=null?n.style.opacity=t/100-.001:n.style.filter!=null?n.style.filter="alpha(opacity="+t+")":n.style.KHTMLOpacity!=null&&(n.KHTMLOpacity=t/100-.001))}function updateControl(n){var i=n,t="select";for(k=0;k=xp.obj.imgary.length||t<1)&&(t=1),xp.obj.cntT=t-1,xp.obj.cntB=t,xp.obj.cntB==xp.obj.imgary.length&&(xp.obj.cntB=0),r||(r=xIncrement),(r<1||r>30)&&(r=xIncrement),xp.obj.inc=r,u||(u=xFadeSpeed),(u<5||u>70)&&(u=xFadeSpeed),xp.obj.spd=u,f||(f=xImgDelay),f<50&&(f=xImgDelay),xp.obj.dly=f,x0=0;x0=this.cy||(this.fcnt=0,this.cnt++,this.IT=this.imgary[this.cntT],this.IB=this.imgary[this.cntB],typeof onBannerRotate=="function"&&onBannerRotate(this.IB),this.IT.style.zIndex=0,this.IB.style.zIndex=1,this.IB.style.visibility="visible",this.fadebanner())};this.fadebanner=function(){this.fcnt+=this.inc;xOpacity(this.IT.style,100-this.fcnt);xOpacity(this.IB.style,this.fcnt);this.fcnt<100?this.setTimeOut1("fadebanner()",this.spd):(xOpacity(this.IB.style,100),xOpacity(this.IT.style,0),this.cntT=(this.cntT+1)%this.imgary.length,this.cntB=(this.cntB+1)%this.imgary.length,this.setTimeOut1("rotate()",this.dly))};xCnt++}function xOpacity(n,t){t>100||t<0||(n.MozOpacity!=null?n.MozOpacity=t/100-.001:n.opacity!=null?n.opacity=t/100-.001:n.filter!=null?n.filter="alpha(opacity="+t+")":n.KHTMLOpacity!=null&&(n.KHTMLOpacity=t/100-.001))}function trim(n){return n.replace(/^\s+|\s+$/g,"")}function ltrim(n){return n.replace(/^\s+/,"")}function rtrim(n){return n.replace(/\s+$/,"")}function onSearchClick(){validateSearch()&&(searchTrack(),document.bannerSearchForm.submit())}function createInputParam(n,t){var i=document.createElement("input");return i.type="hidden",i.name=n,i.value=t,i}function validateSearch(){if(document.bannerSearchForm.q.value==null||document.bannerSearchForm.q.value.length<1||trim(document.bannerSearchForm.q.value)=="")return!1;var n=document.forms.bannerSearchForm;return n.appendChild(createInputParam("entqr","3")),n.appendChild(createInputParam("client","default_frontend")),n.appendChild(createInputParam("proxystylesheet","default_frontend")),n.appendChild(createInputParam("output","xml_no_dtd")),!0}function submitSearch(){if(validateSearch())searchTrack();else return!1}function searchTrack(){typeof onSearchSubmit=="function"&&onSearchSubmit(document.bannerSearchForm)}$(document).ready(function(){Modernizr.input.placeholder||($("#txt1").val($("#txt1").attr.placeholder),$("#txt1").css("color","#999"),$("#txt1").focus(function(){$self=$(this);$self.val()==$self.attr.placeholder&&($self.val(""),$self.css("color","#000000"))}).blur(function(){$self=$(this);$self.val()==""&&($self.val($self.attr.placeholder),$self.css("color","#999"))}),$("#keyWordByFloat").css("color","#999"),$("#keyWordByFloat").focus(function(){$self=$(this);$self.val()==$self.attr.placeholder&&($self.val(""),$self.css("color","#000000"))}),$("#keyWordByFloat").blur(function(){$self=$(this);$self.val()==$self.attr.placeholder&&($self.val(""),$self.css("color","#000000"))}))});var parentObj,rotatorobjects=0,rotatorObjects=[],rotatorObjIDS=[],pos="",inObj=0,outObj=0,cycleTimer=5e3,cycleTimeID=null,inTimeID=null,outTimeID=null,selectTimeID=null,selectBool=!1,fadeBool=!1,choice=0,hoverBool,isHeroRotationRequired=!0,opacitystep=5,learn1=[],learn2=[],learn3=[],learn4=[],learnobjects=0,xIncrement=2,xFadeSpeed=30,xImgDelay=3e3,xCnt=0;getRotatorObjects("rotatorParent");xBannerRotateOpacity("latestNewsRotator",1,1e5);$(document).ready(function(){function f(){n=document.getElementById("scrollText");n.style.height="370px";n.style.overflow="hidden";t=setInterval(i,30);n.onmouseover=e;n.onmouseout=o}function i(){var t=n.scrollTop++;t==n.scrollTop&&(r?n.scrollTop=u:(n.innerHTML+=n.innerHTML,r=!0,u=t))}function e(){clearInterval(t)}function o(){t=setInterval(i,30)}var n,t,r=!1,u;f()})