/*  JS Resource: 20510  */

addLoadEvent=function(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}
func();}}};
/*  JS Resource: 22363  */

if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",_7);this.setAttribute("doExpressInstall",false);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a);}};deconcept.SWFObject.prototype={setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16.push(key+"="+_18[key]);}
return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}
return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}
catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}
catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}
catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}
return _23;};deconcept.PlayerVersion=function(_27){this.major=_27[0]!=null?parseInt(_27[0]):0;this.minor=_27[1]!=null?parseInt(_27[1]):0;this.rev=_27[2]!=null?parseInt(_27[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_29){var q=document.location.search||document.location.hash;if(q){var _2b=q.substring(1).split("&");for(var i=0;i<_2b.length;i++){if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){return _2b[i].substring((_2b[i].indexOf("=")+1));}}}
return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var _30=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();_30();};}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload();};}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload;}
if(Array.prototype.push==null){Array.prototype.push=function(_31){this[this.length]=_31;return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
/*  JS Resource: cms/js/cms-include.js  */

if(typeof cmsinclude=='undefined'){cmsinclude=true;if(typeof cms=='undefined'){cms={};}
cms_js_includes=[];cms_js_includes_pop=false;__ci_getAjaxTransport=function(){if(window.ActiveXObject){try{return new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}}}else{try{return new XMLHttpRequest();}catch(e){}}
return null;};__ci_createElement=function(tag){var ns,de=document.documentElement;ns=(de?de.namespaceURI:false);if(ns){return document.createElementNS(ns,tag);}
else{return document.createElement(tag);}};cms.populateJSIncludes=function(){cms_js_includes_pop=true;var h,script,asl=document.scripts;if(!asl){asl=document.getElementsByTagName("script");}
for(h=0;h<asl.length;h++){script=asl[h];script.loaded=true;cms_js_includes.push(script);}
if(window.detachEvent){window.detachEvent("onload",cms.populateJSIncludes);}else{window.removeEventListener("load",cms.populateJSIncludes,true);}};if(window.attachEvent){window.attachEvent("onload",cms.populateJSIncludes);}else{window.addEventListener("load",cms.populateJSIncludes,true);}
cms.addJSInclude=function(url){var i,found=false;for(i=0;i<cms_js_includes.length;i++){if(cms_js_includes[i].src==url){found=true;break;}}
if(!found){var script=__ci_createElement("script");script.setAttribute("type","text/javascript");script.setAttribute("src",url);script.loaded=true;cms_js_includes.push(script);}};cms.includeJS=function(url,allowDuplicates){var src,h,bound,allowDups=(allowDuplicates=='true')||allowDuplicates===true||false;var rx=/https?:\/\/[A-Za-z0-9.\-]+(:[0-9]+)?/;if(!allowDups){var js_list=(cms_js_includes_pop?cms_js_includes:document.getElementsByTagName("script"));for(h=0;h<js_list.length;h++){var script=js_list[h];if(!script.src){continue;}
src=script.src;url=url.replace(rx,'');src=src.replace(rx,'');if(src==url||('/' +src)==url){return script;}}}
var scr=__ci_createElement("script");scr.setAttribute("type","text/javascript");scr.setAttribute("src",url);cms_js_includes.push(scr);scr.loaded=false;var ajax=__ci_getAjaxTransport();if(ajax){ajax.open("GET",scr.src,false);try{ajax.send('');if(ajax.status==200||ajax.status===0){if(typeof execScript!='undefined'){execScript(ajax.responseText,"JavaScript");}
else{window.eval(ajax.responseText);}
scr.loaded=true;}}catch(e){if(typeof console!='undefined'){console.error("Unable to load and parse javascript: " +scr.src +"\n" +e.stackTrace);}}}
if(!scr.loaded){document.getElementsByTagName("head")[0].appendChild(scr);scr.loaded=true;}
return scr;};cms.includeCSS=function(url,type,mediaType){var rel="stylesheet",media="all";if(type){rel=type.toLowerCase();}
if(mediaType){media=mediaType;}
var head=document.getElementsByTagName("head")[0];var base=cms.getBaseURL();var allCSS=[];allCSS.pushAll(document.getElementsByTagName("link"));for(var h=0;h<allCSS.length;h++){var el=allCSS[h];if(!el.href||!el.rel){continue;}
var src=el.href;if(src.indexOf(base)===0){src=src.substring(base.length);}
if(el.rel.toLowerCase()==rel&&(src==url||('/'+src)==url)){return el;}}
var link=__ci_createElement("link");link.setAttribute("rel",rel);link.setAttribute("type","text/css");link.setAttribute("href",url);link.setAttribute("media",media);head.appendChild(link);return link;};}
/*  JS Resource: lib/i2rd-util.js  */

if(typeof __i2rd_initted=='undefined'){__i2rd_initted=true;if(typeof Array.prototype.push=='undefined'){Array.prototype.push=function(i){if(i){this[this.length]=i;}};}
if(typeof Array.prototype.pop=='undefined'){Array.prototype.pop=function(){if(this.length==0){return;}
var i,n=this.length -1;i=this[n];delete this[n];this.length=n;return i;};}
Array.prototype.pushAll=function(list){for(var h=0,hb=list.length;h<hb;h++){this.push(list[h]);}};if(typeof String.prototype.trim=='undefined'){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};}
if(typeof __i2rd_domupdate_event=='undefined'){__i2rd_domupdate_event="i2rd:domupdate";__i2rd_domupdate_handlers=[];__i2rd_domupdate_fire=function(element,evt){var i,h,args=[];if(evt){args.push(evt);}
for(i=0;(h=__i2rd_domupdate_handlers[i]);i++){try{h.apply(element,args);}catch(e){}}};}
var log4js={};log4js.logger={};log4js.logger.log=function(msg){if(typeof console!='undefined'&&console.log)console.log(msg);};log4js.logger.debug=log4js.logger.info=log4js.logger.warn=log4js.logger.error=log4js.logger.log;if(typeof i2rd=='undefined'){window.i2rd={};}
i2rd.isIE=!+'\v1';i2rd.getConfigMap=function(el){if(typeof el=='string')
el=document.getElementById(el);if(!el)return{};var e=el.childNodes,b={};for(var n=0,mx=e.length;n<mx;n++)b[e[n].className]=e[n].innerHTML;return b;};i2rd.xmlToString=function(xml){var str='';if(typeof xml!='string'){var i,ib;if(xml.xml){for(i=0,ib=xml.childNodes.length;i<ib;i++){str+=xml.childNodes[i].xml;}}else{var xs=new XMLSerializer();for(i=0,ib=xml.childNodes.length;i<ib;i++){str+=xs.serializeToString(xml.childNodes[i]);}}}else{str=xml;}
return str;};i2rd.scriptRX=new RegExp('<script[^>]*>([\\S\\s]*?)<\/script>','gim');i2rd.stripScripts=function(html){return{html:html.replace(i2rd.scriptRX,''),scripts:(function(){var m=[],i,arr;while((arr=i2rd.scriptRX.exec(html))){if(arr[1]){m[m.length]=arr[1].replace(/^\s*<!\[CDATA\[/,'').replace(/\]\]>\s*$/,'');}}
return m;})()};};i2rd.createElement=function(tag){var ns,de=document.documentElement;ns=(de?de.namespaceURI:false);if(ns){return document.createElementNS(ns,tag);}
else{return document.createElement(tag);}};i2rd.getBody=function(w){var doc=(w||window).document;return(doc.body||doc.getElementsByTagName("body")[0]);};i2rd.getElementsByTagName=function(tn,start){start=start||document;var r=[],els=start.getElementsByTagName(tn);if(!els||els.length==0){els=start.getElementsByTagName(tn.toUpperCase());}
r.pushAll(els);return r;};i2rd.addEvent=function(el,type,handler){if(type==__i2rd_domupdate_event){__i2rd_domupdate_handlers.push(handler);}else if(el.addEventListener){el.addEventListener(type,handler,false);}else{if(!handler.$$guid){handler.$$guid=i2rd.addEvent_guid++;}
if(!el.events){el.events={};}
var handlers=el.events[type];if(!handlers){handlers=el.events[type]={};if(el["on" +type]){handlers[0]=el["on" +type];}}
handlers[handler.$$guid]=handler;el["on" +type]=i2rd.handleEvent;}};i2rd.removeEvent=function(el,type,handler){if(type==__i2rd_domupdate_event){var hl=[];for(i=0;(h=__i2rd_domupdate_handlers[i]);i++){if(h!==handler){hl.push(h);}}
__i2rd_domupdate_handlers=hl;}else if(el.removeEventListener){el.removeEventListener(type,handler,false);}else{if(el.events&&el.events[type]){delete el.events[type][handler.$$guid];}}};i2rd.addEvent_guid=1;i2rd.handleEvent=function(event){var i,hl,rv=true;event=event||i2rd.fixEvent(((this.ownerDocument||this.document||this).parentWindow||window).event);hl=this.events[event.type];for(i in hl){this.$$handleEvent=hl[i];if(this.$$handleEvent(event)==false){rv=false;}}
return rv;};i2rd.fixEvent=function(event){event.preventDefault=i2rd.fixEvent_preventDefault;event.stopPropagation=i2rd.fixEvent_stopPropagation;return event;};i2rd.fixEvent_preventDefault=function(){this.returnValue=false;};i2rd.fixEvent_stopPropagation=function(){this.cancelBubble=true;};i2rd.getAjaxTransport=function(){try{return new XMLHttpRequest();}catch(e){}
try{return new ActiveXObject("Msxml2.XMLHTTP");}catch(e){}
try{return new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}
return null;};i2rd.bind=function(m,caller){var args=[],_m=m,obj=caller;if(arguments&&arguments.length>2){for(var i=2;i<arguments.length;i++){args[i -2]=arguments[i];}}
return function(){for(var i=0;i<arguments.length;i++){args[args.length]=arguments[i];}
_m.apply(obj,args);};};i2rd.bindAsEventListener=function(m,caller){var args=[],_m=m,obj=caller;if(arguments&&arguments.length>2){for(var i=2;i<arguments.length;i++){args[i -2]=arguments[i];}}
return function(evt){for(var i=0;i<arguments.length;i++){args[args.length]=arguments[i];}
_m.apply(obj,[evt||window.event].concat(args));};};i2rd.eventElement=function(evt){var e=evt||window.event;return(e.target||e.srcElement);};i2rd.getInnerText=function(el){if(typeof el=="string"){return el;}
var cn,i,str="",children=el.childNodes;for(i=0;(cn=children[i]);i++){switch(cn.nodeType){case 1:str +=i2rd.getInnerText(cn);break;case 3:case 4:str +=cn.nodeValue;break;}}
return str;};i2rd.mousex=0;i2rd.mousey=0;i2rd.mousetrack=false;i2rd.updateLoc=function(evt){var x=0,y=0;if(evt.pageX){x=evt.pageX;y=evt.pageY;}else if(evt.clientX){var de=document.documentElement;x=evt.clientX +de.scrollLeft;y=evt.clientY +de.scrollTop;}else{x=evt.screenX;y=evt.screenY;}
i2rd.mousex=x;i2rd.mousey=y;};i2rd.getMouseCoord=function(evt){if(!i2rd.mousetrack){i2rd.mousetrack=true;if((evt=evt||window.event)){i2rd.updateLoc(evt);}
i2rd.addEvent(document,'mousemove',i2rd.updateLoc);setTimeout(function(){i2rd.mousetrack=false;i2rd.removeEvent(document,'mousemove',i2rd.updateLoc);},120000);}
return{x:i2rd.mousex,y:i2rd.mousey};};i2rd.addClassName=function(el,cn){var cn=cn.trim();if(!i2rd.hasClassName(el,cn))
el.className=((el.className||'') +' ' +cn).trim();};i2rd.removeClassName=function(el,cn){if(!i2rd.hasClassName(el,cn))return;el.className=(el.className||'').replace(RegExp("(^|\\s+)" +cn.trim() +"(\\s+|$)",'g'),' ').trim();};i2rd.hasClassName=function(el,cn){var cur=(el.className||'');return cur==cn||(RegExp('\\b'+cn+'\\b').test(cur));};i2rd.getCookie=function(name){var p,b,dc=document.cookie;if(!dc){return null;}
p=name+"=";b=dc.indexOf("; "+p);if(b==-1){b=dc.indexOf(p);if(b!=0){return null;}}else{b+=2;}
var e=document.cookie.indexOf(";",b);if(e==-1){e=dc.length;}
return unescape(dc.substring(b+p.length,e));};i2rd.setCookie=function(name,value,expires,path,domain,secure){document.cookie=name+"="+escape(value)+
((expires)?"; expires="+expires.toGMTString():"")+
((path)?"; path="+path:"")+
((domain)?"; domain="+domain:"")+
((secure)?"; secure":"");};i2rd.deleteCookie=function(name,path,domain){document.cookie=name+"; expires=Thu, 01-Jan-1970 00:00:01 GMT"+
((path)?"; path="+path:"")+
((domain)?"; domain="+domain:"");};i2rd.lastFocus=null;i2rd.focusListener=function(evt){var el,lf=i2rd.lastFocus;if(lf){lf.className=lf.className.replace("focused","");}
evt=evt||window.event;el=evt.target||evt.srcElement;i2rd.lastFocus=el;el.className=el.className+" focused";};i2rd.owfDefault={menubar:false,location:false,toolbar:false,scrollbars:true,statusbar:false};i2rd.openWindow=function(url,name,dim,features,pbMesg,evt){name=name||'_blank';features=features||i2rd.owfDefault;pbMesg=pbMesg||'Please disable any popup blockers for this site.';var fstr='';for(var key in features){var val=i2rd.getOWFeature(features,key);if(val!=null){fstr +=','+key+'='+(val?'yes':'no');}}
if(dim){if(dim.x&&dim.x>0){dim.x+=30;fstr+=',width='+dim.x;}
if(dim.y&&dim.y>0){dim.y+=50;fstr+=',height='+dim.y;}}
if(fstr.length>0){fstr=fstr.substring(1);}
var nw=window.open(url,name,fstr);if(name!='_top'&&name!='_parent'&&name!='_self'){if(nw.opener!=window){alert(pbMesg);}}
try{nw.focus();if(dim&&dim.x&&dim.y){if(dim.x>0&&dim.y>0){nw.resizeTo(dim.x,dim.y);}}}catch(e){}
evt=evt||window.event;if(evt){if(evt.preventDefault){evt.preventDefault();}
else{evt.canceBubble=true;}}
return false;};i2rd.getOWFeature=function(m,prop){var val=m[prop];if(typeof val=='undefined'||val==null){return null;}
else{return!!val;}};i2rd.addEvent(window,'load',function(){var i1,i2,fe1,f,el,fl=document.forms;if(typeof fl=='undefined'){return;}
for(f=null,i1=0;(f=fl[i1]);i1++){el=f.elements;for(fe1=null,i2=0;(fe1=el[i2]);i2++){if(fe1.type=='hidden'){continue;}
i2rd.addEvent(fe1,'focus',i2rd.focusListener);if(fe1.type&&fe1.className&&fe1.type.match(/select.*/i)&&fe1.className.match(/.*autosubmitselect.*/i)){fe1.onchange=function(evt){this.form.submit();};}}}});}
/*  JS Resource: cms/js/bean/stylesheet-switcher.js  */

if(typeof SS=='undefined'){SS={};SS.setActiveStyleSheet=function(title){var i,a,main;var links=document.getElementsByTagName("link");for(i=0;(a=links[i]);i++){if(a.getAttribute("rel").indexOf("style")!= -1&&a.getAttribute("title")){a.disabled=true;if(a.getAttribute("title")==title){a.disabled=false;}}}};SS.getActiveStyleSheet=function(){var i,a;var links=document.getElementsByTagName("link");for(i=0;(a=links[i]);i++){if(a.getAttribute("rel").indexOf("style")!= -1&&a.getAttribute("title")&&!a.disabled)return a.getAttribute("title");}
return null;};SS.getActiveStyleSheets=function(){var i,a,active={};var links=document.getElementsByTagName("link");for(i=0;(a=links[i]);i++){if(a.getAttribute("rel").indexOf("style")!= -1&&a.getAttribute("title")&&!a.disabled){active[a.getAttribute("title")]=true;}}
var list=[];for(key in active)list[list.length]=key;return list;};SS.getPreferredStyleSheet=function(){var i,a;var links=document.getElementsByTagName("link");for(i=0;(a=links[i]);i++){if(a.getAttribute("rel").indexOf("style")!= -1&&a.getAttribute("rel").indexOf("alt")== -1&&a.getAttribute("title")){return a.getAttribute("title");}}
return null;};SS.activateStyleSheet=function(evt){evt.preventDefault();evt.stopPropagation();var anchor=(evt.srcElement||evt.target);if(!anchor){return;}
if(!(anchor.nodeName=="a"||anchor.nodeName=="A")){return;}
SS.setActiveStyleSheet(anchor.title);var time=new Date();time.setHours(time.getHours() +48);i2rd.setCookie(anchor.cookieName,anchor.title,time,"/");};SS.switchers=[];SS.supported={};SS.init=function(){if(typeof document.getElementsByTagName=='undefined')return;var divs=document.getElementsByTagName("div");var i,el;for(i=0;(el=divs[i]);i++){var cn=el.className||"";cn=cn.toLowerCase();if(cn.match(/stylesheetswitcher/)){SS.switchers[SS.switchers.length]=el;}}
if(SS.switchers.length>1){}
var anchors,j,a;for(i=0;(el=SS.switchers[i]);i++){var cookie=i2rd.getCookie(el.id +"-style");var title=cookie?cookie:SS.getPreferredStyleSheet();SS.setActiveStyleSheet(title);anchors=el.getElementsByTagName("a");for(j=0;(a=anchors[j]);j++){i2rd.addEvent(a,'click',SS.activateStyleSheet);a.cookieName=el.id +"-style";var titles=SS.supported[el.id];if(!titles){titles={};SS.supported[el.id]=titles;}
titles[a.title]=true;}}};i2rd.addEvent(window,'load',SS.init);i2rd.addEvent(window,'unload',function(e){var i,el,j,title;var titles=SS.getActiveStyleSheets();for(j=0;(title=titles[j]);j++){for(i=0;(el=SS.switchers[i]);i++){var supported=SS.supported[el.id];if(supported[title]){var time=new Date();time.setHours(time.getHours() +48);i2rd.setCookie(el.id +"-style",title,time,"/");}}}
SS.switchers.length=0;delete SS.switchers;});}
/*  JS Resource: cms/js/cms-iefix.js  */

if(typeof cmsiepermiatefix=='undefined'){cmsiepermiatefix=true;if(typeof cms=='undefined'){cms={};}
cms_hiddenElements=[];cms.hideObscuredElements=function(exclude){if(!(navigator.userAgent.match(/MSIE [456]/)&&!window.opera)){return;}
if(!exclude){return;}
cms.showObscuredElements();var elements=[];elements.pushAll(i2rd.getBody().childNodes);var el;while((el=elements.pop())){if(el==exclude){continue;}
elements.pushAll(el.childNodes);if(el.nodeType==1){if(el.nodeName.toLowerCase()=="select"){try{el.style.visibility="hidden";cms_hiddenElements.push(el);}catch(e){log4js.logger.error("Error accessing element in hideObscuredElement.",e);}}}}};cms.showObscuredElements=function(){var el;while((el=cms_hiddenElements.pop())){try{el.style.visibility="visible";}catch(e){log4js.logger.error("Error accessing element in showObscuredElement.",e);}}};cms.__fixIEButtonHandling=function(evt){try{var button=(evt.target||evt.srcElement);var form=button.form,name=button.name,value=button.value;var alt=$(button.id +"_value");if(alt&&alt.value){value=alt.value;}
for(var h=0;h<form.elements.length;h++){var el=form.elements[h];if(el.nodeName.toLowerCase()=='button'){var type=el.getAttribute('type');if(type=='submit'){el.parentNode.removeChild(el);}}}
if(!form[name]){var input=i2rd.createElement("input");input.setAttribute("type","hidden");input.setAttribute("name",name);input.setAttribute("id",name);input.setAttribute("value",value);form.appendChild(input);}else{}
form.submit();}catch(ee){log4js.logger.error("Caught error manipulating form.",ee);}
return true;};cms.__fixIEButtonInit=function(){var i,ib,type,cn,el,buttons=document.getElementsByTagName("button");for(i=0,ib=buttons.length;i<ib;i++){el=buttons[i];type=el.getAttribute('type');cn=el.className||"";if(cn.match("fixie")&&(!type||type=='submit')){if(typeof el.iesetup=='undefined'){i2rd.addEvent(el,'click',cms.__fixIEButtonHandling);el.iesetup=true;}}}};if((navigator.userAgent.match(/MSIE [4567]/)&&!window.opera)){i2rd.addEvent(window,'onload',cms.__fixIEButtonInit);window.setTimeout(cms.__fixIEButtonInit,750);}}
/*  JS Resource: cms/js/cms-dim.js  */

if(typeof cmsdim=='undefined'){cmsdim=true;if(typeof cms=='undefined'){cms={};}
cms.getStyle=function(el,sp){var v;if(el.currentStyle){v=el.currentStyle[sp];}
else if(window.getComputedStyle){v=document.defaultView.getComputedStyle(el,null).getPropertyValue(sp);}
else{v=el.style[sp];}
return v;}
cms.getScrollOffset=function(){var x,y;if(self.pageYOffset){x=self.pageXOffset;y=self.pageYOffset;}else{var b=i2rd.getBody(),de=document.documentElement;if(de&&de.scrollTop){x=de.scrollLeft;y=de.scrollTop;}else if(b){x=b.scrollLeft;y=b.scrollTop;}}
return{x:x,y:y};};cms.getDocumentDim=function(){var b=i2rd.getBody(),de=document.documentElement;var x=(de?de.scrollWidth:b.scrollWidth);var y=(de?de.scrollHeight:b.scrollHeight);var x2=0,y2=0;if(self.innerHeight){x2=self.innerWidth;y2=self.innerHeight;}else if(de.clientHeight){x2=de.clientWidth;y2=de.clientHeight;}else if(b){x2=b.clientWidth;y2=b.clientHeight;}
var max=x*y;var max2=x2*y2;if(max2>max){x=x2;y=y2;}
return{x:x,y:y};};cms.getWindowDim=function(){var x,y;if(self.innerHeight){x=self.innerWidth;y=self.innerHeight;}else{var b=i2rd.getBody(),de=document.documentElement;if(de&&de.clientHeight){x=de.clientWidth;y=de.clientHeight;}
else if(b){x=b.clientWidth;y=b.clientHeight;}}
return{x:x,y:y};};cms.positionAtEvt=function(evt,el){var els=el.style,vis=(cms.getStyle(el,"visibility")||"visible"),disp=(cms.getStyle(el,"display")||"block");if(vis!='hidden'){els.visibility="hidden";}
if(disp=='none'){els.display='block';}
var coord=i2rd.getMouseCoord(evt),wdim=cms.getWindowDim(),x=coord.x,y=coord.y,eh=el.clientHeight,ew=el.clientWidth;if((x+ew)>wdim.x){x=x -ew -10;if(x<0){x=0;}}
el.style.left=x +10 +"px";el.style.top=y +10 +"px";els.visibility=vis;els.display=disp;};cms.positionAtCenter=function(el){var els=el.style,vis=(cms.getStyle(el,"visibility")||"visible"),disp=(cms.getStyle(el,"display")||"block");if(vis!='hidden'){els.visibility="hidden";}
if(disp=='none'){els.display='block';}
if(!els.left){els.left="0px";}
if(!els.top){els.top="0px";}
var wdim=cms.getWindowDim(),offset=cms.getScrollOffset(),ddim=cms.getDocumentDim(),eh=el.clientHeight,ew=el.clientWidth,x=0,y=0;if(ew<wdim.x){x=(ddim.x -ew)/2;y=((wdim.y/2) -(eh/2));}
if(x<0){x=0;}
if(y<0){y=0;}
x=x +offset.x;y=y +offset.y;els.left=x +"px";els.top=y +"px";els.visibility=vis;els.display=disp;};}
/*  JS Resource: cms/js/cms-pageeffect.js  */

if(typeof cms_page_effect=='undefined'){cms_page_effect=true;if(typeof cms=='undefined'){cms={};}
cms.background=null;cms.bg_clickEvent=null;cms.bg_loadingCN="content_loading";cms.setBackgroundLoading=function(tf){cms.background.className=cms.background.className.replace(cms.bg_loadingCN,"");if(tf){cms.background.className +=" " +cms.bg_loadingCN;}};cms.resizeBackground=function(){if(cms.background){var dv=cms.background.style.display||"none",cb=cms.background;cb.style.display="block";var dim=cms.getScrollOffset();cb.style.display=dv;cb.style.top=dim.y +"px";}};cms.createBackground=function(){if(!cms.background){var d=window.document;var div=i2rd.createElement("div");var body=i2rd.getBody();body.appendChild(div);div.style.textAlign="center";div.style.position="absolute";div.style.left=0;div.style.top=0;div.style.height="100%";div.style.width="100%";div.className="page_background";div.style.display="none";cms.background=div;}};i2rd.addEvent(window,'load',cms.createBackground);cms.showBackground=function(cn,zIndex,clickEvent){zIndex=zIndex||"100";cms.createBackground();var cb=cms.background;cb.style.zIndex="501";cb.className="page_background";if(cn&&!cms.background.className.match(' ' +cn)){cms.background.className +=(" " +cn);}
cb.style.display="block";i2rd.addEvent(window,"resize",cms.resizeBackground);i2rd.addEvent(window,"scroll",cms.resizeBackground);cms.bg_clickEvent=clickEvent;if(clickEvent){i2rd.addEvent(cms.background,'click',clickEvent);}
cms.resizeBackground();cms.handleMacFirefox();};cms.handleMacFirefox=function(){var cb=cms.background;var ua=navigator.userAgent.toLowerCase();if((ua.indexOf('mac')!= -1&&ua.indexOf('firefox')!=-1)){var img='/resources/all/docroot/cms/icons/black_opaque_65.png';cb.style.opacity=null;var opStr=cms.getStyle(cb,"opacity");if(opStr){var op=parseFloat(opStr);if(op>0.65){img='/resources/all/docroot/cms/icons/black_opaque_70.png';}
if(op>0.70){img='/resources/all/docroot/cms/icons/black_opaque_75.png';}
cb.style.backgroundImage='url(' +img +')';cb.style.backgroundRepeat="repeat";}
cb.style.backgroundColor="transparent";cb.style.opacity=1;}};cms.hideBackground=function(){if(cms.background){i2rd.removeEvent(window,"resize",cms.resizeBackground);i2rd.removeEvent(window,"scroll",cms.resizeBackground);cms.background.style.display="none";if(cms.bg_clickEvent){i2rd.addEvent(cms.background,'click',cms.bg_clickEvent);}}};cms.pageLoadMessageDiv=null;cms._IDisplayPageLoadMessage=function(mesg){if(!cms.pageLoadMessageDiv){var div=i2rd.createElement("div");div.style.position='absolute';div.style.font='bold 3em Arial';div.style.textAlign="center";div.style.backgroundColor='white';div.style.padding='1em';div.style.border='1px black solid';div.style.visibility="hidden";div.className="wait_message";var body=i2rd.getBody();body.appendChild(div);div.style.zIndex=cms.ZIndex.HIGH*2;cms.pageLoadMessageDiv=div;}
var textNode=document.createTextNode(mesg);while(cms.pageLoadMessageDiv.childNodes.length>0){cms.pageLoadMessageDiv.removeChild(cms.pageLoadMessageDiv.firstChild);}
cms.pageLoadMessageDiv.appendChild(textNode);cms.positionAtCenter(div);cms.pageLoadMessageDiv.style.visibility="visible";};cms.hidePageLoadMessage=function(){if(cms.pageLoadMessageDiv){cms.pageLoadMessageDiv.style.visibility="hidden";}};cms.displayPageLoadMessage=function(mesg,timeout){mesg=mesg||"Please Wait...";try{if(timeout){window.setTimeout('cms._IDisplayPageLoadMessage("'
+mesg +'")',timeout);}else{cms._IDisplayPageLoadMessage(mesg);}}catch(e){log4js.logger.info("Unable to display message.",e);}};}
/*  JS Resource: cms/js/bean/emailpage.js  */

if(typeof EP=='undefined'){EP={};EP.Popup=function(beanNode,formDiv,form,link,cancelBtn,statusCon){this.beanNode=beanNode;this.formDiv=formDiv;this.form=form;this.link=link;this.cancelBtn=cancelBtn;this.statusCon=statusCon;this.init();};EP.Popup.prototype={init:function(){var body=i2rd.getBody();this.background=i2rd.createElement("div");this.background.className="ep_popup_background";this.background.style.display="none";body.appendChild(this.background);this.background.style.position="absolute";this.background.style.left=0;this.background.style.top=0;this.background.style.bottom=0;this.background.style.right=0;this.background.style.zIndex="599";this.popup=i2rd.createElement("div");this.popup.style.display="none";body.appendChild(this.popup);this.popup.appendChild(this.formDiv);this.popup.style.zIndex="600";this.popup.id="popup_" +this.beanNode.id;this.popup.className="ep_popup";if(document.createComment)
this.popup.appendChild(document.createComment("Auto generated popup for EmailPage component."));this.link.href="#";this.checkEscFunc=i2rd.bind(this.checkEsc,this);this.hideFunc=i2rd.bind(this.hide,this);i2rd.addEvent(this.link,"click",i2rd.bind(this.toggle,this));i2rd.addEvent(this.background,"click",this.hideFunc);i2rd.addEvent(this.cancelBtn,"click",this.hideFunc);i2rd.addEvent(this.form,"submit",i2rd.bind(this.submitForm,this));},toggle:function(evt){evt.stopPropagation();evt.preventDefault();if(this.popup.style.display=="none")
this.show();else
this.hide();},checkEsc:function(evt){if(evt.keyCode==27||evt.which==27){this.hide();}},show:function(){cms.showBackground("ep_popup_background","599",this.hideFunc);this.popup.style.display="block";var el=i2rd.getElementsByTagName("input",this.form)[0];i2rd.addEvent(document,"keypress",this.checkEscFunc);this.scrollTo(this.popup);if(window.scrollBy)
window.scrollBy(0, -20);cms.hideObscuredElements(this.popup);try{el.focus();}catch(e){}},scrollTo:function(element){var x=element.x?element.x:element.offsetLeft,y=element.y?element.y:element.offsetTop;window.scrollTo(x,y);},hide:function(){cms.showObscuredElements();this.popup.style.display="none";this.form.reset();this.statusCon.innerHTML="<span>&#160;</span>";i2rd.removeEvent(document,"keypress",this.checkEscFunc);cms.hideBackground();},serialize:function(){var enc,fe,i,ib,el=this.form.elements;;enc='';for(i=0,ib=el.length;(fe=el[i]);i++){if(!fe.name){continue;}
enc +='&' +fe.name +'=' +escape(fe.value);}
return enc.substring(1);},submitForm:function(evt){if(evt){evt.stopPropagation();evt.preventDefault();}
this.form.onsubmit=function(){return false;};var encodedForm=this.serialize();this.ajax=i2rd.getAjaxTransport();this.ajax.onreadystatechange=i2rd.bind(this.handleResponse,this);this.ajax.open("POST",this.form.action,true);this.ajax.setRequestHeader('Content-Type','application/x-www-form-urlencoded');this.ajax.send(encodedForm);},handleResponse:function(){if(this.ajax.readyState!=4){return;}
if(!(this.ajax.status==200||this.ajax.status==0))
alert("Unable to send email. Please try again later.");try{var success=true;var resp=this.ajax.responseText||this.ajax.responseXML;var processed=i2rd.stripScripts(i2rd.xmlToString(resp));var success=processed.html.match(/success/ig);this.statusCon.innerHTML=processed.html;if(success){this.hide();}
this.ajax.onreadystatechange=null;delete this.ajax;}catch(e){log4js.logger.error("Unable to process AJAX response.",e);}},cleanup:function(){delete this.checkEscFunc;}};EP.init=function(evt){var divList=i2rd.getElementsByTagName("div");for(var el=null,idx=0;(el=divList[idx]);idx++){var cn=el.className||"";cn=cn.toLowerCase();if(cn.match(/ep_email_form/)){if(el.ep_configured)continue;el.ep_configured=true;var epNode=el.parentNode;var epForm=i2rd.getElementsByTagName("form",epNode)[0];var epDiv=epForm.parentNode;if(epDiv&&epDiv.processed)continue;epDiv.processed=true;var epLink=i2rd.getElementsByTagName("a",i2rd.getElementsByTagName("span",epNode)[0])[0];var epCancel=null;var epStatusCon=null;var elList=i2rd.getElementsByTagName("input",epForm);for(var el2=null,idx2=0;(el2=elList[idx2]);idx2++){if(el2.type=="button"&&el2.name=="ep_cancel"){epCancel=el2;break;}}
elList=i2rd.getElementsByTagName("div",epDiv);for(var el2=null,idx2=0;(el2=elList[idx2]);idx2++){var cn2=el2.className||"";cn2=cn2.toLowerCase();if(cn2=="status_messages"){epStatusCon=el2;break;}}
if(!epForm||!epLink||!epCancel||!epStatusCon){if(!el.id)el.id="check_" +idx;}else{var popup=new EP.Popup(epNode,epDiv,epForm,epLink,epCancel,epStatusCon);i2rd.addEvent(window,'unload',function(evt){popup.cleanup();delete popup;});}}}};i2rd.addEvent(window,'load',EP.init);}
/*  JS Resource: cms/js/bean/MenuBean.js  */

if(typeof MB=='undefined'){var MB={};}
MB.lastEventTime=new Date();MB.getTarget=function(evt){evt=evt||window.event;var el=(evt.srcElement||evt.target);while(el&&el.nodeName.toLowerCase()!="li")
el=el.parentNode;return el;};MB.getTop=function(li){var parent=li;while(parent&&parent.className!='menubean'&&parent.nodeName.toLowerCase()!='div'){parent=parent.parentNode;}
if(parent==null)
throw new Error("Unable to find top of menu");return parent;};MB.GetChildUL=function(li){if(!li.className.match("mi_parent"))return null;var h,ul,hb,t;var children=li.getElementsByTagName("ul");if(!children||children.length==0){children=li.getElementsByTagName("UL");}
for(h=0,hb=children.length;(t=children[h]);h++){if(t.parentNode===li){if(ul){log4js.logger.error("Invalid DOM structure for menu. li.id = "+li.id+", children.length = " +(children==null?"null":children.length));break;}else{ul=t;}}}
return ul;};MB.SetInactiveClass=function(el){var elements=el.getElementsByTagName("li");if(!elements||elements.length==0){try{elements=el.getElementsByTagName("LI");}catch(e){}}
var liElements=[];liElements.pushAll(elements);var node=null;while((node=liElements.pop())){node.className=node.className.replace("mi_active","");node.className=node.className.replace("mi_inactive","");node.className +=" mi_inactive";}};MB.SetActive=function(li,activate){if(!li.className.match(/over/)){li.className +=" over";var ul=MB.GetChildUL(li);if(ul&&ul.className.match("_persistent")){var nodelist=MB.GetOpenState(li);var entry="," +li.id;if(nodelist.indexOf(entry)== -1){nodelist +=entry;}
MB.SetOpenState(li,nodelist)}}
if(activate){var top=MB.getTop(li);MB.SetInactiveClass(top);if(!li.className.match(/mi_active/)){li.className=li.className.replace("mi_inactive","");li.className +=" mi_active";}}
if(li.previousSibling&&!li.previousSibling.className.match(/prev_sibling/)){li.previousSibling.className+=" prev_sibling";}
if(li.nextSibling&&!li.nextSibling.className.match(/next_sibling/)){li.nextSibling.className+=" next_sibling";}};MB.SetInActive=function(li){if(!li.className.match(/over/))
return;li.className=li.className.replace("over","");var ul=MB.GetChildUL(li);if(ul&&ul.className.match("_persistent")){var nodelist=MB.GetOpenState(li);nodelist=nodelist.replace("," +li.id,"");MB.SetOpenState(li,nodelist);}
var prev=li.previousSibling;if(prev){prev.className=prev.className.replace(/ prev_sibling/g,"");}
var next=li.nextSibling;if(next){next.className=next.className.replace(/ next_sibling/g,"");}};MB.GetOpenState=function(li){var nodelist=i2rd.getCookie(MB.getTop(li).id +"-CMO");if(!nodelist)nodelist="";return nodelist;};MB.SetOpenState=function(li,nodelist){var time=new Date();time.setMonth(time.getMonth() +1);i2rd.setCookie(MB.getTop(li).id +"-CMO",nodelist,time,"/");};MB.MenuBeanInit=function(div){if(typeof div=='string')div=document.getElementById(div);if(!!div.mbinited)return;div.mbinited=true;var nodelist=i2rd.getCookie(div.id +"-CMO")||"";var item=null;var elements=div.getElementsByTagName("li");if(!elements||elements.length==0){try{elements=div.getElementsByTagName("LI");}catch(e){}}
var liElements=[];liElements.pushAll(elements);while((item=liElements.pop())){var pn=item.parentNode;if(pn&&pn.nodeName.toLowerCase()=="ul"){pn=pn.parentNode;if(pn&&pn.nodeName.toLowerCase()=="li"&&pn.className&&!pn.className.match("mi_parent")){pn.className +=" mi_parent";}}
item.onclick=function(evt){var now=new Date();if((now -MB.lastEventTime)<200)return;MB.lastEventTime=new Date();var target=MB.getTarget(evt);if(target.className.match(/over/)){MB.SetInActive(target,true);}
else{MB.SetActive(target);}};if(!item.parentNode.className.match(/persistent/)){item.onmouseover=function(evt){try{MB.SetActive(this);}catch(e){}};item.onmouseout=function(evt){try{MB.SetInActive(this);}catch(e){}};}else{var tmpId="," +item.id;if(nodelist.indexOf(tmpId)== -1){MB.SetInActive(item);}}}
if(document.getElementById){var liList=nodelist.split(",");for(var h=0;h<liList.length;h++){var id=liList[h];if(id){var li=document.getElementById(id);if(li){MB.SetActive(li);}}}}};MB.scan=function(start){if(typeof start=='string')start=document.getElementById(start);var m,div,s=(start||document),i,ib;if(document.evalute){var result=document.evaluate("//div[contains(@class,'menubean')]",s,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(i=0,ib=result.snapshotLength;i<ib;i++){m[m.length]=result.snapshotItem(i);}}else{m=s.getElementsByTagName("div");}
for(i=0,ib=m.length;i<ib;i++){div=m[i];if((div.className||'').match(/menubean/))
MB.MenuBeanInit(div);}};
/*  JS Resource: 26338  */

var getCookie=function(name){var p,b,dc=document.cookie;if(!dc){return null;}
p=name+"=";b=dc.indexOf("; "+p);if(b==-1){b=dc.indexOf(p);if(b!=0){return null;}}else{b+=2;}
var e=document.cookie.indexOf(";",b);if(e==-1){e=dc.length;}
return unescape(dc.substring(b+p.length,e));};var popupWindow=function(){var url="http://www.jollytime.com/forum/index";var sid=getCookie("JSESSIONID");if(sid){url=url +";jsessionid=" +sid;}
window.open(url,'','resizable=yes,location=no,menubar=no,scrollbars=yes,status=no,toolbar=no,fullscreen=no,dependent=no,width=649,height=586');return false;};var convertLinks=function(){var divs=new Array("nav_primary","discuss","footer_menu");for(var i=0;i<divs.length;i++){var div=document.getElementById(divs[i]);if(div){var elements=div.getElementsByTagName("a");for(var h=0;h<elements.length;h++){var a=elements[h];if(a.href&&a.href.match(/forum\/index/)){a.onclick=popupWindow;}}}}}
var flh_inited=false;var flh_init=function(){if(flh_inited){return;}
flh_inited=true;if(_timer)clearInterval(_timer);convertLinks();};if(document.addEventListener){document.addEventListener("DOMContentLoaded",flh_init,false);}
/*@cc_on @*//*@if (@_win32)
  document.write("<script id=__flhOnContentLoad defer " + "src='//:'><\/script>");
    var script = document.getElementById("__flhOnContentLoad");
    script.onreadystatechange = function() {
      if (this.readyState == "complete") {
        flh_init(); // call the onload handler
      }
    };
/*@end @*/if(/WebKit/i.test(navigator.userAgent)){var _timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){flh_init();}},10);}
addLoadEvent(flh_init);
/*  JS Resource: 21805  */

var MHInit=function(){if(typeof MB=='undefined'){return;}else{var oldSetOpenState=MB.SetOpenState;var mySetOpenState=function(li,nodelist){if(MB.getTop(li).id=="who_am_i_menu"){oldSetOpenState(li,null);}else{oldSetOpenState(li,nodelist);}};MB.SetOpenState=mySetOpenState;}};addLoadEvent(MHInit);
/*  JS Resource: cms/js/bean/sitesearch.js  */

cmsSiteSearchGetForm=function(element){while(element.parentNode&&element.nodeName.toLowerCase()!="form"){element=element.parentNode;}
return element;};evt_Target=function(evt){evt=evt||window.event;return evt.target||evt.srcElement;};cms_ss_OnBlur=function(evt){var t=evt_Target(evt)||this;if(t.value.length==0){t.value=t.origValue||t.value;}};cms_ss_OnFocus=function(evt){var t=evt_Target(evt)||this;if(t.value==t.origValue){t.value="";}};cms_ss_SetRPP=function(evt){var t=evt_Target(evt)||this;t.rpp.value=t.rppvalue;cms_ss_ResetOS(evt);t.rpp.form.submit();};cms_ss_ResetOS=function(evt){var t=evt_Target(evt)||this;if(t.sso){t.sso.value=0;}};cms_ss_Setup=function(){try{var nn,ssq,sso,rpp,f,h,i,el,forms=document.forms;try{if(!forms)forms=document.forms();}catch(e){}
for(h=0;h<forms.length;h++){rpp=null;f=forms[h];for(i=0;i<f.elements.length;i++){el=f.elements[i];nn=(el.nodeName?el.nodeName.toLowerCase():'');if(nn=="input"){if(el.name=="site_search_rpp"){rpp=el;}else if(el.name=="site_search_offset"){sso=el;}else if(el.name=="site_search_query"){ssq=el;ssq.origValue=document.getElementById("site_search_query_default").value;ssq.onfocus=cms_ss_OnFocus;ssq.onblur=cms_ss_OnBlur;ssq.onkeypress=cms_ss_ResetOS;}}}}
if(ssq!=null){ssq.sso=sso;ssq.rpp=rpp;}
if(rpp!=null){var cn,a,anchors=document.anchors;try{if(!anchors)anchors=document.anchors();}catch(e){}
for(i=0;i<anchors.length;i++){a=anchors[i];cn=a.className||'';if(cn.match(/site_search_rpp/)){a.rpp=rpp;a.sso=sso;a.onclick=cms_ss_SetRPP;var idx=a.href.indexOf("#");var n=a.href.substring(idx +1);a.rppvalue=n;a.href="#";}}}}catch(e){if(typeof log4js!='undefined'){log4js.logger.error("Unable to setup sitesearch",e);}}};if(window.attachEvent){window.attachEvent('onload',cms_ss_Setup);}else if(window.addEventListener){window.addEventListener('load',cms_ss_Setup,true);}
if(typeof cms_js_includes != 'undefined') {
 cms.addJSInclude('/resources/dyn/files/20510/_fn/add-load-event-helper.js');
 cms.addJSInclude('/resources/dyn/files/22363/_fn/swfobject.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/cms-include.js/_fn/cms-include.js');
 cms.addJSInclude('/resources/dyn/docroot/lib/i2rd-util.js/_fn/i2rd-util.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/stylesheet-switcher.js/_fn/stylesheet-switcher.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/cms-iefix.js/_fn/cms-iefix.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/cms-dim.js/_fn/cms-dim.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/cms-pageeffect.js/_fn/cms-pageeffect.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/emailpage.js/_fn/emailpage.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/MenuBean.js/_fn/MenuBean.js');
 cms.addJSInclude('/resources/dyn/files/26338/_fn/forum-link-helper.js');
 cms.addJSInclude('/resources/dyn/files/21805/_fn/menu_helper.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/sitesearch.js/_fn/sitesearch.js');
}
