/*  JS Resource: 20510z1ff12128  */

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: 22363z673d526c  */

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: lib/i2rd-util.js  */

if(typeof __i2rd_initted=='undefined'){__i2rd_initted=true;if(!Array.prototype.push){Array.prototype.push=function(i){if(i){this[this.length]=i;}};}
if(!Array.prototype.pop){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(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};}
if(typeof __i2rd_domupdate_event=='undefined'){__i2rd_domupdate_event="dom:update";__i2rd_domupdate_handlers=[];__i2rd_domupdate_fire=function(element,e){var i,h,a=[];if(e){a.push(e);}
for(i=0;(h=__i2rd_domupdate_handlers[i]);i++){try{h.apply(element,a);}catch(e){}}};}
log4js={_log:function(msg,e){if(typeof console!='undefined'&&console.log){console.log(msg);if(e)console.log(e);}}};log4js.logger={log:log4js._log,debug:log4js._log,info:log4js._log,warn:log4js._log,error:log4js._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={},n=0,mx=e.length;for(;n<mx;n++)b[e[n].className]=e[n].innerHTML;return b;};i2rd.xmlToString=function(xml){var str='',ib,i=0,cn;if(typeof xml!='string'){cn=xml.childNodes;if(xml.xml){for(ib=cn.length;i<ib;i++){str+=cn[i].xml;}}else{var xs=new XMLSerializer();for(ib=cn.length;i<ib;i++){str+=xs.serializeToString(cn[i]);}}}else{str=xml;}
return str;};i2rd.scriptRX=/<script[^>]*>([\S\s]*?)<\/script>/gim;i2rd.stripScripts=function(h){return{html:h.replace(i2rd.scriptRX,''),scripts:(function(){try{i2rd.scriptRX.lastIndex=0;}catch(e){}
var m=[],i,arr;while((arr=i2rd.scriptRX.exec(h))){if(arr[1]){m[m.length]=arr[1].replace(/^\s*<!\[CDATA\[/,'').replace(/\]\]>\s*$/,'');}}
return m;})(),addScripts:function(){var e,t,i,s=this.scripts,h=document.getElementsByTagName("head")[0];if(!s||s.length<1)return;for(i=0;t=s[i];i++){e=document.createElement("script");e.setAttribute("type","text/javascript");e.text=t;h.appendChild((s[i]=e));}
setTimeout(function(){for(var i=0;i<s.length;i++)h.removeChild(s[i]);},30000);}};};i2rd.acopy=function(s,sp,d){var i=sp;for(;i<s.length;i++)d.push(s[i]);return d;}
i2rd._dl='dom:loaded';i2rd.w3cevt=!!document.addEventListener;i2rd.ieevt=!!document.attachEvent;i2rd.addEvent=function(el,type,handler){if(type==__i2rd_domupdate_event){__i2rd_domupdate_handlers.push(handler);}else if(type==i2rd._dl&&i2rd.rdy){handler.call(el,i2rd.createEvent('HTMLEvents',i2rd._dl,false,false));}else if(i2rd.w3cevt){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.createEvent=function(module,type){var d=document,a=i2rd.acopy(arguments,2,[type]);if(i2rd.w3cevt){d=d.createEvent(module);d['init'+module.replace(/(HTML)?([A-Z][a-z]*vent)s?/,'$2')].apply(d,a);return d;}else if(i2rd.ieevt){d=d.createEventObject();d.type=type;i2rd.fixEvent(d);return d;}else{return{type:type};}};i2rd.createMouseEvent=function(type,p){p=p||{};return i2rd.createEvent('MouseEvents',type,p.canBubble||true,p.cancelable||true,p.view||window,p.detail||1,p.screenX||0,p.screenY||0,p.clientX||0,p.clientY||0,p.ctrlKey||false,p.altKey||false,p.shiftKey||false,p.metaKey||false,p.button||0,p.relatedTarget||null);};i2rd.fireEvent=function(el,evt){var a=i2rd.acopy(arguments,2,['HTMLEvents',evt]);if(typeof evt=='string'){if(arguments.length==2)a=a.concat([false,false]);evt=i2rd.createEvent.apply(this,a);}
if(i2rd.w3cevt)el.dispatchEvent(evt);else if(evt.cancelBubble===false){try{el.fireEvent('on'+evt.type,evt);}catch(e){i2rd.handleEvent.call(el,evt);}}else i2rd.handleEvent.call(el,evt);};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(i2rd.w3cevt){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){if(!this.events)return;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){if(hl[i].call(this,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.rdy=document.readyState=='complete';i2rd.DOMCL=function(){if(i2rd.rdy)return;if(i2rd.w3cevt){i2rd.rdy=true;document.removeEventListener("DOMContentLoaded",i2rd.DOMCL,false);window.removeEventListener("load",i2rd.DOMCL,false);}else if(i2rd.ieevt){if(document.readyState==="complete"){i2rd.rdy=true;document.detachEvent("onreadystatechange",i2rd.DOMCL);window.detachEvent("onload",i2rd.DOMCL);}}
i2rd.fireEvent(document,i2rd._dl);};if(i2rd.w3cevt){document.addEventListener("DOMContentLoaded",i2rd.DOMCL,false);window.addEventListener("load",i2rd.DOMCL,false);}else if(i2rd.ieevt){document.attachEvent("onreadystatechange",i2rd.DOMCL);window.attachEvent("onload",i2rd.DOMCL);}
i2rd.getAjaxTransport=function(){try{return new XMLHttpRequest();}catch(e){}
try{return new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}
return null;};i2rd.bind=function(m,caller){var a=i2rd.acopy(arguments,2,[]),_m=m,obj=caller;return function(){_m.apply(obj,i2rd.acopy(arguments,0,a));};};i2rd.bindAsEventListener=function(m,caller){var a=i2rd.acopy(arguments,2,[]),_m=m,obj=caller;return function(evt){i2rd.acopy(arguments,0,a)
_m.apply(obj,[evt||window.event].concat(a));};};i2rd.eventElement=function(evt){evt=evt||window.event;return(evt.target||evt.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._p={x:0,y:0};i2rd._mt=false;i2rd.coord=function(e){var x=0,y=0;e=e||window.event;if(e.pageX||e.pageY){x=evt.pageX;y=evt.pageY;}
else if(e.clientX||e.clientY){var d=document,b=d.body,de=d.documentElement;x=evt.clientX +de.scrollLeft +b.scrollLeft;y=evt.clientY +de.scrollTop +b.scrollLeft;}
return i2rd._p={x:x,y:y};};i2rd.getMouseCoord=function(e){if(!i2rd._mt){i2rd._mt=true;if((e=e||window.event)){i2rd.coord(e);}
i2rd.addEvent(document,'mousemove',i2rd.coord);setTimeout(function(){i2rd._mt=false;i2rd.removeEvent(document,'mousemove',i2rd.coord);},60000);}
return i2rd._p;};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("(^|\\s+)"+cn+"(\\s+|$)").test(cur));};i2rd.getCookie=function(name){var i=0,c,cn=name+"=",ca=document.cookie.split(';');for(;c=ca[i];i++){while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(cn)==0)return c.substring(cn.length,c.length);}
return null;};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.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();evt.stopPropagation();}
else{evt.cancelBubble=true;evt.returnValue=false;}}
return false;};i2rd.getOWFeature=function(m,prop){var val=m[prop];if(typeof val=='undefined'||val==null){return null;}
else{return!!val;}};i2rd.each=function(array,fn,filter){var ct=0,all=(typeof filter!=='function');for(var i=0,mx=array.length;i<mx;i++){var el=array[i];if(all||filter.call(el,i,el,ct)){fn.call(el,i,el,ct++);}}};i2rd.serialize=function(form){var t,e,i,s=[];for(i=0;e=form.elements[i];i++){t=e.type;if(e.serializeValue)e.serializeValue(form,s,e.name,e.value);else if(e.name&&!e.disabled&&t!='submit'&&t!='file'){switch(e.nodeName.toLowerCase()){case'input':switch(t){case'checkbox':case'radio':if(e.checked)i2rd.serializeValue(form,s,e.name,e.value);break;case'button':break;default:i2rd.serializeValue(form,s,e.name,e.value);break;}
break;case'select':for(var o,j=0;o=e.options[j];j++)if(o.selected)i2rd.serializeValue(form,s,e.name,o.value);break;case'button':break;default:i2rd.serializeValue(form,s,e.name,e.value);break;}}}
return s.join('&');};i2rd.serializeValue=function(f,s,n,v){if(n&&v!=null){s.push(encodeURIComponent(n) +'=' +encodeURIComponent(v));}};i2rd._lf=null;i2rd.focusListener=function(evt){var el=i2rd.eventElement(evt);if(i2rd._lf){i2rd.removeClassName(i2rd._lf,"focused");}
i2rd.lastFocus=el;i2rd.addClassName(el,"focused");};i2rd.addEvent(window,'load',function(){var i=0,j,e,f,el,fl=document.forms;if(!fl)return;for(;f=fl[i];i++){el=f.elements;for(j=0;e=el[j];j++){if(e.type=='hidden')continue;i2rd.addEvent(e,'focus',i2rd.focusListener);if(e.nodeName.toLowerCase()=='select'&&i2rd.hasClassName(e,'autosubmitselect'))
e.onchange=function(evt){this.form.submit();};}}});}
/*  JS Resource: 201785zf22d1398  */

(function(){var twitterAccount='jollytimepops';var maxTweets=4;var maxLength=50;function renderFeed(tweets){var container=document.getElementById('twitter_feed');if(!container)return;var output='<div class="articlecontainer"><ol class="ac_style_list">';for(var i=0,mx=tweets.length;i<mx;i++){var tweet=tweets[i];output +='<li class="ac_item">';output +='<a target="_blank" title="'+tweet.text+'" href="http://twitter.com/' +twitterAccount +'">';output +=truncate(tweet.text);output +='</a>';output +='</li>';}
output +='</ol></div>';output +='<div class="read_more"><a href="http://twitter.com/' +twitterAccount +'" title="Go to Twitter Account" >Read More</a></div>';container.innerHTML=output;}
i2rd.addEvent(window,'load',function(){var script=document.createElement('script');script.type="text/javascript";script.src='https://twitter.com/statuses/user_timeline.json?callback=renderFeed&count='+maxTweets+'&screen_name='+twitterAccount;document.body.appendChild(script);});function truncate(text){if((maxLength&&maxLength>0)&&text.length>maxLength)return text.substr(0,maxLength-1) +"...";else return text;}
window.renderFeed=renderFeed;})();
/*  JS Resource: cms/js/cms-include.js  */

if(typeof cmsinclude=='undefined'){cmsinclude=true;if(typeof cms=='undefined'){cms={};}
cms.getBaseURL=function(){return window.location.protocol +"//" +window.location.host;};cms_js_includes=[];cms_js_includes_pop=false;__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);}};__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;};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 curl=url.replace(rx,'');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;src=src.replace(rx,'');if(src==url||('/' +src)==curl){return script;}}}
var external,ajax,scr=__ci_createElement("script");scr.setAttribute("type","text/javascript");scr.setAttribute("src",url);cms_js_includes.push(scr);scr.loaded=false;external=rx.test(url)&&(url.indexOf(location.protocol.replace(/:$/,'') +'://' +location.hostname)!=0);ajax=__ci_getAjaxTransport();if(ajax&&!external){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){var head=document.getElementsByTagName("head");if(head==null||head.length==0)head=document;else head=head[0];head.appendChild(scr);scr.loaded=true;}
return scr;};cms.includeCSS=function(url,type,mediaType){var p=location.protocol,head,rel="stylesheet",media="all";if(p.indexOf(':')!=null)p=p.replace(':','');if(url.indexOf('//')==0)
url=p +':' +url;if(type){rel=type.toLowerCase();}
if(mediaType){media=mediaType;}
head=document.getElementsByTagName("head");if(head==null||head.length==0)head=document;else head=head[0];var base=cms.getBaseURL();var allCSS=[],h,el,src;el=document.getElementsByTagName("link")
for(h=0;h<el.length;h++){allCSS.push(el[h])}
for(h=0;h<allCSS.length;h++){el=allCSS[h];if(!el.href||!el.rel){continue;}
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: 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/bean/MenuBean.js  */

if(typeof MB=='undefined'){var MB={};}
MB.array=function(nl){var i,l=[];for(i=0;i<nl.length;i++)l.push(nl.item(i));return l;};MB.lastEventTime=new Date();MB.addClassName=function(el,cn){if(!MB.hasClassName(el,cn))
el.className=((el.className||'') +' ' +cn);};MB.err=function(m,e){if(typeof log4js!='undefined')log4js.logger.error(m,e);else if(typeof console!='undefined')console.log(m);};MB.data=window.localStorage;MB.getData=function(key){if(!!MB.data)return MB.data[key];else{var i=0,c,cn=key+"=",ca=document.cookie.split(';');for(;c=ca[i];i++){while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(cn)==0)return c.substring(cn.length,c.length);}
return null;}};MB.setData=function(key,val){if(!!MB.data)MB.data[key]=val;else{var d=new Date();d.setDate(d.getDate()+5);document.cookie=key +"=" +val +"; expires=" +d.toUTCString() +"; path=/";}};MB.removeClassName=function(el,cn){if(!MB.hasClassName(el,cn))return;el.className=(el.className||'').replace(RegExp("(^|\\s+)" +cn +"(\\s+|$)",'g'),' ');};MB.hasClassName=function(el,cn){var cur=(el.className||'');return cur==cn||(RegExp('\\b'+cn+'\\b').test(cur));};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(!MB.hasClassName(li,'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){MB.err("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=MB.array(elements);var node=null;while((node=liElements.pop())){MB.removeClassName(node,'mi_active');MB.addClassName(node,'mi_inactive');}};MB.SetActive=function(li,activate){if(!MB.hasClassName(li,'over')){MB.addClassName(li,'over');var ul=MB.GetChildUL(li);if(ul&&ul.className.match("_persistent")){var nodelist=MB.GetOpenState(li);var entry=new RegExp("\\b" +li.id +"\\b");if(!entry.test(nodelist)){nodelist=(nodelist +"," +li.id);}
MB.SetOpenState(li,nodelist)}}
if(activate){var top=MB.getTop(li);MB.SetInactiveClass(top);if(!MB.hasClassName(li,'mi_active')){MB.removeClassName(li,'mi_inactive');MB.addClassName(li,'mi_active');}}
var ps=li.previousSibling,ns=li.nextSibling;if(ps&&!MB.hasClassName(ps,'prev_sibling')){MB.addClassName(ps,'prev_sibling');}
if(ns&&!MB.hasClassName(ns,'next_sibling')){MB.addClassName(ns,'next_sibling');}};MB.SetInActive=function(li){if(!MB.hasClassName(li,'over'))
return;MB.removeClassName(li,'over');var ul=MB.GetChildUL(li);if(ul&&ul.className.match("_persistent")){var nodelist=MB.GetOpenState(li);nodelist=nodelist.replace(new RegExp("," +li.id +"\\b"),"");MB.SetOpenState(li,nodelist);}
var ps=li.previousSibling,ns=li.nextSibling;if(ps){MB.removeClassName(ps,'prev_sibling');}
if(ns){MB.removeClassName(ns,'next_sibling');}};MB.GetOpenState=function(li){return MB.getData(MB.getTop(li).id +"-CMO")||"";};MB.SetOpenState=function(li,nodelist){MB.setData(MB.getTop(li).id +"-CMO",nodelist);};MB.MenuBeanInit=function(div){if(typeof div=='string')div=document.getElementById(div);if(!!div.mbinited)return;div.mbinited=true;var nodelist=MB.getData(div.id +"-CMO")||"";var item=null;var elements=div.getElementsByTagName("li");var liElements=MB.array(elements);while((item=liElements.pop())){var pn=item.parentNode;if(pn&&pn.nodeName.toLowerCase()=="ul"){pn=pn.parentNode;if(pn&&pn.nodeName.toLowerCase()=="li"&&!MB.hasClassName(pn,'mi_parent')){MB.addClassName(pn,'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(MB.hasClassName(target,'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: cms/js/bean/menubean-dropdown.js  */

if(typeof MBDD=='undefined')var MBDD={};MBDD.removePageElementPath=function(path){if(!path)return path;var split=path.split("/");if(split.length!=0){var last=split[split.length -1];if(last.match(/[a-zA-Z0-9]+,bx\d+[a-zA-Z0-9,]*/)){split.length=split.length -1;path=split.join("/");}}
if(path.indexOf("/")!=0)
path="/" +path;return path;};MBDD.getPath=function(){var path=MBDD.removePageElementPath(window.location.pathname);return path;};MBDD.findSibling=function(top,nodeName){var elements=top.parentNode.childNodes;for(var h=0,hbound=elements.length;h<hbound;h++){var el=elements[h];var nn=el.nodeName||"";nn=nn.toLowerCase();if(nn==nodeName)
return el;}};MBDD.getSelectedOption=function(select){var option=select.options[select.selectedIndex];if(!option){var elements=select.options;for(var h=0,hbound=elements.length;h<hbound;h++){var el=elements[h];if(el.selected){option=el;break;}}}
if(!option&&select.options.length>0)option=select.options[0];return option;};MBDD.updateSelectClassAndButton=function(option,select,button){select.className=select.className.replace("menuitemlabel","");select.className=select.className.replace("menuitemlink","");if(option.className.match(/menuitemlabel/)){select.className +=" menuitemlabel";}
if(option.className.match(/menuitemlink/)){select.className +=" menuitemlink";button.form[button.name].disabled=false;}else{button.form[button.name].disabled=true;}};MBDD.optionChange=function(evt){evt=evt||window.event;var select=evt.target||evt.srcElement;var button=MBDD.findSibling(select,"button");var option=MBDD.getSelectedOption(select);MBDD.updateSelectClassAndButton(option,select,button);};MBDD.buttonClicked=function(evt){evt=evt||window.event;if(evt.preventDefault){evt.preventDefault();evt.stopPropagation();}else{evt.returnValue=false;evt.cancelBubble=true;}
var button=evt.target||evt.srcElement;var select=MBDD.findSibling(button,"select");var option=MBDD.getSelectedOption(select);var target=/target_([^ "]+)/.exec(option.className);if(target&&target.length==2){var nw=window.open(option.value,target[1]);if(nw.opener!=window){alert('Please disable any popup blockers for this site.');}else{nw.focus();}}else{window.location=option.value;}};MBDD.quickSelect=function(evt){evt=evt||window.event;var select=evt.target||evt.srcElement;var option=MBDD.getSelectedOption(select);var target=/target_([^ "]+)/.exec(option.className);if(target&&target.length==2){var nw=window.open(option.value,target[1]);if(nw.opener!=window){alert('Please disable any popup blockers for this site.');}else{nw.focus();}}else{window.location=option.value;}};MBDD.DropdownInit=function(select,quick){select.onchange=MBDD.optionChange;var button=MBDD.findSibling(select,"button");button.onclick=MBDD.buttonClicked;var option=MBDD.getSelectedOption(select);MBDD.updateSelectClassAndButton(option,select,button);if(quick){select.onchange=MBDD.quickSelect;}
if(select.className.match(/dropdown_default_selection/)){var url=MBDD.getPath();var bestMatch,exactMatch;var option,h;for(h=0;(option=select.options[h]);h++){var val=option.value;if(val.indexOf(url)==0){if(bestMatch){if(bestMatch.value.length>val.length){bestMatch=option;}}else{bestMatch=option;}}
if(val==url){exactMatch=option;}}
var match=exactMatch||bestMatch;if(match){if(match.index){select.selectedIndex=match.index;}else{for(h=0;(option=select.options[h]);h++){if(option==match){select.selectedIndex=h;}}}}}};MBDD.scan=function(start){if(typeof start=='string')start=document.getElementById(start);var elements=(start||document).getElementsByTagName("select");for(var h=0,hbound=elements.length;h<hbound;h++){var select=elements[h];if(select.className&&select.className.match(/menubean_dropdown/)){MBDD.DropdownInit(select,select.className.match(/menubean_dropdown_quick/));}}};
/*  JS Resource: 26338z2fae8f6  */

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);
if(typeof cms_js_includes != 'undefined') {
 cms.addJSInclude('/resources/dyn/files/20510z1ff12128/_fn/add-load-event-helper.js');
 cms.addJSInclude('/resources/dyn/files/22363z673d526c/_fn/swfobject.js');
 cms.addJSInclude('/resources/dyn/docroot/lib/i2rd-util.js/_fn/i2rd-util.js');
 cms.addJSInclude('/resources/dyn/files/201785zf22d1398/_fn/twitter.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/cms-include.js/_fn/cms-include.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/stylesheet-switcher.js/_fn/stylesheet-switcher.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/MenuBean.js/_fn/MenuBean.js');
 cms.addJSInclude('/resources/dyn/docroot/cms/js/bean/menubean-dropdown.js/_fn/menubean-dropdown.js');
 cms.addJSInclude('/resources/dyn/files/26338z2fae8f6/_fn/forum-link-helper.js');
}

