jQuery.extend({clientID:function(A){return jQuery("[id$='"+A+"']")}});jQuery.extend({elementExists:function(A){return !((jQuery.clientID(A).val()==undefined)&&(jQuery.clientID("_"+A).val()==undefined))}});(function(AC){var P,AM={},AD,AU=this,AI=true,S=false,W="onhashchange" in AU,Ac=Array.prototype.slice,AT=document.location,X,AZ,Ab,AF,AH,AY,Z,T,AN="urlInternal",Q="urlExternal",AE="queryString",V="fragment",U="update",AX="passQueryString",AG="passFragment",Aa="fragmentChange",AO="hashchange."+Aa,AV,AW;function AA(A){return typeof A==="string"}function AR(A){return typeof A==="object"}function AQ(){var B=Ac.call(arguments),A=B.shift();return function(){return A.apply(this,B.concat(Ac.call(arguments)))}}function AS(){return AT.href.replace(/^[^#]*#?/,"")}jQuery.urlTagAttrList=X=function(A){return jQuery.extend(AM,A)};X({a:"href",img:"src",form:"action",base:"href",script:"src",iframe:"src",link:"href"});function AL(B){var A=B.nodeName;return A?AM[A.toLowerCase()]:""}jQuery.urlInternalHost=AZ=function(A){A=A?"(?:"+A+"\\.)?":"";var B=new RegExp("^"+A+"(.*)","i"),C="^"+AT.protocol+"//"+AT.hostname.replace(B,A+"$1")+(AT.port?":"+AT.port:"")+"/";return Ab(C)};jQuery.urlInternalRegExp=Ab=function(A){if(A){P=AA(A)?new RegExp(A,"i"):A}return P};AZ("www");jQuery.isUrlInternal=AF=function(A){if(!A){return AD}if(P.test(A)){return AI}if(/^https?:\/\//i.test(A)){return S}if(/^(?:#|[a-z\d.-]+:)/i.test(A)){return AD}return AI};jQuery.isUrlExternal=AH=function(B){var A=AF(B);return typeof A==="boolean"?!A:A};AY=function(A,B){return this.filter(":"+A+(B?"("+B+")":""))};jQuery.fn[AN]=AQ(AY,AN);jQuery.fn[Q]=AQ(AY,Q);Z=function(A,B,C,D){var E=D[3]||AL(B);return E?!!A(AC(B).attr(E)):S};jQuery.expr[":"][AN]=AQ(Z,AF);jQuery.expr[":"][Q]=AQ(Z,AH);function R(C,B,D,E){var A;if(AA(D)||AR(D)){return AP(B,D,E,C)}else{if(AR(B)){return jQuery.param(B)}else{if(AA(B)){return Y(B,D,C)}else{A=C?AS():AT.search;return Y(A,B,C)}}}}AC[AE]=AQ(R,0);AC[V]=AQ(R,1);function O(){var E,A,B,C=Ac.call(arguments),D=C.shift();if(AA(C[1])||AR(C[1])){E=C.shift()}A=C.shift();B=C.shift();return this.each(function(){var F=AC(this),H=E||AL(this),G=H&&F.attr(H)||"";G=R(D,G,A,B);F.attr(H,G)})}jQuery.fn[AE]=AQ(O,0);jQuery.fn[V]=AQ(O,1);function AB(){var B=Ac.call(arguments),C=B.shift(),D=B.shift(),A=R(C);if(jQuery.isFunction(B[0])){A=B.shift()(A)}else{if(jQuery.isArray(B[0])){jQuery.each(B.shift(),function(E,F){delete A[F]})}}return R(C,D,A,B.shift())}AC[AX]=AQ(AB,0);AC[AG]=AQ(AB,1);function AJ(){var C,A=Ac.call(arguments),B=A.shift();if(AA(A[0])){C=A.shift()}return this.each(function(){var D=AC(this),F=C||AL(this),E=F&&D.attr(F)||"";E=AB.apply(this,[B,E].concat(A));D.attr(F,E)})}jQuery.fn[AX]=AQ(AJ,0);jQuery.fn[AG]=AQ(AJ,1);function Y(D,E,H){var I,B,F,C={},G={"null":null,"true":AI,"false":S},J=decodeURIComponent,A=H?/^.*[#]/:/^.*[?]|#.*$/g;D=D.replace(A,"").replace(/\+/g," ").split("&");while(D.length){I=D.shift().split("=");B=J(I[0]);if(I.length===2){F=J(I[1]);if(E){if(F&&!isNaN(F)){F=Number(F)}else{if(F==="undefined"){F=AD}else{if(G[F]!==AD){F=G[F]}}}}if(jQuery.isArray(C[B])){C[B].push(F)}else{if(C[B]!==AD){C[B]=[C[B],F]}else{C[B]=F}}}else{if(B){C[B]=E?AD:""}}}return C}function AP(I,G,D,H){var C,A=H?/^([^#]*)[#]?(.*)$/:/^([^#?]*)[?]?([^#]*)(#?.*)/,E=I.match(A),B=Y(E[2],0,H),F=E[3]||"";if(AA(G)){G=Y(G,0,H)}if(D===2){C=G}else{if(D===1){C=jQuery.extend({},G,B)}else{C=jQuery.extend({},B,G)}}C=jQuery.param(C);return E[1]+(H?"#":C||!E[1]?"?":"")+C+F}jQuery.setFragment=T=function(B,C){var A=AR(B)?R(AI,B):(B||"").replace(/^#/,"");A=B?AP("#"+AS(),"#"+A,C,1):"#";AT.href=AT.href.replace(/#.*$/,"")+A};AC[Aa]=function(C){if(C===AI){C=100}function B(){var D=jQuery.Event(Aa);D[V]=AS();AC(document).trigger(D)}W&&AC(AU).unbind(AO);AV&&clearTimeout(AV);AV=null;if(typeof C==="number"){if(W){AC(AU).bind(AO,B)}else{AW=AS();if(jQuery.isFunction(AK)){AK=AK()}(function A(){var D=AS(),E=AK[V](AW);if(D!==AW){AK[U](D,E);AW=D;B()}else{if(E!==AW){T(E,2)}}AV=setTimeout(A,C<0?0:C)})()}}};function AK(){var C,B=jQuery.browser,A={};A[U]=A[V]=function(D){return D};if(B.msie&&B.version<8){A[U]=function(D,F){var E=C.document;if(D!==F){E.open();E.close();E.location.hash="#"+D}};A[V]=function(){return C.document.location.hash.replace(/^#/,"")};C=AC("<iframe/>").hide().appendTo("body").get(0).contentWindow;A[U](AS())}return A}})(jQuery);MarqueeScroll=function(A){};jQuery.extend(MarqueeScroll.prototype,{initialize:function(){this.marqueeContainer="headerMarqueeContainer";this.boxHeight=26;this.movementDuration=900;this.pauseLength=6;this.disableInOpera=false;this.itemArray=new Array();this.itemCount=0;this.newActiveItem=0;this.oldActiveItem=0;this.interval=0;this.activePosition=0;this.startFunction="scrollbox.start()";this.rotationFunction="scrollbox.rotation()"},init:function(){this.initialize();this.itemArray=jQuery("div#"+this.marqueeContainer).children();this.itemCount=this.itemArray.length;if(this.itemCount>1){if((BrowserDetect.browser=="Opera")&&(this.disableInOpera)){this.damnOpera()}else{this.moveInNewItem();var B=this.pauseLength*1000;var A=this.startFunction;setTimeout(A,B)}}else{if(this.itemCount==1){this.moveInNewItem()}else{return false}}},start:function(){this.changeActiveItem();this.moveOutOldItem();this.moveInNewItem();var B=this.pauseLength*1000;var A=this.rotationFunction;this.interval=setInterval(A,B)},moveOutOldItem:function(){var A="-"+this.boxHeight+"px";jQuery(this.itemArray[this.oldActiveItem]).animate({top:A},this.movementDuration)},moveInNewItem:function(){jQuery(this.itemArray[this.newActiveItem]).animate({top:this.activePosition+"px"},this.movementDuration)},rotation:function(){this.resetOldItem();this.changeActiveItem();this.moveOutOldItem();this.moveInNewItem()},changeActiveItem:function(){this.oldActiveItem=this.newActiveItem;this.newActiveItem=this.newActiveItem+1;if(this.newActiveItem==this.itemCount){this.newActiveItem=0}},resetOldItem:function(){jQuery(this.itemArray[this.oldActiveItem]).css({top:this.boxHeight+"px"})},damnOpera:function(){jQuery(this.itemArray[0]).css({top:"0px"})}});var scrollbox=new MarqueeScroll();jQuery(document).ready(function(){scrollbox.init()});var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(D){for(var A=0;A<D.length;A++){var B=D[A].string;var C=D[A].prop;this.versionSearchString=D[A].versionSearch||D[A].identity;if(B){if(B.indexOf(D[A].subString)!=-1){return D[A].identity}}else{if(C){return D[A].identity}}}},searchVersion:function(B){var A=B.indexOf(this.versionSearchString);if(A==-1){return }return parseFloat(B.substring(A+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();