var swfobject=function(){var aq="undefined",aD="object",ab="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",aE="application/x-shockwave-flash",ac="SWFObjectExprInst",ax="onreadystatechange",af=window,aL=document,aB=navigator,aa=false,Z=[aN],aG=[],ag=[],al=[],aJ,ad,ap,at,ak=false,aU=false,aH,an,aI=true,ah=function(){var a=typeof aL.getElementById!=aq&&typeof aL.getElementsByTagName!=aq&&typeof aL.createElement!=aq,e=aB.userAgent.toLowerCase(),c=aB.platform.toLowerCase(),h=c?/win/.test(c):/win/.test(e),k=c?/mac/.test(c):/mac/.test(e),g=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,d=!+"\v1",f=[0,0,0],l=null;if(typeof aB.plugins!=aq&&typeof aB.plugins[ab]==aD){l=aB.plugins[ab].description;if(l&&!(typeof aB.mimeTypes!=aq&&aB.mimeTypes[aE]&&!aB.mimeTypes[aE].enabledPlugin)){aa=true;d=false;l=l.replace(/^.*\s+(\S+\s+\S+$)/,"$1");f[0]=parseInt(l.replace(/^(.*)\..*$/,"$1"),10);f[1]=parseInt(l.replace(/^.*\.(.*)\s.*$/,"$1"),10);f[2]=/[a-zA-Z]/.test(l)?parseInt(l.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0;}}else{if(typeof af.ActiveXObject!=aq){try{var j=new ActiveXObject(X);if(j){l=j.GetVariable("$version");if(l){d=true;l=l.split(" ")[1].split(",");f=[parseInt(l[0],10),parseInt(l[1],10),parseInt(l[2],10)];}}}catch(b){}}}return{w3:a,pv:f,wk:g,ie:d,win:h,mac:k};}(),aK=function(){if(!ah.w3){return;}if((typeof aL.readyState!=aq&&aL.readyState=="complete")||(typeof aL.readyState==aq&&(aL.getElementsByTagName("body")[0]||aL.body))){aP();}if(!ak){if(typeof aL.addEventListener!=aq){aL.addEventListener("DOMContentLoaded",aP,false);}if(ah.ie&&ah.win){aL.attachEvent(ax,function(){if(aL.readyState=="complete"){aL.detachEvent(ax,arguments.callee);aP();}});if(af==top){(function(){if(ak){return;}try{aL.documentElement.doScroll("left");}catch(a){setTimeout(arguments.callee,0);return;}aP();})();}}if(ah.wk){(function(){if(ak){return;}if(!/loaded|complete/.test(aL.readyState)){setTimeout(arguments.callee,0);return;}aP();})();}aC(aP);}}();function aP(){if(ak){return;}try{var b=aL.getElementsByTagName("body")[0].appendChild(ar("span"));b.parentNode.removeChild(b);}catch(a){return;}ak=true;var d=Z.length;for(var c=0;c<d;c++){Z[c]();}}function aj(a){if(ak){a();}else{Z[Z.length]=a;}}function aC(a){if(typeof af.addEventListener!=aq){af.addEventListener("load",a,false);}else{if(typeof aL.addEventListener!=aq){aL.addEventListener("load",a,false);}else{if(typeof af.attachEvent!=aq){aM(af,"onload",a);}else{if(typeof af.onload=="function"){var b=af.onload;af.onload=function(){b();a();};}else{af.onload=a;}}}}}function aN(){if(aa){Y();}else{am();}}function Y(){var d=aL.getElementsByTagName("body")[0];var b=ar(aD);b.setAttribute("type",aE);var a=d.appendChild(b);if(a){var c=0;(function(){if(typeof a.GetVariable!=aq){var e=a.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");ah.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)];}}else{if(c<10){c++;setTimeout(arguments.callee,10);return;}}d.removeChild(b);a=null;am();})();}else{am();}}function am(){var g=aG.length;if(g>0){for(var h=0;h<g;h++){var c=aG[h].id;var m=aG[h].callbackFn;var a={success:false,id:c};if(ah.pv[0]>0){var j=aS(c);if(j){if(ao(aG[h].swfVersion)&&!(ah.wk&&ah.wk<312)){ay(c,true);if(m){a.success=true;a.ref=av(c);m(a);}}else{if(aG[h].expressInstall&&au()){var e={};e.data=aG[h].expressInstall;e.width=j.getAttribute("width")||"0";e.height=j.getAttribute("height")||"0";if(j.getAttribute("class")){e.styleclass=j.getAttribute("class");}if(j.getAttribute("align")){e.align=j.getAttribute("align");}var f={};var d=j.getElementsByTagName("param");var l=d.length;for(var k=0;k<l;k++){if(d[k].getAttribute("name").toLowerCase()!="movie"){f[d[k].getAttribute("name")]=d[k].getAttribute("value");}}ae(e,f,c,m);}else{aF(j);if(m){m(a);}}}}}else{ay(c,true);if(m){var b=av(c);if(b&&typeof b.SetVariable!=aq){a.success=true;a.ref=b;}m(a);}}}}}function av(b){var d=null;var c=aS(b);if(c&&c.nodeName=="OBJECT"){if(typeof c.SetVariable!=aq){d=c;}else{var a=c.getElementsByTagName(aD)[0];if(a){d=a;}}}return d;}function au(){return !aU&&ao("6.0.65")&&(ah.win||ah.mac)&&!(ah.wk&&ah.wk<312);}function ae(f,d,h,e){aU=true;ap=e||null;at={success:false,id:h};var a=aS(h);if(a){if(a.nodeName=="OBJECT"){aJ=aO(a);ad=null;}else{aJ=a;ad=h;}f.id=ac;if(typeof f.width==aq||(!/%$/.test(f.width)&&parseInt(f.width,10)<310)){f.width="310";}if(typeof f.height==aq||(!/%$/.test(f.height)&&parseInt(f.height,10)<137)){f.height="137";}aL.title=aL.title.slice(0,47)+" - Flash Player Installation";var b=ah.ie&&ah.win?"ActiveX":"PlugIn",c="MMredirectURL="+af.location.toString().replace(/&/g,"%26")+"&MMplayerType="+b+"&MMdoctitle="+aL.title;if(typeof d.flashvars!=aq){d.flashvars+="&"+c;}else{d.flashvars=c;}if(ah.ie&&ah.win&&a.readyState!=4){var g=ar("div");h+="SWFObjectNew";g.setAttribute("id",h);a.parentNode.insertBefore(g,a);a.style.display="none";(function(){if(a.readyState==4){a.parentNode.removeChild(a);}else{setTimeout(arguments.callee,10);}})();}aA(f,d,h);}}function aF(a){if(ah.ie&&ah.win&&a.readyState!=4){var b=ar("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(aO(a),b);a.style.display="none";(function(){if(a.readyState==4){a.parentNode.removeChild(a);}else{setTimeout(arguments.callee,10);}})();}else{a.parentNode.replaceChild(aO(a),a);}}function aO(b){var d=ar("div");if(ah.win&&ah.ie){d.innerHTML=b.innerHTML;}else{var e=b.getElementsByTagName(aD)[0];if(e){var a=e.childNodes;if(a){var f=a.length;for(var c=0;c<f;c++){if(!(a[c].nodeType==1&&a[c].nodeName=="PARAM")&&!(a[c].nodeType==8)){d.appendChild(a[c].cloneNode(true));}}}}}return d;}function aA(e,g,c){var d,a=aS(c);if(ah.wk&&ah.wk<312){return d;}if(a){if(typeof e.id==aq){e.id=c;}if(ah.ie&&ah.win){var f="";for(var j in e){if(e[j]!=Object.prototype[j]){if(j.toLowerCase()=="data"){g.movie=e[j];}else{if(j.toLowerCase()=="styleclass"){f+=' class="'+e[j]+'"';}else{if(j.toLowerCase()!="classid"){f+=" "+j+'="'+e[j]+'"';}}}}}var h="";for(var k in g){if(g[k]!=Object.prototype[k]){h+='<param name="'+k+'" value="'+g[k]+'" />';}}a.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+f+">"+h+"</object>";ag[ag.length]=e.id;d=aS(e.id);}else{var b=ar(aD);b.setAttribute("type",aE);for(var l in e){if(e[l]!=Object.prototype[l]){if(l.toLowerCase()=="styleclass"){b.setAttribute("class",e[l]);}else{if(l.toLowerCase()!="classid"){b.setAttribute(l,e[l]);}}}}for(var m in g){if(g[m]!=Object.prototype[m]&&m.toLowerCase()!="movie"){aQ(b,m,g[m]);}}a.parentNode.replaceChild(b,a);d=b;}}return d;}function aQ(b,d,c){var a=ar("param");a.setAttribute("name",d);a.setAttribute("value",c);b.appendChild(a);}function aw(a){var b=aS(a);if(b&&b.nodeName=="OBJECT"){if(ah.ie&&ah.win){b.style.display="none";(function(){if(b.readyState==4){aT(a);}else{setTimeout(arguments.callee,10);}})();}else{b.parentNode.removeChild(b);}}}function aT(a){var b=aS(a);if(b){for(var c in b){if(typeof b[c]=="function"){b[c]=null;}}b.parentNode.removeChild(b);}}function aS(a){var c=null;try{c=aL.getElementById(a);}catch(b){}return c;}function ar(a){return aL.createElement(a);}function aM(a,c,b){a.attachEvent(c,b);al[al.length]=[a,c,b];}function ao(a){var b=ah.pv,c=a.split(".");c[0]=parseInt(c[0],10);c[1]=parseInt(c[1],10)||0;c[2]=parseInt(c[2],10)||0;return(b[0]>c[0]||(b[0]==c[0]&&b[1]>c[1])||(b[0]==c[0]&&b[1]==c[1]&&b[2]>=c[2]))?true:false;}function az(b,f,a,c){if(ah.ie&&ah.mac){return;}var e=aL.getElementsByTagName("head")[0];if(!e){return;}var g=(a&&typeof a=="string")?a:"screen";if(c){aH=null;an=null;}if(!aH||an!=g){var d=ar("style");d.setAttribute("type","text/css");d.setAttribute("media",g);aH=e.appendChild(d);if(ah.ie&&ah.win&&typeof aL.styleSheets!=aq&&aL.styleSheets.length>0){aH=aL.styleSheets[aL.styleSheets.length-1];}an=g;}if(ah.ie&&ah.win){if(aH&&typeof aH.addRule==aD){aH.addRule(b,f);}}else{if(aH&&typeof aL.createTextNode!=aq){aH.appendChild(aL.createTextNode(b+" {"+f+"}"));}}}function ay(a,c){if(!aI){return;}var b=c?"visible":"hidden";if(ak&&aS(a)){aS(a).style.visibility=b;}else{az("#"+a,"visibility:"+b);}}function ai(b){var a=/[\\\"<>\.;]/;var c=a.exec(b)!=null;return c&&typeof encodeURIComponent!=aq?encodeURIComponent(b):b;}var aR=function(){if(ah.ie&&ah.win){window.attachEvent("onunload",function(){var a=al.length;for(var b=0;b<a;b++){al[b][0].detachEvent(al[b][1],al[b][2]);}var d=ag.length;for(var c=0;c<d;c++){aw(ag[c]);}for(var e in ah){ah[e]=null;}ah=null;for(var f in swfobject){swfobject[f]=null;}swfobject=null;});}}();return{registerObject:function(a,e,c,b){if(ah.w3&&a&&e){var d={};d.id=a;d.swfVersion=e;d.expressInstall=c;d.callbackFn=b;aG[aG.length]=d;ay(a,false);}else{if(b){b({success:false,id:a});}}},getObjectById:function(a){if(ah.w3){return av(a);}},embedSWF:function(l,e,h,f,c,a,b,j,g,k){var d={success:false,id:e};if(ah.w3&&!(ah.wk&&ah.wk<312)&&l&&e&&h&&f&&c){ay(e,false);aj(function(){h+="";f+="";var s={};if(g&&typeof g===aD){for(var q in g){s[q]=g[q];}}s.data=l;s.width=h;s.height=f;var o={};if(j&&typeof j===aD){for(var r in j){o[r]=j[r];}}if(b&&typeof b===aD){for(var m in b){if(typeof o.flashvars!=aq){o.flashvars+="&"+m+"="+b[m];}else{o.flashvars=m+"="+b[m];}}}if(ao(c)){var n=aA(s,o,e);if(s.id==e){ay(e,true);}d.success=true;d.ref=n;}else{if(a&&au()){s.data=a;ae(s,o,e,k);return;}else{ay(e,true);}}if(k){k(d);}});}else{if(k){k(d);}}},switchOffAutoHideShow:function(){aI=false;},ua:ah,getFlashPlayerVersion:function(){return{major:ah.pv[0],minor:ah.pv[1],release:ah.pv[2]};},hasFlashPlayerVersion:ao,createSWF:function(a,b,c){if(ah.w3){return aA(a,b,c);}else{return undefined;}},showExpressInstall:function(b,a,d,c){if(ah.w3&&au()){ae(b,a,d,c);}},removeSWF:function(a){if(ah.w3){aw(a);}},createCSS:function(b,a,c,d){if(ah.w3){az(b,a,c,d);}},addDomLoadEvent:aj,addLoadEvent:aC,getQueryParamValue:function(b){var a=aL.location.search||aL.location.hash;if(a){if(/\?/.test(a)){a=a.split("?")[1];}if(b==null){return ai(a);}var c=a.split("&");for(var d=0;d<c.length;d++){if(c[d].substring(0,c[d].indexOf("="))==b){return ai(c[d].substring((c[d].indexOf("=")+1)));}}}return"";},expressInstallCallback:function(){if(aU){var a=aS(ac);if(a&&aJ){a.parentNode.replaceChild(aJ,a);if(ad){ay(ad,true);if(ah.ie&&ah.win){aJ.style.display="block";}}if(ap){ap(at);}}aU=false;}}};}();var Prototype={Version:"1.4.0",ScriptFragment:"(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)",emptyFunction:function(){},K:function(a){return a;}};var Class={create:function(){return function(){this.initialize.apply(this,arguments);};}};var Abstract=new Object();Object.extend=function(a,b){for(property in b){a[property]=b[property];}return a;};Object.inspect=function(a){try{if(a==undefined){return"undefined";}if(a==null){return"null";}return a.inspect?a.inspect():a.toString();}catch(b){if(b instanceof RangeError){return"...";}throw b;}};Function.prototype.bind=function(){var a=this,c=$A(arguments),b=c.shift();return function(){return a.apply(b,c.concat($A(arguments)));};};Function.prototype.bindAsEventListener=function(b){var a=this;return function(c){return a.call(b,c||window.event);};};Object.extend(Number.prototype,{toColorPart:function(){var a=this.toString(16);if(this<16){return"0"+a;}return a;},succ:function(){return this+1;},times:function(a){$R(0,this,true).each(a);return this;}});var Try={these:function(){var c;for(var b=0;b<arguments.length;b++){var a=arguments[b];try{c=a();break;}catch(d){}}return c;}};var PeriodicalExecuter=Class.create();PeriodicalExecuter.prototype={initialize:function(b,a){this.callback=b;this.frequency=a;this.currentlyExecuting=false;this.registerCallback();},registerCallback:function(){setInterval(this.onTimerEvent.bind(this),this.frequency*1000);},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.callback();}finally{this.currentlyExecuting=false;}}}};function $(){var c=new Array();for(var b=0;b<arguments.length;b++){var a=arguments[b];if(typeof a=="string"){a=document.getElementById(a);}if(arguments.length==1){return a;}c.push(a);}return c;}Object.extend(String.prototype,{stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"");},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"");},extractScripts:function(){var b=new RegExp(Prototype.ScriptFragment,"img");var a=new RegExp(Prototype.ScriptFragment,"im");return(this.match(b)||[]).map(function(c){return(c.match(a)||["",""])[1];});},evalScripts:function(){return this.extractScripts().map(eval);},escapeHTML:function(){var b=document.createElement("div");var a=document.createTextNode(this);b.appendChild(a);return b.innerHTML;},unescapeHTML:function(){var a=document.createElement("div");a.innerHTML=this.stripTags();return a.childNodes[0]?a.childNodes[0].nodeValue:"";},toQueryParams:function(){var a=this.match(/^\??(.*)$/)[1].split("&");return a.inject({},function(d,b){var c=b.split("=");d[c[0]]=c[1];return d;});},toArray:function(){return this.split("");},camelize:function(){var d=this.split("-");if(d.length==1){return d[0];}var b=this.indexOf("-")==0?d[0].charAt(0).toUpperCase()+d[0].substring(1):d[0];for(var c=1,a=d.length;c<a;c++){var e=d[c];b+=e.charAt(0).toUpperCase()+e.substring(1);}return b;},inspect:function(){return"'"+this.replace("\\","\\\\").replace("'","\\'")+"'";}});String.prototype.parseQuery=String.prototype.toQueryParams;var $break=new Object();var $continue=new Object();var Enumerable={each:function(b){var a=0;try{this._each(function(d){try{b(d,a++);}catch(f){if(f!=$continue){throw f;}}});}catch(c){if(c!=$break){throw c;}}},all:function(b){var a=true;this.each(function(d,c){a=a&&!!(b||Prototype.K)(d,c);if(!a){throw $break;}});return a;},any:function(b){var a=true;this.each(function(d,c){if(a=!!(b||Prototype.K)(d,c)){throw $break;}});return a;},collect:function(b){var a=[];this.each(function(d,c){a.push(b(d,c));});return a;},detect:function(b){var a;this.each(function(d,c){if(b(d,c)){a=d;throw $break;}});return a;},findAll:function(b){var a=[];this.each(function(d,c){if(b(d,c)){a.push(d);}});return a;},grep:function(c,b){var a=[];this.each(function(f,e){var d=f.toString();if(d.match(c)){a.push((b||Prototype.K)(f,e));}});return a;},include:function(a){var b=false;this.each(function(c){if(c==a){b=true;throw $break;}});return b;},inject:function(a,b){this.each(function(d,c){a=b(a,d,c);});return a;},invoke:function(b){var a=$A(arguments).slice(1);return this.collect(function(c){return c[b].apply(c,a);});},max:function(b){var a;this.each(function(d,c){d=(b||Prototype.K)(d,c);if(d>=(a||d)){a=d;}});return a;},min:function(b){var a;this.each(function(d,c){d=(b||Prototype.K)(d,c);if(d<=(a||d)){a=d;}});return a;},partition:function(c){var b=[],a=[];this.each(function(e,d){((c||Prototype.K)(e,d)?b:a).push(e);});return[b,a];},pluck:function(b){var a=[];this.each(function(d,c){a.push(d[b]);});return a;},reject:function(b){var a=[];this.each(function(d,c){if(!b(d,c)){a.push(d);}});return a;},sortBy:function(a){return this.collect(function(c,b){return{value:c,criteria:a(c,b)};}).sort(function(f,e){var d=f.criteria,c=e.criteria;return d<c?-1:d>c?1:0;}).pluck("value");},toArray:function(){return this.collect(Prototype.K);},zip:function(){var b=Prototype.K,a=$A(arguments);if(typeof a.last()=="function"){b=a.pop();}var c=[this].concat(a).map($A);return this.map(function(e,d){b(e=c.pluck(d));return e;});},inspect:function(){return"#<Enumerable:"+this.toArray().inspect()+">";}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray});var $A=Array.from=function(c){if(!c){return[];}if(c.toArray){return c.toArray();}else{var b=[];for(var a=0;a<c.length;a++){b.push(c[a]);}return b;}};Object.extend(Array.prototype,Enumerable);Array.prototype._reverse=Array.prototype.reverse;Object.extend(Array.prototype,{_each:function(b){for(var a=0;a<this.length;a++){b(this[a]);}},clear:function(){this.length=0;return this;},first:function(){return this[0];},last:function(){return this[this.length-1];},compact:function(){return this.select(function(a){return a!=undefined||a!=null;});},flatten:function(){return this.inject([],function(b,a){return b.concat(a.constructor==Array?a.flatten():[a]);});},without:function(){var a=$A(arguments);return this.select(function(b){return !a.include(b);});},indexOf:function(a){for(var b=0;b<this.length;b++){if(this[b]==a){return b;}}return -1;},reverse:function(a){return(a!==false?this:this.toArray())._reverse();},shift:function(){var a=this[0];for(var b=0;b<this.length-1;b++){this[b]=this[b+1];}this.length--;return a;},inspect:function(){return"["+this.map(Object.inspect).join(", ")+"]";}});var Hash={_each:function(a){for(key in this){var b=this[key];if(typeof b=="function"){continue;}var c=[key,b];c.key=key;c.value=b;a(c);}},keys:function(){return this.pluck("key");},values:function(){return this.pluck("value");},merge:function(a){return $H(a).inject($H(this),function(b,c){b[c.key]=c.value;return b;});},toQueryString:function(){return this.map(function(a){return a.map(encodeURIComponent).join("=");}).join("&");},inspect:function(){return"#<Hash:{"+this.map(function(a){return a.map(Object.inspect).join(": ");}).join(", ")+"}>";}};function $H(a){var b=Object.extend({},a||{});Object.extend(b,Enumerable);Object.extend(b,Hash);return b;}ObjectRange=Class.create();Object.extend(ObjectRange.prototype,Enumerable);Object.extend(ObjectRange.prototype,{initialize:function(c,a,b){this.start=c;this.end=a;this.exclusive=b;},_each:function(a){var b=this.start;do{a(b);b=b.succ();}while(this.include(b));},include:function(a){if(a<this.start){return false;}if(this.exclusive){return a<this.end;}return a<=this.end;}});var $R=function(c,a,b){return new ObjectRange(c,a,b);};var Ajax={getTransport:function(){return Try.these(function(){return new ActiveXObject("Msxml2.XMLHTTP");},function(){return new ActiveXObject("Microsoft.XMLHTTP");},function(){return new XMLHttpRequest();})||false;},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(a){this.responders._each(a);},register:function(a){if(!this.include(a)){this.responders.push(a);}},unregister:function(a){this.responders=this.responders.without(a);},dispatch:function(d,b,c,a){this.each(function(f){if(f[d]&&typeof f[d]=="function"){try{f[d].apply(f,[b,c,a]);}catch(g){}}});}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++;},onComplete:function(){Ajax.activeRequestCount--;}});Ajax.Base=function(){};Ajax.Base.prototype={setOptions:function(a){this.options={method:"post",asynchronous:true,parameters:""};Object.extend(this.options,a||{});},responseIsSuccess:function(){return this.transport.status==undefined||this.transport.status==0||(this.transport.status>=200&&this.transport.status<300);},responseIsFailure:function(){return !this.responseIsSuccess();}};Ajax.Request=Class.create();Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax.Request.prototype=Object.extend(new Ajax.Base(),{initialize:function(b,a){this.transport=Ajax.getTransport();this.setOptions(a);this.request(b);},request:function(b){var c=this.options.parameters||"";if(c.length>0){c+="&_=";}try{this.url=b;if(this.options.method=="get"&&c.length>0){this.url+=(this.url.match(/\?/)?"&":"?")+c;}Ajax.Responders.dispatch("onCreate",this,this.transport);this.transport.open(this.options.method,this.url,this.options.asynchronous);if(this.options.asynchronous){this.transport.onreadystatechange=this.onStateChange.bind(this);setTimeout((function(){this.respondToReadyState(1);}).bind(this),10);}this.setRequestHeaders();var a=this.options.postBody?this.options.postBody:c;this.transport.send(this.options.method=="post"?a:null);}catch(d){this.dispatchException(d);}},setRequestHeaders:function(){var b=["X-Requested-With","XMLHttpRequest","X-Prototype-Version",Prototype.Version];if(this.options.method=="post"){b.push("Content-type","application/x-www-form-urlencoded");if(this.transport.overrideMimeType){b.push("Connection","close");}}if(this.options.requestHeaders){b.push.apply(b,this.options.requestHeaders);}for(var a=0;a<b.length;a+=2){this.transport.setRequestHeader(b[a],b[a+1]);}},onStateChange:function(){var a=this.transport.readyState;if(a!=1){this.respondToReadyState(this.transport.readyState);}},header:function(a){try{return this.transport.getResponseHeader(a);}catch(b){}},evalJSON:function(){try{return eval(this.header("X-JSON"));}catch(e){}},evalResponse:function(){try{return eval(this.transport.responseText);}catch(e){this.dispatchException(e);}},respondToReadyState:function(a){var c=Ajax.Request.Events[a];var f=this.transport,b=this.evalJSON();if(c=="Complete"){try{(this.options["on"+this.transport.status]||this.options["on"+(this.responseIsSuccess()?"Success":"Failure")]||Prototype.emptyFunction)(f,b);}catch(d){this.dispatchException(d);}if((this.header("Content-type")||"").match(/^text\/javascript/i)){this.evalResponse();}}try{(this.options["on"+c]||Prototype.emptyFunction)(f,b);Ajax.Responders.dispatch("on"+c,this,f,b);}catch(d){this.dispatchException(d);}if(c=="Complete"){this.transport.onreadystatechange=Prototype.emptyFunction;}},dispatchException:function(a){(this.options.onException||Prototype.emptyFunction)(this,a);Ajax.Responders.dispatch("onException",this,a);}});Ajax.Updater=Class.create();Object.extend(Object.extend(Ajax.Updater.prototype,Ajax.Request.prototype),{initialize:function(a,c,b){this.containers={success:a.success?$(a.success):$(a),failure:a.failure?$(a.failure):(a.success?null:$(a))};this.transport=Ajax.getTransport();this.setOptions(b);var d=this.options.onComplete||Prototype.emptyFunction;this.options.onComplete=(function(f,e){this.updateContent();d(f,e);}).bind(this);this.request(c);},updateContent:function(){var b=this.responseIsSuccess()?this.containers.success:this.containers.failure;var a=this.transport.responseText;if(!this.options.evalScripts){a=a.stripScripts();}if(b){if(this.options.insertion){new this.options.insertion(b,a);}else{Element.update(b,a);}}if(this.responseIsSuccess()){if(this.onComplete){setTimeout(this.onComplete.bind(this),10);}}}});Ajax.PeriodicalUpdater=Class.create();Ajax.PeriodicalUpdater.prototype=Object.extend(new Ajax.Base(),{initialize:function(a,c,b){this.setOptions(b);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=a;this.url=c;this.start();},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent();},stop:function(){this.updater.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments);},updateComplete:function(a){if(this.options.decay){this.decay=(a.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=a.responseText;}this.timer=setTimeout(this.onTimerEvent.bind(this),this.decay*this.frequency*1000);},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options);}});document.getElementsByClassName=function(c,a){var b=($(a)||document.body).getElementsByTagName("*");return $A(b).inject([],function(d,e){if(e.className.match(new RegExp("(^|\\s)"+c+"(\\s|$)"))){d.push(e);}return d;});};if(!window.Element){var Element=new Object();}Object.extend(Element,{visible:function(a){return $(a).style.display!="none";},toggle:function(){for(var b=0;b<arguments.length;b++){var a=$(arguments[b]);Element[Element.visible(a)?"hide":"show"](a);}},hide:function(){for(var b=0;b<arguments.length;b++){var a=$(arguments[b]);a.style.display="none";}},show:function(){for(var b=0;b<arguments.length;b++){var a=$(arguments[b]);a.style.display="";}},remove:function(a){a=$(a);a.parentNode.removeChild(a);},update:function(b,a){$(b).innerHTML=a.stripScripts();setTimeout(function(){a.evalScripts();},10);},getHeight:function(a){a=$(a);return a.offsetHeight;},classNames:function(a){return new Element.ClassNames(a);},hasClassName:function(a,b){if(!(a=$(a))){return;}return Element.classNames(a).include(b);},addClassName:function(a,b){if(!(a=$(a))){return;}return Element.classNames(a).add(b);},removeClassName:function(a,b){if(!(a=$(a))){return;}return Element.classNames(a).remove(b);},cleanWhitespace:function(b){b=$(b);for(var a=0;a<b.childNodes.length;a++){var c=b.childNodes[a];if(c.nodeType==3&&!/\S/.test(c.nodeValue)){Element.remove(c);}}},empty:function(a){return $(a).innerHTML.match(/^\s*$/);},scrollTo:function(b){b=$(b);var a=b.x?b.x:b.offsetLeft,c=b.y?b.y:b.offsetTop;window.scrollTo(a,c);},getStyle:function(b,c){b=$(b);var d=b.style[c.camelize()];if(!d){if(document.defaultView&&document.defaultView.getComputedStyle){var a=document.defaultView.getComputedStyle(b,null);d=a?a.getPropertyValue(c):null;}else{if(b.currentStyle){d=b.currentStyle[c.camelize()];}}}if(window.opera&&["left","top","right","bottom"].include(c)){if(Element.getStyle(b,"position")=="static"){d="auto";}}return d=="auto"?null:d;},setStyle:function(a,b){a=$(a);for(name in b){a.style[name.camelize()]=b[name];}},getDimensions:function(b){b=$(b);if(Element.getStyle(b,"display")!="none"){return{width:b.offsetWidth,height:b.offsetHeight};}var a=b.style;var e=a.visibility;var c=a.position;a.visibility="hidden";a.position="absolute";a.display="";var f=b.clientWidth;var d=b.clientHeight;a.display="none";a.position=c;a.visibility=e;return{width:f,height:d};},makePositioned:function(a){a=$(a);var b=Element.getStyle(a,"position");if(b=="static"||!b){a._madePositioned=true;a.style.position="relative";if(window.opera){a.style.top=0;a.style.left=0;}}},undoPositioned:function(a){a=$(a);if(a._madePositioned){a._madePositioned=undefined;a.style.position=a.style.top=a.style.left=a.style.bottom=a.style.right="";}},makeClipping:function(a){a=$(a);if(a._overflow){return;}a._overflow=a.style.overflow;if((Element.getStyle(a,"overflow")||"visible")!="hidden"){a.style.overflow="hidden";}},undoClipping:function(a){a=$(a);if(a._overflow){return;}a.style.overflow=a._overflow;a._overflow=undefined;}});var Toggle=new Object();Toggle.display=Element.toggle;Abstract.Insertion=function(a){this.adjacency=a;};Abstract.Insertion.prototype={initialize:function(a,b){this.element=$(a);this.content=b.stripScripts();if(this.adjacency&&this.element.insertAdjacentHTML){try{this.element.insertAdjacentHTML(this.adjacency,this.content);}catch(c){if(this.element.tagName.toLowerCase()=="tbody"||this.element.tagName.toLowerCase()=="tr"){this.insertContent(this.contentFromAnonymousTable());}else{throw c;}}}else{this.range=this.element.ownerDocument.createRange();if(this.initializeRange){this.initializeRange();}this.insertContent([this.range.createContextualFragment(this.content)]);}setTimeout(function(){b.evalScripts();},10);},contentFromAnonymousTable:function(){var a=document.createElement("div");a.innerHTML="<table><tbody>"+this.content+"</tbody></table>";return $A(a.childNodes[0].childNodes[0].childNodes);}};var Insertion=new Object();Insertion.Before=Class.create();Insertion.Before.prototype=Object.extend(new Abstract.Insertion("beforeBegin"),{initializeRange:function(){this.range.setStartBefore(this.element);},insertContent:function(a){a.each((function(b){this.element.parentNode.insertBefore(b,this.element);}).bind(this));}});Insertion.Top=Class.create();Insertion.Top.prototype=Object.extend(new Abstract.Insertion("afterBegin"),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(true);},insertContent:function(a){a.reverse(false).each((function(b){this.element.insertBefore(b,this.element.firstChild);}).bind(this));}});Insertion.Bottom=Class.create();Insertion.Bottom.prototype=Object.extend(new Abstract.Insertion("beforeEnd"),{initializeRange:function(){this.range.selectNodeContents(this.element);this.range.collapse(this.element);},insertContent:function(a){a.each((function(b){this.element.appendChild(b);}).bind(this));}});Insertion.After=Class.create();Insertion.After.prototype=Object.extend(new Abstract.Insertion("afterEnd"),{initializeRange:function(){this.range.setStartAfter(this.element);},insertContent:function(a){a.each((function(b){this.element.parentNode.insertBefore(b,this.element.nextSibling);}).bind(this));}});Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(a){this.element=$(a);},_each:function(a){this.element.className.split(/\s+/).select(function(b){return b.length>0;})._each(a);},set:function(a){this.element.className=a;},add:function(a){if(this.include(a)){return;}this.set(this.toArray().concat(a).join(" "));},remove:function(a){if(!this.include(a)){return;}this.set(this.select(function(b){return b!=a;}).join(" "));},toString:function(){return this.toArray().join(" ");}};Object.extend(Element.ClassNames.prototype,Enumerable);var Field={clear:function(){for(var a=0;a<arguments.length;a++){$(arguments[a]).value="";}},focus:function(a){$(a).focus();},present:function(){for(var a=0;a<arguments.length;a++){if($(arguments[a]).value==""){return false;}}return true;},select:function(a){$(a).select();},activate:function(a){a=$(a);a.focus();if(a.select){a.select();}}};var Form={serialize:function(d){var e=Form.getElements($(d));var c=new Array();for(var b=0;b<e.length;b++){var a=Form.Element.serialize(e[b]);if(a){c.push(a);}}return c.join("&");},getElements:function(b){b=$(b);var c=new Array();for(tagName in Form.Element.Serializers){var d=b.getElementsByTagName(tagName);for(var a=0;a<d.length;a++){c.push(d[a]);}}return c;},getInputs:function(f,c,d){f=$(f);var a=f.getElementsByTagName("input");if(!c&&!d){return a;}var g=new Array();for(var e=0;e<a.length;e++){var b=a[e];if((c&&b.type!=c)||(d&&b.name!=d)){continue;}g.push(b);}return g;},disable:function(c){var d=Form.getElements(c);for(var b=0;b<d.length;b++){var a=d[b];a.blur();a.disabled="true";}},enable:function(c){var d=Form.getElements(c);for(var b=0;b<d.length;b++){var a=d[b];a.disabled="";}},findFirstElement:function(a){return Form.getElements(a).find(function(b){return b.type!="hidden"&&!b.disabled&&["input","select","textarea"].include(b.tagName.toLowerCase());});},focusFirstElement:function(a){Field.activate(Form.findFirstElement(a));},reset:function(a){$(a).reset();}};Form.Element={serialize:function(b){b=$(b);var d=b.tagName.toLowerCase();var c=Form.Element.Serializers[d](b);if(c){var a=encodeURIComponent(c[0]);if(a.length==0){return;}if(c[1].constructor!=Array){c[1]=[c[1]];}return c[1].map(function(e){return a+"="+encodeURIComponent(e);}).join("&");}},getValue:function(a){a=$(a);var c=a.tagName.toLowerCase();var b=Form.Element.Serializers[c](a);if(b){return b[1];}}};Form.Element.Serializers={input:function(a){switch(a.type.toLowerCase()){case"submit":case"hidden":case"password":case"text":return Form.Element.Serializers.textarea(a);case"checkbox":case"radio":return Form.Element.Serializers.inputSelector(a);}return false;},inputSelector:function(a){if(a.checked){return[a.name,a.value];}},textarea:function(a){return[a.name,a.value];},select:function(a){return Form.Element.Serializers[a.type=="select-one"?"selectOne":"selectMany"](a);},selectOne:function(c){var d="",b,a=c.selectedIndex;if(a>=0){b=c.options[a];d=b.value;if(!d&&!("value" in b)){d=b.text;}}return[c.name,d];},selectMany:function(c){var d=new Array();for(var b=0;b<c.length;b++){var a=c.options[b];if(a.selected){var e=a.value;if(!e&&!("value" in a)){e=a.text;}d.push(e);}}return[c.name,d];}};var $F=Form.Element.getValue;Abstract.TimedObserver=function(){};Abstract.TimedObserver.prototype={initialize:function(a,b,c){this.frequency=b;this.element=$(a);this.callback=c;this.lastValue=this.getValue();this.registerCallback();},registerCallback:function(){setInterval(this.onTimerEvent.bind(this),this.frequency*1000);},onTimerEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a;}}};Form.Element.Observer=Class.create();Form.Element.Observer.prototype=Object.extend(new Abstract.TimedObserver(),{getValue:function(){return Form.Element.getValue(this.element);}});Form.Observer=Class.create();Form.Observer.prototype=Object.extend(new Abstract.TimedObserver(),{getValue:function(){return Form.serialize(this.element);}});Abstract.EventObserver=function(){};Abstract.EventObserver.prototype={initialize:function(a,b){this.element=$(a);this.callback=b;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=="form"){this.registerFormCallbacks();}else{this.registerCallback(this.element);}},onElementEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a;}},registerFormCallbacks:function(){var b=Form.getElements(this.element);for(var a=0;a<b.length;a++){this.registerCallback(b[a]);}},registerCallback:function(a){if(a.type){switch(a.type.toLowerCase()){case"checkbox":case"radio":Event.observe(a,"click",this.onElementEvent.bind(this));break;case"password":case"text":case"textarea":case"select-one":case"select-multiple":Event.observe(a,"change",this.onElementEvent.bind(this));break;}}}};Form.Element.EventObserver=Class.create();Form.Element.EventObserver.prototype=Object.extend(new Abstract.EventObserver(),{getValue:function(){return Form.Element.getValue(this.element);}});Form.EventObserver=Class.create();Form.EventObserver.prototype=Object.extend(new Abstract.EventObserver(),{getValue:function(){return Form.serialize(this.element);}});if(!window.Event){var Event=new Object();}Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,element:function(a){return a.target||a.srcElement;},isLeftClick:function(a){return(((a.which)&&(a.which==1))||((a.button)&&(a.button==1)));},pointerX:function(a){return a.pageX||(a.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft));},pointerY:function(a){return a.pageY||(a.clientY+(document.documentElement.scrollTop||document.body.scrollTop));},stop:function(a){if(a.preventDefault){a.preventDefault();a.stopPropagation();}else{a.returnValue=false;a.cancelBubble=true;}},findElement:function(c,b){var a=Event.element(c);while(a.parentNode&&(!a.tagName||(a.tagName.toUpperCase()!=b.toUpperCase()))){a=a.parentNode;}return a;},observers:false,_observeAndCache:function(d,c,b,a){if(!this.observers){this.observers=[];}if(d.addEventListener){this.observers.push([d,c,b,a]);d.addEventListener(c,b,a);}else{if(d.attachEvent){this.observers.push([d,c,b,a]);d.attachEvent("on"+c,b);}}},unloadCache:function(){if(!Event.observers){return;}for(var a=0;a<Event.observers.length;a++){Event.stopObserving.apply(this,Event.observers[a]);Event.observers[a][0]=null;}Event.observers=false;},observe:function(d,c,b,a){var d=$(d);a=a||false;if(c=="keypress"&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||d.attachEvent)){c="keydown";}this._observeAndCache(d,c,b,a);},stopObserving:function(d,c,b,a){var d=$(d);a=a||false;if(c=="keypress"&&(navigator.appVersion.match(/Konqueror|Safari|KHTML/)||d.detachEvent)){c="keydown";}if(d.removeEventListener){d.removeEventListener(c,b,a);}else{if(d.detachEvent){d.detachEvent("on"+c,b);}}}});Event.observe(window,"unload",Event.unloadCache,false);var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;},realOffset:function(b){var a=0,c=0;do{a+=b.scrollTop||0;c+=b.scrollLeft||0;b=b.parentNode;}while(b);return[c,a];},cumulativeOffset:function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;b=b.offsetParent;}while(b);return[c,a];},positionedOffset:function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;b=b.offsetParent;if(b){p=Element.getStyle(b,"position");if(p=="relative"||p=="absolute"){break;}}}while(b);return[c,a];},offsetParent:function(a){if(a.offsetParent){return a.offsetParent;}if(a==document.body){return a;}while((a=a.parentNode)&&a!=document.body){if(Element.getStyle(a,"position")!="static"){return a;}}return document.body;},within:function(b,a,c){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(b,a,c);}this.xcomp=a;this.ycomp=c;this.offset=this.cumulativeOffset(b);return(c>=this.offset[1]&&c<this.offset[1]+b.offsetHeight&&a>=this.offset[0]&&a<this.offset[0]+b.offsetWidth);},withinIncludingScrolloffsets:function(b,a,d){var c=this.realOffset(b);this.xcomp=a+c[0]-this.deltaX;this.ycomp=d+c[1]-this.deltaY;this.offset=this.cumulativeOffset(b);return(this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+b.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+b.offsetWidth);},overlap:function(b,a){if(!b){return 0;}if(b=="vertical"){return((this.offset[1]+a.offsetHeight)-this.ycomp)/a.offsetHeight;}if(b=="horizontal"){return((this.offset[0]+a.offsetWidth)-this.xcomp)/a.offsetWidth;}},clone:function(b,c){b=$(b);c=$(c);c.style.position="absolute";var a=this.cumulativeOffset(b);c.style.top=a[1]+"px";c.style.left=a[0]+"px";c.style.width=b.offsetWidth+"px";c.style.height=b.offsetHeight+"px";},page:function(d){var a=0,c=0;var b=d;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;if(b.offsetParent==document.body){if(Element.getStyle(b,"position")=="absolute"){break;}}}while(b=b.offsetParent);b=d;do{a-=b.scrollTop||0;c-=b.scrollLeft||0;}while(b=b.parentNode);return[c,a];},clone:function(c,e){var a=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});c=$(c);var d=Position.page(c);e=$(e);var f=[0,0];var b=null;if(Element.getStyle(e,"position")=="absolute"){b=Position.offsetParent(e);f=Position.page(b);}if(b==document.body){f[0]-=document.body.offsetLeft;f[1]-=document.body.offsetTop;}if(a.setLeft){e.style.left=(d[0]-f[0]+a.offsetLeft)+"px";}if(a.setTop){e.style.top=(d[1]-f[1]+a.offsetTop)+"px";}if(a.setWidth){e.style.width=c.offsetWidth+"px";}if(a.setHeight){e.style.height=c.offsetHeight+"px";}},absolutize:function(b){b=$(b);if(b.style.position=="absolute"){return;}Position.prepare();var d=Position.positionedOffset(b);var f=d[1];var e=d[0];var c=b.clientWidth;var a=b.clientHeight;b._originalLeft=e-parseFloat(b.style.left||0);b._originalTop=f-parseFloat(b.style.top||0);b._originalWidth=b.style.width;b._originalHeight=b.style.height;b.style.position="absolute";b.style.top=f+"px";b.style.left=e+"px";b.style.width=c+"px";b.style.height=a+"px";},relativize:function(a){a=$(a);if(a.style.position=="relative"){return;}Position.prepare();a.style.position="relative";var c=parseFloat(a.style.top||0)-(a._originalTop||0);var b=parseFloat(a.style.left||0)-(a._originalLeft||0);a.style.top=c+"px";a.style.left=b+"px";a.style.height=a._originalHeight;a.style.width=a._originalWidth;}};if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){Position.cumulativeOffset=function(b){var a=0,c=0;do{a+=b.offsetTop||0;c+=b.offsetLeft||0;if(b.offsetParent==document.body){if(Element.getStyle(b,"position")=="absolute"){break;}}b=b.offsetParent;}while(b);return[c,a];};}var detect=navigator.userAgent.toLowerCase();var OS,browser,version,total,thestring;function getBrowserInfo(){if(checkIt("konqueror")){browser="Konqueror";OS="Linux";}else{if(checkIt("safari")){browser="Safari";}else{if(checkIt("omniweb")){browser="OmniWeb";}else{if(checkIt("opera")){browser="Opera";}else{if(checkIt("webtv")){browser="WebTV";}else{if(checkIt("icab")){browser="iCab";}else{if(checkIt("msie")){browser="Internet Explorer";}else{if(!checkIt("compatible")){browser="Netscape Navigator";version=detect.charAt(8);}else{browser="An unknown browser";}}}}}}}}if(!version){version=detect.charAt(place+thestring.length);}if(!OS){if(checkIt("linux")){OS="Linux";}else{if(checkIt("x11")){OS="Unix";}else{if(checkIt("mac")){OS="Mac";}else{if(checkIt("win")){OS="Windows";}else{OS="an unknown operating system";}}}}}}function checkIt(a){place=detect.indexOf(a)+1;thestring=a;return place;}Event.observe(window,"load",initialize,false);Event.observe(window,"load",getBrowserInfo,false);Event.observe(window,"unload",Event.unloadCache,false);var lightbox=Class.create();lightbox.prototype={yPos:0,xPos:0,initialize:function(a){this.content=a.href;Event.observe(a,"click",this.activate.bindAsEventListener(this),false);a.onclick=function(){return false;};},activate:function(){if(browser=="Internet Explorer"){this.getScroll();this.prepareIE("100%","hidden");this.setScroll(0,0);this.hideSelects("hidden");}this.displayLightbox("block");},prepareIE:function(a,b){bod=document.getElementsByTagName("body")[0];bod.style.height=a;bod.style.overflow=b;htm=document.getElementsByTagName("html")[0];htm.style.height=a;htm.style.overflow=b;},hideSelects:function(a){selects=document.getElementsByTagName("select");for(i=0;i<selects.length;i++){selects[i].style.visibility=a;}},getScroll:function(){if(self.pageYOffset){this.yPos=self.pageYOffset;}else{if(document.documentElement&&document.documentElement.scrollTop){this.yPos=document.documentElement.scrollTop;}else{if(document.body){this.yPos=document.body.scrollTop;}}}},setScroll:function(a,b){window.scrollTo(a,b);},displayLightbox:function(a){$("overlay").style.display=a;$("lightbox").style.display=a;if(a!="none"){this.loadInfo();}},loadInfo:function(){var a=new Ajax.Request(this.content,{method:"post",parameters:"",onComplete:this.processInfo.bindAsEventListener(this)});},processInfo:function(a){info="<div id='lbContent'>"+a.responseText+"</div>";new Insertion.Before($("lbLoadMessage"),info);$("lightbox").className="done";this.actions();},actions:function(){lbActions=document.getElementsByClassName("lbAction");for(i=0;i<lbActions.length;i++){Event.observe(lbActions[i],"click",this[lbActions[i].rel].bindAsEventListener(this),false);lbActions[i].onclick=function(){return false;};}},insert:function(b){link=Event.element(b).parentNode;Element.remove($("lbContent"));var a=new Ajax.Request(link.href,{method:"post",parameters:"",onComplete:this.processInfo.bindAsEventListener(this)});},deactivate:function(){Element.remove($("lbContent"));if(browser=="Internet Explorer"){this.setScroll(0,this.yPos);this.prepareIE("auto","auto");this.hideSelects("visible");}this.displayLightbox("none");}};function initialize(){addLightboxMarkup();lbox=document.getElementsByClassName("lbOn");for(i=0;i<lbox.length;i++){valid=new lightbox(lbox[i]);}}function addLightboxMarkup(){bod=document.getElementsByTagName("body")[0];overlay=document.createElement("div");overlay.id="overlay";lb=document.createElement("div");lb.id="lightbox";lb.className="loading";lb.innerHTML='<div id="lbLoadMessage"><p>Loading</p></div>';bod.appendChild(overlay);bod.appendChild(lb);}function fireEvent(c,a){var d=c;if(document.createEvent){var b=document.createEvent("MouseEvents");b.initEvent(a,true,false);d.dispatchEvent(b);}else{if(document.createEventObject){d.fireEvent("on"+a);}}}function initLightbox(){var a;if(a=document.getElementById("popup")){fireEvent(document.getElementById("popup"),"click");}}Event.observe(window,"load",initLightbox,false);
