
			var Prototype={Version:"1.5.1",Browser:{IE:!!(window.attachEvent&&!window.opera),Opera:!!window.opera,WebKit:navigator.userAgent.indexOf("AppleWebKit/")>-1,Gecko:navigator.userAgent.indexOf("Gecko")>-1&&navigator.userAgent.indexOf("KHTML")==-1},BrowserFeatures:{XPath:!!document.evaluate,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:(document.createElement("div").__proto__!==document.createElement("form").__proto__)},ScriptFragment:"<script[^>]*>([\x01-\uffff]*?)</script>",JSONFilter:/^\/\*-secure-\s*(.*)\s*\*\/\s*$/,emptyFunction:function(){},K:function(x){return x;}};var Class={create:function(){return function(){this.initialize.apply(this,arguments);};}};var Abstract=new Object();Object.extend=function(_2,_3){for(var _4 in _3){_2[_4]=_3[_4];}return _2;};Object.extend(Object,{inspect:function(_5){try{if(_5===undefined){return "undefined";}if(_5===null){return "null";}return _5.inspect?_5.inspect():_5.toString();}catch(e){if(e instanceof RangeError){return "...";}throw e;}},toJSON:function(_6){var _7=typeof _6;switch(_7){case "undefined":case "function":case "unknown":return;case "boolean":return _6.toString();}if(_6===null){return "null";}if(_6.toJSON){return _6.toJSON();}if(_6.ownerDocument===document){return;}var _8=[];for(var _9 in _6){var _a=Object.toJSON(_6[_9]);if(_a!==undefined){_8.push(_9.toJSON()+": "+_a);}}return "{"+_8.join(", ")+"}";},keys:function(_b){var _c=[];for(var _d in _b){_c.push(_d);}return _c;},values:function(_e){var _f=[];for(var _10 in _e){_f.push(_e[_10]);}return _f;},clone:function(_11){return Object.extend({},_11);}});Function.prototype.bind=function(){var _12=this,_13=$A(arguments),_14=_13.shift();return function(){return _12.apply(_14,_13.concat($A(arguments)));};};Function.prototype.bindAsEventListener=function(_15){var _16=this,_17=$A(arguments),_15=_17.shift();return function(_18){return _16.apply(_15,[_18||window.event].concat(_17));};};Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16);},succ:function(){return this+1;},times:function(_19){$R(0,this,true).each(_19);return this;},toPaddedString:function(_1a,_1b){var _1c=this.toString(_1b||10);return "0".times(_1a-_1c.length)+_1c;},toJSON:function(){return isFinite(this)?this.toString():"null";}});Date.prototype.toJSON=function(){return "\""+this.getFullYear()+"-"+(this.getMonth()+1).toPaddedString(2)+"-"+this.getDate().toPaddedString(2)+"T"+this.getHours().toPaddedString(2)+":"+this.getMinutes().toPaddedString(2)+":"+this.getSeconds().toPaddedString(2)+"\"";};var Try={these:function(){var _1d;for(var i=0,_1f=arguments.length;i<_1f;i++){var _20=arguments[i];try{_1d=_20();break;}catch(e){}}return _1d;}};var PeriodicalExecuter=Class.create();PeriodicalExecuter.prototype={initialize:function(_21,_22){this.callback=_21;this.frequency=_22;this.currentlyExecuting=false;this.registerCallback();},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000);},stop:function(){if(!this.timer){return;}clearInterval(this.timer);this.timer=null;},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.callback(this);}finally{this.currentlyExecuting=false;}}}};Object.extend(String,{interpret:function(_23){return _23==null?"":String(_23);},specialChar:{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\\":"\\\\"}});Object.extend(String.prototype,{gsub:function(_24,_25){var _26="",_27=this,_28;_25=arguments.callee.prepareReplacement(_25);while(_27.length>0){if(_28=_27.match(_24)){_26+=_27.slice(0,_28.index);_26+=String.interpret(_25(_28));_27=_27.slice(_28.index+_28[0].length);}else{_26+=_27,_27="";}}return _26;},sub:function(_29,_2a,_2b){_2a=this.gsub.prepareReplacement(_2a);_2b=_2b===undefined?1:_2b;return this.gsub(_29,function(_2c){if(--_2b<0){return _2c[0];}return _2a(_2c);});},scan:function(_2d,_2e){this.gsub(_2d,_2e);return this;},truncate:function(_2f,_30){_2f=_2f||30;_30=_30===undefined?"...":_30;return this.length>_2f?this.slice(0,_2f-_30.length)+_30:this;},strip:function(){return this.replace(/^\s+/,"").replace(/\s+$/,"");},stripTags:function(){return this.replace(/<\/?[^>]+>/gi,"");},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,"img"),"");},extractScripts:function(){var _31=new RegExp(Prototype.ScriptFragment,"img");var _32=new RegExp(Prototype.ScriptFragment,"im");return (this.match(_31)||[]).map(function(_33){return (_33.match(_32)||["",""])[1];});},evalScripts:function(){return this.extractScripts().map(function(_34){return eval(_34);});},escapeHTML:function(){var _35=arguments.callee;_35.text.data=this;return _35.div.innerHTML;},unescapeHTML:function(){var div=document.createElement("div");div.innerHTML=this.stripTags();return div.childNodes[0]?(div.childNodes.length>1?$A(div.childNodes).inject("",function(_37,_38){return _37+_38.nodeValue;}):div.childNodes[0].nodeValue):"";},toQueryParams:function(_39){var _3a=this.strip().match(/([^?#]*)(#.*)?$/);if(!_3a){return {};}return _3a[1].split(_39||"&").inject({},function(_3b,_3c){if((_3c=_3c.split("="))[0]){var key=decodeURIComponent(_3c.shift());var _3e=_3c.length>1?_3c.join("="):_3c[0];if(_3e!=undefined){_3e=decodeURIComponent(_3e);}if(key in _3b){if(_3b[key].constructor!=Array){_3b[key]=[_3b[key]];}_3b[key].push(_3e);}else{_3b[key]=_3e;}}return _3b;});},toArray:function(){return this.split("");},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1);},times:function(_3f){var _40="";for(var i=0;i<_3f;i++){_40+=this;}return _40;},camelize:function(){var _42=this.split("-"),len=_42.length;if(len==1){return _42[0];}var _44=this.charAt(0)=="-"?_42[0].charAt(0).toUpperCase()+_42[0].substring(1):_42[0];for(var i=1;i<len;i++){_44+=_42[i].charAt(0).toUpperCase()+_42[i].substring(1);}return _44;},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase();},underscore:function(){return this.gsub(/::/,"/").gsub(/([A-Z]+)([A-Z][a-z])/,"#{1}_#{2}").gsub(/([a-z\d])([A-Z])/,"#{1}_#{2}").gsub(/-/,"_").toLowerCase();},dasherize:function(){return this.gsub(/_/,"-");},inspect:function(_46){var _47=this.gsub(/[\x00-\x1f\\]/,function(_48){var _49=String.specialChar[_48[0]];return _49?_49:"\\u00"+_48[0].charCodeAt().toPaddedString(2,16);});if(_46){return "\""+_47.replace(/"/g,"\\\"")+"\"";}return "'"+_47.replace(/'/g,"\\'")+"'";},toJSON:function(){return this.inspect(true);},unfilterJSON:function(_4a){return this.sub(_4a||Prototype.JSONFilter,"#{1}");},evalJSON:function(_4b){var _4c=this.unfilterJSON();try{if(!_4b||(/^("(\\.|[^"\\\n\r])*?"|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/.test(_4c))){return eval("("+_4c+")");}}catch(e){}throw new SyntaxError("Badly formed JSON string: "+this.inspect());},include:function(_4d){return this.indexOf(_4d)>-1;},startsWith:function(_4e){return this.indexOf(_4e)===0;},endsWith:function(_4f){var d=this.length-_4f.length;return d>=0&&this.lastIndexOf(_4f)===d;},empty:function(){return this=="";},blank:function(){return /^\s*$/.test(this);}});if(Prototype.Browser.WebKit||Prototype.Browser.IE){Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");},unescapeHTML:function(){return this.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">");}});}String.prototype.gsub.prepareReplacement=function(_51){if(typeof _51=="function"){return _51;}var _52=new Template(_51);return function(_53){return _52.evaluate(_53);};};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement("div"),text:document.createTextNode("")});with(String.prototype.escapeHTML){div.appendChild(text);}var Template=Class.create();Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;Template.prototype={initialize:function(_54,_55){this.template=_54.toString();this.pattern=_55||Template.Pattern;},evaluate:function(_56){return this.template.gsub(this.pattern,function(_57){var _58=_57[1];if(_58=="\\"){return _57[2];}return _58+String.interpret(_56[_57[3]]);});}};var $break={},$continue=new Error("\"throw $continue\" is deprecated, use \"return\" instead");var Enumerable={each:function(_59){var _5a=0;try{this._each(function(_5b){_59(_5b,_5a++);});}catch(e){if(e!=$break){throw e;}}return this;},eachSlice:function(_5c,_5d){var _5e=-_5c,_5f=[],_60=this.toArray();while((_5e+=_5c)<_60.length){_5f.push(_60.slice(_5e,_5e+_5c));}return _5f.map(_5d);},all:function(_61){var _62=true;this.each(function(_63,_64){_62=_62&&!!(_61||Prototype.K)(_63,_64);if(!_62){throw $break;}});return _62;},any:function(_65){var _66=false;this.each(function(_67,_68){if(_66=!!(_65||Prototype.K)(_67,_68)){throw $break;}});return _66;},collect:function(_69){var _6a=[];this.each(function(_6b,_6c){_6a.push((_69||Prototype.K)(_6b,_6c));});return _6a;},detect:function(_6d){var _6e;this.each(function(_6f,_70){if(_6d(_6f,_70)){_6e=_6f;throw $break;}});return _6e;},findAll:function(_71){var _72=[];this.each(function(_73,_74){if(_71(_73,_74)){_72.push(_73);}});return _72;},grep:function(_75,_76){var _77=[];this.each(function(_78,_79){var _7a=_78.toString();if(_7a.match(_75)){_77.push((_76||Prototype.K)(_78,_79));}});return _77;},include:function(_7b){var _7c=false;this.each(function(_7d){if(_7d==_7b){_7c=true;throw $break;}});return _7c;},inGroupsOf:function(_7e,_7f){_7f=_7f===undefined?null:_7f;return this.eachSlice(_7e,function(_80){while(_80.length<_7e){_80.push(_7f);}return _80;});},inject:function(_81,_82){this.each(function(_83,_84){_81=_82(_81,_83,_84);});return _81;},invoke:function(_85){var _86=$A(arguments).slice(1);return this.map(function(_87){return _87[_85].apply(_87,_86);});},max:function(_88){var _89;this.each(function(_8a,_8b){_8a=(_88||Prototype.K)(_8a,_8b);if(_89==undefined||_8a>=_89){_89=_8a;}});return _89;},min:function(_8c){var _8d;this.each(function(_8e,_8f){_8e=(_8c||Prototype.K)(_8e,_8f);if(_8d==undefined||_8e<_8d){_8d=_8e;}});return _8d;},partition:function(_90){var _91=[],_92=[];this.each(function(_93,_94){((_90||Prototype.K)(_93,_94)?_91:_92).push(_93);});return [_91,_92];},pluck:function(_95){var _96=[];this.each(function(_97,_98){_96.push(_97[_95]);});return _96;},reject:function(_99){var _9a=[];this.each(function(_9b,_9c){if(!_99(_9b,_9c)){_9a.push(_9b);}});return _9a;},sortBy:function(_9d){return this.map(function(_9e,_9f){return {value:_9e,criteria:_9d(_9e,_9f)};}).sort(function(_a0,_a1){var a=_a0.criteria,b=_a1.criteria;return a<b?-1:a>b?1:0;}).pluck("value");},toArray:function(){return this.map();},zip:function(){var _a4=Prototype.K,_a5=$A(arguments);if(typeof _a5.last()=="function"){_a4=_a5.pop();}var _a6=[this].concat(_a5).map($A);return this.map(function(_a7,_a8){return _a4(_a6.pluck(_a8));});},size:function(){return this.toArray().length;},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(_a9){if(!_a9){return [];}if(_a9.toArray){return _a9.toArray();}else{var _aa=[];for(var i=0,_ac=_a9.length;i<_ac;i++){_aa.push(_a9[i]);}return _aa;}};if(Prototype.Browser.WebKit){$A=Array.from=function(_ad){if(!_ad){return [];}if(!(typeof _ad=="function"&&_ad=="[object NodeList]")&&_ad.toArray){return _ad.toArray();}else{var _ae=[];for(var i=0,_b0=_ad.length;i<_b0;i++){_ae.push(_ad[i]);}return _ae;}};}Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse){Array.prototype._reverse=Array.prototype.reverse;}Object.extend(Array.prototype,{_each:function(_b1){for(var i=0,_b3=this.length;i<_b3;i++){_b1(this[i]);}},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(_b4){return _b4!=null;});},flatten:function(){return this.inject([],function(_b5,_b6){return _b5.concat(_b6&&_b6.constructor==Array?_b6.flatten():[_b6]);});},without:function(){var _b7=$A(arguments);return this.select(function(_b8){return !_b7.include(_b8);});},indexOf:function(_b9){for(var i=0,_bb=this.length;i<_bb;i++){if(this[i]==_b9){return i;}}return -1;},reverse:function(_bc){return (_bc!==false?this:this.toArray())._reverse();},reduce:function(){return this.length>1?this:this[0];},uniq:function(_bd){return this.inject([],function(_be,_bf,_c0){if(0==_c0||(_bd?_be.last()!=_bf:!_be.include(_bf))){_be.push(_bf);}return _be;});},clone:function(){return [].concat(this);},size:function(){return this.length;},inspect:function(){return "["+this.map(Object.inspect).join(", ")+"]";},toJSON:function(){var _c1=[];this.each(function(_c2){var _c3=Object.toJSON(_c2);if(_c3!==undefined){_c1.push(_c3);}});return "["+_c1.join(", ")+"]";}});Array.prototype.toArray=Array.prototype.clone;function $w(_c4){_c4=_c4.strip();return _c4?_c4.split(/\s+/):[];}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var _c5=[];for(var i=0,_c7=this.length;i<_c7;i++){_c5.push(this[i]);}for(var i=0,_c7=arguments.length;i<_c7;i++){if(arguments[i].constructor==Array){for(var j=0,_c9=arguments[i].length;j<_c9;j++){_c5.push(arguments[i][j]);}}else{_c5.push(arguments[i]);}}return _c5;};}var Hash=function(_ca){if(_ca instanceof Hash){this.merge(_ca);}else{Object.extend(this,_ca||{});}};Object.extend(Hash,{toQueryString:function(obj){var _cc=[];_cc.add=arguments.callee.addPair;this.prototype._each.call(obj,function(_cd){if(!_cd.key){return;}var _ce=_cd.value;if(_ce&&typeof _ce=="object"){if(_ce.constructor==Array){_ce.each(function(_cf){_cc.add(_cd.key,_cf);});}return;}_cc.add(_cd.key,_ce);});return _cc.join("&");},toJSON:function(_d0){var _d1=[];this.prototype._each.call(_d0,function(_d2){var _d3=Object.toJSON(_d2.value);if(_d3!==undefined){_d1.push(_d2.key.toJSON()+": "+_d3);}});return "{"+_d1.join(", ")+"}";}});Hash.toQueryString.addPair=function(key,_d5,_d6){key=encodeURIComponent(key);if(_d5===undefined){this.push(key);}else{this.push(key+"="+(_d5==null?"":encodeURIComponent(_d5)));}};Object.extend(Hash.prototype,Enumerable);Object.extend(Hash.prototype,{_each:function(_d7){for(var key in this){var _d9=this[key];if(_d9&&_d9==Hash.prototype[key]){continue;}var _da=[key,_d9];_da.key=key;_da.value=_d9;_d7(_da);}},keys:function(){return this.pluck("key");},values:function(){return this.pluck("value");},merge:function(_db){return $H(_db).inject(this,function(_dc,_dd){_dc[_dd.key]=_dd.value;return _dc;});},remove:function(){var _de;for(var i=0,_e0=arguments.length;i<_e0;i++){var _e1=this[arguments[i]];if(_e1!==undefined){if(_de===undefined){_de=_e1;}else{if(_de.constructor!=Array){_de=[_de];}_de.push(_e1);}}delete this[arguments[i]];}return _de;},toQueryString:function(){return Hash.toQueryString(this);},inspect:function(){return "#<Hash:{"+this.map(function(_e2){return _e2.map(Object.inspect).join(": ");}).join(", ")+"}>";},toJSON:function(){return Hash.toJSON(this);}});function $H(_e3){if(_e3 instanceof Hash){return _e3;}return new Hash(_e3);}if(function(){var i=0,_e5=function(_e6){this.key=_e6;};_e5.prototype.key="foo";for(var _e7 in new _e5("bar")){i++;}return i>1;}()){Hash.prototype._each=function(_e8){var _e9=[];for(var key in this){var _eb=this[key];if((_eb&&_eb==Hash.prototype[key])||_e9.include(key)){continue;}_e9.push(key);var _ec=[key,_eb];_ec.key=key;_ec.value=_eb;_e8(_ec);}};}ObjectRange=Class.create();Object.extend(ObjectRange.prototype,Enumerable);Object.extend(ObjectRange.prototype,{initialize:function(_ed,end,_ef){this.start=_ed;this.end=end;this.exclusive=_ef;},_each:function(_f0){var _f1=this.start;while(this.include(_f1)){_f0(_f1);_f1=_f1.succ();}},include:function(_f2){if(_f2<this.start){return false;}if(this.exclusive){return _f2<this.end;}return _f2<=this.end;}});var $R=function(_f3,end,_f5){return new ObjectRange(_f3,end,_f5);};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest();},function(){return new ActiveXObject("Msxml2.XMLHTTP");},function(){return new ActiveXObject("Microsoft.XMLHTTP");})||false;},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(_f6){this.responders._each(_f6);},register:function(_f7){if(!this.include(_f7)){this.responders.push(_f7);}},unregister:function(_f8){this.responders=this.responders.without(_f8);},dispatch:function(_f9,_fa,_fb,_fc){this.each(function(_fd){if(typeof _fd[_f9]=="function"){try{_fd[_f9].apply(_fd,[_fa,_fb,_fc]);}catch(e){}}});}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++;},onComplete:function(){Ajax.activeRequestCount--;}});Ajax.Base=function(){};Ajax.Base.prototype={setOptions:function(_fe){this.options={method:"post",asynchronous:true,contentType:"application/x-www-form-urlencoded",encoding:"UTF-8",parameters:""};Object.extend(this.options,_fe||{});this.options.method=this.options.method.toLowerCase();if(typeof this.options.parameters=="string"){this.options.parameters=this.options.parameters.toQueryParams();}}};Ajax.Request=Class.create();Ajax.Request.Events=["Uninitialized","Loading","Loaded","Interactive","Complete"];Ajax.Request.prototype=Object.extend(new Ajax.Base(),{_complete:false,initialize:function(url,_100){this.transport=Ajax.getTransport();this.setOptions(_100);this.request(url);},request:function(url){this.url=url;this.method=this.options.method;var _102=Object.clone(this.options.parameters);if(!["get","post"].include(this.method)){_102["_method"]=this.method;this.method="post";}this.parameters=_102;if(_102=Hash.toQueryString(_102)){if(this.method=="get"){this.url+=(this.url.include("?")?"&":"?")+_102;}else{if(/Konqueror|Safari|KHTML/.test(navigator.userAgent)){_102+="&_=";}}}try{if(this.options.onCreate){this.options.onCreate(this.transport);}Ajax.Responders.dispatch("onCreate",this,this.transport);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous){setTimeout(function(){this.respondToReadyState(1);}.bind(this),10);}this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=="post"?(this.options.postBody||_102):null;this.transport.send(this.body);if(!this.options.asynchronous&&this.transport.overrideMimeType){this.onStateChange();}}catch(e){this.dispatchException(e);}},onStateChange:function(){var _103=this.transport.readyState;if(_103>1&&!((_103==4)&&this._complete)){this.respondToReadyState(this.transport.readyState);}},setRequestHeaders:function(){var _104={"X-Requested-With":"XMLHttpRequest","X-Prototype-Version":Prototype.Version,"Accept":"text/javascript, text/html, application/xml, text/xml, */*"};if(this.method=="post"){_104["Content-type"]=this.options.contentType+(this.options.encoding?"; charset="+this.options.encoding:"");if(this.transport.overrideMimeType&&(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])[1]<2005){_104["Connection"]="close";}}if(typeof this.options.requestHeaders=="object"){var _105=this.options.requestHeaders;if(typeof _105.push=="function"){for(var i=0,_107=_105.length;i<_107;i+=2){_104[_105[i]]=_105[i+1];}}else{$H(_105).each(function(pair){_104[pair.key]=pair.value;});}}for(var name in _104){this.transport.setRequestHeader(name,_104[name]);}},success:function(){return !this.transport.status||(this.transport.status>=200&&this.transport.status<300);},respondToReadyState:function(_10a){var _10b=Ajax.Request.Events[_10a];var _10c=this.transport,json=this.evalJSON();if(_10b=="Complete"){try{this._complete=true;(this.options["on"+this.transport.status]||this.options["on"+(this.success()?"Success":"Failure")]||Prototype.emptyFunction)(_10c,json);}catch(e){this.dispatchException(e);}var _10e=this.getHeader("Content-type");if(_10e&&_10e.strip().match(/^(text|application)\/(x-)?(java|ecma)script(;.*)?$/i)){this.evalResponse();}}try{(this.options["on"+_10b]||Prototype.emptyFunction)(_10c,json);Ajax.Responders.dispatch("on"+_10b,this,_10c,json);}catch(e){this.dispatchException(e);}if(_10b=="Complete"){this.transport.onreadystatechange=Prototype.emptyFunction;}},getHeader:function(name){try{return this.transport.getResponseHeader(name);}catch(e){return null;}},evalJSON:function(){try{var json=this.getHeader("X-JSON");return json?json.evalJSON():null;}catch(e){return null;}},evalResponse:function(){try{return eval((this.transport.responseText||"").unfilterJSON());}catch(e){this.dispatchException(e);}},dispatchException:function(_111){(this.options.onException||Prototype.emptyFunction)(this,_111);Ajax.Responders.dispatch("onException",this,_111);}});Ajax.Updater=Class.create();Object.extend(Object.extend(Ajax.Updater.prototype,Ajax.Request.prototype),{initialize:function(_112,url,_114){this.container={success:(_112.success||_112),failure:(_112.failure||(_112.success?null:_112))};this.transport=Ajax.getTransport();this.setOptions(_114);var _115=this.options.onComplete||Prototype.emptyFunction;this.options.onComplete=(function(_116,_117){this.updateContent();_115(_116,_117);}).bind(this);this.request(url);},updateContent:function(){var _118=this.container[this.success()?"success":"failure"];var _119=this.transport.responseText;if(!this.options.evalScripts){_119=_119.stripScripts();}if(_118=$(_118)){if(this.options.insertion){new this.options.insertion(_118,_119);}else{_118.update(_119);}}if(this.success()){if(this.onComplete){setTimeout(this.onComplete.bind(this),10);}}}});Ajax.PeriodicalUpdater=Class.create();Ajax.PeriodicalUpdater.prototype=Object.extend(new Ajax.Base(),{initialize:function(_11a,url,_11c){this.setOptions(_11c);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=_11a;this.url=url;this.start();},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent();},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments);},updateComplete:function(_11d){if(this.options.decay){this.decay=(_11d.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=_11d.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);}});function $(_11e){if(arguments.length>1){for(var i=0,_120=[],_121=arguments.length;i<_121;i++){_120.push($(arguments[i]));}return _120;}if(typeof _11e=="string"){_11e=document.getElementById(_11e);}return Element.extend(_11e);}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(_122,_123){var _124=[];var _125=document.evaluate(_122,$(_123)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,_127=_125.snapshotLength;i<_127;i++){_124.push(_125.snapshotItem(i));}return _124;};document.getElementsByClassName=function(_128,_129){var q=".//*[contains(concat(' ', @class, ' '), ' "+_128+" ')]";return document._getElementsByXPath(q,_129);};}else{document.getElementsByClassName=function(_12b,_12c){var _12d=($(_12c)||document.body).getElementsByTagName("*");var _12e=[],_12f;for(var i=0,_131=_12d.length;i<_131;i++){_12f=_12d[i];if(Element.hasClassName(_12f,_12b)){_12e.push(Element.extend(_12f));}}return _12e;};}if(!window.Element){var Element={};}Element.extend=function(_132){var F=Prototype.BrowserFeatures;if(!_132||!_132.tagName||_132.nodeType==3||_132._extended||F.SpecificElementExtensions||_132==window){return _132;}var _134={},_135=_132.tagName,_136=Element.extend.cache,T=Element.Methods.ByTag;if(!F.ElementExtensions){Object.extend(_134,Element.Methods),Object.extend(_134,Element.Methods.Simulated);}if(T[_135]){Object.extend(_134,T[_135]);}for(var _138 in _134){var _139=_134[_138];if(typeof _139=="function"&&!(_138 in _132)){_132[_138]=_136.findOrStore(_139);}}_132._extended=Prototype.emptyFunction;return _132;};Element.extend.cache={findOrStore:function(_13a){return this[_13a]=this[_13a]||function(){return _13a.apply(null,[this].concat($A(arguments)));};}};Element.Methods={visible:function(_13b){return $(_13b).style.display!="none";},toggle:function(_13c){_13c=$(_13c);Element[Element.visible(_13c)?"hide":"show"](_13c);return _13c;},hide:function(_13d){$(_13d).style.display="none";return _13d;},show:function(_13e){$(_13e).style.display="";return _13e;},remove:function(_13f){_13f=$(_13f);_13f.parentNode.removeChild(_13f);return _13f;},update:function(_140,html){html=typeof html=="undefined"?"":html.toString();$(_140).innerHTML=html.stripScripts();setTimeout(function(){html.evalScripts();},10);return _140;},replace:function(_142,html){_142=$(_142);html=typeof html=="undefined"?"":html.toString();if(_142.outerHTML){_142.outerHTML=html.stripScripts();}else{var _144=_142.ownerDocument.createRange();_144.selectNodeContents(_142);_142.parentNode.replaceChild(_144.createContextualFragment(html.stripScripts()),_142);}setTimeout(function(){html.evalScripts();},10);return _142;},inspect:function(_145){_145=$(_145);var _146="<"+_145.tagName.toLowerCase();$H({"id":"id","className":"class"}).each(function(pair){var _148=pair.first(),_149=pair.last();var _14a=(_145[_148]||"").toString();if(_14a){_146+=" "+_149+"="+_14a.inspect(true);}});return _146+">";},recursivelyCollect:function(_14b,_14c){_14b=$(_14b);var _14d=[];while(_14b=_14b[_14c]){if(_14b.nodeType==1){_14d.push(Element.extend(_14b));}}return _14d;},ancestors:function(_14e){return $(_14e).recursivelyCollect("parentNode");},descendants:function(_14f){return $A($(_14f).getElementsByTagName("*")).each(Element.extend);},firstDescendant:function(_150){_150=$(_150).firstChild;while(_150&&_150.nodeType!=1){_150=_150.nextSibling;}return $(_150);},immediateDescendants:function(_151){if(!(_151=$(_151).firstChild)){return [];}while(_151&&_151.nodeType!=1){_151=_151.nextSibling;}if(_151){return [_151].concat($(_151).nextSiblings());}return [];},previousSiblings:function(_152){return $(_152).recursivelyCollect("previousSibling");},nextSiblings:function(_153){return $(_153).recursivelyCollect("nextSibling");},siblings:function(_154){_154=$(_154);return _154.previousSiblings().reverse().concat(_154.nextSiblings());},match:function(_155,_156){if(typeof _156=="string"){_156=new Selector(_156);}return _156.match($(_155));},up:function(_157,_158,_159){_157=$(_157);if(arguments.length==1){return $(_157.parentNode);}var _15a=_157.ancestors();return _158?Selector.findElement(_15a,_158,_159):_15a[_159||0];},down:function(_15b,_15c,_15d){_15b=$(_15b);if(arguments.length==1){return _15b.firstDescendant();}var _15e=_15b.descendants();return _15c?Selector.findElement(_15e,_15c,_15d):_15e[_15d||0];},previous:function(_15f,_160,_161){_15f=$(_15f);if(arguments.length==1){return $(Selector.handlers.previousElementSibling(_15f));}var _162=_15f.previousSiblings();return _160?Selector.findElement(_162,_160,_161):_162[_161||0];},next:function(_163,_164,_165){_163=$(_163);if(arguments.length==1){return $(Selector.handlers.nextElementSibling(_163));}var _166=_163.nextSiblings();return _164?Selector.findElement(_166,_164,_165):_166[_165||0];},getElementsBySelector:function(){var args=$A(arguments),_168=$(args.shift());return Selector.findChildElements(_168,args);},getElementsByClassName:function(_169,_16a){return document.getElementsByClassName(_16a,_169);},readAttribute:function(_16b,name){_16b=$(_16b);if(Prototype.Browser.IE){if(!_16b.attributes){return null;}var t=Element._attributeTranslations;if(t.values[name]){return t.values[name](_16b,name);}if(t.names[name]){name=t.names[name];}var _16e=_16b.attributes[name];return _16e?_16e.nodeValue:null;}return _16b.getAttribute(name);},getHeight:function(_16f){return $(_16f).getDimensions().height;},getWidth:function(_170){return $(_170).getDimensions().width;},classNames:function(_171){return new Element.ClassNames(_171);},hasClassName:function(_172,_173){if(!(_172=$(_172))){return;}var _174=_172.className;if(_174.length==0){return false;}if(_174==_173||_174.match(new RegExp("(^|\\s)"+_173+"(\\s|$)"))){return true;}return false;},addClassName:function(_175,_176){if(!(_175=$(_175))){return;}Element.classNames(_175).add(_176);return _175;},removeClassName:function(_177,_178){if(!(_177=$(_177))){return;}Element.classNames(_177).remove(_178);return _177;},toggleClassName:function(_179,_17a){if(!(_179=$(_179))){return;}Element.classNames(_179)[_179.hasClassName(_17a)?"remove":"add"](_17a);return _179;},observe:function(){Event.observe.apply(Event,arguments);return $A(arguments).first();},stopObserving:function(){Event.stopObserving.apply(Event,arguments);return $A(arguments).first();},cleanWhitespace:function(_17b){_17b=$(_17b);var node=_17b.firstChild;while(node){var _17d=node.nextSibling;if(node.nodeType==3&&!/\S/.test(node.nodeValue)){_17b.removeChild(node);}node=_17d;}return _17b;},empty:function(_17e){return $(_17e).innerHTML.blank();},descendantOf:function(_17f,_180){_17f=$(_17f),_180=$(_180);while(_17f=_17f.parentNode){if(_17f==_180){return true;}}return false;},scrollTo:function(_181){_181=$(_181);var pos=Position.cumulativeOffset(_181);window.scrollTo(pos[0],pos[1]);return _181;},getStyle:function(_183,_184){_183=$(_183);_184=_184=="float"?"cssFloat":_184.camelize();var _185=_183.style[_184];if(!_185){var css=document.defaultView.getComputedStyle(_183,null);_185=css?css[_184]:null;}if(_184=="opacity"){return _185?parseFloat(_185):1;}return _185=="auto"?null:_185;},getOpacity:function(_187){return $(_187).getStyle("opacity");},setStyle:function(_188,_189,_18a){_188=$(_188);var _18b=_188.style;for(var _18c in _189){if(_18c=="opacity"){_188.setOpacity(_189[_18c]);}else{_18b[(_18c=="float"||_18c=="cssFloat")?(_18b.styleFloat===undefined?"cssFloat":"styleFloat"):(_18a?_18c:_18c.camelize())]=_189[_18c];}}return _188;},setOpacity:function(_18d,_18e){_18d=$(_18d);_18d.style.opacity=(_18e==1||_18e==="")?"":(_18e<0.00001)?0:_18e;return _18d;},getDimensions:function(_18f){_18f=$(_18f);var _190=$(_18f).getStyle("display");if(_190!="none"&&_190!=null){return {width:_18f.offsetWidth,height:_18f.offsetHeight};}var els=_18f.style;var _192=els.visibility;var _193=els.position;var _194=els.display;els.visibility="hidden";els.position="absolute";els.display="block";var _195=_18f.clientWidth;var _196=_18f.clientHeight;els.display=_194;els.position=_193;els.visibility=_192;return {width:_195,height:_196};},makePositioned:function(_197){_197=$(_197);var pos=Element.getStyle(_197,"position");if(pos=="static"||!pos){_197._madePositioned=true;_197.style.position="relative";if(window.opera){_197.style.top=0;_197.style.left=0;}}return _197;},undoPositioned:function(_199){_199=$(_199);if(_199._madePositioned){_199._madePositioned=undefined;_199.style.position=_199.style.top=_199.style.left=_199.style.bottom=_199.style.right="";}return _199;},makeClipping:function(_19a){_19a=$(_19a);if(_19a._overflow){return _19a;}_19a._overflow=_19a.style.overflow||"auto";if((Element.getStyle(_19a,"overflow")||"visible")!="hidden"){_19a.style.overflow="hidden";}return _19a;},undoClipping:function(_19b){_19b=$(_19b);if(!_19b._overflow){return _19b;}_19b.style.overflow=_19b._overflow=="auto"?"":_19b._overflow;_19b._overflow=null;return _19b;}};Object.extend(Element.Methods,{childOf:Element.Methods.descendantOf,childElements:Element.Methods.immediateDescendants});if(Prototype.Browser.Opera){Element.Methods._getStyle=Element.Methods.getStyle;Element.Methods.getStyle=function(_19c,_19d){switch(_19d){case "left":case "top":case "right":case "bottom":if(Element._getStyle(_19c,"position")=="static"){return null;}default:return Element._getStyle(_19c,_19d);}};}else{if(Prototype.Browser.IE){Element.Methods.getStyle=function(_19e,_19f){_19e=$(_19e);_19f=(_19f=="float"||_19f=="cssFloat")?"styleFloat":_19f.camelize();var _1a0=_19e.style[_19f];if(!_1a0&&_19e.currentStyle){_1a0=_19e.currentStyle[_19f];}if(_19f=="opacity"){if(_1a0=(_19e.getStyle("filter")||"").match(/alpha\(opacity=(.*)\)/)){if(_1a0[1]){return parseFloat(_1a0[1])/100;}}return 1;}if(_1a0=="auto"){if((_19f=="width"||_19f=="height")&&(_19e.getStyle("display")!="none")){return _19e["offset"+_19f.capitalize()]+"px";}return null;}return _1a0;};Element.Methods.setOpacity=function(_1a1,_1a2){_1a1=$(_1a1);var _1a3=_1a1.getStyle("filter"),_1a4=_1a1.style;if(_1a2==1||_1a2===""){_1a4.filter=_1a3.replace(/alpha\([^\)]*\)/gi,"");return _1a1;}else{if(_1a2<0.00001){_1a2=0;}}_1a4.filter=_1a3.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+(_1a2*100)+")";return _1a1;};Element.Methods.update=function(_1a5,html){_1a5=$(_1a5);html=typeof html=="undefined"?"":html.toString();var _1a7=_1a5.tagName.toUpperCase();if(["THEAD","TBODY","TR","TD"].include(_1a7)){var div=document.createElement("div");switch(_1a7){case "THEAD":case "TBODY":div.innerHTML="<table><tbody>"+html.stripScripts()+"</tbody></table>";depth=2;break;case "TR":div.innerHTML="<table><tbody><tr>"+html.stripScripts()+"</tr></tbody></table>";depth=3;break;case "TD":div.innerHTML="<table><tbody><tr><td>"+html.stripScripts()+"</td></tr></tbody></table>";depth=4;}$A(_1a5.childNodes).each(function(node){_1a5.removeChild(node);});depth.times(function(){div=div.firstChild;});$A(div.childNodes).each(function(node){_1a5.appendChild(node);});}else{_1a5.innerHTML=html.stripScripts();}setTimeout(function(){html.evalScripts();},10);return _1a5;};}else{if(Prototype.Browser.Gecko){Element.Methods.setOpacity=function(_1ab,_1ac){_1ab=$(_1ab);_1ab.style.opacity=(_1ac==1)?0.999999:(_1ac==="")?"":(_1ac<0.00001)?0:_1ac;return _1ab;};}}}Element._attributeTranslations={names:{colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",datetime:"dateTime",accesskey:"accessKey",tabindex:"tabIndex",enctype:"encType",maxlength:"maxLength",readonly:"readOnly",longdesc:"longDesc"},values:{_getAttr:function(_1ad,_1ae){return _1ad.getAttribute(_1ae,2);},_flag:function(_1af,_1b0){return $(_1af).hasAttribute(_1b0)?_1b0:null;},style:function(_1b1){return _1b1.style.cssText.toLowerCase();},title:function(_1b2){var node=_1b2.getAttributeNode("title");return node.specified?node.nodeValue:null;}}};(function(){Object.extend(this,{href:this._getAttr,src:this._getAttr,type:this._getAttr,disabled:this._flag,checked:this._flag,readonly:this._flag,multiple:this._flag});}).call(Element._attributeTranslations.values);Element.Methods.Simulated={hasAttribute:function(_1b4,_1b5){var t=Element._attributeTranslations,node;_1b5=t.names[_1b5]||_1b5;node=$(_1b4).getAttributeNode(_1b5);return node&&node.specified;}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&&document.createElement("div").__proto__){window.HTMLElement={};window.HTMLElement.prototype=document.createElement("div").__proto__;Prototype.BrowserFeatures.ElementExtensions=true;}Element.hasAttribute=function(_1b8,_1b9){if(_1b8.hasAttribute){return _1b8.hasAttribute(_1b9);}return Element.Methods.Simulated.hasAttribute(_1b8,_1b9);};Element.addMethods=function(_1ba){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!_1ba){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{"FORM":Object.clone(Form.Methods),"INPUT":Object.clone(Form.Element.Methods),"SELECT":Object.clone(Form.Element.Methods),"TEXTAREA":Object.clone(Form.Element.Methods)});}if(arguments.length==2){var _1bd=_1ba;_1ba=arguments[1];}if(!_1bd){Object.extend(Element.Methods,_1ba||{});}else{if(_1bd.constructor==Array){_1bd.each(extend);}else{extend(_1bd);}}function extend(_1be){_1be=_1be.toUpperCase();if(!Element.Methods.ByTag[_1be]){Element.Methods.ByTag[_1be]={};}Object.extend(Element.Methods.ByTag[_1be],_1ba);}function copy(_1bf,_1c0,_1c1){_1c1=_1c1||false;var _1c2=Element.extend.cache;for(var _1c3 in _1bf){var _1c4=_1bf[_1c3];if(!_1c1||!(_1c3 in _1c0)){_1c0[_1c3]=_1c2.findOrStore(_1c4);}}}function findDOMClass(_1c5){var _1c6;var _1c7={"OPTGROUP":"OptGroup","TEXTAREA":"TextArea","P":"Paragraph","FIELDSET":"FieldSet","UL":"UList","OL":"OList","DL":"DList","DIR":"Directory","H1":"Heading","H2":"Heading","H3":"Heading","H4":"Heading","H5":"Heading","H6":"Heading","Q":"Quote","INS":"Mod","DEL":"Mod","A":"Anchor","IMG":"Image","CAPTION":"TableCaption","COL":"TableCol","COLGROUP":"TableCol","THEAD":"TableSection","TFOOT":"TableSection","TBODY":"TableSection","TR":"TableRow","TH":"TableCell","TD":"TableCell","FRAMESET":"FrameSet","IFRAME":"IFrame"};if(_1c7[_1c5]){_1c6="HTML"+_1c7[_1c5]+"Element";}if(window[_1c6]){return window[_1c6];}_1c6="HTML"+_1c5+"Element";if(window[_1c6]){return window[_1c6];}_1c6="HTML"+_1c5.capitalize()+"Element";if(window[_1c6]){return window[_1c6];}window[_1c6]={};window[_1c6].prototype=document.createElement(_1c5).__proto__;return window[_1c6];}if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true);}if(F.SpecificElementExtensions){for(var tag in Element.Methods.ByTag){var _1c9=findDOMClass(tag);if(typeof _1c9=="undefined"){continue;}copy(T[tag],_1c9.prototype);}}Object.extend(Element,Element.Methods);delete Element.ByTag;};var Toggle={display:Element.toggle};Abstract.Insertion=function(_1ca){this.adjacency=_1ca;};Abstract.Insertion.prototype={initialize:function(_1cb,_1cc){this.element=$(_1cb);this.content=_1cc.stripScripts();if(this.adjacency&&this.element.insertAdjacentHTML){try{this.element.insertAdjacentHTML(this.adjacency,this.content);}catch(e){var _1cd=this.element.tagName.toUpperCase();if(["TBODY","TR"].include(_1cd)){this.insertContent(this.contentFromAnonymousTable());}else{throw e;}}}else{this.range=this.element.ownerDocument.createRange();if(this.initializeRange){this.initializeRange();}this.insertContent([this.range.createContextualFragment(this.content)]);}setTimeout(function(){_1cc.evalScripts();},10);},contentFromAnonymousTable:function(){var div=document.createElement("div");div.innerHTML="<table><tbody>"+this.content+"</tbody></table>";return $A(div.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(_1cf){_1cf.each((function(_1d0){this.element.parentNode.insertBefore(_1d0,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(_1d1){_1d1.reverse(false).each((function(_1d2){this.element.insertBefore(_1d2,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(_1d3){_1d3.each((function(_1d4){this.element.appendChild(_1d4);}).bind(this));}});Insertion.After=Class.create();Insertion.After.prototype=Object.extend(new Abstract.Insertion("afterEnd"),{initializeRange:function(){this.range.setStartAfter(this.element);},insertContent:function(_1d5){_1d5.each((function(_1d6){this.element.parentNode.insertBefore(_1d6,this.element.nextSibling);}).bind(this));}});Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(_1d7){this.element=$(_1d7);},_each:function(_1d8){this.element.className.split(/\s+/).select(function(name){return name.length>0;})._each(_1d8);},set:function(_1da){this.element.className=_1da;},add:function(_1db){if(this.include(_1db)){return;}this.set($A(this).concat(_1db).join(" "));},remove:function(_1dc){if(!this.include(_1dc)){return;}this.set($A(this).without(_1dc).join(" "));},toString:function(){return $A(this).join(" ");}};Object.extend(Element.ClassNames.prototype,Enumerable);var Selector=Class.create();Selector.prototype={initialize:function(_1dd){this.expression=_1dd.strip();this.compileMatcher();},compileMatcher:function(){if(Prototype.BrowserFeatures.XPath&&!(/\[[\w-]*?:/).test(this.expression)){return this.compileXPathMatcher();}var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache[e]){this.matcher=Selector._cache[e];return;}this.matcher=["this.matcher = function(root) {","var r = root, h = Selector.handlers, c = false, n;"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){p=ps[i];if(m=e.match(p)){this.matcher.push(typeof c[i]=="function"?c[i](m):new Template(c[i]).evaluate(m));e=e.replace(m[0],"");break;}}}this.matcher.push("return h.unique(n);\n}");eval(this.matcher.join("\n"));Selector._cache[this.expression]=this.matcher;},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache[e]){this.xpath=Selector._cache[e];return;}this.matcher=[".//*"];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps[i])){this.matcher.push(typeof x[i]=="function"?x[i](m):new Template(x[i]).evaluate(m));e=e.replace(m[0],"");break;}}}this.xpath=this.matcher.join("");Selector._cache[this.expression]=this.xpath;},findElements:function(root){root=root||document;if(this.xpath){return document._getElementsByXPath(this.xpath,root);}return this.matcher(root);},match:function(_1ed){return this.findElements(document).include(_1ed);},toString:function(){return this.expression;},inspect:function(){return "#<Selector:"+this.expression.inspect()+">";}};Object.extend(Selector,{_cache:{},xpath:{descendant:"//*",child:"/*",adjacent:"/following-sibling::*[1]",laterSibling:"/following-sibling::*",tagName:function(m){if(m[1]=="*"){return "";}return "[local-name()='"+m[1].toLowerCase()+"' or local-name()='"+m[1].toUpperCase()+"']";},className:"[contains(concat(' ', @class, ' '), ' #{1} ')]",id:"[@id='#{1}']",attrPresence:"[@#{1}]",attr:function(m){m[3]=m[5]||m[6];return new Template(Selector.xpath.operators[m[2]]).evaluate(m);},pseudo:function(m){var h=Selector.xpath.pseudos[m[1]];if(!h){return "";}if(typeof h==="function"){return h(m);}return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);},operators:{"=":"[@#{1}='#{3}']","!=":"[@#{1}!='#{3}']","^=":"[starts-with(@#{1}, '#{3}')]","$=":"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']","*=":"[contains(@#{1}, '#{3}')]","~=":"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]","|=":"[contains(concat('-', @#{1}, '-'), '-#{3}-')]"},pseudos:{"first-child":"[not(preceding-sibling::*)]","last-child":"[not(following-sibling::*)]","only-child":"[not(preceding-sibling::* or following-sibling::*)]","empty":"[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]","checked":"[@checked]","disabled":"[@disabled]","enabled":"[not(@disabled)]","not":function(m){var e=m[6],p=Selector.patterns,x=Selector.xpath,le,m,v;var _1f8=[];while(e&&le!=e&&(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p[i])){v=typeof x[i]=="function"?x[i](m):new Template(x[i]).evaluate(m);_1f8.push("("+v.substring(1,v.length-1)+")");e=e.replace(m[0],"");break;}}}return "[not("+_1f8.join(" and ")+")]";},"nth-child":function(m){return Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ",m);},"nth-last-child":function(m){return Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ",m);},"nth-of-type":function(m){return Selector.xpath.pseudos.nth("position() ",m);},"nth-last-of-type":function(m){return Selector.xpath.pseudos.nth("(last() + 1 - position()) ",m);},"first-of-type":function(m){m[6]="1";return Selector.xpath.pseudos["nth-of-type"](m);},"last-of-type":function(m){m[6]="1";return Selector.xpath.pseudos["nth-last-of-type"](m);},"only-of-type":function(m){var p=Selector.xpath.pseudos;return p["first-of-type"](m)+p["last-of-type"](m);},nth:function(_202,m){var mm,_205=m[6],_206;if(_205=="even"){_205="2n+0";}if(_205=="odd"){_205="2n+1";}if(mm=_205.match(/^(\d+)$/)){return "["+_202+"= "+mm[1]+"]";}if(mm=_205.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(mm[1]=="-"){mm[1]=-1;}var a=mm[1]?Number(mm[1]):1;var b=mm[2]?Number(mm[2]):0;_206="[((#{fragment} - #{b}) mod #{a} = 0) and "+"((#{fragment} - #{b}) div #{a} >= 0)]";return new Template(_206).evaluate({fragment:_202,a:a,b:b});}}}},criteria:{tagName:"n = h.tagName(n, r, \"#{1}\", c);   c = false;",className:"n = h.className(n, r, \"#{1}\", c); c = false;",id:"n = h.id(n, r, \"#{1}\", c);        c = false;",attrPresence:"n = h.attrPresence(n, r, \"#{1}\"); c = false;",attr:function(m){m[3]=(m[5]||m[6]);return new Template("n = h.attr(n, r, \"#{1}\", \"#{3}\", \"#{2}\"); c = false;").evaluate(m);},pseudo:function(m){if(m[6]){m[6]=m[6].replace(/"/g,"\\\"");}return new Template("n = h.pseudo(n, \"#{1}\", \"#{6}\", r, c); c = false;").evaluate(m);},descendant:"c = \"descendant\";",child:"c = \"child\";",adjacent:"c = \"adjacent\";",laterSibling:"c = \"laterSibling\";"},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*>\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|\s|(?=:))/,attrPresence:/^\[([\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['"])([^\]]*?)\4|([^'"][^\]]*?)))?\]/},handlers:{concat:function(a,b){for(var i=0,node;node=b[i];i++){a.push(node);}return a;},mark:function(_20f){for(var i=0,node;node=_20f[i];i++){node._counted=true;}return _20f;},unmark:function(_212){for(var i=0,node;node=_212[i];i++){node._counted=undefined;}return _212;},index:function(_215,_216,_217){_215._counted=true;if(_216){for(var _218=_215.childNodes,i=_218.length-1,j=1;i>=0;i--){node=_218[i];if(node.nodeType==1&&(!_217||node._counted)){node.nodeIndex=j++;}}}else{for(var i=0,j=1,_218=_215.childNodes;node=_218[i];i++){if(node.nodeType==1&&(!_217||node._counted)){node.nodeIndex=j++;}}}},unique:function(_21b){if(_21b.length==0){return _21b;}var _21c=[],n;for(var i=0,l=_21b.length;i<l;i++){if(!(n=_21b[i])._counted){n._counted=true;_21c.push(Element.extend(n));}}return Selector.handlers.unmark(_21c);},descendant:function(_220){var h=Selector.handlers;for(var i=0,_223=[],node;node=_220[i];i++){h.concat(_223,node.getElementsByTagName("*"));}return _223;},child:function(_225){var h=Selector.handlers;for(var i=0,_228=[],node;node=_225[i];i++){for(var j=0,_22b=[],_22c;_22c=node.childNodes[j];j++){if(_22c.nodeType==1&&_22c.tagName!="!"){_228.push(_22c);}}}return _228;},adjacent:function(_22d){for(var i=0,_22f=[],node;node=_22d[i];i++){var next=this.nextElementSibling(node);if(next){_22f.push(next);}}return _22f;},laterSibling:function(_232){var h=Selector.handlers;for(var i=0,_235=[],node;node=_232[i];i++){h.concat(_235,Element.nextSiblings(node));}return _235;},nextElementSibling:function(node){while(node=node.nextSibling){if(node.nodeType==1){return node;}}return null;},previousElementSibling:function(node){while(node=node.previousSibling){if(node.nodeType==1){return node;}}return null;},tagName:function(_239,root,_23b,_23c){_23b=_23b.toUpperCase();var _23d=[],h=Selector.handlers;if(_239){if(_23c){if(_23c=="descendant"){for(var i=0,node;node=_239[i];i++){h.concat(_23d,node.getElementsByTagName(_23b));}return _23d;}else{_239=this[_23c](_239);}if(_23b=="*"){return _239;}}for(var i=0,node;node=_239[i];i++){if(node.tagName.toUpperCase()==_23b){_23d.push(node);}}return _23d;}else{return root.getElementsByTagName(_23b);}},id:function(_241,root,id,_244){var _245=$(id),h=Selector.handlers;if(!_241&&root==document){return _245?[_245]:[];}if(_241){if(_244){if(_244=="child"){for(var i=0,node;node=_241[i];i++){if(_245.parentNode==node){return [_245];}}}else{if(_244=="descendant"){for(var i=0,node;node=_241[i];i++){if(Element.descendantOf(_245,node)){return [_245];}}}else{if(_244=="adjacent"){for(var i=0,node;node=_241[i];i++){if(Selector.handlers.previousElementSibling(_245)==node){return [_245];}}}else{_241=h[_244](_241);}}}}for(var i=0,node;node=_241[i];i++){if(node==_245){return [_245];}}return [];}return (_245&&Element.descendantOf(_245,root))?[_245]:[];},className:function(_249,root,_24b,_24c){if(_249&&_24c){_249=this[_24c](_249);}return Selector.handlers.byClassName(_249,root,_24b);},byClassName:function(_24d,root,_24f){if(!_24d){_24d=Selector.handlers.descendant([root]);}var _250=" "+_24f+" ";for(var i=0,_252=[],node,_254;node=_24d[i];i++){_254=node.className;if(_254.length==0){continue;}if(_254==_24f||(" "+_254+" ").include(_250)){_252.push(node);}}return _252;},attrPresence:function(_255,root,attr){var _258=[];for(var i=0,node;node=_255[i];i++){if(Element.hasAttribute(node,attr)){_258.push(node);}}return _258;},attr:function(_25b,root,attr,_25e,_25f){if(!_25b){_25b=root.getElementsByTagName("*");}var _260=Selector.operators[_25f],_261=[];for(var i=0,node;node=_25b[i];i++){var _264=Element.readAttribute(node,attr);if(_264===null){continue;}if(_260(_264,_25e)){_261.push(node);}}return _261;},pseudo:function(_265,name,_267,root,_269){if(_265&&_269){_265=this[_269](_265);}if(!_265){_265=root.getElementsByTagName("*");}return Selector.pseudos[name](_265,_267,root);}},pseudos:{"first-child":function(_26a,_26b,root){for(var i=0,_26e=[],node;node=_26a[i];i++){if(Selector.handlers.previousElementSibling(node)){continue;}_26e.push(node);}return _26e;},"last-child":function(_270,_271,root){for(var i=0,_274=[],node;node=_270[i];i++){if(Selector.handlers.nextElementSibling(node)){continue;}_274.push(node);}return _274;},"only-child":function(_276,_277,root){var h=Selector.handlers;for(var i=0,_27b=[],node;node=_276[i];i++){if(!h.previousElementSibling(node)&&!h.nextElementSibling(node)){_27b.push(node);}}return _27b;},"nth-child":function(_27d,_27e,root){return Selector.pseudos.nth(_27d,_27e,root);},"nth-last-child":function(_280,_281,root){return Selector.pseudos.nth(_280,_281,root,true);},"nth-of-type":function(_283,_284,root){return Selector.pseudos.nth(_283,_284,root,false,true);},"nth-last-of-type":function(_286,_287,root){return Selector.pseudos.nth(_286,_287,root,true,true);},"first-of-type":function(_289,_28a,root){return Selector.pseudos.nth(_289,"1",root,false,true);},"last-of-type":function(_28c,_28d,root){return Selector.pseudos.nth(_28c,"1",root,true,true);},"only-of-type":function(_28f,_290,root){var p=Selector.pseudos;return p["last-of-type"](p["first-of-type"](_28f,_290,root),_290,root);},getIndices:function(a,b,_295){if(a==0){return b>0?[b]:[];}return $R(1,_295).inject([],function(memo,i){if(0==(i-b)%a&&(i-b)/a>=0){memo.push(i);}return memo;});},nth:function(_298,_299,root,_29b,_29c){if(_298.length==0){return [];}if(_299=="even"){_299="2n+0";}if(_299=="odd"){_299="2n+1";}var h=Selector.handlers,_29e=[],_29f=[],m;h.mark(_298);for(var i=0,node;node=_298[i];i++){if(!node.parentNode._counted){h.index(node.parentNode,_29b,_29c);_29f.push(node.parentNode);}}if(_299.match(/^\d+$/)){_299=Number(_299);for(var i=0,node;node=_298[i];i++){if(node.nodeIndex==_299){_29e.push(node);}}}else{if(m=_299.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m[1]=="-"){m[1]=-1;}var a=m[1]?Number(m[1]):1;var b=m[2]?Number(m[2]):0;var _2a5=Selector.pseudos.getIndices(a,b,_298.length);for(var i=0,node,l=_2a5.length;node=_298[i];i++){for(var j=0;j<l;j++){if(node.nodeIndex==_2a5[j]){_29e.push(node);}}}}}h.unmark(_298);h.unmark(_29f);return _29e;},"empty":function(_2a8,_2a9,root){for(var i=0,_2ac=[],node;node=_2a8[i];i++){if(node.tagName=="!"||(node.firstChild&&!node.innerHTML.match(/^\s*$/))){continue;}_2ac.push(node);}return _2ac;},"not":function(_2ae,_2af,root){var h=Selector.handlers,_2b2,m;var _2b4=new Selector(_2af).findElements(root);h.mark(_2b4);for(var i=0,_2b6=[],node;node=_2ae[i];i++){if(!node._counted){_2b6.push(node);}}h.unmark(_2b4);return _2b6;},"enabled":function(_2b8,_2b9,root){for(var i=0,_2bc=[],node;node=_2b8[i];i++){if(!node.disabled){_2bc.push(node);}}return _2bc;},"disabled":function(_2be,_2bf,root){for(var i=0,_2c2=[],node;node=_2be[i];i++){if(node.disabled){_2c2.push(node);}}return _2c2;},"checked":function(_2c4,_2c5,root){for(var i=0,_2c8=[],node;node=_2c4[i];i++){if(node.checked){_2c8.push(node);}}return _2c8;}},operators:{"=":function(nv,v){return nv==v;},"!=":function(nv,v){return nv!=v;},"^=":function(nv,v){return nv.startsWith(v);},"$=":function(nv,v){return nv.endsWith(v);},"*=":function(nv,v){return nv.include(v);},"~=":function(nv,v){return (" "+nv+" ").include(" "+v+" ");},"|=":function(nv,v){return ("-"+nv.toUpperCase()+"-").include("-"+v.toUpperCase()+"-");}},matchElements:function(_2d8,_2d9){var _2da=new Selector(_2d9).findElements(),h=Selector.handlers;h.mark(_2da);for(var i=0,_2dd=[],_2de;_2de=_2d8[i];i++){if(_2de._counted){_2dd.push(_2de);}}h.unmark(_2da);return _2dd;},findElement:function(_2df,_2e0,_2e1){if(typeof _2e0=="number"){_2e1=_2e0;_2e0=false;}return Selector.matchElements(_2df,_2e0||"*")[_2e1||0];},findChildElements:function(_2e2,_2e3){var _2e4=_2e3.join(","),_2e3=[];_2e4.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){_2e3.push(m[1].strip());});var _2e6=[],h=Selector.handlers;for(var i=0,l=_2e3.length,_2ea;i<l;i++){_2ea=new Selector(_2e3[i].strip());h.concat(_2e6,_2ea.findElements(_2e2));}return (l>1)?h.unique(_2e6):_2e6;}});function $$(){return Selector.findChildElements(document,$A(arguments));}var Form={reset:function(form){$(form).reset();return form;},serializeElements:function(_2ec,_2ed){var data=_2ec.inject({},function(_2ef,_2f0){if(!_2f0.disabled&&_2f0.name){var key=_2f0.name,_2f2=$(_2f0).getValue();if(_2f2!=null){if(key in _2ef){if(_2ef[key].constructor!=Array){_2ef[key]=[_2ef[key]];}_2ef[key].push(_2f2);}else{_2ef[key]=_2f2;}}}return _2ef;});return _2ed?data:Hash.toQueryString(data);}};Form.Methods={serialize:function(form,_2f4){return Form.serializeElements(Form.getElements(form),_2f4);},getElements:function(form){return $A($(form).getElementsByTagName("*")).inject([],function(_2f6,_2f7){if(Form.Element.Serializers[_2f7.tagName.toLowerCase()]){_2f6.push(Element.extend(_2f7));}return _2f6;});},getInputs:function(form,_2f9,name){form=$(form);var _2fb=form.getElementsByTagName("input");if(!_2f9&&!name){return $A(_2fb).map(Element.extend);}for(var i=0,_2fd=[],_2fe=_2fb.length;i<_2fe;i++){var _2ff=_2fb[i];if((_2f9&&_2ff.type!=_2f9)||(name&&_2ff.name!=name)){continue;}_2fd.push(Element.extend(_2ff));}return _2fd;},disable:function(form){form=$(form);Form.getElements(form).invoke("disable");return form;},enable:function(form){form=$(form);Form.getElements(form).invoke("enable");return form;},findFirstElement:function(form){return $(form).getElements().find(function(_303){return _303.type!="hidden"&&!_303.disabled&&["input","select","textarea"].include(_303.tagName.toLowerCase());});},focusFirstElement:function(form){form=$(form);form.findFirstElement().activate();return form;},request:function(form,_306){form=$(form),_306=Object.clone(_306||{});var _307=_306.parameters;_306.parameters=form.serialize(true);if(_307){if(typeof _307=="string"){_307=_307.toQueryParams();}Object.extend(_306.parameters,_307);}if(form.hasAttribute("method")&&!_306.method){_306.method=form.method;}return new Ajax.Request(form.readAttribute("action"),_306);}};Form.Element={focus:function(_308){$(_308).focus();return _308;},select:function(_309){$(_309).select();return _309;}};Form.Element.Methods={serialize:function(_30a){_30a=$(_30a);if(!_30a.disabled&&_30a.name){var _30b=_30a.getValue();if(_30b!=undefined){var pair={};pair[_30a.name]=_30b;return Hash.toQueryString(pair);}}return "";},getValue:function(_30d){_30d=$(_30d);var _30e=_30d.tagName.toLowerCase();return Form.Element.Serializers[_30e](_30d);},clear:function(_30f){$(_30f).value="";return _30f;},present:function(_310){return $(_310).value!="";},activate:function(_311){_311=$(_311);try{_311.focus();if(_311.select&&(_311.tagName.toLowerCase()!="input"||!["button","reset","submit"].include(_311.type))){_311.select();}}catch(e){}return _311;},disable:function(_312){_312=$(_312);_312.blur();_312.disabled=true;return _312;},enable:function(_313){_313=$(_313);_313.disabled=false;return _313;}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(_314){switch(_314.type.toLowerCase()){case "checkbox":case "radio":return Form.Element.Serializers.inputSelector(_314);default:return Form.Element.Serializers.textarea(_314);}},inputSelector:function(_315){return _315.checked?_315.value:null;},textarea:function(_316){return _316.value;},select:function(_317){return this[_317.type=="select-one"?"selectOne":"selectMany"](_317);},selectOne:function(_318){var _319=_318.selectedIndex;return _319>=0?this.optionValue(_318.options[_319]):null;},selectMany:function(_31a){var _31b,_31c=_31a.length;if(!_31c){return null;}for(var i=0,_31b=[];i<_31c;i++){var opt=_31a.options[i];if(opt.selected){_31b.push(this.optionValue(opt));}}return _31b;},optionValue:function(opt){return Element.extend(opt).hasAttribute("value")?opt.value:opt.text;}};Abstract.TimedObserver=function(){};Abstract.TimedObserver.prototype={initialize:function(_320,_321,_322){this.frequency=_321;this.element=$(_320);this.callback=_322;this.lastValue=this.getValue();this.registerCallback();},registerCallback:function(){setInterval(this.onTimerEvent.bind(this),this.frequency*1000);},onTimerEvent:function(){var _323=this.getValue();var _324=("string"==typeof this.lastValue&&"string"==typeof _323?this.lastValue!=_323:String(this.lastValue)!=String(_323));if(_324){this.callback(this.element,_323);this.lastValue=_323;}}};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(_325,_326){this.element=$(_325);this.callback=_326;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=="form"){this.registerFormCallbacks();}else{this.registerCallback(this.element);}},onElementEvent:function(){var _327=this.getValue();if(this.lastValue!=_327){this.callback(this.element,_327);this.lastValue=_327;}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback.bind(this));},registerCallback:function(_328){if(_328.type){switch(_328.type.toLowerCase()){case "checkbox":case "radio":Event.observe(_328,"click",this.onElementEvent.bind(this));break;default:Event.observe(_328,"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,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,element:function(_329){return $(_329.target||_329.srcElement);},isLeftClick:function(_32a){return (((_32a.which)&&(_32a.which==1))||((_32a.button)&&(_32a.button==1)));},pointerX:function(_32b){return _32b.pageX||(_32b.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft));},pointerY:function(_32c){return _32c.pageY||(_32c.clientY+(document.documentElement.scrollTop||document.body.scrollTop));},stop:function(_32d){if(_32d.preventDefault){_32d.preventDefault();_32d.stopPropagation();}else{_32d.returnValue=false;_32d.cancelBubble=true;}},findElement:function(_32e,_32f){var _330=Event.element(_32e);while(_330.parentNode&&(!_330.tagName||(_330.tagName.toUpperCase()!=_32f.toUpperCase()))){_330=_330.parentNode;}return _330;},observers:false,_observeAndCache:function(_331,name,_333,_334){if(!this.observers){this.observers=[];}if(_331.addEventListener){this.observers.push([_331,name,_333,_334]);_331.addEventListener(name,_333,_334);}else{if(_331.attachEvent){this.observers.push([_331,name,_333,_334]);_331.attachEvent("on"+name,_333);}}},unloadCache:function(){if(!Event.observers){return;}for(var i=0,_336=Event.observers.length;i<_336;i++){Event.stopObserving.apply(this,Event.observers[i]);Event.observers[i][0]=null;}Event.observers=false;},observe:function(_337,name,_339,_33a){_337=$(_337);_33a=_33a||false;if(name=="keypress"&&(Prototype.Browser.WebKit||_337.attachEvent)){name="keydown";}Event._observeAndCache(_337,name,_339,_33a);},stopObserving:function(_33b,name,_33d,_33e){_33b=$(_33b);_33e=_33e||false;if(name=="keypress"&&(Prototype.Browser.WebKit||_33b.attachEvent)){name="keydown";}if(_33b.removeEventListener){_33b.removeEventListener(name,_33d,_33e);}else{if(_33b.detachEvent){try{_33b.detachEvent("on"+name,_33d);}catch(e){}}}}});if(Prototype.Browser.IE){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(_33f){var _340=0,_341=0;do{_340+=_33f.scrollTop||0;_341+=_33f.scrollLeft||0;_33f=_33f.parentNode;}while(_33f);return [_341,_340];},cumulativeOffset:function(_342){var _343=0,_344=0;do{_343+=_342.offsetTop||0;_344+=_342.offsetLeft||0;_342=_342.offsetParent;}while(_342);return [_344,_343];},positionedOffset:function(_345){var _346=0,_347=0;do{_346+=_345.offsetTop||0;_347+=_345.offsetLeft||0;_345=_345.offsetParent;if(_345){if(_345.tagName=="BODY"){break;}var p=Element.getStyle(_345,"position");if(p=="relative"||p=="absolute"){break;}}}while(_345);return [_347,_346];},offsetParent:function(_349){if(_349.offsetParent){return _349.offsetParent;}if(_349==document.body){return _349;}while((_349=_349.parentNode)&&_349!=document.body){if(Element.getStyle(_349,"position")!="static"){return _349;}}return document.body;},within:function(_34a,x,y){if(this.includeScrollOffsets){return this.withinIncludingScrolloffsets(_34a,x,y);}this.xcomp=x;this.ycomp=y;this.offset=this.cumulativeOffset(_34a);return (y>=this.offset[1]&&y<this.offset[1]+_34a.offsetHeight&&x>=this.offset[0]&&x<this.offset[0]+_34a.offsetWidth);},withinIncludingScrolloffsets:function(_34d,x,y){var _350=this.realOffset(_34d);this.xcomp=x+_350[0]-this.deltaX;this.ycomp=y+_350[1]-this.deltaY;this.offset=this.cumulativeOffset(_34d);return (this.ycomp>=this.offset[1]&&this.ycomp<this.offset[1]+_34d.offsetHeight&&this.xcomp>=this.offset[0]&&this.xcomp<this.offset[0]+_34d.offsetWidth);},overlap:function(mode,_352){if(!mode){return 0;}if(mode=="vertical"){return ((this.offset[1]+_352.offsetHeight)-this.ycomp)/_352.offsetHeight;}if(mode=="horizontal"){return ((this.offset[0]+_352.offsetWidth)-this.xcomp)/_352.offsetWidth;}},page:function(_353){var _354=0,_355=0;var _356=_353;do{_354+=_356.offsetTop||0;_355+=_356.offsetLeft||0;if(_356.offsetParent==document.body){if(Element.getStyle(_356,"position")=="absolute"){break;}}}while(_356=_356.offsetParent);_356=_353;do{if(!window.opera||_356.tagName=="BODY"){_354-=_356.scrollTop||0;_355-=_356.scrollLeft||0;}}while(_356=_356.parentNode);return [_355,_354];},clone:function(_357,_358){var _359=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments[2]||{});_357=$(_357);var p=Position.page(_357);_358=$(_358);var _35b=[0,0];var _35c=null;if(Element.getStyle(_358,"position")=="absolute"){_35c=Position.offsetParent(_358);_35b=Position.page(_35c);}if(_35c==document.body){_35b[0]-=document.body.offsetLeft;_35b[1]-=document.body.offsetTop;}if(_359.setLeft){_358.style.left=(p[0]-_35b[0]+_359.offsetLeft)+"px";}if(_359.setTop){_358.style.top=(p[1]-_35b[1]+_359.offsetTop)+"px";}if(_359.setWidth){_358.style.width=_357.offsetWidth+"px";}if(_359.setHeight){_358.style.height=_357.offsetHeight+"px";}},absolutize:function(_35d){_35d=$(_35d);if(_35d.style.position=="absolute"){return;}Position.prepare();var _35e=Position.positionedOffset(_35d);var top=_35e[1];var left=_35e[0];var _361=_35d.clientWidth;var _362=_35d.clientHeight;_35d._originalLeft=left-parseFloat(_35d.style.left||0);_35d._originalTop=top-parseFloat(_35d.style.top||0);_35d._originalWidth=_35d.style.width;_35d._originalHeight=_35d.style.height;_35d.style.position="absolute";_35d.style.top=top+"px";_35d.style.left=left+"px";_35d.style.width=_361+"px";_35d.style.height=_362+"px";},relativize:function(_363){_363=$(_363);if(_363.style.position=="relative"){return;}Position.prepare();_363.style.position="relative";var top=parseFloat(_363.style.top||0)-(_363._originalTop||0);var left=parseFloat(_363.style.left||0)-(_363._originalLeft||0);_363.style.top=top+"px";_363.style.left=left+"px";_363.style.height=_363._originalHeight;_363.style.width=_363._originalWidth;}};if(Prototype.Browser.WebKit){Position.cumulativeOffset=function(_366){var _367=0,_368=0;do{_367+=_366.offsetTop||0;_368+=_366.offsetLeft||0;if(_366.offsetParent==document.body){if(Element.getStyle(_366,"position")=="absolute"){break;}}_366=_366.offsetParent;}while(_366);return [_368,_367];};}Element.addMethods();
			function gmkbd(dn){if(dn=="go4sun.comvos.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxSq43zVjV1F_2S55j_2roIvAq9WJRTMCk51cz01VwJ1OuwMGjJvLZx9GA";}if(dn=="go4sun.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTft-8P_MxPexs8zYE8JKqO1YBIixQcsrU2afrPoHWdP2So3Uz66Gj1RQ";}if(dn=="patras2006.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQ0nywgmE2_qrPAbDwrzFT4qKSDvxQSDhIjm9832o0AbNEaUE2yuZ3yjQ";}if(dn=="ratgeber.italien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQUhzN26oqCPA0JjctWjek3gnTT_BTsJYa8B_Fwg2ijAyL6h-YrJKYP5w";}if(dn=="www.aegypten.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxRIL4mR55pK8wjUPolH9tWlOIWSJhQXUuHWtYxBtax77y8CbNJblXU3Vg";}if(dn=="www.athen-unterkunft-2004.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTC3rHf4ZHNUJJ7XyVcEdF1lEwe0RRlMKUhZ9PAtqOZwbT0lDCu2Oo56Q";}if(dn=="www.go4olympia2004.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxSQzLbuklhUdswDVS2mkLcTPRko6BTWkl99oK3aGceDQFIwb8ng8uCIOA";}if(dn=="www.go4sun.com"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQk8De4c-v1ENkfrebER1c-aGt7YhSiSYs_QN7XWA4ZxmHyICrEqzFg9A";}if(dn=="www.go4sun.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTI86Y7xGe_6mvFEjy738EsuEKy4RRv8ooWyT1TIUrPori4jYMM-ism1g";}if(dn=="www.griechenland.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQoVAqy-zNc7DyMMT2yY_vhZmlhZhQtV5Qj_C2ypTfP6dXj3vA_QKXOuA";}if(dn=="www.hellas.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxRWNFk_WHgsvXCzaAIG8HMy2L2IQBSKmKBbXjsIXo0bzp0mJElVftnRAw";}if(dn=="www.italien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTmYOsII2DoiDmK7VLald7N-dKmvxTCoDs6s1gjiZ6Bv2u3Ohvi45ebXA";}if(dn=="www.last-minute--urlaub.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTFLiGTl_YVBmFpnyVJ5XAC_VkubxQQSRDiF2cKwkRthA0jkrA-40syTQ";}if(dn=="www.myitalien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxR8HL-O3DXO4_YxHSd4eJO2rttHCBTZKBmOIDai0YNZ73aPlG8HclZ9Gw";}if(dn=="www.olympia-2004.info"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTldLZlXmrufU5qvHaVDb1CKLfTUxR_ZKaDrCk0eNu3l1OOsyP2nyxKZw";}if(dn=="www.patras-2006.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTxeawbbuQd4V4QLVIS33A8-RQL7RT2zLPtZviiiGwXe6p6576x0yS1Bg";}if(dn=="www.patras2006.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTxeawbbuQd4V4QLVIS33A8-RQL7RT2zLPtZviiiGwXe6p6576x0yS1Bg";}if(dn=="www.ratgeber.italien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxSV546uG2A0v1NgtjStt46Jbqb-dRSATisYDrkqcYFLJwI8XH0dlZlEXg";}if(dn=="www.reisetipps-aegypten.de"){return "ABQIAAAAkM8mmX2jdIdAAkOOO5tZqhRGwpioOEnaiym4Q_vSEoxAqVYVlhTodkMNMPyzZqIzVV1H8jyYciSyxQ";}if(dn=="www.reisetipps-frankreich.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTmfg2y1qmq0qd5c-JsmjQjJBHkgBSYpioBxR7Nx8cw6N5KSs9RRCMNJg";}if(dn=="www.reisetipps-griechenland.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxRuQYY06i6KLyp1AFBOrU7rUkFhRhSK4xGPLLP-WBDj5DwPt2nR5tbqRA";}if(dn=="www.reisetipps-italien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxRTjd3bpvhkn54Kcu0law4ml--rkRRzeOT5Fu2KSvy-yNMLS7O_D9wBSA";}if(dn=="www.reisetipps-kroatien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTAZQE3DtvL87BU2d_nTfYvimHYphR_u7NyLWAwM2jJjgG0Ypb2b22ksA";}if(dn=="www.reisetipps-mallorca.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQafs9GG6gtfqfyQaQkQdGsraWDXRTYCUQG66e1QOtHL8oheJFApXpo9A";}if(dn=="www.reisetipps-marokko.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTXY6irKVRAXSbOWerE4R01WjGAixRifgs8tADhdYu2wqEC0BeneTjIVg";}if(dn=="www.reisetipps-portugal.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxRdJryvTZL0GAoGIqLb2PZJ9h9E4BTm43TMuWWkqknqhnaGC1alEIoICA";}if(dn=="www.reisetipps-spanien.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxSBbFDrhwFugXAALS2aiJyQRNQ9WBRvgIlwoGqEzuppRin1eJ7PS-13YA";}if(dn=="www.reisetipps-toskana.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQACp-Abh-6mpdR7SogZFkFs3V6-hS-8ZfbEIituohAXKKZxDYj_jJqog";}if(dn=="www.reisetipps-tuerkei.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQyMW7kljMv_efBf6c4UYMWuha2KRQWGM99oluAxXj2zOSTozXOgGHvCQ";}if(dn=="www.reisetipps-zypern.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxSuOs8E8C-Uxw7x8rgOSmFfoThaqxR3h88aPkLLn2tefZCzF5_3anjU_g";}if(dn=="www.touristik-werbung.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxQQAc1mwB6XQkJK2mwnokkaipbJUBQDRrRSQsQqvuNF15CwHabhZR7N2g";}if(dn=="www.touristikwerbung.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxS7a2FxS9JBnW1lfOqdn2uir1nK3RSCggNIQtNVJIK5GrylO5M41gitVA";}if(dn=="www.urlaubsbilder.eu"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxTl8IjxfOYADPoIJ2QscKxeTN-ABhQOrrD74Xg1Zp32WIT-Hge_k5yyRw";}if(dn=="xn--gypten-9ta.go4sun.de"){return "ABQIAAAAYDXroVfGLvKFGsaDrdKJZxSPU0_4KIUv0wY0zLPex_9tCXXUEhQEaFqSUtKqsJDp6DVV9yDwasVAIQ";}return "";}
			var olLoaded=0;var pmStart=10000000;var pmUpper=10001000;var pmCount=pmStart+1;var pmt="";var pms=new Array();var olInfo=new Info("4.21",1);var FREPLACE=0;var FBEFORE=1;var FAFTER=2;var FALTERNATE=3;var FCHAIN=4;var olHideForm=0;var olHautoFlag=0;var olVautoFlag=0;var hookPts=new Array(),postParse=new Array(),cmdLine=new Array(),runTime=new Array();registerCommands("donothing,inarray,caparray,sticky,background,noclose,caption,left,right,center,offsetx,offsety,fgcolor,bgcolor,textcolor,capcolor,closecolor,width,border,cellpad,status,autostatus,autostatuscap,height,closetext,snapx,snapy,fixx,fixy,relx,rely,fgbackground,bgbackground,padx,pady,fullhtml,above,below,capicon,textfont,captionfont,closefont,textsize,captionsize,closesize,timeout,function,delay,hauto,vauto,closeclick,wrap,followmouse,mouseoff,closetitle,cssoff,compatmode,cssclass,fgclass,bgclass,textfontclass,captionfontclass,closefontclass");if(typeof ol_fgcolor=="undefined"){var ol_fgcolor="#bbddf9";}if(typeof ol_bgcolor=="undefined"){var ol_bgcolor="#0776c3";}if(typeof ol_textcolor=="undefined"){var ol_textcolor="#000000";}if(typeof ol_capcolor=="undefined"){var ol_capcolor="#FFFFFF";}if(typeof ol_closecolor=="undefined"){var ol_closecolor="9999FF";}if(typeof ol_textfont=="undefined"){var ol_textfont="Verdana,Arial,Helvetica";}if(typeof ol_captionfont=="undefined"){var ol_captionfont="Verdana,Arial,Helvetica";}if(typeof ol_closefont=="undefined"){var ol_closefont="Verdana,Arial,Helvetica";}if(typeof ol_textsize=="undefined"){var ol_textsize="1";}if(typeof ol_captionsize=="undefined"){var ol_captionsize="1";}if(typeof ol_closesize=="undefined"){var ol_closesize="1";}if(typeof ol_width=="undefined"){var ol_width="200";}if(typeof ol_border=="undefined"){var ol_border="1";}if(typeof ol_cellpad=="undefined"){var ol_cellpad=2;}if(typeof ol_offsetx=="undefined"){var ol_offsetx=10;}if(typeof ol_offsety=="undefined"){var ol_offsety=10;}if(typeof ol_text=="undefined"){var ol_text="Default Text";}if(typeof ol_cap=="undefined"){var ol_cap="";}if(typeof ol_sticky=="undefined"){var ol_sticky=0;}if(typeof ol_background=="undefined"){var ol_background="";}if(typeof ol_close=="undefined"){var ol_close="Close";}if(typeof ol_hpos=="undefined"){var ol_hpos=RIGHT;}if(typeof ol_status=="undefined"){var ol_status="";}if(typeof ol_autostatus=="undefined"){var ol_autostatus=0;}if(typeof ol_height=="undefined"){var ol_height=-1;}if(typeof ol_snapx=="undefined"){var ol_snapx=0;}if(typeof ol_snapy=="undefined"){var ol_snapy=0;}if(typeof ol_fixx=="undefined"){var ol_fixx=-1;}if(typeof ol_fixy=="undefined"){var ol_fixy=-1;}if(typeof ol_relx=="undefined"){var ol_relx=null;}if(typeof ol_rely=="undefined"){var ol_rely=null;}if(typeof ol_fgbackground=="undefined"){var ol_fgbackground="";}if(typeof ol_bgbackground=="undefined"){var ol_bgbackground="";}if(typeof ol_padxl=="undefined"){var ol_padxl=1;}if(typeof ol_padxr=="undefined"){var ol_padxr=1;}if(typeof ol_padyt=="undefined"){var ol_padyt=1;}if(typeof ol_padyb=="undefined"){var ol_padyb=1;}if(typeof ol_fullhtml=="undefined"){var ol_fullhtml=0;}if(typeof ol_vpos=="undefined"){var ol_vpos=BELOW;}if(typeof ol_aboveheight=="undefined"){var ol_aboveheight=0;}if(typeof ol_capicon=="undefined"){var ol_capicon="";}if(typeof ol_frame=="undefined"){var ol_frame=self;}if(typeof ol_timeout=="undefined"){var ol_timeout=0;}if(typeof ol_function=="undefined"){var ol_function=null;}if(typeof ol_delay=="undefined"){var ol_delay=0;}if(typeof ol_hauto=="undefined"){var ol_hauto=0;}if(typeof ol_vauto=="undefined"){var ol_vauto=0;}if(typeof ol_closeclick=="undefined"){var ol_closeclick=0;}if(typeof ol_wrap=="undefined"){var ol_wrap=0;}if(typeof ol_followmouse=="undefined"){var ol_followmouse=1;}if(typeof ol_mouseoff=="undefined"){var ol_mouseoff=0;}if(typeof ol_closetitle=="undefined"){var ol_closetitle="Close";}if(typeof ol_compatmode=="undefined"){var ol_compatmode=0;}if(typeof ol_css=="undefined"){var ol_css=CSSOFF;}if(typeof ol_fgclass=="undefined"){var ol_fgclass="";}if(typeof ol_bgclass=="undefined"){var ol_bgclass="";}if(typeof ol_textfontclass=="undefined"){var ol_textfontclass="";}if(typeof ol_captionfontclass=="undefined"){var ol_captionfontclass="";}if(typeof ol_closefontclass=="undefined"){var ol_closefontclass="";}if(typeof ol_texts=="undefined"){var ol_texts=new Array("Text 0","Text 1");}if(typeof ol_caps=="undefined"){var ol_caps=new Array("Caption 0","Caption 1");}var o3_text="";var o3_cap="";var o3_sticky=0;var o3_background="red";var o3_close="Close";var o3_hpos=RIGHT;var o3_offsetx=2;var o3_offsety=2;var o3_fgcolor="";var o3_bgcolor="";var o3_textcolor="";var o3_capcolor="";var o3_closecolor="";var o3_width=100;var o3_border=1;var o3_cellpad=2;var o3_status="";var o3_autostatus=0;var o3_height=-1;var o3_snapx=0;var o3_snapy=0;var o3_fixx=-1;var o3_fixy=-1;var o3_relx=null;var o3_rely=null;var o3_fgbackground="";var o3_bgbackground="";var o3_padxl=0;var o3_padxr=0;var o3_padyt=0;var o3_padyb=0;var o3_fullhtml=0;var o3_vpos=BELOW;var o3_aboveheight=0;var o3_capicon="";var o3_textfont="Verdana,Arial,Helvetica";var o3_captionfont="Verdana,Arial,Helvetica";var o3_closefont="Verdana,Arial,Helvetica";var o3_textsize="1";var o3_captionsize="1";var o3_closesize="1";var o3_frame=self;var o3_timeout=0;var o3_timerid=0;var o3_allowmove=0;var o3_function=null;var o3_delay=0;var o3_delayid=0;var o3_hauto=0;var o3_vauto=0;var o3_closeclick=0;var o3_wrap=0;var o3_followmouse=1;var o3_mouseoff=0;var o3_closetitle="";var o3_compatmode=0;var o3_css=CSSOFF;var o3_fgclass="";var o3_bgclass="";var o3_textfontclass="";var o3_captionfontclass="";var o3_closefontclass="";var o3_x=0;var o3_y=0;var o3_showingsticky=0;var o3_removecounter=0;var over=null;var fnRef,hoveringSwitch=false;var olHideDelay;var isMac=(navigator.userAgent.indexOf("Mac")!=-1);var olOp=(navigator.userAgent.toLowerCase().indexOf("opera")>-1&&document.createTextNode);var olNs4=(navigator.appName=="Netscape"&&parseInt(navigator.appVersion)==4);var olNs6=(document.getElementById)?true:false;var olKq=(olNs6&&/konqueror/i.test(navigator.userAgent));var olIe4=(document.all)?true:false;var olIe5=false;var olIe55=false;var docRoot="document.body";if(olNs4){var oW=window.innerWidth;var oH=window.innerHeight;window.onresize=function(){if(oW!=window.innerWidth||oH!=window.innerHeight){location.reload();}};}if(olIe4){var agent=navigator.userAgent;if(/MSIE/.test(agent)){var versNum=parseFloat(agent.match(/MSIE[ ](\d\.\d+)\.*/i)[1]);if(versNum>=5){olIe5=true;olIe55=(versNum>=5.5&&!olOp)?true:false;if(olNs6){olNs6=false;}}}if(olNs6){olIe4=false;}}if(document.compatMode&&document.compatMode=="CSS1Compat"){docRoot=((olIe4&&!olOp)?"document.documentElement":docRoot);}if(window.addEventListener){window.addEventListener("load",OLonLoad_handler,false);}else{if(window.attachEvent){window.attachEvent("onload",OLonLoad_handler);}}var capExtent;function overlib(){if(!olLoaded||isExclusive(overlib.arguments)){return true;}if(olCheckMouseCapture){olMouseCapture();}if(over){over=(typeof over.id!="string")?o3_frame.document.all["overDiv"]:over;cClick();}olHideDelay=0;o3_text=ol_text;o3_cap=ol_cap;o3_sticky=ol_sticky;o3_background=ol_background;o3_close=ol_close;o3_hpos=ol_hpos;o3_offsetx=ol_offsetx;o3_offsety=ol_offsety;o3_fgcolor=ol_fgcolor;o3_bgcolor=ol_bgcolor;o3_textcolor=ol_textcolor;o3_capcolor=ol_capcolor;o3_closecolor=ol_closecolor;o3_width=ol_width;o3_border=ol_border;o3_cellpad=ol_cellpad;o3_status=ol_status;o3_autostatus=ol_autostatus;o3_height=ol_height;o3_snapx=ol_snapx;o3_snapy=ol_snapy;o3_fixx=ol_fixx;o3_fixy=ol_fixy;o3_relx=ol_relx;o3_rely=ol_rely;o3_fgbackground=ol_fgbackground;o3_bgbackground=ol_bgbackground;o3_padxl=ol_padxl;o3_padxr=ol_padxr;o3_padyt=ol_padyt;o3_padyb=ol_padyb;o3_fullhtml=ol_fullhtml;o3_vpos=ol_vpos;o3_aboveheight=ol_aboveheight;o3_capicon=ol_capicon;o3_textfont=ol_textfont;o3_captionfont=ol_captionfont;o3_closefont=ol_closefont;o3_textsize=ol_textsize;o3_captionsize=ol_captionsize;o3_closesize=ol_closesize;o3_timeout=ol_timeout;o3_function=ol_function;o3_delay=ol_delay;o3_hauto=ol_hauto;o3_vauto=ol_vauto;o3_closeclick=ol_closeclick;o3_wrap=ol_wrap;o3_followmouse=ol_followmouse;o3_mouseoff=ol_mouseoff;o3_closetitle=ol_closetitle;o3_css=ol_css;o3_compatmode=ol_compatmode;o3_fgclass=ol_fgclass;o3_bgclass=ol_bgclass;o3_textfontclass=ol_textfontclass;o3_captionfontclass=ol_captionfontclass;o3_closefontclass=ol_closefontclass;setRunTimeVariables();fnRef="";o3_frame=ol_frame;if(!(over=createDivContainer())){return false;}parseTokens("o3_",overlib.arguments);if(!postParseChecks()){return false;}if(o3_delay==0){return runHook("olMain",FREPLACE);}else{o3_delayid=setTimeout("runHook('olMain', FREPLACE)",o3_delay);return false;}}function nd(_1){if(olLoaded&&!isExclusive()){hideDelay(_1);if(o3_removecounter>=1){o3_showingsticky=0;}if(o3_showingsticky==0){o3_allowmove=0;if(over!=null&&o3_timerid==0){runHook("hideObject",FREPLACE,over);}}else{o3_removecounter++;}}return true;}function cClick(){if(olLoaded){runHook("hideObject",FREPLACE,over);o3_showingsticky=0;}return false;}function overlib_pagedefaults(){parseTokens("ol_",overlib_pagedefaults.arguments);}function olMain(){var _2,_3;runHook("olMain",FBEFORE);if(o3_background!=""||o3_fullhtml){_2=runHook("ol_content_background",FALTERNATE,o3_css,o3_text,o3_background,o3_fullhtml);}else{_3=(pms[o3_css-1-pmStart]=="cssoff"||pms[o3_css-1-pmStart]=="cssclass");if(o3_fgbackground!=""){o3_fgbackground="background=\""+o3_fgbackground+"\"";}if(o3_bgbackground!=""){o3_bgbackground=(_3?"background=\""+o3_bgbackground+"\"":o3_bgbackground);}if(o3_fgcolor!=""){o3_fgcolor=(_3?"bgcolor=\""+o3_fgcolor+"\"":o3_fgcolor);}if(o3_bgcolor!=""){o3_bgcolor=(_3?"bgcolor=\""+o3_bgcolor+"\"":o3_bgcolor);}if(o3_height>0){o3_height=(_3?"height=\""+o3_height+"\"":o3_height);}else{o3_height="";}if(o3_cap==""){_2=runHook("ol_content_simple",FALTERNATE,o3_css,o3_text);}else{if(o3_sticky){_2=runHook("ol_content_caption",FALTERNATE,o3_css,o3_text,o3_cap,o3_close);}else{_2=runHook("ol_content_caption",FALTERNATE,o3_css,o3_text,o3_cap,"");}}}if(o3_sticky){if(o3_timerid>0){clearTimeout(o3_timerid);o3_timerid=0;}o3_showingsticky=1;o3_removecounter=0;}if(!runHook("createPopup",FREPLACE,_2)){return false;}if(o3_autostatus>0){o3_status=o3_text;if(o3_autostatus>1){o3_status=o3_cap;}}o3_allowmove=0;if(o3_timeout>0){if(o3_timerid>0){clearTimeout(o3_timerid);}o3_timerid=setTimeout("cClick()",o3_timeout);}runHook("disp",FREPLACE,o3_status);runHook("olMain",FAFTER);return (olOp&&event&&event.type=="mouseover"&&!o3_status)?"":(o3_status!="");}function ol_content_simple(_4){var _5=/,/.test(o3_cellpad);var _6="<table width=\""+o3_width+"\" border=\"0\" cellpadding=\""+o3_border+"\" cellspacing=\"0\" "+(o3_bgclass?"class=\""+o3_bgclass+"\"":o3_bgcolor+" "+o3_height)+"><tr><td><table width=\"100%\" border=\"0\" "+((olNs4||!_5)?"cellpadding=\""+o3_cellpad+"\" ":"")+"cellspacing=\"0\" "+(o3_fgclass?"class=\""+o3_fgclass+"\"":o3_fgcolor+" "+o3_fgbackground+" "+o3_height)+"><tr><td valign=\"TOP\""+(o3_textfontclass?" class=\""+o3_textfontclass+"\">":((!olNs4&&_5)?" style=\""+setCellPadStr(o3_cellpad)+"\">":">"))+(o3_textfontclass?"":wrapStr(0,o3_textsize,"text"))+_4+(o3_textfontclass?"":wrapStr(1,o3_textsize))+"</td></tr></table></td></tr></table>";set_background("");return _6;}function ol_content_caption(_7,_8,_9){var _a,_b,_c=/,/.test(o3_cellpad);var _d,_e;_d="";_e="onmouseover";if(o3_closeclick==1){_e=(o3_closetitle?"title='"+o3_closetitle+"'":"")+" onclick";}if(o3_capicon!=""){_a=" hspace = \"5\""+" align = \"middle\" alt = \"\"";if(typeof o3_dragimg!="undefined"&&o3_dragimg){_a=" hspace=\"5\""+" name=\""+o3_dragimg+"\" id=\""+o3_dragimg+"\" align=\"middle\" alt=\"Drag Enabled\" title=\"Drag Enabled\"";}o3_capicon="<img src=\""+o3_capicon+"\""+_a+" />";}if(_9!=""){_d="<td "+(!o3_compatmode&&o3_closefontclass?"class=\""+o3_closefontclass:"align=\"RIGHT")+"\"><a href=\"javascript:return "+fnRef+"cClick();\""+((o3_compatmode&&o3_closefontclass)?" class=\""+o3_closefontclass+"\" ":" ")+_e+"=\"return "+fnRef+"cClick();\">"+(o3_closefontclass?"":wrapStr(0,o3_closesize,"close"))+_9+(o3_closefontclass?"":wrapStr(1,o3_closesize,"close"))+"</a></td>";}_b="<table width=\""+o3_width+"\" border=\"0\" cellpadding=\""+o3_border+"\" cellspacing=\"0\" "+(o3_bgclass?"class=\""+o3_bgclass+"\"":o3_bgcolor+" "+o3_bgbackground+" "+o3_height)+"><tr><td><table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\"><tr><td"+(o3_captionfontclass?" class=\""+o3_captionfontclass+"\">":">")+(o3_captionfontclass?"":"<b>"+wrapStr(0,o3_captionsize,"caption"))+o3_capicon+_8+(o3_captionfontclass?"":wrapStr(1,o3_captionsize)+"</b>")+"</td>"+_d+"</tr></table><table width=\"100%\" border=\"0\" "+((olNs4||!_c)?"cellpadding=\""+o3_cellpad+"\" ":"")+"cellspacing=\"0\" "+(o3_fgclass?"class=\""+o3_fgclass+"\"":o3_fgcolor+" "+o3_fgbackground+" "+o3_height)+"><tr><td valign=\"TOP\""+(o3_textfontclass?" class=\""+o3_textfontclass+"\">":((!olNs4&&_c)?" style=\""+setCellPadStr(o3_cellpad)+"\">":">"))+(o3_textfontclass?"":wrapStr(0,o3_textsize,"text"))+_7+(o3_textfontclass?"":wrapStr(1,o3_textsize))+"</td></tr></table></td></tr></table>";set_background("");return _b;}function ol_content_background(_f,_10,_11){if(_11){txt=_f;}else{txt="<table width=\""+o3_width+"\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\""+o3_height+"\"><tr><td colspan=\"3\" height=\""+o3_padyt+"\"></td></tr><tr><td width=\""+o3_padxl+"\"></td><td valign=\"TOP\" width=\""+(o3_width-o3_padxl-o3_padxr)+(o3_textfontclass?"\" class=\""+o3_textfontclass:"")+"\">"+(o3_textfontclass?"":wrapStr(0,o3_textsize,"text"))+_f+(o3_textfontclass?"":wrapStr(1,o3_textsize))+"</td><td width=\""+o3_padxr+"\"></td></tr><tr><td colspan=\"3\" height=\""+o3_padyb+"\"></td></tr></table>";}set_background(_10);return txt;}function set_background(pic){if(pic==""){if(olNs4){over.background.src=null;}else{if(over.style){over.style.backgroundImage="none";}}}else{if(olNs4){over.background.src=pic;}else{if(over.style){over.style.width=o3_width+"px";over.style.backgroundImage="url("+pic+")";}}}}var olShowId=-1;function disp(_13){runHook("disp",FBEFORE);if(o3_allowmove==0){runHook("placeLayer",FREPLACE);(olNs6&&olShowId<0)?olShowId=setTimeout("runHook('showObject', FREPLACE, over)",1):runHook("showObject",FREPLACE,over);o3_allowmove=(o3_sticky||o3_followmouse==0)?0:1;}runHook("disp",FAFTER);if(_13!=""){self.status=_13;}}function createPopup(_14){runHook("createPopup",FBEFORE);if(o3_wrap){var wd,ww,_17=(olNs4?over:over.style);_17.top=_17.left=((olIe4&&!olOp)?0:-10000)+(!olNs4?"px":0);layerWrite(_14);wd=(olNs4?over.clip.width:over.offsetWidth);if(wd>(ww=windowWidth())){_14=_14.replace(/\&nbsp;/g," ");o3_width=ww;o3_wrap=0;}}layerWrite(_14);if(o3_wrap){o3_width=(olNs4?over.clip.width:over.offsetWidth);}runHook("createPopup",FAFTER,_14);return true;}function placeLayer(){var _18,_19,_1a=0;if(o3_frame.innerWidth){_1a=18;}iwidth=windowWidth();winoffset=(olIe4)?eval("o3_frame."+docRoot+".scrollLeft"):o3_frame.pageXOffset;_18=runHook("horizontalPlacement",FCHAIN,iwidth,winoffset,_1a);if(o3_frame.innerHeight){iheight=o3_frame.innerHeight;}else{if(eval("o3_frame."+docRoot)&&eval("typeof o3_frame."+docRoot+".clientHeight=='number'")&&eval("o3_frame."+docRoot+".clientHeight")){iheight=eval("o3_frame."+docRoot+".clientHeight");}}scrolloffset=(olIe4)?eval("o3_frame."+docRoot+".scrollTop"):o3_frame.pageYOffset;_19=runHook("verticalPlacement",FCHAIN,iheight,scrolloffset);repositionTo(over,_18,_19);}function olMouseMove(e){var e=(e)?e:event;if(e.pageX){o3_x=e.pageX;o3_y=e.pageY;}else{if(e.clientX){o3_x=eval("e.clientX+o3_frame."+docRoot+".scrollLeft");o3_y=eval("e.clientY+o3_frame."+docRoot+".scrollTop");}}if(o3_allowmove==1){runHook("placeLayer",FREPLACE);}if(hoveringSwitch&&!olNs4&&runHook("cursorOff",FREPLACE)){(olHideDelay?hideDelay(olHideDelay):cClick());hoveringSwitch=!hoveringSwitch;}}function no_overlib(){return ver3fix;}function olMouseCapture(){capExtent=document;var fN,str="",l,k,f,wMv,sS,_23=olMouseMove;var re=/function[ ]*(\w*)\(/;wMv=(!olIe4&&window.onmousemove);if(document.onmousemove||wMv){if(wMv){capExtent=window;}f=capExtent.onmousemove.toString();fN=f.match(re);if(fN==null){str=f+"(e); ";}else{if(fN[1]=="anonymous"||fN[1]=="olMouseMove"||(wMv&&fN[1]=="onmousemove")){if(!olOp&&wMv){l=f.indexOf("{")+1;k=f.lastIndexOf("}");sS=f.substring(l,k);if((l=sS.indexOf("("))!=-1){sS=sS.substring(0,l).replace(/^\s+/,"").replace(/\s+$/,"");if(eval("typeof "+sS+" == 'undefined'")){window.onmousemove=null;}else{str=sS+"(e);";}}}if(!str){olCheckMouseCapture=false;return;}}else{if(fN[1]){str=fN[1]+"(e); ";}else{l=f.indexOf("{")+1;k=f.lastIndexOf("}");str=f.substring(l,k)+"\n";}}}str+="olMouseMove(e); ";_23=new Function("e",str);}capExtent.onmousemove=_23;if(olNs4){capExtent.captureEvents(Event.MOUSEMOVE);}}function parseTokens(pf,ar){var v,i,_29=-1,par=(pf!="ol_");var _2b=(par&&!ar.length?1:0);for(i=0;i<ar.length;i++){if(_29<0){if(typeof ar[i]=="number"&&ar[i]>pmStart&&ar[i]<pmUpper){_2b=(par?1:0);i--;}else{switch(pf){case "ol_":ol_text=ar[i].toString();break;default:o3_text=ar[i].toString();}}_29=0;}else{if(ar[i]>=pmCount||ar[i]==DONOTHING){continue;}if(ar[i]==INARRAY){_2b=0;eval(pf+"text=ol_texts["+ar[++i]+"].toString()");continue;}if(ar[i]==CAPARRAY){eval(pf+"cap=ol_caps["+ar[++i]+"].toString()");continue;}if(ar[i]==STICKY){if(pf!="ol_"){eval(pf+"sticky=1");}continue;}if(ar[i]==BACKGROUND){eval(pf+"background=\""+ar[++i]+"\"");continue;}if(ar[i]==NOCLOSE){if(pf!="ol_"){opt_NOCLOSE();}continue;}if(ar[i]==CAPTION){eval(pf+"cap='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==CENTER||ar[i]==LEFT||ar[i]==RIGHT){eval(pf+"hpos="+ar[i]);if(pf!="ol_"){olHautoFlag=1;}continue;}if(ar[i]==OFFSETX){eval(pf+"offsetx="+ar[++i]);continue;}if(ar[i]==OFFSETY){eval(pf+"offsety="+ar[++i]);continue;}if(ar[i]==FGCOLOR){eval(pf+"fgcolor=\""+ar[++i]+"\"");continue;}if(ar[i]==BGCOLOR){eval(pf+"bgcolor=\""+ar[++i]+"\"");continue;}if(ar[i]==TEXTCOLOR){eval(pf+"textcolor=\""+ar[++i]+"\"");continue;}if(ar[i]==CAPCOLOR){eval(pf+"capcolor=\""+ar[++i]+"\"");continue;}if(ar[i]==CLOSECOLOR){eval(pf+"closecolor=\""+ar[++i]+"\"");continue;}if(ar[i]==WIDTH){eval(pf+"width="+ar[++i]);continue;}if(ar[i]==BORDER){eval(pf+"border="+ar[++i]);continue;}if(ar[i]==CELLPAD){i=opt_MULTIPLEARGS(++i,ar,(pf+"cellpad"));continue;}if(ar[i]==STATUS){eval(pf+"status='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==AUTOSTATUS){eval(pf+"autostatus=("+pf+"autostatus == 1) ? 0 : 1");continue;}if(ar[i]==AUTOSTATUSCAP){eval(pf+"autostatus=("+pf+"autostatus == 2) ? 0 : 2");continue;}if(ar[i]==HEIGHT){eval(pf+"height="+pf+"aboveheight="+ar[++i]);continue;}if(ar[i]==CLOSETEXT){eval(pf+"close='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==SNAPX){eval(pf+"snapx="+ar[++i]);continue;}if(ar[i]==SNAPY){eval(pf+"snapy="+ar[++i]);continue;}if(ar[i]==FIXX){eval(pf+"fixx="+ar[++i]);continue;}if(ar[i]==FIXY){eval(pf+"fixy="+ar[++i]);continue;}if(ar[i]==RELX){eval(pf+"relx="+ar[++i]);continue;}if(ar[i]==RELY){eval(pf+"rely="+ar[++i]);continue;}if(ar[i]==FGBACKGROUND){eval(pf+"fgbackground=\""+ar[++i]+"\"");continue;}if(ar[i]==BGBACKGROUND){eval(pf+"bgbackground=\""+ar[++i]+"\"");continue;}if(ar[i]==PADX){eval(pf+"padxl="+ar[++i]);eval(pf+"padxr="+ar[++i]);continue;}if(ar[i]==PADY){eval(pf+"padyt="+ar[++i]);eval(pf+"padyb="+ar[++i]);continue;}if(ar[i]==FULLHTML){if(pf!="ol_"){eval(pf+"fullhtml=1");}continue;}if(ar[i]==BELOW||ar[i]==ABOVE){eval(pf+"vpos="+ar[i]);if(pf!="ol_"){olVautoFlag=1;}continue;}if(ar[i]==CAPICON){eval(pf+"capicon=\""+ar[++i]+"\"");continue;}if(ar[i]==TEXTFONT){eval(pf+"textfont='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==CAPTIONFONT){eval(pf+"captionfont='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==CLOSEFONT){eval(pf+"closefont='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==TEXTSIZE){eval(pf+"textsize=\""+ar[++i]+"\"");continue;}if(ar[i]==CAPTIONSIZE){eval(pf+"captionsize=\""+ar[++i]+"\"");continue;}if(ar[i]==CLOSESIZE){eval(pf+"closesize=\""+ar[++i]+"\"");continue;}if(ar[i]==TIMEOUT){eval(pf+"timeout="+ar[++i]);continue;}if(ar[i]==FUNCTION){if(pf=="ol_"){if(typeof ar[i+1]!="number"){v=ar[++i];ol_function=(typeof v=="function"?v:null);}}else{_2b=0;v=null;if(typeof ar[i+1]!="number"){v=ar[++i];}opt_FUNCTION(v);}continue;}if(ar[i]==DELAY){eval(pf+"delay="+ar[++i]);continue;}if(ar[i]==HAUTO){eval(pf+"hauto=("+pf+"hauto == 0) ? 1 : 0");continue;}if(ar[i]==VAUTO){eval(pf+"vauto=("+pf+"vauto == 0) ? 1 : 0");continue;}if(ar[i]==CLOSECLICK){eval(pf+"closeclick=("+pf+"closeclick == 0) ? 1 : 0");continue;}if(ar[i]==WRAP){eval(pf+"wrap=("+pf+"wrap == 0) ? 1 : 0");continue;}if(ar[i]==FOLLOWMOUSE){eval(pf+"followmouse=("+pf+"followmouse == 1) ? 0 : 1");continue;}if(ar[i]==MOUSEOFF){eval(pf+"mouseoff=("+pf+"mouseoff==0) ? 1 : 0");v=ar[i+1];if(pf!="ol_"&&eval(pf+"mouseoff")&&typeof v=="number"&&(v<pmStart||v>pmUpper)){olHideDelay=ar[++i];}continue;}if(ar[i]==CLOSETITLE){eval(pf+"closetitle='"+escSglQuote(ar[++i])+"'");continue;}if(ar[i]==CSSOFF||ar[i]==CSSCLASS){eval(pf+"css="+ar[i]);continue;}if(ar[i]==COMPATMODE){eval(pf+"compatmode=("+pf+"compatmode==0) ? 1 : 0");continue;}if(ar[i]==FGCLASS){eval(pf+"fgclass=\""+ar[++i]+"\"");continue;}if(ar[i]==BGCLASS){eval(pf+"bgclass=\""+ar[++i]+"\"");continue;}if(ar[i]==TEXTFONTCLASS){eval(pf+"textfontclass=\""+ar[++i]+"\"");continue;}if(ar[i]==CAPTIONFONTCLASS){eval(pf+"captionfontclass=\""+ar[++i]+"\"");continue;}if(ar[i]==CLOSEFONTCLASS){eval(pf+"closefontclass=\""+ar[++i]+"\"");continue;}i=parseCmdLine(pf,i,ar);}}if(_2b&&o3_function){o3_text=o3_function();}if((pf=="o3_")&&o3_wrap){o3_width=0;var _2c=/<.*\n*>/ig;if(!_2c.test(o3_text)){o3_text=o3_text.replace(/[ ]+/g,"&nbsp;");}if(!_2c.test(o3_cap)){o3_cap=o3_cap.replace(/[ ]+/g,"&nbsp;");}}if((pf=="o3_")&&o3_sticky){if(!o3_close&&(o3_frame!=ol_frame)){o3_close=ol_close;}if(o3_mouseoff&&(o3_frame==ol_frame)){opt_NOCLOSE(" ");}}}function layerWrite(txt){txt+="\n";if(olNs4){var lyr=o3_frame.document.layers["overDiv"].document;lyr.write(txt);lyr.close();}else{if(typeof over.innerHTML!="undefined"){if(olIe5&&isMac){over.innerHTML="";}over.innerHTML=txt;}else{range=o3_frame.document.createRange();range.setStartAfter(over);domfrag=range.createContextualFragment(txt);while(over.hasChildNodes()){over.removeChild(over.lastChild);}over.appendChild(domfrag);}}}function showObject(obj){runHook("showObject",FBEFORE);var _30=(olNs4?obj:obj.style);_30.visibility="visible";runHook("showObject",FAFTER);}function hideObject(obj){runHook("hideObject",FBEFORE);var _32=(olNs4?obj:obj.style);if(olNs6&&olShowId>0){clearTimeout(olShowId);olShowId=0;}_32.visibility="hidden";_32.top=_32.left=((olIe4&&!olOp)?0:-10000)+(!olNs4?"px":0);if(o3_timerid>0){clearTimeout(o3_timerid);}if(o3_delayid>0){clearTimeout(o3_delayid);}o3_timerid=0;o3_delayid=0;self.status="";if(obj.onmouseout||obj.onmouseover){if(olNs4){obj.releaseEvents(Event.MOUSEOUT||Event.MOUSEOVER);}obj.onmouseout=obj.onmouseover=null;}runHook("hideObject",FAFTER);}function repositionTo(obj,xL,yL){var _36=(olNs4?obj:obj.style);_36.left=xL+(!olNs4?"px":0);_36.top=yL+(!olNs4?"px":0);}function cursorOff(){var _37=parseInt(over.style.left);var top=parseInt(over.style.top);var _39=_37+(over.offsetWidth>=parseInt(o3_width)?over.offsetWidth:parseInt(o3_width));var _3a=top+(over.offsetHeight>=o3_aboveheight?over.offsetHeight:o3_aboveheight);if(o3_x<_37||o3_x>_39||o3_y<top||o3_y>_3a){return true;}return false;}function opt_FUNCTION(_3b){o3_text=(_3b?(typeof _3b=="string"?(/.+\(.*\)/.test(_3b)?eval(_3b):_3b):_3b()):(o3_function?o3_function():"No Function"));return 0;}function opt_NOCLOSE(_3c){if(!_3c){o3_close="";}if(olNs4){over.captureEvents(Event.MOUSEOUT||Event.MOUSEOVER);over.onmouseover=function(){if(o3_timerid>0){clearTimeout(o3_timerid);o3_timerid=0;}};over.onmouseout=function(e){if(olHideDelay){hideDelay(olHideDelay);}else{cClick(e);}};}else{over.onmouseover=function(){hoveringSwitch=true;if(o3_timerid>0){clearTimeout(o3_timerid);o3_timerid=0;}};}return 0;}function opt_MULTIPLEARGS(i,_3f,_40){var k=i,re,pV,str="";for(k=i;k<_3f.length;k++){if(typeof _3f[k]=="number"&&_3f[k]>pmStart){break;}str+=_3f[k]+",";}if(str){str=str.substring(0,--str.length);}k--;pV=(olNs4&&/cellpad/i.test(_40))?str.split(",")[0]:str;eval(_40+"=\""+pV+"\"");return k;}function nbspCleanup(){if(o3_wrap){o3_text=o3_text.replace(/\&nbsp;/g," ");o3_cap=o3_cap.replace(/\&nbsp;/g," ");}}function escSglQuote(str){return str.toString().replace(/'/g,"\\'");}function OLonLoad_handler(e){var re=/\w+\(.*\)[;\s]+/g,_48=/overlib\(|nd\(|cClick\(/,fn,l,i;if(!olLoaded){olLoaded=1;}if(window.removeEventListener&&e.eventPhase==3){window.removeEventListener("load",OLonLoad_handler,false);}else{if(window.detachEvent){window.detachEvent("onload",OLonLoad_handler);var fN=document.body.getAttribute("onload");if(fN){fN=fN.toString().match(re);if(fN&&fN.length){for(i=0;i<fN.length;i++){if(/anonymous/.test(fN[i])){continue;}while((l=fN[i].search(/\)[;\s]+/))!=-1){fn=fN[i].substring(0,l+1);fN[i]=fN[i].substring(l+2);if(_48.test(fn)){eval(fn);}}}}}}}}function wrapStr(_4d,_4e,_4f){var _50,_51,_52=((_4f=="close")?1:0),_53=/[%\-a-z]+$/.test(_4e);_4e=(olNs4)?(!_53?_4e:"1"):_4e;if(_4d){return (_53&&!olNs4)?(_52?"</span>":"</div>"):"</font>";}else{_50="o3_"+_4f+"font";_51="o3_"+((_4f=="caption")?"cap":_4f)+"color";return (_53&&!olNs4)?(_52?"<span style=\"font-family: "+quoteMultiNameFonts(eval(_50))+"; color: "+eval(_51)+"; font-size: "+_4e+";\">":"<div style=\"font-family: "+quoteMultiNameFonts(eval(_50))+"; color: "+eval(_51)+"; font-size: "+_4e+";\">"):"<font face=\""+eval(_50)+"\" color=\""+eval(_51)+"\" size=\""+(parseInt(_4e)>7?"7":_4e)+"\">";}}function quoteMultiNameFonts(_54){var v,pM=_54.split(",");for(var i=0;i<pM.length;i++){v=pM[i];v=v.replace(/^\s+/,"").replace(/\s+$/,"");if(/\s/.test(v)&&!/['"]/.test(v)){v="'"+v+"'";pM[i]=v;}}return pM.join();}function isExclusive(_58){return false;}function setCellPadStr(_59){var Str="",j=0,ary=new Array(),top,_5e,_5f,_60;Str+="padding: ";ary=_59.replace(/\s+/g,"").split(",");switch(ary.length){case 2:top=_5e=ary[j];_5f=_60=ary[++j];break;case 3:top=ary[j];_5f=_60=ary[++j];_5e=ary[++j];break;case 4:top=ary[j];_60=ary[++j];_5e=ary[++j];_5f=ary[++j];break;}Str+=((ary.length==1)?ary[0]+"px;":top+"px "+_60+"px "+_5e+"px "+_5f+"px;");return Str;}function hideDelay(_61){if(_61&&!o3_delay){if(o3_timerid>0){clearTimeout(o3_timerid);}o3_timerid=setTimeout("cClick()",(o3_timeout=_61));}}function horizontalPlacement(_62,_63,_64){var _65,_66=_62,_67=_63;var _68=parseInt(o3_width);if(o3_fixx>-1||o3_relx!=null){_65=(o3_relx!=null?(o3_relx<0?_67+o3_relx+_66-_68-_64:_67+o3_relx):o3_fixx);}else{if(o3_hauto==1){if((o3_x-_67)>(_66/2)){o3_hpos=LEFT;}else{o3_hpos=RIGHT;}}if(o3_hpos==CENTER){_65=o3_x+o3_offsetx-(_68/2);if(_65<_67){_65=_67;}}if(o3_hpos==RIGHT){_65=o3_x+o3_offsetx;if((_65+_68)>(_67+_66-_64)){_65=_66+_67-_68-_64;if(_65<0){_65=0;}}}if(o3_hpos==LEFT){_65=o3_x-o3_offsetx-_68;if(_65<_67){_65=_67;}}if(o3_snapx>1){var _69=_65%o3_snapx;if(o3_hpos==LEFT){_65=_65-(o3_snapx+_69);}else{_65=_65+(o3_snapx-_69);}if(_65<_67){_65=_67;}}}return _65;}function verticalPlacement(_6a,_6b){var _6c,_6d=_6a,_6e=_6b;var _6f=(o3_aboveheight?parseInt(o3_aboveheight):(olNs4?over.clip.height:over.offsetHeight));if(o3_fixy>-1||o3_rely!=null){_6c=(o3_rely!=null?(o3_rely<0?_6e+o3_rely+_6d-_6f:_6e+o3_rely):o3_fixy);}else{if(o3_vauto==1){if((o3_y-_6e)>(_6d/2)&&o3_vpos==BELOW&&(o3_y+_6f+o3_offsety-(_6e+_6d)>0)){o3_vpos=ABOVE;}else{if(o3_vpos==ABOVE&&(o3_y-(_6f+o3_offsety)-_6e<0)){o3_vpos=BELOW;}}}if(o3_vpos==ABOVE){if(o3_aboveheight==0){o3_aboveheight=_6f;}_6c=o3_y-(o3_aboveheight+o3_offsety);if(_6c<_6e){_6c=_6e;}}else{_6c=o3_y+o3_offsety;}if(o3_snapy>1){var _70=_6c%o3_snapy;if(o3_aboveheight>0&&o3_vpos==ABOVE){_6c=_6c-(o3_snapy+_70);}else{_6c=_6c+(o3_snapy-_70);}if(_6c<_6e){_6c=_6e;}}}return _6c;}function checkPositionFlags(){if(olHautoFlag){olHautoFlag=o3_hauto=0;}if(olVautoFlag){olVautoFlag=o3_vauto=0;}return true;}function windowWidth(){var w;if(o3_frame.innerWidth){w=o3_frame.innerWidth;}else{if(eval("o3_frame."+docRoot)&&eval("typeof o3_frame."+docRoot+".clientWidth=='number'")&&eval("o3_frame."+docRoot+".clientWidth")){w=eval("o3_frame."+docRoot+".clientWidth");}}return w;}function createDivContainer(id,frm,_74){id=(id||"overDiv"),frm=(frm||o3_frame),_74=(_74||1000);var _75,_76=layerReference(id);if(_76==null){if(olNs4){_76=frm.document.layers[id]=new Layer(window.innerWidth,frm);_75=_76;}else{var _77=(olIe4?frm.document.all.tags("BODY")[0]:frm.document.getElementsByTagName("BODY")[0]);if(olIe4&&!document.getElementById){_77.insertAdjacentHTML("beforeEnd","<div id=\""+id+"\"></div>");_76=layerReference(id);}else{_76=frm.document.createElement("DIV");_76.id=id;_77.appendChild(_76);}_75=_76.style;}_75.position="absolute";_75.visibility="hidden";_75.zIndex=_74;if(olIe4&&!olOp){_75.left=_75.top="0px";}else{_75.left=_75.top=-10000+(!olNs4?"px":0);}}return _76;}function layerReference(id){return (olNs4?o3_frame.document.layers[id]:(document.all?o3_frame.document.all[id]:o3_frame.document.getElementById(id)));}function isFunction(_79){var rtn=true;if(typeof _79=="object"){for(var i=0;i<_79.length;i++){if(typeof _79[i]=="function"){continue;}rtn=false;break;}}else{if(typeof _79!="function"){rtn=false;}}return rtn;}function argToString(_7c,_7d,_7e){var jS=_7d,aS="",ar=_7c;_7e=(_7e?_7e:"ar");if(ar.length>jS){for(var k=jS;k<ar.length;k++){aS+=_7e+"["+k+"], ";}aS=aS.substring(0,aS.length-2);}return aS;}function reOrder(_83,_84,_85){var _86=new Array(),_87,i,j;if(!_85||typeof _85=="undefined"||typeof _85=="number"){return _83;}if(typeof _85=="function"){if(typeof _84=="object"){_86=_86.concat(_84);}else{_86[_86.length++]=_84;}for(i=0;i<_83.length;i++){_87=false;if(typeof _84=="function"&&_83[i]==_84){continue;}else{for(j=0;j<_84.length;j++){if(_83[i]==_84[j]){_87=true;break;}}}if(!_87){_86[_86.length++]=_83[i];}}_86[_86.length++]=_85;}else{if(typeof _85=="object"){if(typeof _84=="object"){_86=_86.concat(_84);}else{_86[_86.length++]=_84;}for(j=0;j<_83.length;j++){_87=false;if(typeof _84=="function"&&_83[j]==_84){continue;}else{for(i=0;i<_84.length;i++){if(_83[j]==_84[i]){_87=true;break;}}}if(!_87){_86[_86.length++]=_83[j];}}for(i=0;i<_86.length;i++){_83[i]=_86[i];}_86.length=0;for(j=0;j<_83.length;j++){_87=false;for(i=0;i<_85.length;i++){if(_83[j]==_85[i]){_87=true;break;}}if(!_87){_86[_86.length++]=_83[j];}}_86=_86.concat(_85);}}_83=_86;return _83;}function setRunTimeVariables(){if(typeof runTime!="undefined"&&runTime.length){for(var k=0;k<runTime.length;k++){runTime[k]();}}}function parseCmdLine(pf,i,_8d){if(typeof cmdLine!="undefined"&&cmdLine.length){for(var k=0;k<cmdLine.length;k++){var j=cmdLine[k](pf,i,_8d);if(j>-1){i=j;break;}}}return i;}function postParseChecks(pf,_91){if(typeof postParse!="undefined"&&postParse.length){for(var k=0;k<postParse.length;k++){if(postParse[k](pf,_91)){continue;}return false;}}return true;}function registerCommands(_93){if(typeof _93!="string"){return;}var pM=_93.split(",");pms=pms.concat(pM);for(var i=0;i<pM.length;i++){eval(pM[i].toUpperCase()+"="+pmCount++);}}function registerNoParameterCommands(_96){if(!_96&&typeof _96!="string"){return;}pmt=(!pmt)?_96:pmt+","+_96;}function registerHook(_97,_98,_99,_9a){var _9b,_9c=typeof _9a;if(_97=="plgIn"||_97=="postParse"){return;}if(typeof hookPts[_97]=="undefined"){hookPts[_97]=new FunctionReference();}_9b=hookPts[_97];if(_99!=null){if(_99==FREPLACE){_9b.ovload=_98;if(_97.indexOf("ol_content_")>-1){_9b.alt[pms[CSSOFF-1-pmStart]]=_98;}}else{if(_99==FBEFORE||_99==FAFTER){var _9b=(_99==1?_9b.before:_9b.after);if(typeof _98=="object"){_9b=_9b.concat(_98);}else{_9b[_9b.length++]=_98;}if(_9a){_9b=reOrder(_9b,_98,_9a);}}else{if(_99==FALTERNATE){if(_9c=="number"){_9b.alt[pms[_9a-1-pmStart]]=_98;}}else{if(_99==FCHAIN){_9b=_9b.chain;if(typeof _98=="object"){_9b=_9b.concat(_98);}else{_9b[_9b.length++]=_98;}}}}}return;}}function registerRunTimeFunction(fn){if(isFunction(fn)){if(typeof fn=="object"){runTime=runTime.concat(fn);}else{runTime[runTime.length++]=fn;}}}function registerCmdLineFunction(fn){if(isFunction(fn)){if(typeof fn=="object"){cmdLine=cmdLine.concat(fn);}else{cmdLine[cmdLine.length++]=fn;}}}function registerPostParseFunction(fn){if(isFunction(fn)){if(typeof fn=="object"){postParse=postParse.concat(fn);}else{postParse[postParse.length++]=fn;}}}function runHook(_a0,_a1){var l=hookPts[_a0],k,_a4=null,_a5,arS,ar=runHook.arguments;if(_a1==FREPLACE){arS=argToString(ar,2);if(typeof l=="undefined"||!(l=l.ovload)){_a4=eval(_a0+"("+arS+")");}else{_a4=eval("l("+arS+")");}}else{if(_a1==FBEFORE||_a1==FAFTER){if(typeof l!="undefined"){l=(_a1==1?l.before:l.after);if(l.length){arS=argToString(ar,2);for(var k=0;k<l.length;k++){eval("l[k]("+arS+")");}}}}else{if(_a1==FALTERNATE){_a5=ar[2];arS=argToString(ar,3);if(typeof l=="undefined"||(l=l.alt[pms[_a5-1-pmStart]])=="undefined"){_a4=eval(_a0+"("+arS+")");}else{_a4=eval("l("+arS+")");}}else{if(_a1==FCHAIN){arS=argToString(ar,2);l=l.chain;for(k=l.length;k>0;k--){if((_a4=eval("l[k-1]("+arS+")"))!=void (0)){break;}}}}}}return _a4;}function FunctionReference(){this.ovload=null;this.before=new Array();this.after=new Array();this.alt=new Array();this.chain=new Array();}function Info(_a8,_a9){this.version=_a8;this.prerelease=_a9;this.simpleversion=Math.round(this.version*100);this.major=parseInt(this.simpleversion/100);this.minor=parseInt(this.simpleversion/10)-this.major*10;this.revision=parseInt(this.simpleversion)-this.major*100-this.minor*10;this.meets=meets;}function meets(_aa){return (!_aa)?false:this.simpleversion>=Math.round(100*parseFloat(_aa));}registerHook("ol_content_simple",ol_content_simple,FALTERNATE,CSSOFF);registerHook("ol_content_caption",ol_content_caption,FALTERNATE,CSSOFF);registerHook("ol_content_background",ol_content_background,FALTERNATE,CSSOFF);registerHook("ol_content_simple",ol_content_simple,FALTERNATE,CSSCLASS);registerHook("ol_content_caption",ol_content_caption,FALTERNATE,CSSCLASS);registerHook("ol_content_background",ol_content_background,FALTERNATE,CSSCLASS);registerPostParseFunction(checkPositionFlags);registerHook("hideObject",nbspCleanup,FAFTER);registerHook("horizontalPlacement",horizontalPlacement,FCHAIN);registerHook("verticalPlacement",verticalPlacement,FCHAIN);if(olNs4||(olIe5&&isMac)||olKq){olLoaded=1;}registerNoParameterCommands("sticky,autostatus,autostatuscap,fullhtml,hauto,vauto,closeclick,wrap,followmouse,mouseoff,compatmode");var olCheckMouseCapture=true;if((olNs4||olNs6||olIe4)){olMouseCapture();}else{overlib=no_overlib;nd=no_overlib;ver3fix=true;}
			var req;function loadXMLDoc(_1){if(window.XMLHttpRequest){req=new XMLHttpRequest();req.onreadystatechange=processReqChange;req.open("GET",_1,true);req.setRequestHeader("Content-Type","text/xml");req.send(null);}else{if(window.ActiveXObject){req=new ActiveXObject("Microsoft.XMLHTTP");req.onreadystatechange=processReqChange;req.open("GET",_1,true);req.send();}}}function processReqChange(){if(req.readyState==4){if(req.status==200){alert(req.responseText);showkategorien();}else{alert("Fehler bei der Kommunikation mit dem Server:\n"+req.statusText);}}}function showkategorien(){document.getElementById("kategorie").innerHTML="";var _2=req.responseXML.getElementsByTagName("kategorie");alert(_2.length);for(var i=0;i<_2.length;i++){document.getElementById("kategorie").innerHTML+=_2[i];}}function loadXML(_4){if(_4!=""){if(req&&(req.readyState==2||req.readyState==3)){req.abort();}loadXMLDoc("ajax.php?action="+_4);}}function insert(_5,_6,_7,_8){var _9=document.forms[_7].elements[_8];_9.focus();if(typeof document.selection!="undefined"){var _a=document.selection.createRange();var _b=_a.text;_a.text=_5+_b+_6;_a=document.selection.createRange();if(_b.length==0){_a.move("character",-_6.length);}else{_a.moveStart("character",_5.length+_b.length+_6.length);}_a.select();}else{if(typeof _9.selectionStart!="undefined"){var _c=_9.selectionStart;var _d=_9.selectionEnd;var _b=_9.value.substring(_c,_d);_9.value=_9.value.substr(0,_c)+_5+_b+_6+_9.value.substr(_d);var _e;if(_b.length==0){_e=_c+_5.length;}else{_e=_c+_5.length+_b.length+_6.length;}_9.selectionStart=_e;_9.selectionEnd=_e;}else{var _e;var re=new RegExp("^[0-9]{0,3}$");while(!re.test(_e)){_e=prompt("Einf\xfcgen an Position (0.."+_9.value.length+"):","0");}if(_e>_9.value.length){_e=_9.value.length;}var _b=prompt("Bitte geben Sie den zu formatierenden Text ein:");_9.value=_9.value.substr(0,_e)+_5+_b+_6+_9.value.substr(_e);}}}function CookieWertSetzen(_10,_11,_12){var _13=new Date();var _14=new Date(_13.getTime()+_12);document.cookie=_10+"="+_11+"; expires="+_14.toGMTString()+";";}function Go(x){if(x=="nothing"){document.forms[0].reset();document.forms[0].elements[0].blur();return;}else{location.href=x;}}function Go1(_16,_17){url=_17.options[_17.selectedIndex].value;if(url=="nothing"){_16.reset();return;}else{location.href=url;}}function openBlank(url){var _19=786;var _1a=1024;MeinFenster=window.open(url,"PopUp","width="+_1a+",height="+_19+",scrollbars=no");MeinFenster.focus();}function openPopUp(url,_1c,_1d){MeinFenster=window.open(url,"PopUp","width="+_1c+",height="+_1d+",scrollbars=no");MeinFenster.focus();}function openPopUp(url,_1f,_20,_21){MeinFenster=window.open(url,"PopUp","width="+_1f+",height="+_20+",scrollbars="+_21);MeinFenster.focus();}function addElement(_22,_23,_24,_25){if(parent.window.opener&&parent.window.opener.setFormValueFromBrowseWin){parent.window.opener.setFormValueFromBrowseWin(_22,_23,_24,_25);}else{alert("Error - reference to main window is not set properly!");parent.close();}}var browserWin="";function setFormValueOpenBrowser(_26,_27,_28,_29,_2a,_2b){var url=_26+"?formName="+_27+"&fName="+_28+"&"+_29;browserWin=window.open(url,"bilder_popup","dependent=yes, height="+_2a+",width="+_2b+",status=0,menubar=0,resizable=1,scrollbars=1");browserWin.focus();}function setFormValueFromBrowseWin(_2d,_2e,_2f,_30){var _31=setFormValue_getFObj(_2d,_2e);var _32=null;if(_31[_2e+"_list[]"]){_32=_31[_2e+"_list[]"];}else{_32=_31[_2e+"_list"];}var _33=_32.type;if(_33=="text"){_31[_2e].value=_2f;_32.value=_30;}else{if(_31&&_2f!="--div--"){fObj=_32;var l=fObj.length;var _35=1;if(!_31[_2e+"_mul"]||_31[_2e+"_mul"].value==0){for(a=0;a<l;a++){if(fObj.options[a].value==_2f){_35=0;}}}if(_35){fObj.length++;fObj.options[l].value=_2f;fObj.options[l].text=unescape(_30);setHiddenFromList(fObj,_31[_2e]);}}}}function setHiddenFromList(_36,_37){l=_36.length;_37.value="";for(a=0;a<l;a++){_37.value+=_36.options[a].value+",";}}function setFormValueManipulate(_38,_39,_3a){var _3b=setFormValue_getFObj(_38,_39);var _3c=null;if(_3b[_39+"_list[]"]){_3c=_3b[_39+"_list[]"];}else{_3c=_3b[_39+"_list"];}var _3d=_3c.type;if(_3d=="text"){_3b[_39].value="";_3c.value="";}else{if(_3b){var _3e=new Array();var _3f=new Array();var _40=_3c;var l=_40.length;var c=0;var cS=0;if(_3a=="Remove"||_3a=="Up"){if(_3a=="Up"){for(a=0;a<l;a++){if(_40.options[a].selected==1){_3e[c]=_40.options[a].value;_3f[c]=_40.options[a].text;c++;cS++;}}}for(a=0;a<l;a++){if(_40.options[a].selected!=1){_3e[c]=_40.options[a].value;_3f[c]=_40.options[a].text;c++;}}}_40.length=c;for(a=0;a<c;a++){_40.options[a].value=_3e[a];_40.options[a].text=_3f[a];_40.options[a].selected=(a<cS)?1:0;}setHiddenFromList(_40,_3b[_39]);}}}function setFormValue_getFObj(_44,_45){var _46=$(_44);if(!_46){_46=document.getElementsByName(_44)[0];}var _47=null;if(_46[_45+"_list[]"]){_47=_46[_45+"_list[]"];}else{_47=_46[_45+"_list"];}if(!_46){_46=document[_44];}if(_46){if(_46[_45]&&_47&&(_47.type=="select-multiple"||_47.type=="text")){return _46;}else{alert("Formfields missing:\n fName: "+_46[_45]+"\n fName_list[]:"+_47+"\n type:"+_47.type+"\n fName:"+_45+"\n fName.type:"+_46[_45].type);}}else{alert("!");return "";}}function o(_48,_49,_4a){Event.observe(_48,_49,_4a);}function highlightRow(row){switch(row.className){case "odd":row.className="oddhighlight";break;case "oddhighlight":row.className="odd";break;case "even":row.className="evenhighlight";break;case "evenhighlight":row.className="even";break;}}