var g_msgs={general:{enable_cookies:""}};var g_strs={native_name:""};var g_options={log_errors:false,suppress_all_errors:false};function window_params(e,b,d,c,f,a){if(typeof(e)==="undefined"){e=500;}if(typeof(b)==="undefined"){b=500;}if(typeof(d)==="undefined"){d="";}if(typeof(f)==="undefined"){f="";}if(typeof(a)==="undefined"){a="GET";}if(typeof(c)==="undefined"){c="";}this.w=e;this.h=b;this.c=d;this.url=c;this.data=f.toString();this.type=a.toString();}var g_widgets={window:{loading_content:false,loading_html:'<div class="c86"></div>',overlay:{is_open:false,is_opening:false,is_closing:false,is_animating:false,in_duration:200,out_duration:200,opacity:0.72,element:null},content:{is_open:false,is_opening:false,is_closing:false,is_animating:false,in_duration:150,out_duration:150,opacity:1,element:null}},twitter1:{username:"TrackPackPA",post_count:3}};
var g_browser={ie:false,ie6:false,ie6or7:false,ie7:false,ie8:false};var g_tracks={harrahs:{location_name:"Harrah’s Chester",location_url:"/more-about-harrahs-chester/#window_open",location_website_url:"http://www.harrahschester.com/casinos/harrahs-chester/casino-misc/ccr-racing-live-racing-detail.html",directions_url:"#",address:"777 Harrah's Blvd, Chester, PA 19013"},penn_national:{location_name:"Penn National",location_url:"/more-about-penn-national/#window_open",location_website_url:"http://www.hcpn.com/",directions_url:"#",address:"777 Hollywood Blvd, Grantville, PA 17028 (Penn National Race Course)"},philadelphia_park:{location_name:"Philadelphia Park",location_url:"/more-about-philadelphia-park/#window_open",location_website_url:"http://www.philadelphiapark.com/home.php",directions_url:"http://www.google.com/maps?daddr=3001+Street+Road,+Bensalem,+PA+19020-2096+(Philadelphia+Park+Casino)&saddr=&f=d&hl=en&dq=Philadelphia+Park,+loc:+3001+Street+Road+Bensalem,+PA+19020&sll=40.120358,-74.957348&sspn=0.011899,0.012971&ie=UTF8&ll=40.117137,-74.959223&spn=0.011519,0.026157&t=h&z=16",address:"3001 Street Road, Bensalem,PA 19020-2096 (Philadelphia Park Casino)"},pocono_downs:{location_name:"Pocono Downs",location_url:"/more-about-pocono-downs/#window_open",location_website_url:"http://www.poconodowns.com/racing/",directions_url:"#",address:"Mohegan Sun at Pocono Downs, Wilkes Barre, PA 18702"},presque_isle_downs:{location_name:"Presque Isle Downs",location_url:"/more-about-presque-isle-downs/#window_open",location_website_url:"http://www.presqueisledowns.com/",directions_url:"#",address:"Presque Isle Downs,  Erie, PA"},the_meadows:{location_name:"The Meadows",location_url:"/more-about-the-meadows/#window_open",location_website_url:"http://meadowsgaming.com/racetrack/",directions_url:"#",address:"Meadows Racetrack & Casino,  PA 15347"}};
var g_other={html5tags:["header","nav","footer","article","section"]};
/*
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(I,aj){var av=function(a0,aZ){return new av.fn.init(a0,aZ);
},c=I.jQuery,r=I.$,aY=I.document,m,aX=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,W=/^.[^:#\[\.,]*$/,aW=/\S/,Z=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,al=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,at=navigator.userAgent,aT,aB=false,aJ=[],v,T=Object.prototype.toString,aQ=Object.prototype.hasOwnProperty,au=Array.prototype.push,ai=Array.prototype.slice,aa=Array.prototype.indexOf;av.fn=av.prototype={init:function(a3,aZ){var a0,a1,a2,a4;if(!a3){return this;}if(a3.nodeType){this.context=this[0]=a3;this.length=1;return this;}if(a3==="body"&&!aZ){this.context=aY;
this[0]=aY.body;this.selector="body";this.length=1;return this;}if(typeof a3==="string"){a0=aX.exec(a3);if(a0&&(a0[1]||!aZ)){if(a0[1]){a4=(aZ?aZ.ownerDocument||aZ:aY);a2=al.exec(a3);if(a2){if(av.isPlainObject(aZ)){a3=[aY.createElement(a2[1])];av.fn.attr.call(a3,aZ,true);}else{a3=[a4.createElement(a2[1])];}}else{a2=aC([a0[1]],[a4]);a3=(a2.cacheable?a2.fragment.cloneNode(true):a2.fragment).childNodes;}return av.merge(this,a3);}else{a1=aY.getElementById(a0[2]);if(a1){if(a1.id!==a0[2]){return m.find(a3);
}this.length=1;this[0]=a1;}this.context=aY;this.selector=a3;return this;}}else{if(!aZ&&/^\w+$/.test(a3)){this.selector=a3;this.context=aY;a3=aY.getElementsByTagName(a3);return av.merge(this,a3);}else{if(!aZ||aZ.jquery){return(aZ||m).find(a3);}else{return av(aZ).find(a3);}}}}else{if(av.isFunction(a3)){return m.ready(a3);}}if(a3.selector!==aj){this.selector=a3.selector;this.context=a3.context;}return av.makeArray(a3,this);},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length;},toArray:function(){return ai.call(this,0);
},get:function(aZ){return aZ==null?this.toArray():(aZ<0?this.slice(aZ)[0]:this[aZ]);},pushStack:function(aZ,a0,a2){var a1=av();if(av.isArray(aZ)){au.apply(a1,aZ);}else{av.merge(a1,aZ);}a1.prevObject=this;a1.context=this.context;if(a0==="find"){a1.selector=this.selector+(this.selector?" ":"")+a2;}else{if(a0){a1.selector=this.selector+"."+a0+"("+a2+")";}}return a1;},each:function(aZ,a0){return av.each(this,aZ,a0);},ready:function(aZ){av.bindReady();if(av.isReady){aZ.call(aY,av);}else{if(aJ){aJ.push(aZ);
}}return this;},eq:function(aZ){return aZ===-1?this.slice(aZ):this.slice(aZ,+aZ+1);},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},slice:function(){return this.pushStack(ai.apply(this,arguments),"slice",ai.call(arguments).join(","));},map:function(aZ){return this.pushStack(av.map(this,function(a1,a0){return aZ.call(a1,a0,a1);}));},end:function(){return this.prevObject||av(null);},push:au,sort:[].sort,splice:[].splice};av.fn.init.prototype=av.fn;av.extend=av.fn.extend=function(){var a6=arguments[0]||{},a4=1,a2=arguments.length,a7=false,a5,aZ,a3,a1;
if(typeof a6==="boolean"){a7=a6;a6=arguments[1]||{};a4=2;}if(typeof a6!=="object"&&!av.isFunction(a6)){a6={};}if(a2===a4){a6=this;--a4;}for(;a4<a2;a4++){if((a5=arguments[a4])!=null){for(aZ in a5){a3=a6[aZ];a1=a5[aZ];if(a6===a1){continue;}if(a7&&a1&&(av.isPlainObject(a1)||av.isArray(a1))){var a0=a3&&(av.isPlainObject(a3)||av.isArray(a3))?a3:av.isArray(a1)?[]:{};a6[aZ]=av.extend(a7,a0,a1);}else{if(a1!==aj){a6[aZ]=a1;}}}}}return a6;};av.extend({noConflict:function(aZ){I.$=r;if(aZ){I.jQuery=c;}return av;
},isReady:false,ready:function(){if(!av.isReady){if(!aY.body){return setTimeout(av.ready,13);}av.isReady=true;if(aJ){var a0,aZ=0;while((a0=aJ[aZ++])){a0.call(aY,av);}aJ=null;}if(av.fn.triggerHandler){av(aY).triggerHandler("ready");}}},bindReady:function(){if(aB){return;}aB=true;if(aY.readyState==="complete"){return av.ready();}if(aY.addEventListener){aY.addEventListener("DOMContentLoaded",v,false);I.addEventListener("load",av.ready,false);}else{if(aY.attachEvent){aY.attachEvent("onreadystatechange",v);
I.attachEvent("onload",av.ready);var aZ=false;try{aZ=I.frameElement==null;}catch(a0){}if(aY.documentElement.doScroll&&aZ){ay();}}}},isFunction:function(aZ){return T.call(aZ)==="[object Function]";},isArray:function(aZ){return T.call(aZ)==="[object Array]";},isPlainObject:function(a0){if(!a0||T.call(a0)!=="[object Object]"||a0.nodeType||a0.setInterval){return false;}if(a0.constructor&&!aQ.call(a0,"constructor")&&!aQ.call(a0.constructor.prototype,"isPrototypeOf")){return false;}var aZ;for(aZ in a0){}return aZ===aj||aQ.call(a0,aZ);
},isEmptyObject:function(aZ){for(var a0 in aZ){return false;}return true;},error:function(aZ){throw aZ;},parseJSON:function(aZ){if(typeof aZ!=="string"||!aZ){return null;}aZ=av.trim(aZ);if(/^[\],:{}\s]*$/.test(aZ.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return I.JSON&&I.JSON.parse?I.JSON.parse(aZ):(new Function("return "+aZ))();}else{av.error("Invalid JSON: "+aZ);}},noop:function(){},globalEval:function(a1){if(a1&&aW.test(a1)){var aZ=aY.getElementsByTagName("head")[0]||aY.documentElement,a0=aY.createElement("script");
a0.type="text/javascript";if(av.support.scriptEval){a0.appendChild(aY.createTextNode(a1));}else{a0.text=a1;}aZ.insertBefore(a0,aZ.firstChild);aZ.removeChild(a0);}},nodeName:function(aZ,a0){return aZ.nodeName&&aZ.nodeName.toUpperCase()===a0.toUpperCase();},each:function(a6,a5,aZ){var a0,a4=0,a2=a6.length,a1=a2===aj||av.isFunction(a6);if(aZ){if(a1){for(a0 in a6){if(a5.apply(a6[a0],aZ)===false){break;}}}else{for(;a4<a2;){if(a5.apply(a6[a4++],aZ)===false){break;}}}}else{if(a1){for(a0 in a6){if(a5.call(a6[a0],a0,a6[a0])===false){break;
}}}else{for(var a3=a6[0];a4<a2&&a5.call(a3,a4,a3)!==false;a3=a6[++a4]){}}}return a6;},trim:function(aZ){return(aZ||"").replace(Z,"");},makeArray:function(aZ,a1){var a0=a1||[];if(aZ!=null){if(aZ.length==null||typeof aZ==="string"||av.isFunction(aZ)||(typeof aZ!=="function"&&aZ.setInterval)){au.call(a0,aZ);}else{av.merge(a0,aZ);}}return a0;},inArray:function(a2,aZ){if(aZ.indexOf){return aZ.indexOf(a2);}for(var a0=0,a1=aZ.length;a0<a1;a0++){if(aZ[a0]===a2){return a0;}}return -1;},merge:function(a2,aZ){var a0=a2.length,a3=0;
if(typeof aZ.length==="number"){for(var a1=aZ.length;a3<a1;a3++){a2[a0++]=aZ[a3];}}else{while(aZ[a3]!==aj){a2[a0++]=aZ[a3++];}}a2.length=a0;return a2;},grep:function(a2,aZ,a4){var a3=[];for(var a0=0,a1=a2.length;a0<a1;a0++){if(!a4!==!aZ(a2[a0],a0)){a3.push(a2[a0]);}}return a3;},map:function(a3,aZ,a2){var a4=[],a5;for(var a0=0,a1=a3.length;a0<a1;a0++){a5=aZ(a3[a0],a0,a2);if(a5!=null){a4[a4.length]=a5;}}return a4.concat.apply([],a4);},guid:1,proxy:function(a0,aZ,a1){if(arguments.length===2){if(typeof aZ==="string"){a1=a0;
a0=a1[aZ];aZ=aj;}else{if(aZ&&!av.isFunction(aZ)){a1=aZ;aZ=aj;}}}if(!aZ&&a0){aZ=function(){return a0.apply(a1||this,arguments);};}if(a0){aZ.guid=a0.guid=a0.guid||aZ.guid||av.guid++;}return aZ;},uaMatch:function(a0){a0=a0.toLowerCase();var aZ=/(webkit)[ \/]([\w.]+)/.exec(a0)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a0)||/(msie) ([\w.]+)/.exec(a0)||!/compatible/.test(a0)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a0)||[];return{browser:aZ[1]||"",version:aZ[2]||"0"};},browser:{}});aT=av.uaMatch(at);if(aT.browser){av.browser[aT.browser]=true;
av.browser.version=aT.version;}if(av.browser.webkit){av.browser.safari=true;}if(aa){av.inArray=function(a0,aZ){return aa.call(aZ,a0);};}m=av(aY);if(aY.addEventListener){v=function(){aY.removeEventListener("DOMContentLoaded",v,false);av.ready();};}else{if(aY.attachEvent){v=function(){if(aY.readyState==="complete"){aY.detachEvent("onreadystatechange",v);av.ready();}};}}function ay(){if(av.isReady){return;}try{aY.documentElement.doScroll("left");}catch(aZ){setTimeout(ay,1);return;}av.ready();}function aP(aZ,a0){if(a0.src){av.ajax({url:a0.src,async:false,dataType:"script"});
}else{av.globalEval(a0.text||a0.textContent||a0.innerHTML||"");}if(a0.parentNode){a0.parentNode.removeChild(a0);}}function f(a7,a5,a1,a6,a4,aZ){var a0=a7.length;if(typeof a5==="object"){for(var a3 in a5){f(a7,a3,a5[a3],a6,a4,a1);}return a7;}if(a1!==aj){a6=!aZ&&a6&&av.isFunction(a1);for(var a2=0;a2<a0;a2++){a4(a7[a2],a5,a6?a1.call(a7[a2],a2,a4(a7[a2],a5)):a1,aZ);}return a7;}return a0?a4(a7[0],a5):aj;}function F(){return(new Date).getTime();}(function(){av.support={};var a3=aY.documentElement,a0=aY.createElement("script"),a8=aY.createElement("div"),a5="script"+F();
a8.style.display="none";a8.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var a1=a8.getElementsByTagName("*"),a6=a8.getElementsByTagName("a")[0];if(!a1||!a1.length||!a6){return;}av.support={leadingWhitespace:a8.firstChild.nodeType===3,tbody:!a8.getElementsByTagName("tbody").length,htmlSerialize:!!a8.getElementsByTagName("link").length,style:/red/.test(a6.getAttribute("style")),hrefNormalized:a6.getAttribute("href")==="/a",opacity:/^0.55$/.test(a6.style.opacity),cssFloat:!!a6.style.cssFloat,checkOn:a8.getElementsByTagName("input")[0].value==="on",optSelected:aY.createElement("select").appendChild(aY.createElement("option")).selected,parentNode:a8.removeChild(a8.appendChild(aY.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};
a0.type="text/javascript";try{a0.appendChild(aY.createTextNode("window."+a5+"=1;"));}catch(aZ){}a3.insertBefore(a0,a3.firstChild);if(I[a5]){av.support.scriptEval=true;delete I[a5];}try{delete a0.test;}catch(aZ){av.support.deleteExpando=false;}a3.removeChild(a0);if(a8.attachEvent&&a8.fireEvent){a8.attachEvent("onclick",function a4(){av.support.noCloneEvent=false;a8.detachEvent("onclick",a4);});a8.cloneNode(true).fireEvent("onclick");}a8=aY.createElement("div");a8.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";
var a7=aY.createDocumentFragment();a7.appendChild(a8.firstChild);av.support.checkClone=a7.cloneNode(true).cloneNode(true).lastChild.checked;av(function(){var a9=aY.createElement("div");a9.style.width=a9.style.paddingLeft="1px";aY.body.appendChild(a9);av.boxModel=av.support.boxModel=a9.offsetWidth===2;aY.body.removeChild(a9).style.display="none";a9=null;});var a2=function(ba){var a9=aY.createElement("div");ba="on"+ba;var bb=(ba in a9);if(!bb){a9.setAttribute(ba,"return;");bb=typeof a9[ba]==="function";
}a9=null;return bb;};av.support.submitBubbles=a2("submit");av.support.changeBubbles=a2("change");a3=a0=a8=a1=a6=null;})();av.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var s="jQuery"+F(),ax=0,y={};av.extend({cache:{},expando:s,noData:{"embed":true,"object":true,"applet":true},data:function(a1,a2,a4){if(a1.nodeName&&av.noData[a1.nodeName.toLowerCase()]){return;
}a1=a1==I?y:a1;var a3=a1[s],a0=av.cache,aZ;if(!a3&&typeof a2==="string"&&a4===aj){return null;}if(!a3){a3=++ax;}if(typeof a2==="object"){a1[s]=a3;aZ=a0[a3]=av.extend(true,{},a2);}else{if(!a0[a3]){a1[s]=a3;a0[a3]={};}}aZ=a0[a3];if(a4!==aj){aZ[a2]=a4;}return typeof a2==="string"?aZ[a2]:aZ;},removeData:function(a1,a2){if(a1.nodeName&&av.noData[a1.nodeName.toLowerCase()]){return;}a1=a1==I?y:a1;var a3=a1[s],a0=av.cache,aZ=a0[a3];if(a2){if(aZ){delete aZ[a2];if(av.isEmptyObject(aZ)){av.removeData(a1);}}}else{if(av.support.deleteExpando){delete a1[av.expando];
}else{if(a1.removeAttribute){a1.removeAttribute(av.expando);}}delete a0[a3];}}});av.fn.extend({data:function(a0,a1){if(typeof a0==="undefined"&&this.length){return av.data(this[0]);}else{if(typeof a0==="object"){return this.each(function(){av.data(this,a0);});}}var aZ=a0.split(".");aZ[1]=aZ[1]?"."+aZ[1]:"";if(a1===aj){var a2=this.triggerHandler("getData"+aZ[1]+"!",[aZ[0]]);if(a2===aj&&this.length){a2=av.data(this[0],a0);}return a2===aj&&aZ[1]?this.data(aZ[0]):a2;}else{return this.trigger("setData"+aZ[1]+"!",[aZ[0],a1]).each(function(){av.data(this,a0,a1);
});}},removeData:function(aZ){return this.each(function(){av.removeData(this,aZ);});}});av.extend({queue:function(a1,aZ,a2){if(!a1){return;}aZ=(aZ||"fx")+"queue";var a0=av.data(a1,aZ);if(!a2){return a0||[];}if(!a0||av.isArray(a2)){a0=av.data(a1,aZ,av.makeArray(a2));}else{a0.push(a2);}return a0;},dequeue:function(a1,aZ){aZ=aZ||"fx";var a2=av.queue(a1,aZ),a0=a2.shift();if(a0==="inprogress"){a0=a2.shift();}if(a0){if(aZ==="fx"){a2.unshift("inprogress");}a0.call(a1,function(){av.dequeue(a1,aZ);});}}});
av.fn.extend({queue:function(aZ,a0){if(typeof aZ!=="string"){a0=aZ;aZ="fx";}if(a0===aj){return av.queue(this[0],aZ);}return this.each(function(a1,a2){var a3=av.queue(this,aZ,a0);if(aZ==="fx"&&a3[0]!=="inprogress"){av.dequeue(this,aZ);}});},dequeue:function(aZ){return this.each(function(){av.dequeue(this,aZ);});},delay:function(a0,aZ){a0=av.fx?av.fx.speeds[a0]||a0:a0;aZ=aZ||"fx";return this.queue(aZ,function(){var a1=this;setTimeout(function(){av.dequeue(a1,aZ);},a0);});},clearQueue:function(aZ){return this.queue(aZ||"fx",[]);
}});var E=/[\n\t]/g,ad=/\s+/,q=/\r/g,ao=/href|src|style/,V=/(button|input)/i,af=/(button|input|object|select|textarea)/i,N=/^(a|area)$/i,g=/radio|checkbox/;av.fn.extend({attr:function(aZ,a0){return f(this,aZ,a0,true,av.attr);},removeAttr:function(a0,aZ){return this.each(function(){av.attr(this,a0,"");if(this.nodeType===1){this.removeAttribute(a0);}});},addClass:function(a1){if(av.isFunction(a1)){return this.each(function(a8){var a9=av(this);a9.addClass(a1.call(this,a8,a9.attr("class")));});}if(a1&&typeof a1==="string"){var a4=(a1||"").split(ad);
for(var a2=0,a5=this.length;a2<a5;a2++){var aZ=this[a2];if(aZ.nodeType===1){if(!aZ.className){aZ.className=a1;}else{var a6=" "+aZ.className+" ",a3=aZ.className;for(var a7=0,a0=a4.length;a7<a0;a7++){if(a6.indexOf(" "+a4[a7]+" ")<0){a3+=" "+a4[a7];}}aZ.className=av.trim(a3);}}}}return this;},removeClass:function(a1){if(av.isFunction(a1)){return this.each(function(a7){var a8=av(this);a8.removeClass(a1.call(this,a7,a8.attr("class")));});}if((a1&&typeof a1==="string")||a1===aj){var a3=(a1||"").split(ad);
for(var a2=0,a4=this.length;a2<a4;a2++){var aZ=this[a2];if(aZ.nodeType===1&&aZ.className){if(a1){var a6=(" "+aZ.className+" ").replace(E," ");for(var a5=0,a0=a3.length;a5<a0;a5++){a6=a6.replace(" "+a3[a5]+" "," ");}aZ.className=av.trim(a6);}else{aZ.className="";}}}}return this;},toggleClass:function(a2,a0){var aZ=typeof a2,a1=typeof a0==="boolean";if(av.isFunction(a2)){return this.each(function(a3){var a4=av(this);a4.toggleClass(a2.call(this,a3,a4.attr("class"),a0),a0);});}return this.each(function(){if(aZ==="string"){var a3,a4=0,a6=av(this),a7=a0,a5=a2.split(ad);
while((a3=a5[a4++])){a7=a1?a7:!a6.hasClass(a3);a6[a7?"addClass":"removeClass"](a3);}}else{if(aZ==="undefined"||aZ==="boolean"){if(this.className){av.data(this,"__className__",this.className);}this.className=this.className||a2===false?"":av.data(this,"__className__")||"";}}});},hasClass:function(a2){var aZ=" "+a2+" ";for(var a0=0,a1=this.length;a0<a1;a0++){if((" "+this[a0].className+" ").replace(E," ").indexOf(aZ)>-1){return true;}}return false;},val:function(a3){if(a3===aj){var aZ=this[0];if(aZ){if(av.nodeName(aZ,"option")){return(aZ.attributes.value||{}).specified?aZ.value:aZ.text;
}if(av.nodeName(aZ,"select")){var a0=aZ.selectedIndex,a6=[],a5=aZ.options,a2=aZ.type==="select-one";if(a0<0){return null;}for(var a4=a2?a0:0,a1=a2?a0+1:a5.length;a4<a1;a4++){var a7=a5[a4];if(a7.selected){a3=av(a7).val();if(a2){return a3;}a6.push(a3);}}return a6;}if(g.test(aZ.type)&&!av.support.checkOn){return aZ.getAttribute("value")===null?"on":aZ.value;}return(aZ.value||"").replace(q,"");}return aj;}var a8=av.isFunction(a3);return this.each(function(a9){var ba=av(this),bc=a3;if(this.nodeType!==1){return;
}if(a8){bc=a3.call(this,a9,ba.val());}if(typeof bc==="number"){bc+="";}if(av.isArray(bc)&&g.test(this.type)){this.checked=av.inArray(ba.val(),bc)>=0;}else{if(av.nodeName(this,"select")){var bb=av.makeArray(bc);av("option",this).each(function(){this.selected=av.inArray(av(this).val(),bb)>=0;});if(!bb.length){this.selectedIndex=-1;}}else{this.value=bc;}}});}});av.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a7,a0,a3,aZ){if(!a7||a7.nodeType===3||a7.nodeType===8){return aj;
}if(aZ&&a0 in av.attrFn){return av(a7)[a0](a3);}var a4=a7.nodeType!==1||!av.isXMLDoc(a7),a5=a3!==aj;a0=a4&&av.props[a0]||a0;if(a7.nodeType===1){var a6=ao.test(a0);if(a0==="selected"&&!av.support.optSelected){var a8=a7.parentNode;if(a8){a8.selectedIndex;if(a8.parentNode){a8.parentNode.selectedIndex;}}}if(a0 in a7&&a4&&!a6){if(a5){if(a0==="type"&&V.test(a7.nodeName)&&a7.parentNode){av.error("type property can't be changed");}a7[a0]=a3;}if(av.nodeName(a7,"form")&&a7.getAttributeNode(a0)){return a7.getAttributeNode(a0).nodeValue;
}if(a0==="tabIndex"){var a1=a7.getAttributeNode("tabIndex");return a1&&a1.specified?a1.value:af.test(a7.nodeName)||N.test(a7.nodeName)&&a7.href?0:aj;}return a7[a0];}if(!av.support.style&&a4&&a0==="style"){if(a5){a7.style.cssText=""+a3;}return a7.style.cssText;}if(a5){a7.setAttribute(a0,""+a3);}var a2=!av.support.hrefNormalized&&a4&&a6?a7.getAttribute(a0,2):a7.getAttribute(a0);return a2===null?aj:a2;}return av.style(a7,a0,a3);}});var aE=/\.(.*)$/,L=function(aZ){return aZ.replace(/[^\w\s\.\|`]/g,function(a0){return"\\"+a0;
});};av.event={add:function(a0,a4,a3,a1){if(a0.nodeType===3||a0.nodeType===8){return;}if(a0.setInterval&&(a0!==I&&!a0.frameElement)){a0=I;}var a8,bc;if(a3.handler){a8=a3;a3=a8.handler;}if(!a3.guid){a3.guid=av.guid++;}var aZ=av.data(a0);if(!aZ){return;}var ba=aZ.events=aZ.events||{},a9=aZ.handle,a9;if(!a9){aZ.handle=a9=function(){return typeof av!=="undefined"&&!av.event.triggered?av.event.handle.apply(a9.elem,arguments):aj;};}a9.elem=a0;a4=a4.split(" ");var a2,a5=0,a7;while((a2=a4[a5++])){bc=a8?av.extend({},a8):{handler:a3,data:a1};
if(a2.indexOf(".")>-1){a7=a2.split(".");a2=a7.shift();bc.namespace=a7.slice(0).sort().join(".");}else{a7=[];bc.namespace="";}bc.type=a2;bc.guid=a3.guid;var bb=ba[a2],a6=av.event.special[a2]||{};if(!bb){bb=ba[a2]=[];if(!a6.setup||a6.setup.call(a0,a1,a7,a9)===false){if(a0.addEventListener){a0.addEventListener(a2,a9,false);}else{if(a0.attachEvent){a0.attachEvent("on"+a2,a9);}}}}if(a6.add){a6.add.call(a0,bc);if(!bc.handler.guid){bc.handler.guid=a3.guid;}}bb.push(bc);av.event.global[a2]=true;}a0=null;
},global:{},remove:function(a6,a5,a0,ba){if(a6.nodeType===3||a6.nodeType===8){return;}var bf,be,a7,a2=0,a8,bb,aZ,a4,bh,bg,bc,a1=av.data(a6),a9=a1&&a1.events;if(!a1||!a9){return;}if(a5&&a5.type){a0=a5.handler;a5=a5.type;}if(!a5||typeof a5==="string"&&a5.charAt(0)==="."){a5=a5||"";for(be in a9){av.event.remove(a6,be+a5);}return;}a5=a5.split(" ");while((be=a5[a2++])){bc=be;bg=null;a8=be.indexOf(".")<0;bb=[];if(!a8){bb=be.split(".");be=bb.shift();aZ=new RegExp("(^|\\.)"+av.map(bb.slice(0).sort(),L).join("\\.(?:.*\\.)?")+"(\\.|$)");
}bh=a9[be];if(!bh){continue;}if(!a0){for(var bd=0;bd<bh.length;bd++){bg=bh[bd];if(a8||aZ.test(bg.namespace)){av.event.remove(a6,bc,bg.handler,bd);bh.splice(bd--,1);}}continue;}a4=av.event.special[be]||{};for(var bd=ba||0;bd<bh.length;bd++){bg=bh[bd];if(a0.guid===bg.guid){if(a8||aZ.test(bg.namespace)){if(ba==null){bh.splice(bd--,1);}if(a4.remove){a4.remove.call(a6,bg);}}if(ba!=null){break;}}}if(bh.length===0||ba!=null&&bh.length===1){if(!a4.teardown||a4.teardown.call(a6,bb)===false){A(a6,be,a1.handle);
}bf=null;delete a9[be];}}if(av.isEmptyObject(a9)){var a3=a1.handle;if(a3){a3.elem=null;}delete a1.events;delete a1.handle;if(av.isEmptyObject(a1)){av.removeData(a6);}}},trigger:function(a5,a2,a1){var a4=a5.type||a5,a9=arguments[3];if(!a9){a5=typeof a5==="object"?a5[s]?a5:av.extend(av.Event(a4),a5):av.Event(a4);if(a4.indexOf("!")>=0){a5.type=a4=a4.slice(0,-1);a5.exclusive=true;}if(!a1){a5.stopPropagation();if(av.event.global[a4]){av.each(av.cache,function(){if(this.events&&this.events[a4]){av.event.trigger(a5,a2,this.handle.elem);
}});}}if(!a1||a1.nodeType===3||a1.nodeType===8){return aj;}a5.result=aj;a5.target=a1;a2=av.makeArray(a2);a2.unshift(a5);}a5.currentTarget=a1;var a3=av.data(a1,"handle");if(a3){a3.apply(a1,a2);}var ba=a1.parentNode||a1.ownerDocument;try{if(!(a1&&a1.nodeName&&av.noData[a1.nodeName.toLowerCase()])){if(a1["on"+a4]&&a1["on"+a4].apply(a1,a2)===false){a5.result=false;}}}catch(aZ){}if(!a5.isPropagationStopped()&&ba){av.event.trigger(a5,a2,ba,true);}else{if(!a5.isDefaultPrevented()){var a8=a5.target,a0,a6=av.nodeName(a8,"a")&&a4==="click",a7=av.event.special[a4]||{};
if((!a7._default||a7._default.call(a1,a5)===false)&&!a6&&!(a8&&a8.nodeName&&av.noData[a8.nodeName.toLowerCase()])){try{if(a8[a4]){a0=a8["on"+a4];if(a0){a8["on"+a4]=null;}av.event.triggered=true;a8[a4]();}}catch(aZ){}if(a0){a8["on"+a4]=a0;}av.event.triggered=false;}}}},handle:function(a7){var a1,a4,aZ,a8,a5;a7=arguments[0]=av.event.fix(a7||I.event);a7.currentTarget=this;a1=a7.type.indexOf(".")<0&&!a7.exclusive;if(!a1){aZ=a7.type.split(".");a7.type=aZ.shift();a8=new RegExp("(^|\\.)"+aZ.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");
}var a5=av.data(this,"events"),a4=a5[a7.type];if(a5&&a4){a4=a4.slice(0);for(var a2=0,a3=a4.length;a2<a3;a2++){var a0=a4[a2];if(a1||a8.test(a0.namespace)){a7.handler=a0.handler;a7.data=a0.data;a7.handleObj=a0;var a6=a0.handler.apply(this,arguments);if(a6!==aj){a7.result=a6;if(a6===false){a7.preventDefault();a7.stopPropagation();}}if(a7.isImmediatePropagationStopped()){break;}}}}return a7.result;},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a3){if(a3[s]){return a3;
}var a0=a3;a3=av.Event(a0);for(var aZ=this.props.length,a2;aZ;){a2=this.props[--aZ];a3[a2]=a0[a2];}if(!a3.target){a3.target=a3.srcElement||aY;}if(a3.target.nodeType===3){a3.target=a3.target.parentNode;}if(!a3.relatedTarget&&a3.fromElement){a3.relatedTarget=a3.fromElement===a3.target?a3.toElement:a3.fromElement;}if(a3.pageX==null&&a3.clientX!=null){var a4=aY.documentElement,a1=aY.body;a3.pageX=a3.clientX+(a4&&a4.scrollLeft||a1&&a1.scrollLeft||0)-(a4&&a4.clientLeft||a1&&a1.clientLeft||0);a3.pageY=a3.clientY+(a4&&a4.scrollTop||a1&&a1.scrollTop||0)-(a4&&a4.clientTop||a1&&a1.clientTop||0);
}if(!a3.which&&((a3.charCode||a3.charCode===0)?a3.charCode:a3.keyCode)){a3.which=a3.charCode||a3.keyCode;}if(!a3.metaKey&&a3.ctrlKey){a3.metaKey=a3.ctrlKey;}if(!a3.which&&a3.button!==aj){a3.which=(a3.button&1?1:(a3.button&2?3:(a3.button&4?2:0)));}return a3;},guid:100000000,proxy:av.proxy,special:{ready:{setup:av.bindReady,teardown:av.noop},live:{add:function(aZ){av.event.add(this,aZ.origType,av.extend({},aZ,{handler:t}));},remove:function(a0){var aZ=true,a1=a0.origType.replace(aE,"");av.each(av.data(this,"events").live||[],function(){if(a1===this.origType.replace(aE,"")){aZ=false;
return false;}});if(aZ){av.event.remove(this,a0.origType,t);}}},beforeunload:{setup:function(a1,aZ,a0){if(this.setInterval){this.onbeforeunload=a0;}return false;},teardown:function(a0,aZ){if(this.onbeforeunload===aZ){this.onbeforeunload=null;}}}}};var A=aY.removeEventListener?function(a1,aZ,a0){a1.removeEventListener(aZ,a0,false);}:function(a1,aZ,a0){a1.detachEvent("on"+aZ,a0);};av.Event=function(aZ){if(!this.preventDefault){return new av.Event(aZ);}if(aZ&&aZ.type){this.originalEvent=aZ;this.type=aZ.type;
}else{this.type=aZ;}this.timeStamp=F();this[s]=true;};function aU(){return false;}function O(){return true;}av.Event.prototype={preventDefault:function(){this.isDefaultPrevented=O;var aZ=this.originalEvent;if(!aZ){return;}if(aZ.preventDefault){aZ.preventDefault();}aZ.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=O;var aZ=this.originalEvent;if(!aZ){return;}if(aZ.stopPropagation){aZ.stopPropagation();}aZ.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=O;
this.stopPropagation();},isDefaultPrevented:aU,isPropagationStopped:aU,isImmediatePropagationStopped:aU};var an=function(a0){var a1=a0.relatedTarget;try{while(a1&&a1!==this){a1=a1.parentNode;}if(a1!==this){a0.type=a0.data;av.event.handle.apply(this,arguments);}}catch(aZ){}},aV=function(aZ){aZ.type=aZ.data;av.event.handle.apply(this,arguments);};av.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(aZ,a0){av.event.special[aZ]={setup:function(a1){av.event.add(this,a0,a1&&a1.selector?aV:an,aZ);
},teardown:function(a1){av.event.remove(this,a0,a1&&a1.selector?aV:an);}};});if(!av.support.submitBubbles){av.event.special.submit={setup:function(a0,aZ){if(this.nodeName.toLowerCase()!=="form"){av.event.add(this,"click.specialSubmit",function(a2){var a3=a2.target,a1=a3.type;if((a1==="submit"||a1==="image")&&av(a3).closest("form").length){return ap("submit",this,arguments);}});av.event.add(this,"keypress.specialSubmit",function(a2){var a3=a2.target,a1=a3.type;if((a1==="text"||a1==="password")&&av(a3).closest("form").length&&a2.keyCode===13){return ap("submit",this,arguments);
}});}else{return false;}},teardown:function(aZ){av.event.remove(this,".specialSubmit");}};}if(!av.support.changeBubbles){var ae=/textarea|input|select/i,H,S=function(a0){var aZ=a0.type,a1=a0.value;if(aZ==="radio"||aZ==="checkbox"){a1=a0.checked;}else{if(aZ==="select-multiple"){a1=a0.selectedIndex>-1?av.map(a0.options,function(a2){return a2.selected;}).join("-"):"";}else{if(a0.nodeName.toLowerCase()==="select"){a1=a0.selectedIndex;}}}return a1;},aI=function aI(aZ){var a0=aZ.target,a2,a1;if(!ae.test(a0.nodeName)||a0.readOnly){return;
}a2=av.data(a0,"_change_data");a1=S(a0);if(aZ.type!=="focusout"||a0.type!=="radio"){av.data(a0,"_change_data",a1);}if(a2===aj||a1===a2){return;}if(a2!=null||a1){aZ.type="change";return av.event.trigger(aZ,arguments[1],a0);}};av.event.special.change={filters:{focusout:aI,click:function(a0){var a1=a0.target,aZ=a1.type;if(aZ==="radio"||aZ==="checkbox"||a1.nodeName.toLowerCase()==="select"){return aI.call(this,a0);}},keydown:function(a0){var a1=a0.target,aZ=a1.type;if((a0.keyCode===13&&a1.nodeName.toLowerCase()!=="textarea")||(a0.keyCode===32&&(aZ==="checkbox"||aZ==="radio"))||aZ==="select-multiple"){return aI.call(this,a0);
}},beforeactivate:function(aZ){var a0=aZ.target;av.data(a0,"_change_data",S(a0));}},setup:function(a1,a0){if(this.type==="file"){return false;}for(var aZ in H){av.event.add(this,aZ+".specialChange",H[aZ]);}return ae.test(this.nodeName);},teardown:function(aZ){av.event.remove(this,".specialChange");return ae.test(this.nodeName);}};H=av.event.special.change.filters;}function ap(aZ,a0,a1){a1[0].type=aZ;return av.event.handle.apply(a0,a1);}if(aY.addEventListener){av.each({focus:"focusin",blur:"focusout"},function(aZ,a1){av.event.special[a1]={setup:function(){this.addEventListener(aZ,a0,true);
},teardown:function(){this.removeEventListener(aZ,a0,true);}};function a0(a2){a2=av.event.fix(a2);a2.type=a1;return av.event.handle.call(this,a2);}});}av.each(["bind","one"],function(aZ,a0){av.fn[a0]=function(a1,a7,a4){if(typeof a1==="object"){for(var a2 in a1){this[a0](a2,a7,a1[a2],a4);}return this;}if(av.isFunction(a7)){a4=a7;a7=aj;}var a6=a0==="one"?av.proxy(a4,function(a8){av(this).unbind(a8,a6);return a4.apply(this,arguments);}):a4;if(a1==="unload"&&a0!=="one"){this.one(a1,a7,a4);}else{for(var a3=0,a5=this.length;
a3<a5;a3++){av.event.add(this[a3],a1,a6,a7);}}return this;};});av.fn.extend({unbind:function(aZ,a2){if(typeof aZ==="object"&&!aZ.preventDefault){for(var a0 in aZ){this.unbind(a0,aZ[a0]);}}else{for(var a1=0,a3=this.length;a1<a3;a1++){av.event.remove(this[a1],aZ,a2);}}return this;},delegate:function(a0,aZ,a2,a1){return this.live(aZ,a2,a1,a0);},undelegate:function(a0,aZ,a1){if(arguments.length===0){return this.unbind("live");}else{return this.die(aZ,null,a1,a0);}},trigger:function(aZ,a0){return this.each(function(){av.event.trigger(aZ,a0,this);
});},triggerHandler:function(aZ,a1){if(this[0]){var a0=av.Event(aZ);a0.preventDefault();a0.stopPropagation();av.event.trigger(a0,a1,this[0]);return a0.result;}},toggle:function(a0){var a1=arguments,aZ=1;while(aZ<a1.length){av.proxy(a0,a1[aZ++]);}return this.click(av.proxy(a0,function(a3){var a2=(av.data(this,"lastToggle"+a0.guid)||0)%aZ;av.data(this,"lastToggle"+a0.guid,a2+1);a3.preventDefault();return a1[a2].apply(this,arguments)||false;}));},hover:function(a0,aZ){return this.mouseenter(a0).mouseleave(aZ||a0);
}});var u={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};av.each(["live","die"],function(aZ,a0){av.fn[a0]=function(a5,a2,a7,a3){var a9,a6=0,ba,a1,bb,a8=a3||this.selector,a4=a3?this:av(this.context);if(av.isFunction(a2)){a7=a2;a2=aj;}a5=(a5||"").split(" ");while((a9=a5[a6++])!=null){ba=aE.exec(a9);a1="";if(ba){a1=ba[0];a9=a9.replace(aE,"");}if(a9==="hover"){a5.push("mouseenter"+a1,"mouseleave"+a1);continue;}bb=a9;if(a9==="focus"||a9==="blur"){a5.push(u[a9]+a1);a9=a9+a1;
}else{a9=(u[a9]||a9)+a1;}if(a0==="live"){a4.each(function(){av.event.add(this,R(a9,a8),{data:a2,selector:a8,handler:a7,origType:a9,origHandler:a7,preType:bb});});}else{a4.unbind(R(a9,a8),a7);}}return this;};});function t(a5){var a6,bc=[],a3=[],a1=arguments,a9,a4,bd,a2,a7,a8,ba,aZ,bb=av.data(this,"events");if(a5.liveFired===this||!bb||!bb.live||a5.button&&a5.type==="click"){return;}a5.liveFired=this;var a0=bb.live.slice(0);for(a7=0;a7<a0.length;a7++){bd=a0[a7];if(bd.origType.replace(aE,"")===a5.type){a3.push(bd.selector);
}else{a0.splice(a7--,1);}}a4=av(a5.target).closest(a3,a5.currentTarget);for(a8=0,ba=a4.length;a8<ba;a8++){for(a7=0;a7<a0.length;a7++){bd=a0[a7];if(a4[a8].selector===bd.selector){a2=a4[a8].elem;a9=null;if(bd.preType==="mouseenter"||bd.preType==="mouseleave"){a9=av(a5.relatedTarget).closest(bd.selector)[0];}if(!a9||a9!==a2){bc.push({elem:a2,handleObj:bd});}}}}for(a8=0,ba=bc.length;a8<ba;a8++){a4=bc[a8];a5.currentTarget=a4.elem;a5.data=a4.handleObj.data;a5.handleObj=a4.handleObj;if(a4.handleObj.origHandler.apply(a4.elem,a1)===false){a6=false;
break;}}return a6;}function R(aZ,a0){return"live."+(aZ&&aZ!=="*"?aZ+".":"")+a0.replace(/\./g,"`").replace(/ /g,"&");}av.each(("blur focus focusin focusout load resize scroll unload click dblclick "+"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave "+"change select submit keydown keypress keyup error").split(" "),function(aZ,a0){av.fn[a0]=function(a1){return a1?this.bind(a0,a1):this.trigger(a0);};if(av.attrFn){av.attrFn[a0]=true;}});if(I.attachEvent&&!I.addEventListener){I.attachEvent("onunload",function(){for(var a0 in av.cache){if(av.cache[a0].handle){try{av.event.remove(av.cache[a0].handle.elem);
}catch(aZ){}}}});
/*
 * Sizzle CSS Selector Engine - v1.0
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
}(function(){var ba=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,a2=0,a5=Object.prototype.toString,a8=false,a1=true;[0,0].sort(function(){a1=false;return 0;});var a4=function(bm,br,bw,bh){bw=bw||[];var bj=br=br||aY;if(br.nodeType!==1&&br.nodeType!==9){return[];
}if(!bm||typeof bm!=="string"){return bw;}var bv=[],bn,bk,bq,bl,bp=true,bx=bf(br),bi=bm;while((ba.exec(""),bn=ba.exec(bi))!==null){bi=bn[3];bv.push(bn[1]);if(bn[2]){bl=bn[3];break;}}if(bv.length>1&&a9.exec(bm)){if(bv.length===2&&bb.relative[bv[0]]){bk=bc(bv[0]+bv[1],br);}else{bk=bb.relative[bv[0]]?[br]:a4(bv.shift(),br);while(bv.length){bm=bv.shift();if(bb.relative[bm]){bm+=bv.shift();}bk=bc(bm,bk);}}}else{if(!bh&&bv.length>1&&br.nodeType===9&&!bx&&bb.match.ID.test(bv[0])&&!bb.match.ID.test(bv[bv.length-1])){var bu=a4.find(bv.shift(),br,bx);
br=bu.expr?a4.filter(bu.expr,bu.set)[0]:bu.set[0];}if(br){var bu=bh?{expr:bv.pop(),set:a3(bh)}:a4.find(bv.pop(),bv.length===1&&(bv[0]==="~"||bv[0]==="+")&&br.parentNode?br.parentNode:br,bx);bk=bu.expr?a4.filter(bu.expr,bu.set):bu.set;if(bv.length>0){bq=a3(bk);}else{bp=false;}while(bv.length){var bo=bv.pop(),bs=bo;if(!bb.relative[bo]){bo="";}else{bs=bv.pop();}if(bs==null){bs=br;}bb.relative[bo](bq,bs,bx);}}else{bq=bv=[];}}if(!bq){bq=bk;}if(!bq){a4.error(bo||bm);}if(a5.call(bq)==="[object Array]"){if(!bp){bw.push.apply(bw,bq);
}else{if(br&&br.nodeType===1){for(var bt=0;bq[bt]!=null;bt++){if(bq[bt]&&(bq[bt]===true||bq[bt].nodeType===1&&bd(br,bq[bt]))){bw.push(bk[bt]);}}}else{for(var bt=0;bq[bt]!=null;bt++){if(bq[bt]&&bq[bt].nodeType===1){bw.push(bk[bt]);}}}}}else{a3(bq,bw);}if(bl){a4(bl,bj,bw,bh);a4.uniqueSort(bw);}return bw;};a4.uniqueSort=function(bi){if(a6){a8=a1;bi.sort(a6);if(a8){for(var bh=1;bh<bi.length;bh++){if(bi[bh]===bi[bh-1]){bi.splice(bh--,1);}}}}return bi;};a4.matches=function(bh,bi){return a4(bh,null,null,bi);
};a4.find=function(bo,bj,bp){var bm,bh;if(!bo){return[];}for(var bl=0,bn=bb.order.length;bl<bn;bl++){var bi=bb.order[bl],bh;if((bh=bb.leftMatch[bi].exec(bo))){var bk=bh[1];bh.splice(1,1);if(bk.substr(bk.length-1)!=="\\"){bh[1]=(bh[1]||"").replace(/\\/g,"");bm=bb.find[bi](bh,bj,bp);if(bm!=null){bo=bo.replace(bb.match[bi],"");break;}}}}if(!bm){bm=bj.getElementsByTagName("*");}return{set:bm,expr:bo};};a4.filter=function(bs,bl,bk,bo){var br=bs,bj=[],bw=bl,bi,bv,bx=bl&&bl[0]&&bf(bl[0]);while(bs&&bl.length){for(var bu in bb.filter){if((bi=bb.leftMatch[bu].exec(bs))!=null&&bi[2]){var bn=bb.filter[bu],bq,bh,bp=bi[1];
bv=false;bi.splice(1,1);if(bp.substr(bp.length-1)==="\\"){continue;}if(bw===bj){bj=[];}if(bb.preFilter[bu]){bi=bb.preFilter[bu](bi,bw,bk,bj,bo,bx);if(!bi){bv=bq=true;}else{if(bi===true){continue;}}}if(bi){for(var bt=0;(bh=bw[bt])!=null;bt++){if(bh){bq=bn(bh,bi,bt,bw);var bm=bo^!!bq;if(bk&&bq!=null){if(bm){bv=true;}else{bw[bt]=false;}}else{if(bm){bj.push(bh);bv=true;}}}}}if(bq!==aj){if(!bk){bw=bj;}bs=bs.replace(bb.match[bu],"");if(!bv){return[];}break;}}}if(bs===br){if(bv==null){a4.error(bs);}else{break;
}}br=bs;}return bw;};a4.error=function(bh){throw"Syntax error, unrecognized expression: "+bh;};var bb=a4.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(bh){return bh.getAttribute("href");
}},relative:{"+":function(bj,bm){var bo=typeof bm==="string",bn=bo&&!/\W/.test(bm),bh=bo&&!bn;if(bn){bm=bm.toLowerCase();}for(var bk=0,bl=bj.length,bi;bk<bl;bk++){if((bi=bj[bk])){while((bi=bi.previousSibling)&&bi.nodeType!==1){}bj[bk]=bh||bi&&bi.nodeName.toLowerCase()===bm?bi||false:bi===bm;}}if(bh){a4.filter(bm,bj,true);}},">":function(bl,bm){var bj=typeof bm==="string";if(bj&&!/\W/.test(bm)){bm=bm.toLowerCase();for(var bh=0,bk=bl.length;bh<bk;bh++){var bi=bl[bh];if(bi){var bn=bi.parentNode;bl[bh]=bn.nodeName.toLowerCase()===bm?bn:false;
}}}else{for(var bh=0,bk=bl.length;bh<bk;bh++){var bi=bl[bh];if(bi){bl[bh]=bj?bi.parentNode:bi.parentNode===bm;}}if(bj){a4.filter(bm,bl,true);}}},"":function(bi,bk,bm){var bj=a2++,bh=bg;if(typeof bk==="string"&&!/\W/.test(bk)){var bl=bk=bk.toLowerCase();bh=aZ;}bh("parentNode",bk,bj,bi,bl,bm);},"~":function(bi,bk,bm){var bj=a2++,bh=bg;if(typeof bk==="string"&&!/\W/.test(bk)){var bl=bk=bk.toLowerCase();bh=aZ;}bh("previousSibling",bk,bj,bi,bl,bm);}},find:{ID:function(bi,bh,bj){if(typeof bh.getElementById!=="undefined"&&!bj){var bk=bh.getElementById(bi[1]);
return bk?[bk]:[];}},NAME:function(bj,bh){if(typeof bh.getElementsByName!=="undefined"){var bl=[],bm=bh.getElementsByName(bj[1]);for(var bi=0,bk=bm.length;bi<bk;bi++){if(bm[bi].getAttribute("name")===bj[1]){bl.push(bm[bi]);}}return bl.length===0?null:bl;}},TAG:function(bi,bh){return bh.getElementsByTagName(bi[1]);}},preFilter:{CLASS:function(bk,bj,bl,bh,bo,bn){bk=" "+bk[1].replace(/\\/g,"")+" ";if(bn){return bk;}for(var bm=0,bi;(bi=bj[bm])!=null;bm++){if(bi){if(bo^(bi.className&&(" "+bi.className+" ").replace(/[\t\n]/g," ").indexOf(bk)>=0)){if(!bl){bh.push(bi);
}}else{if(bl){bj[bm]=false;}}}}return false;},ID:function(bh){return bh[1].replace(/\\/g,"");},TAG:function(bh,bi){return bh[1].toLowerCase();},CHILD:function(bi){if(bi[1]==="nth"){var bh=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(bi[2]==="even"&&"2n"||bi[2]==="odd"&&"2n+1"||!/\D/.test(bi[2])&&"0n+"+bi[2]||bi[2]);bi[2]=(bh[1]+(bh[2]||1))-0;bi[3]=bh[3]-0;}bi[0]=a2++;return bi;},ATTR:function(bh,bi,bn,bl,bk,bj){var bm=bh[1].replace(/\\/g,"");if(!bj&&bb.attrMap[bm]){bh[1]=bb.attrMap[bm];}if(bh[2]==="~="){bh[4]=" "+bh[4]+" ";
}return bh;},PSEUDO:function(bi,bj,bm,bl,bk){if(bi[1]==="not"){if((ba.exec(bi[3])||"").length>1||/^\w/.test(bi[3])){bi[3]=a4(bi[3],null,null,bj);}else{var bh=a4.filter(bi[3],bj,bm,true^bk);if(!bm){bl.push.apply(bl,bh);}return false;}}else{if(bb.match.POS.test(bi[0])||bb.match.CHILD.test(bi[0])){return true;}}return bi;},POS:function(bh){bh.unshift(true);return bh;}},filters:{enabled:function(bh){return bh.disabled===false&&bh.type!=="hidden";},disabled:function(bh){return bh.disabled===true;},checked:function(bh){return bh.checked===true;
},selected:function(bh){bh.parentNode.selectedIndex;return bh.selected===true;},parent:function(bh){return !!bh.firstChild;},empty:function(bh){return !bh.firstChild;},has:function(bj,bh,bi){return !!a4(bi[3],bj).length;},header:function(bh){return/h\d/i.test(bh.nodeName);},text:function(bh){return"text"===bh.type;},radio:function(bh){return"radio"===bh.type;},checkbox:function(bh){return"checkbox"===bh.type;},file:function(bh){return"file"===bh.type;},password:function(bh){return"password"===bh.type;
},submit:function(bh){return"submit"===bh.type;},image:function(bh){return"image"===bh.type;},reset:function(bh){return"reset"===bh.type;},button:function(bh){return"button"===bh.type||bh.nodeName.toLowerCase()==="button";},input:function(bh){return/input|select|textarea|button/i.test(bh.nodeName);}},setFilters:{first:function(bi,bh){return bh===0;},last:function(bj,bh,bi,bk){return bh===bk.length-1;},even:function(bi,bh){return bh%2===0;},odd:function(bi,bh){return bh%2===1;},lt:function(bj,bh,bi){return bh<bi[3]-0;
},gt:function(bj,bh,bi){return bh>bi[3]-0;},nth:function(bj,bh,bi){return bi[3]-0===bh;},eq:function(bj,bh,bi){return bi[3]-0===bh;}},filter:{PSEUDO:function(bn,bj,bl,bh){var bi=bj[1],bk=bb.filters[bi];if(bk){return bk(bn,bl,bj,bh);}else{if(bi==="contains"){return(bn.textContent||bn.innerText||a0([bn])||"").indexOf(bj[3])>=0;}else{if(bi==="not"){var bo=bj[3];for(var bl=0,bm=bo.length;bl<bm;bl++){if(bo[bl]===bn){return false;}}return true;}else{a4.error("Syntax error, unrecognized expression: "+bi);
}}}},CHILD:function(bh,bj){var bp=bj[1],bn=bh;switch(bp){case"only":case"first":while((bn=bn.previousSibling)){if(bn.nodeType===1){return false;}}if(bp==="first"){return true;}bn=bh;case"last":while((bn=bn.nextSibling)){if(bn.nodeType===1){return false;}}return true;case"nth":var bi=bj[2],bm=bj[3];if(bi===1&&bm===0){return true;}var bk=bj[0],bq=bh.parentNode;if(bq&&(bq.sizcache!==bk||!bh.nodeIndex)){var bo=0;for(bn=bq.firstChild;bn;bn=bn.nextSibling){if(bn.nodeType===1){bn.nodeIndex=++bo;}}bq.sizcache=bk;
}var bl=bh.nodeIndex-bm;if(bi===0){return bl===0;}else{return(bl%bi===0&&bl/bi>=0);}}},ID:function(bi,bh){return bi.nodeType===1&&bi.getAttribute("id")===bh;},TAG:function(bi,bh){return(bh==="*"&&bi.nodeType===1)||bi.nodeName.toLowerCase()===bh;},CLASS:function(bi,bh){return(" "+(bi.className||bi.getAttribute("class"))+" ").indexOf(bh)>-1;},ATTR:function(bk,bi){var bl=bi[1],bm=bb.attrHandle[bl]?bb.attrHandle[bl](bk):bk[bl]!=null?bk[bl]:bk.getAttribute(bl),bh=bm+"",bn=bi[2],bj=bi[4];return bm==null?bn==="!=":bn==="="?bh===bj:bn==="*="?bh.indexOf(bj)>=0:bn==="~="?(" "+bh+" ").indexOf(bj)>=0:!bj?bh&&bm!==false:bn==="!="?bh!==bj:bn==="^="?bh.indexOf(bj)===0:bn==="$="?bh.substr(bh.length-bj.length)===bj:bn==="|="?bh===bj||bh.substr(0,bj.length+1)===bj+"-":false;
},POS:function(bj,bi,bh,bm){var bk=bi[2],bl=bb.setFilters[bk];if(bl){return bl(bj,bh,bi,bm);}}}};var a9=bb.match.POS;for(var be in bb.match){bb.match[be]=new RegExp(bb.match[be].source+/(?![^\[]*\])(?![^\(]*\))/.source);bb.leftMatch[be]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bb.match[be].source.replace(/\\(\d+)/g,function(bh,bi){return"\\"+(bi-0+1);}));}var a3=function(bh,bi){bh=Array.prototype.slice.call(bh,0);if(bi){bi.push.apply(bi,bh);return bi;}return bh;};try{Array.prototype.slice.call(aY.documentElement.childNodes,0)[0].nodeType;
}catch(a7){a3=function(bh,bl){var bk=bl||[];if(a5.call(bh)==="[object Array]"){Array.prototype.push.apply(bk,bh);}else{if(typeof bh.length==="number"){for(var bi=0,bj=bh.length;bi<bj;bi++){bk.push(bh[bi]);}}else{for(var bi=0;bh[bi];bi++){bk.push(bh[bi]);}}}return bk;};}var a6;if(aY.documentElement.compareDocumentPosition){a6=function(bj,bi){if(!bj.compareDocumentPosition||!bi.compareDocumentPosition){if(bj==bi){a8=true;}return bj.compareDocumentPosition?-1:1;}var bh=bj.compareDocumentPosition(bi)&4?-1:bj===bi?0:1;
if(bh===0){a8=true;}return bh;};}else{if("sourceIndex" in aY.documentElement){a6=function(bj,bi){if(!bj.sourceIndex||!bi.sourceIndex){if(bj==bi){a8=true;}return bj.sourceIndex?-1:1;}var bh=bj.sourceIndex-bi.sourceIndex;if(bh===0){a8=true;}return bh;};}else{if(aY.createRange){a6=function(bl,bj){if(!bl.ownerDocument||!bj.ownerDocument){if(bl==bj){a8=true;}return bl.ownerDocument?-1:1;}var bi=bl.ownerDocument.createRange(),bk=bj.ownerDocument.createRange();bi.setStart(bl,0);bi.setEnd(bl,0);bk.setStart(bj,0);
bk.setEnd(bj,0);var bh=bi.compareBoundaryPoints(Range.START_TO_END,bk);if(bh===0){a8=true;}return bh;};}}}function a0(bi){var bk="",bj;for(var bh=0;bi[bh];bh++){bj=bi[bh];if(bj.nodeType===3||bj.nodeType===4){bk+=bj.nodeValue;}else{if(bj.nodeType!==8){bk+=a0(bj.childNodes);}}}return bk;}(function(){var bi=aY.createElement("div"),bj="script"+(new Date).getTime();bi.innerHTML="<a name='"+bj+"'/>";var bh=aY.documentElement;bh.insertBefore(bi,bh.firstChild);if(aY.getElementById(bj)){bb.find.ID=function(bl,bk,bm){if(typeof bk.getElementById!=="undefined"&&!bm){var bn=bk.getElementById(bl[1]);
return bn?bn.id===bl[1]||typeof bn.getAttributeNode!=="undefined"&&bn.getAttributeNode("id").nodeValue===bl[1]?[bn]:aj:[];}};bb.filter.ID=function(bm,bk){var bl=typeof bm.getAttributeNode!=="undefined"&&bm.getAttributeNode("id");return bm.nodeType===1&&bl&&bl.nodeValue===bk;};}bh.removeChild(bi);bh=bi=null;})();(function(){var bh=aY.createElement("div");bh.appendChild(aY.createComment(""));if(bh.getElementsByTagName("*").length>0){bb.find.TAG=function(bl,bj){var bm=bj.getElementsByTagName(bl[1]);
if(bl[1]==="*"){var bi=[];for(var bk=0;bm[bk];bk++){if(bm[bk].nodeType===1){bi.push(bm[bk]);}}bm=bi;}return bm;};}bh.innerHTML="<a href='#'></a>";if(bh.firstChild&&typeof bh.firstChild.getAttribute!=="undefined"&&bh.firstChild.getAttribute("href")!=="#"){bb.attrHandle.href=function(bi){return bi.getAttribute("href",2);};}bh=null;})();if(aY.querySelectorAll){(function(){var bi=a4,bj=aY.createElement("div");bj.innerHTML="<p class='TEST'></p>";if(bj.querySelectorAll&&bj.querySelectorAll(".TEST").length===0){return;
}a4=function(bn,bk,bo,bl){bk=bk||aY;if(!bl&&bk.nodeType===9&&!bf(bk)){try{return a3(bk.querySelectorAll(bn),bo);}catch(bm){}}return bi(bn,bk,bo,bl);};for(var bh in bi){a4[bh]=bi[bh];}bj=null;})();}(function(){var bh=aY.createElement("div");bh.innerHTML="<div class='test e'></div><div class='test'></div>";if(!bh.getElementsByClassName||bh.getElementsByClassName("e").length===0){return;}bh.lastChild.className="e";if(bh.getElementsByClassName("e").length===1){return;}bb.order.splice(1,0,"CLASS");bb.find.CLASS=function(bj,bi,bk){if(typeof bi.getElementsByClassName!=="undefined"&&!bk){return bi.getElementsByClassName(bj[1]);
}};bh=null;})();function aZ(bi,bh,bk,bq,bp,bm){for(var bl=0,bn=bq.length;bl<bn;bl++){var bo=bq[bl];if(bo){bo=bo[bi];var bj=false;while(bo){if(bo.sizcache===bk){bj=bq[bo.sizset];break;}if(bo.nodeType===1&&!bm){bo.sizcache=bk;bo.sizset=bl;}if(bo.nodeName.toLowerCase()===bh){bj=bo;break;}bo=bo[bi];}bq[bl]=bj;}}}function bg(bi,bh,bk,bq,bp,bm){for(var bl=0,bn=bq.length;bl<bn;bl++){var bo=bq[bl];if(bo){bo=bo[bi];var bj=false;while(bo){if(bo.sizcache===bk){bj=bq[bo.sizset];break;}if(bo.nodeType===1){if(!bm){bo.sizcache=bk;
bo.sizset=bl;}if(typeof bh!=="string"){if(bo===bh){bj=true;break;}}else{if(a4.filter(bh,[bo]).length>0){bj=bo;break;}}}bo=bo[bi];}bq[bl]=bj;}}}var bd=aY.compareDocumentPosition?function(bi,bh){return !!(bi.compareDocumentPosition(bh)&16);}:function(bi,bh){return bi!==bh&&(bi.contains?bi.contains(bh):true);};var bf=function(bh){var bi=(bh?bh.ownerDocument||bh:0).documentElement;return bi?bi.nodeName!=="HTML":false;};var bc=function(bo,bh){var bl=[],bn="",bi,bj=bh.nodeType?[bh]:bh;while((bi=bb.match.PSEUDO.exec(bo))){bn+=bi[0];
bo=bo.replace(bb.match.PSEUDO,"");}bo=bb.relative[bo]?bo+"*":bo;for(var bk=0,bm=bj.length;bk<bm;bk++){a4(bo,bj[bk],bl);}return a4.filter(bn,bl);};av.find=a4;av.expr=a4.selectors;av.expr[":"]=av.expr.filters;av.unique=a4.uniqueSort;av.text=a0;av.isXMLDoc=bf;av.contains=bd;return;I.Sizzle=a4;})();var d=/Until$/,b=/^(?:parents|prevUntil|prevAll)/,a=/,/,ai=Array.prototype.slice;var aM=function(aZ,a1,a0){if(av.isFunction(a1)){return av.grep(aZ,function(a4,a3){return !!a1.call(a4,a3,a4)===a0;});}else{if(a1.nodeType){return av.grep(aZ,function(a4,a3){return(a4===a1)===a0;
});}else{if(typeof a1==="string"){var a2=av.grep(aZ,function(a3){return a3.nodeType===1;});if(W.test(a1)){return av.filter(a1,a2,!a0);}else{a1=av.filter(a1,a2);}}}}return av.grep(aZ,function(a4,a3){return(av.inArray(a4,a1)>=0)===a0;});};av.fn.extend({find:function(a5){var a4=this.pushStack("","find",a5),aZ=0;for(var a0=0,a2=this.length;a0<a2;a0++){aZ=a4.length;av.find(a5,this[a0],a4);if(a0>0){for(var a1=aZ;a1<a4.length;a1++){for(var a3=0;a3<aZ;a3++){if(a4[a3]===a4[a1]){a4.splice(a1--,1);break;}}}}}return a4;
},has:function(a0){var aZ=av(a0);return this.filter(function(){for(var a1=0,a2=aZ.length;a1<a2;a1++){if(av.contains(this,aZ[a1])){return true;}}});},not:function(aZ){return this.pushStack(aM(this,aZ,false),"not",aZ);},filter:function(aZ){return this.pushStack(aM(this,aZ,true),"filter",aZ);},is:function(aZ){return !!aZ&&av.filter(aZ,this).length>0;},closest:function(a0,a2){if(av.isArray(a0)){var a8=[],aZ=this[0],a1,a4={},a6;if(aZ&&a0.length){for(var a3=0,a5=a0.length;a3<a5;a3++){a6=a0[a3];if(!a4[a6]){a4[a6]=av.expr.match.POS.test(a6)?av(a6,a2||this.context):a6;
}}while(aZ&&aZ.ownerDocument&&aZ!==a2){for(a6 in a4){a1=a4[a6];if(a1.jquery?a1.index(aZ)>-1:av(aZ).is(a1)){a8.push({selector:a6,elem:aZ});delete a4[a6];}}aZ=aZ.parentNode;}}return a8;}var a7=av.expr.match.POS.test(a0)?av(a0,a2||this.context):null;return this.map(function(ba,a9){while(a9&&a9.ownerDocument&&a9!==a2){if(a7?a7.index(a9)>-1:av(a9).is(a0)){return a9;}a9=a9.parentNode;}return null;});},index:function(aZ){if(!aZ||typeof aZ==="string"){return av.inArray(this[0],aZ?av(aZ):this.parent().children());
}return av.inArray(aZ.jquery?aZ[0]:aZ,this);},add:function(a1,a0){var a2=typeof a1==="string"?av(a1,a0||this.context):av.makeArray(a1),aZ=av.merge(this.get(),a2);return this.pushStack(i(a2[0])||i(aZ[0])?aZ:av.unique(aZ));},andSelf:function(){return this.add(this.prevObject);}});function i(aZ){return !aZ||!aZ.parentNode||aZ.parentNode.nodeType===11;}av.each({parent:function(aZ){var a0=aZ.parentNode;return a0&&a0.nodeType!==11?a0:null;},parents:function(aZ){return av.dir(aZ,"parentNode");},parentsUntil:function(a0,aZ,a1){return av.dir(a0,"parentNode",a1);
},next:function(aZ){return av.nth(aZ,2,"nextSibling");},prev:function(aZ){return av.nth(aZ,2,"previousSibling");},nextAll:function(aZ){return av.dir(aZ,"nextSibling");},prevAll:function(aZ){return av.dir(aZ,"previousSibling");},nextUntil:function(a0,aZ,a1){return av.dir(a0,"nextSibling",a1);},prevUntil:function(a0,aZ,a1){return av.dir(a0,"previousSibling",a1);},siblings:function(aZ){return av.sibling(aZ.parentNode.firstChild,aZ);},children:function(aZ){return av.sibling(aZ.firstChild);},contents:function(aZ){return av.nodeName(aZ,"iframe")?aZ.contentDocument||aZ.contentWindow.document:av.makeArray(aZ.childNodes);
}},function(a0,aZ){av.fn[a0]=function(a3,a2){var a1=av.map(this,aZ,a3);if(!d.test(a0)){a2=a3;}if(a2&&typeof a2==="string"){a1=av.filter(a2,a1);}a1=this.length>1?av.unique(a1):a1;if((this.length>1||a.test(a2))&&b.test(a0)){a1=a1.reverse();}return this.pushStack(a1,a0,ai.call(arguments).join(","));};});av.extend({filter:function(aZ,a0,a1){if(a1){aZ=":not("+aZ+")";}return av.find.matches(aZ,a0);},dir:function(a1,aZ,a2){var a0=[],a3=a1[aZ];while(a3&&a3.nodeType!==9&&(a2===aj||a3.nodeType!==1||!av(a3).is(a2))){if(a3.nodeType===1){a0.push(a3);
}a3=a3[aZ];}return a0;},nth:function(aZ,a0,a3,a1){a0=a0||1;var a2=0;for(;aZ;aZ=aZ[a3]){if(aZ.nodeType===1&&++a2===a0){break;}}return aZ;},sibling:function(a0,a1){var aZ=[];for(;a0;a0=a0.nextSibling){if(a0.nodeType===1&&a0!==a1){aZ.push(a0);}}return aZ;}});var aK=/ jQuery\d+="(?:\d+|null)"/g,ac=/^\s+/,aw=/(<([\w:]+)[^>]*?)\/>/g,ag=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,aF=/<([\w:]+)/,aG=/<tbody/i,ab=/<|&#?\w+;/,ak=/<script|<object|<embed|<option|<style/i,X=/checked\s*(?:[^=]|=\s*.checked.)/i,o=function(aZ,a1,a0){return ag.test(a0)?aZ:a1+"></"+a0+">";
},e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};e.optgroup=e.option;e.tbody=e.tfoot=e.colgroup=e.caption=e.thead;e.th=e.td;if(!av.support.htmlSerialize){e._default=[1,"div<div>","</div>"];}av.fn.extend({text:function(aZ){if(av.isFunction(aZ)){return this.each(function(a0){var a1=av(this);
a1.text(aZ.call(this,a0,a1.text()));});}if(typeof aZ!=="object"&&aZ!==aj){return this.empty().append((this[0]&&this[0].ownerDocument||aY).createTextNode(aZ));}return av.text(this);},wrapAll:function(aZ){if(av.isFunction(aZ)){return this.each(function(a1){av(this).wrapAll(aZ.call(this,a1));});}if(this[0]){var a0=av(aZ,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){a0.insertBefore(this[0]);}a0.map(function(){var a1=this;while(a1.firstChild&&a1.firstChild.nodeType===1){a1=a1.firstChild;
}return a1;}).append(this);}return this;},wrapInner:function(aZ){if(av.isFunction(aZ)){return this.each(function(a0){av(this).wrapInner(aZ.call(this,a0));});}return this.each(function(){var a0=av(this),a1=a0.contents();if(a1.length){a1.wrapAll(aZ);}else{a0.append(aZ);}});},wrap:function(aZ){return this.each(function(){av(this).wrapAll(aZ);});},unwrap:function(){return this.parent().each(function(){if(!av.nodeName(this,"body")){av(this).replaceWith(this.childNodes);}}).end();},append:function(){return this.domManip(arguments,true,function(aZ){if(this.nodeType===1){this.appendChild(aZ);
}});},prepend:function(){return this.domManip(arguments,true,function(aZ){if(this.nodeType===1){this.insertBefore(aZ,this.firstChild);}});},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a0){this.parentNode.insertBefore(a0,this);});}else{if(arguments.length){var aZ=av(arguments[0]);aZ.push.apply(aZ,this.toArray());return this.pushStack(aZ,"before",arguments);}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(a0){this.parentNode.insertBefore(a0,this.nextSibling);
});}else{if(arguments.length){var aZ=this.pushStack(this,"after",arguments);aZ.push.apply(aZ,av(arguments[0]).toArray());return aZ;}}},remove:function(a2,a0){for(var aZ=0,a1;(a1=this[aZ])!=null;aZ++){if(!a2||av.filter(a2,[a1]).length){if(!a0&&a1.nodeType===1){av.cleanData(a1.getElementsByTagName("*"));av.cleanData([a1]);}if(a1.parentNode){a1.parentNode.removeChild(a1);}}}return this;},empty:function(){for(var aZ=0,a0;(a0=this[aZ])!=null;aZ++){if(a0.nodeType===1){av.cleanData(a0.getElementsByTagName("*"));
}while(a0.firstChild){a0.removeChild(a0.firstChild);}}return this;},clone:function(a0){var aZ=this.map(function(){if(!av.support.noCloneEvent&&!av.isXMLDoc(this)){var a1=this.outerHTML,a2=this.ownerDocument;if(!a1){var a3=a2.createElement("div");a3.appendChild(this.cloneNode(true));a1=a3.innerHTML;}return av.clean([a1.replace(aK,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ac,"")],a2)[0];}else{return this.cloneNode(true);}});if(a0===true){aD(this,aZ);aD(this.find("*"),aZ.find("*"));}return aZ;
},html:function(a2){if(a2===aj){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(aK,""):null;}else{if(typeof a2==="string"&&!ak.test(a2)&&(av.support.leadingWhitespace||!ac.test(a2))&&!e[(aF.exec(a2)||["",""])[1].toLowerCase()]){a2=a2.replace(aw,o);try{for(var aZ=0,a1=this.length;aZ<a1;aZ++){if(this[aZ].nodeType===1){av.cleanData(this[aZ].getElementsByTagName("*"));this[aZ].innerHTML=a2;}}}catch(a0){this.empty().append(a2);}}else{if(av.isFunction(a2)){this.each(function(a3){var a4=av(this),a5=a4.html();
a4.empty().append(function(){return a2.call(this,a3,a5);});});}else{this.empty().append(a2);}}}return this;},replaceWith:function(aZ){if(this[0]&&this[0].parentNode){if(av.isFunction(aZ)){return this.each(function(a0){var a1=av(this),a2=a1.html();a1.replaceWith(aZ.call(this,a0,a2));});}if(typeof aZ!=="string"){aZ=av(aZ).detach();}return this.each(function(){var a0=this.nextSibling,a1=this.parentNode;av(this).remove();if(a0){av(a0).before(aZ);}else{av(a1).append(aZ);}});}else{return this.pushStack(av(av.isFunction(aZ)?aZ():aZ),"replaceWith",aZ);
}},detach:function(aZ){return this.remove(aZ,true);},domManip:function(aZ,ba,a0){var a6,a1,a4=aZ[0],a2=[],a9,a8;if(!av.support.checkClone&&arguments.length===3&&typeof a4==="string"&&X.test(a4)){return this.each(function(){av(this).domManip(aZ,ba,a0,true);});}if(av.isFunction(a4)){return this.each(function(bb){var bc=av(this);aZ[0]=a4.call(this,bb,ba?bc.html():aj);bc.domManip(aZ,ba,a0);});}if(this[0]){a8=a4&&a4.parentNode;if(av.support.parentNode&&a8&&a8.nodeType===11&&a8.childNodes.length===this.length){a6={fragment:a8};
}else{a6=aC(aZ,this,a2);}a9=a6.fragment;if(a9.childNodes.length===1){a1=a9=a9.firstChild;}else{a1=a9.firstChild;}if(a1){ba=ba&&av.nodeName(a1,"tr");for(var a5=0,a7=this.length;a5<a7;a5++){a0.call(ba?a3(this[a5],a1):this[a5],a5>0||a6.cacheable||this.length>1?a9.cloneNode(true):a9);}}if(a2.length){av.each(a2,aP);}}return this;function a3(bc,bb){return av.nodeName(bc,"table")?(bc.getElementsByTagName("tbody")[0]||bc.appendChild(bc.ownerDocument.createElement("tbody"))):bc;}}});function aD(aZ,a1){var a0=0;
a1.each(function(){if(this.nodeName!==(aZ[a0]&&aZ[a0].nodeName)){return;}var a3=av.data(aZ[a0++]),a6=av.data(this,a3),a5=a3&&a3.events;if(a5){delete a6.handle;a6.events={};for(var a2 in a5){for(var a4 in a5[a2]){av.event.add(this,a2,a5[a2][a4],a5[a2][a4].data);}}}});}function aC(a5,a2,a0){var a3,aZ,a4,a1=(a2&&a2[0]?a2[0].ownerDocument||a2[0]:aY);if(a5.length===1&&typeof a5[0]==="string"&&a5[0].length<512&&a1===aY&&!ak.test(a5[0])&&(av.support.checkClone||!X.test(a5[0]))){aZ=true;a4=av.fragments[a5[0]];
if(a4){if(a4!==1){a3=a4;}}}if(!a3){a3=a1.createDocumentFragment();av.clean(a5,a1,a3,a0);}if(aZ){av.fragments[a5[0]]=a4?a3:1;}return{fragment:a3,cacheable:aZ};}av.fragments={};av.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a0,aZ){av.fn[a0]=function(a6){var a5=[],a3=av(a6),a7=this.length===1&&this[0].parentNode;if(a7&&a7.nodeType===11&&a7.childNodes.length===1&&a3.length===1){a3[aZ](this[0]);return this;}else{for(var a2=0,a4=a3.length;
a2<a4;a2++){var a1=(a2>0?this.clone(true):this).get();av.fn[aZ].apply(av(a3[a2]),a1);a5=a5.concat(a1);}return this.pushStack(a5,a0,a3.selector);}};});av.extend({clean:function(a9,a4,bb,a2){a4=a4||aY;if(typeof a4.createElement==="undefined"){a4=a4.ownerDocument||a4[0]&&a4[0].ownerDocument||aY;}var ba=[];for(var a5=0,aZ;(aZ=a9[a5])!=null;a5++){if(typeof aZ==="number"){aZ+="";}if(!aZ){continue;}if(typeof aZ==="string"&&!ab.test(aZ)){aZ=a4.createTextNode(aZ);}else{if(typeof aZ==="string"){aZ=aZ.replace(aw,o);
var a1=(aF.exec(aZ)||["",""])[1].toLowerCase(),a0=e[a1]||e._default,a7=a0[0],bc=a4.createElement("div");bc.innerHTML=a0[1]+aZ+a0[2];while(a7--){bc=bc.lastChild;}if(!av.support.tbody){var a6=aG.test(aZ),a8=a1==="table"&&!a6?bc.firstChild&&bc.firstChild.childNodes:a0[1]==="<table>"&&!a6?bc.childNodes:[];for(var a3=a8.length-1;a3>=0;--a3){if(av.nodeName(a8[a3],"tbody")&&!a8[a3].childNodes.length){a8[a3].parentNode.removeChild(a8[a3]);}}}if(!av.support.leadingWhitespace&&ac.test(aZ)){bc.insertBefore(a4.createTextNode(ac.exec(aZ)[0]),bc.firstChild);
}aZ=bc.childNodes;}}if(aZ.nodeType){ba.push(aZ);}else{ba=av.merge(ba,aZ);}}if(bb){for(var a5=0;ba[a5];a5++){if(a2&&av.nodeName(ba[a5],"script")&&(!ba[a5].type||ba[a5].type.toLowerCase()==="text/javascript")){a2.push(ba[a5].parentNode?ba[a5].parentNode.removeChild(ba[a5]):ba[a5]);}else{if(ba[a5].nodeType===1){ba.splice.apply(ba,[a5+1,0].concat(av.makeArray(ba[a5].getElementsByTagName("script"))));}bb.appendChild(ba[a5]);}}}return ba;},cleanData:function(a6){var a0,a4,a7=av.cache,a3=av.event.special,a1=av.support.deleteExpando;
for(var a2=0,aZ;(aZ=a6[a2])!=null;a2++){a4=aZ[av.expando];if(a4){a0=a7[a4];if(a0.events){for(var a5 in a0.events){if(a3[a5]){av.event.remove(aZ,a5);}else{A(aZ,a5,a0.handle);}}}if(a1){delete aZ[av.expando];}else{if(aZ.removeAttribute){aZ.removeAttribute(av.expando);}}delete a7[a4];}}}});var G=/z-?index|font-?weight|opacity|zoom|line-?height/i,h=/alpha\([^)]*\)/,am=/opacity=([^)]*)/,U=/float/i,ah=/-([a-z])/ig,p=/([A-Z])/g,aO=/^-?\d+(?:px)?$/i,x=/^-?\d/,aN={position:"absolute",visibility:"hidden",display:"block"},C=["Left","Right"],Y=["Top","Bottom"],j=aY.defaultView&&aY.defaultView.getComputedStyle,Q=av.support.cssFloat?"cssFloat":"styleFloat",aA=function(aZ,a0){return a0.toUpperCase();
};av.fn.css=function(aZ,a0){return f(this,aZ,a0,true,function(a1,a2,a3){if(a3===aj){return av.curCSS(a1,a2);}if(typeof a3==="number"&&!G.test(a2)){a3+="px";}av.style(a1,a2,a3);});};av.extend({style:function(a1,a2,a3){if(!a1||a1.nodeType===3||a1.nodeType===8){return aj;}if((a2==="width"||a2==="height")&&parseFloat(a3)<0){a3=aj;}var a4=a1.style||a1,a5=a3!==aj;if(!av.support.opacity&&a2==="opacity"){if(a5){a4.zoom=1;var aZ=parseInt(a3,10)+""==="NaN"?"":"alpha(opacity="+a3*100+")";var a0=a4.filter||av.curCSS(a1,"filter")||"";
a4.filter=h.test(a0)?a0.replace(h,aZ):aZ;}return a4.filter&&a4.filter.indexOf("opacity=")>=0?(parseFloat(am.exec(a4.filter)[1])/100)+"":"";}if(U.test(a2)){a2=Q;}a2=a2.replace(ah,aA);if(a5){a4[a2]=a3;}return a4[a2];},css:function(a4,aZ,a5,a0){if(aZ==="width"||aZ==="height"){var a2,a1=aN,a3=aZ==="width"?C:Y;function a6(){a2=aZ==="width"?a4.offsetWidth:a4.offsetHeight;if(a0==="border"){return;}av.each(a3,function(){if(!a0){a2-=parseFloat(av.curCSS(a4,"padding"+this,true))||0;}if(a0==="margin"){a2+=parseFloat(av.curCSS(a4,"margin"+this,true))||0;
}else{a2-=parseFloat(av.curCSS(a4,"border"+this+"Width",true))||0;}});}if(a4.offsetWidth!==0){a6();}else{av.swap(a4,a1,a6);}return Math.max(0,Math.round(a2));}return av.curCSS(a4,aZ,a5);},curCSS:function(a5,a1,a6){var a9,a4=a5.style,a2;if(!av.support.opacity&&a1==="opacity"&&a5.currentStyle){a9=am.test(a5.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return a9===""?"1":a9;}if(U.test(a1)){a1=Q;}if(!a6&&a4&&a4[a1]){a9=a4[a1];}else{if(j){if(U.test(a1)){a1="float";}a1=a1.replace(p,"-$1").toLowerCase();
var a7=a5.ownerDocument.defaultView;if(!a7){return null;}var a8=a7.getComputedStyle(a5,null);if(a8){a9=a8.getPropertyValue(a1);}if(a1==="opacity"&&a9===""){a9="1";}}else{if(a5.currentStyle){var a0=a1.replace(ah,aA);a9=a5.currentStyle[a1]||a5.currentStyle[a0];if(!aO.test(a9)&&x.test(a9)){var a3=a4.left,aZ=a5.runtimeStyle.left;a5.runtimeStyle.left=a5.currentStyle.left;a4.left=a0==="fontSize"?"1em":(a9||0);a9=a4.pixelLeft+"px";a4.left=a3;a5.runtimeStyle.left=aZ;}}}}return a9;},swap:function(a2,a1,aZ){var a0={};
for(var a3 in a1){a0[a3]=a2.style[a3];a2.style[a3]=a1[a3];}aZ.call(a2);for(var a3 in a1){a2.style[a3]=a0[a3];}}});if(av.expr&&av.expr.filters){av.expr.filters.hidden=function(a1){var a2=a1.offsetWidth,a0=a1.offsetHeight,aZ=a1.nodeName.toLowerCase()==="tr";return a2===0&&a0===0&&!aZ?true:a2>0&&a0>0&&!aZ?false:av.curCSS(a1,"display")==="none";};av.expr.filters.visible=function(aZ){return !av.expr.filters.hidden(aZ);};}var k=F(),aS=/<script(.|\s)*?\/script>/gi,aR=/select|textarea/i,K=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,P=/=\?(&|$)/,aL=/\?/,D=/(\?|&)_=.*?(&|$)/,B=/^(\w+:)?\/\/([^\/?#]+)/,w=/%20/g,J=av.fn.load;
av.fn.extend({load:function(a0,a5,aZ){if(typeof a0!=="string"){return J.call(this,a0);}else{if(!this.length){return this;}}var a1=a0.indexOf(" ");if(a1>=0){var a3=a0.slice(a1,a0.length);a0=a0.slice(0,a1);}var a4="GET";if(a5){if(av.isFunction(a5)){aZ=a5;a5=null;}else{if(typeof a5==="object"){a5=av.param(a5,av.ajaxSettings.traditional);a4="POST";}}}var a2=this;av.ajax({url:a0,type:a4,dataType:"html",data:a5,complete:function(a6,a7){if(a7==="success"||a7==="notmodified"){a2.html(a3?av("<div />").append(a6.responseText.replace(aS,"")).find(a3):a6.responseText);
}if(aZ){a2.each(aZ,[a6.responseText,a7,a6]);}}});return this;},serialize:function(){return av.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?av.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||aR.test(this.nodeName)||K.test(this.type));}).map(function(aZ,a0){var a1=av(this).val();return a1==null?null:av.isArray(a1)?av.map(a1,function(a3,a2){return{name:a0.name,value:a3};}):{name:a0.name,value:a1};
}).get();}});av.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(aZ,a0){av.fn[a0]=function(a1){return this.bind(a0,a1);};});av.extend({get:function(a0,a2,aZ,a1){if(av.isFunction(a2)){a1=a1||aZ;aZ=a2;a2=null;}return av.ajax({type:"GET",url:a0,data:a2,success:aZ,dataType:a1});},getScript:function(a0,aZ){return av.get(a0,null,aZ,"script");},getJSON:function(a0,a1,aZ){return av.get(a0,a1,aZ,"json");},post:function(a0,a2,aZ,a1){if(av.isFunction(a2)){a1=a1||aZ;aZ=a2;
a2={};}return av.ajax({type:"POST",url:a0,data:a2,success:aZ,dataType:a1});},ajaxSetup:function(aZ){av.extend(av.ajaxSettings,aZ);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:I.XMLHttpRequest&&(I.location.protocol!=="file:"||!I.ActiveXObject)?function(){return new I.XMLHttpRequest();}:function(){try{return new I.ActiveXObject("Microsoft.XMLHTTP");}catch(aZ){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a6){var aZ=av.extend(true,{},av.ajaxSettings,a6);
var bf,bc,be,a3=a6&&a6.context||aZ,bh=aZ.type.toUpperCase();if(aZ.data&&aZ.processData&&typeof aZ.data!=="string"){aZ.data=av.param(aZ.data,aZ.traditional);}if(aZ.dataType==="jsonp"){if(bh==="GET"){if(!P.test(aZ.url)){aZ.url+=(aL.test(aZ.url)?"&":"?")+(aZ.jsonp||"callback")+"=?";}}else{if(!aZ.data||!P.test(aZ.data)){aZ.data=(aZ.data?aZ.data+"&":"")+(aZ.jsonp||"callback")+"=?";}}aZ.dataType="json";}if(aZ.dataType==="json"&&(aZ.data&&P.test(aZ.data)||P.test(aZ.url))){bf=aZ.jsonpCallback||("jsonp"+k++);
if(aZ.data){aZ.data=(aZ.data+"").replace(P,"="+bf+"$1");}aZ.url=aZ.url.replace(P,"="+bf+"$1");aZ.dataType="script";I[bf]=I[bf]||function(bl){be=bl;bb();bk();I[bf]=aj;try{delete I[bf];}catch(bm){}if(a7){a7.removeChild(a4);}};}if(aZ.dataType==="script"&&aZ.cache===null){aZ.cache=false;}if(aZ.cache===false&&bh==="GET"){var a0=F();var bi=aZ.url.replace(D,"$1_="+a0+"$2");aZ.url=bi+((bi===aZ.url)?(aL.test(aZ.url)?"&":"?")+"_="+a0:"");}if(aZ.data&&bh==="GET"){aZ.url+=(aL.test(aZ.url)?"&":"?")+aZ.data;}if(aZ.global&&!av.active++){av.event.trigger("ajaxStart");
}var bj=B.exec(aZ.url),bd=bj&&(bj[1]&&bj[1]!==location.protocol||bj[2]!==location.host);if(aZ.dataType==="script"&&bh==="GET"&&bd){var a7=aY.getElementsByTagName("head")[0]||aY.documentElement;var a4=aY.createElement("script");a4.src=aZ.url;if(aZ.scriptCharset){a4.charset=aZ.scriptCharset;}if(!bf){var a5=false;a4.onload=a4.onreadystatechange=function(){if(!a5&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){a5=true;bb();bk();a4.onload=a4.onreadystatechange=null;if(a7&&a4.parentNode){a7.removeChild(a4);
}}};}a7.insertBefore(a4,a7.firstChild);return aj;}var ba=false;var a8=aZ.xhr();if(!a8){return;}if(aZ.username){a8.open(bh,aZ.url,aZ.async,aZ.username,aZ.password);}else{a8.open(bh,aZ.url,aZ.async);}try{if(aZ.data||a6&&a6.contentType){a8.setRequestHeader("Content-Type",aZ.contentType);}if(aZ.ifModified){if(av.lastModified[aZ.url]){a8.setRequestHeader("If-Modified-Since",av.lastModified[aZ.url]);}if(av.etag[aZ.url]){a8.setRequestHeader("If-None-Match",av.etag[aZ.url]);}}if(!bd){a8.setRequestHeader("X-Requested-With","XMLHttpRequest");
}a8.setRequestHeader("Accept",aZ.dataType&&aZ.accepts[aZ.dataType]?aZ.accepts[aZ.dataType]+", */*":aZ.accepts._default);}catch(a1){}if(aZ.beforeSend&&aZ.beforeSend.call(a3,a8,aZ)===false){if(aZ.global&&!--av.active){av.event.trigger("ajaxStop");}a8.abort();return false;}if(aZ.global){bg("ajaxSend",[a8,aZ]);}var a2=a8.onreadystatechange=function(bl){if(!a8||a8.readyState===0||bl==="abort"){if(!ba){bk();}ba=true;if(a8){a8.onreadystatechange=av.noop;}}else{if(!ba&&a8&&(a8.readyState===4||bl==="timeout")){ba=true;
a8.onreadystatechange=av.noop;bc=bl==="timeout"?"timeout":!av.httpSuccess(a8)?"error":aZ.ifModified&&av.httpNotModified(a8,aZ.url)?"notmodified":"success";var bm;if(bc==="success"){try{be=av.httpData(a8,aZ.dataType,aZ);}catch(bn){bc="parsererror";bm=bn;}}if(bc==="success"||bc==="notmodified"){if(!bf){bb();}}else{av.handleError(aZ,a8,bc,bm);}bk();if(bl==="timeout"){a8.abort();}if(aZ.async){a8=null;}}}};try{var a9=a8.abort;a8.abort=function(){if(a8){a9.call(a8);}a2("abort");};}catch(a1){}if(aZ.async&&aZ.timeout>0){setTimeout(function(){if(a8&&!ba){a2("timeout");
}},aZ.timeout);}try{a8.send(bh==="POST"||bh==="PUT"||bh==="DELETE"?aZ.data:null);}catch(a1){av.handleError(aZ,a8,null,a1);bk();}if(!aZ.async){a2();}function bb(){if(aZ.success){aZ.success.call(a3,be,bc,a8);}if(aZ.global){bg("ajaxSuccess",[a8,aZ]);}}function bk(){if(aZ.complete){aZ.complete.call(a3,a8,bc);}if(aZ.global){bg("ajaxComplete",[a8,aZ]);}if(aZ.global&&!--av.active){av.event.trigger("ajaxStop");}}function bg(bl,bm){(aZ.context?av(aZ.context):av.event).trigger(bl,bm);}return a8;},handleError:function(aZ,a2,a1,a0){if(aZ.error){aZ.error.call(aZ.context||aZ,a2,a1,a0);
}if(aZ.global){(aZ.context?av(aZ.context):av.event).trigger("ajaxError",[a2,aZ,a0]);}},active:0,httpSuccess:function(a0){try{return !a0.status&&location.protocol==="file:"||(a0.status>=200&&a0.status<300)||a0.status===304||a0.status===1223||a0.status===0;}catch(aZ){}return false;},httpNotModified:function(a2,a0){var a1=a2.getResponseHeader("Last-Modified"),aZ=a2.getResponseHeader("Etag");if(a1){av.lastModified[a0]=a1;}if(aZ){av.etag[a0]=aZ;}return a2.status===304||a2.status===0;},httpData:function(a2,aZ,a0){var a3=a2.getResponseHeader("content-type")||"",a1=aZ==="xml"||!aZ&&a3.indexOf("xml")>=0,a4=a1?a2.responseXML:a2.responseText;
if(a1&&a4.documentElement.nodeName==="parsererror"){av.error("parsererror");}if(a0&&a0.dataFilter){a4=a0.dataFilter(a4,aZ);}if(typeof a4==="string"){if(aZ==="json"||!aZ&&a3.indexOf("json")>=0){a4=av.parseJSON(a4);}else{if(aZ==="script"||!aZ&&a3.indexOf("javascript")>=0){av.globalEval(a4);}}}return a4;},param:function(a4,a2){var a0=[];if(a2===aj){a2=av.ajaxSettings.traditional;}if(av.isArray(a4)||a4.jquery){av.each(a4,function(){a3(this.name,this.value);});}else{for(var a1 in a4){aZ(a1,a4[a1]);}}return a0.join("&").replace(w,"+");
function aZ(a6,a5){if(av.isArray(a5)){av.each(a5,function(a7,a8){if(a2||/\[\]$/.test(a6)){a3(a6,a8);}else{aZ(a6+"["+(typeof a8==="object"||av.isArray(a8)?a7:"")+"]",a8);}});}else{if(!a2&&a5!=null&&typeof a5==="object"){av.each(a5,function(a8,a7){aZ(a6+"["+a8+"]",a7);});}else{a3(a6,a5);}}}function a3(a5,a6){a6=av.isFunction(a6)?a6():a6;a0[a0.length]=encodeURIComponent(a5)+"="+encodeURIComponent(a6);}}});var ar={},aH=/toggle|show|hide/,M=/^([+-]=)?([\d+-.]+)(.*)$/,l,aq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
av.fn.extend({show:function(a2,a0){if(a2||a2===0){return this.animate(z("show",3),a2,a0);}else{for(var a5=0,a6=this.length;a5<a6;a5++){var aZ=av.data(this[a5],"olddisplay");this[a5].style.display=aZ||"";if(av.css(this[a5],"display")==="none"){var a1=this[a5].nodeName,a8;if(ar[a1]){a8=ar[a1];}else{var a7=av("<"+a1+" />").appendTo("body");a8=a7.css("display");if(a8==="none"){a8="block";}a7.remove();ar[a1]=a8;}av.data(this[a5],"olddisplay",a8);}}for(var a3=0,a4=this.length;a3<a4;a3++){this[a3].style.display=av.data(this[a3],"olddisplay")||"";
}return this;}},hide:function(a0,aZ){if(a0||a0===0){return this.animate(z("hide",3),a0,aZ);}else{for(var a1=0,a3=this.length;a1<a3;a1++){var a2=av.data(this[a1],"olddisplay");if(!a2&&a2!=="none"){av.data(this[a1],"olddisplay",av.css(this[a1],"display"));}}for(var a4=0,a5=this.length;a4<a5;a4++){this[a4].style.display="none";}return this;}},_toggle:av.fn.toggle,toggle:function(aZ,a0){var a1=typeof aZ==="boolean";if(av.isFunction(aZ)&&av.isFunction(a0)){this._toggle.apply(this,arguments);}else{if(aZ==null||a1){this.each(function(){var a2=a1?aZ:av(this).is(":hidden");
av(this)[a2?"show":"hide"]();});}else{this.animate(z("toggle",3),aZ,a0);}}return this;},fadeTo:function(a0,a1,aZ){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:a1},a0,aZ);},animate:function(a2,a0,a1,aZ){var a3=av.speed(a0,a1,aZ);if(av.isEmptyObject(a2)){return this.each(a3.complete);}return this[a3.queue===false?"each":"queue"](function(){var a4=av.extend({},a3),a5,a8=this.nodeType===1&&av(this).is(":hidden"),a7=this;for(a5 in a2){var a6=a5.replace(ah,aA);if(a5!==a6){a2[a6]=a2[a5];
delete a2[a5];a5=a6;}if(a2[a5]==="hide"&&a8||a2[a5]==="show"&&!a8){return a4.complete.call(this);}if((a5==="height"||a5==="width")&&this.style){a4.display=av.css(this,"display");a4.overflow=this.style.overflow;}if(av.isArray(a2[a5])){(a4.specialEasing=a4.specialEasing||{})[a5]=a2[a5][1];a2[a5]=a2[a5][0];}}if(a4.overflow!=null){this.style.overflow="hidden";}a4.curAnim=av.extend({},a2);av.each(a2,function(bc,be){var ba=new av.fx(a7,a4,bc);if(aH.test(be)){ba[be==="toggle"?a8?"show":"hide":be](a2);}else{var a9=M.exec(be),bf=ba.cur(true)||0;
if(a9){var bd=parseFloat(a9[2]),bb=a9[3]||"px";if(bb!=="px"){a7.style[bc]=(bd||1)+bb;bf=((bd||1)/ba.cur(true))*bf;a7.style[bc]=bf+bb;}if(a9[1]){bd=((a9[1]==="-="?-1:1)*bd)+bf;}ba.custom(bf,bd,bb);}else{ba.custom(bf,be,"");}}});return true;});},stop:function(a1,a0){var aZ=av.timers;if(a1){this.queue([]);}this.each(function(){for(var a2=aZ.length-1;a2>=0;a2--){if(aZ[a2].elem===this){if(a0){aZ[a2](true);}aZ.splice(a2,1);}}});if(!a0){this.dequeue();}return this;}});av.each({slideDown:z("show",1),slideUp:z("hide",1),slideToggle:z("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(aZ,a0){av.fn[aZ]=function(a2,a1){return this.animate(a0,a2,a1);
};});av.extend({speed:function(aZ,a1,a2){var a0=aZ&&typeof aZ==="object"?aZ:{complete:a2||!a2&&a1||av.isFunction(aZ)&&aZ,duration:aZ,easing:a2&&a1||a1&&!av.isFunction(a1)&&a1};a0.duration=av.fx.off?0:typeof a0.duration==="number"?a0.duration:av.fx.speeds[a0.duration]||av.fx.speeds._default;a0.old=a0.complete;a0.complete=function(){if(a0.queue!==false){av(this).dequeue();}if(av.isFunction(a0.old)){a0.old.call(this);}};return a0;},easing:{linear:function(a0,aZ,a1,a2){return a1+a2*a0;},swing:function(a0,aZ,a1,a2){return((-Math.cos(a0*Math.PI)/2)+0.5)*a2+a1;
}},timers:[],fx:function(a0,aZ,a1){this.options=aZ;this.elem=a0;this.prop=a1;if(!aZ.orig){aZ.orig={};}}});av.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);}(av.fx.step[this.prop]||av.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block";}},cur:function(a0){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];}var aZ=parseFloat(av.css(this.elem,this.prop,a0));
return aZ&&aZ>-10000?aZ:parseFloat(av.curCSS(this.elem,this.prop))||0;},custom:function(aZ,a1,a2){this.startTime=F();this.start=aZ;this.end=a1;this.unit=a2||this.unit||"px";this.now=this.start;this.pos=this.state=0;var a0=this;function a3(a4){return a0.step(a4);}a3.elem=this.elem;if(a3()&&av.timers.push(a3)&&!l){l=setInterval(av.fx.tick,13);}},show:function(){this.options.orig[this.prop]=av.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());
av(this.elem).show();},hide:function(){this.options.orig[this.prop]=av.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(a4){var a2=F(),aZ=true;if(a4||a2>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var a5 in this.options.curAnim){if(this.options.curAnim[a5]!==true){aZ=false;}}if(aZ){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;var a0=av.data(this.elem,"olddisplay");
this.elem.style.display=a0?a0:this.options.display;if(av.css(this.elem,"display")==="none"){this.elem.style.display="block";}}if(this.options.hide){av(this.elem).hide();}if(this.options.hide||this.options.show){for(var a1 in this.options.curAnim){av.style(this.elem,a1,this.options.orig[a1]);}}this.options.complete.call(this.elem);}return false;}else{var a6=a2-this.startTime;this.state=a6/this.options.duration;var a7=this.options.specialEasing&&this.options.specialEasing[this.prop];var a3=this.options.easing||(av.easing.swing?"swing":"linear");
this.pos=av.easing[a7||a3](this.state,a6,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};av.extend(av.fx,{tick:function(){var a0=av.timers;for(var aZ=0;aZ<a0.length;aZ++){if(!a0[aZ]()){a0.splice(aZ--,1);}}if(!a0.length){av.fx.stop();}},stop:function(){clearInterval(l);l=null;},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(aZ){av.style(aZ.elem,"opacity",aZ.now);},_default:function(aZ){if(aZ.elem.style&&aZ.elem.style[aZ.prop]!=null){aZ.elem.style[aZ.prop]=(aZ.prop==="width"||aZ.prop==="height"?Math.max(0,aZ.now):aZ.now)+aZ.unit;
}else{aZ.elem[aZ.prop]=aZ.now;}}}});if(av.expr&&av.expr.filters){av.expr.filters.animated=function(aZ){return av.grep(av.timers,function(a0){return aZ===a0.elem;}).length;};}function z(aZ,a1){var a0={};av.each(aq.concat.apply([],aq.slice(0,a1)),function(){a0[this]=aZ;});return a0;}if("getBoundingClientRect" in aY.documentElement){av.fn.offset=function(a5){var a0=this[0];if(a5){return this.each(function(a9){av.offset.setOffset(this,a5,a9);});}if(!a0||!a0.ownerDocument){return null;}if(a0===a0.ownerDocument.body){return av.offset.bodyOffset(a0);
}var a4=a0.getBoundingClientRect(),a6=a0.ownerDocument,a7=a6.body,aZ=a6.documentElement,a3=aZ.clientTop||a7.clientTop||0,a8=aZ.clientLeft||a7.clientLeft||0,a1=a4.top+(self.pageYOffset||av.support.boxModel&&aZ.scrollTop||a7.scrollTop)-a3,a2=a4.left+(self.pageXOffset||av.support.boxModel&&aZ.scrollLeft||a7.scrollLeft)-a8;return{top:a1,left:a2};};}else{av.fn.offset=function(a7){var a0=this[0];if(a7){return this.each(function(bb){av.offset.setOffset(this,a7,bb);});}if(!a0||!a0.ownerDocument){return null;
}if(a0===a0.ownerDocument.body){return av.offset.bodyOffset(a0);}av.offset.initialize();var a5=a0.offsetParent,a1=a0,a8=a0.ownerDocument,a6,aZ=a8.documentElement,ba=a8.body,a9=a8.defaultView,a2=a9?a9.getComputedStyle(a0,null):a0.currentStyle,a4=a0.offsetTop,a3=a0.offsetLeft;while((a0=a0.parentNode)&&a0!==ba&&a0!==aZ){if(av.offset.supportsFixedPosition&&a2.position==="fixed"){break;}a6=a9?a9.getComputedStyle(a0,null):a0.currentStyle;a4-=a0.scrollTop;a3-=a0.scrollLeft;if(a0===a5){a4+=a0.offsetTop;a3+=a0.offsetLeft;
if(av.offset.doesNotAddBorder&&!(av.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a0.nodeName))){a4+=parseFloat(a6.borderTopWidth)||0;a3+=parseFloat(a6.borderLeftWidth)||0;}a1=a5,a5=a0.offsetParent;}if(av.offset.subtractsBorderForOverflowNotVisible&&a6.overflow!=="visible"){a4+=parseFloat(a6.borderTopWidth)||0;a3+=parseFloat(a6.borderLeftWidth)||0;}a2=a6;}if(a2.position==="relative"||a2.position==="static"){a4+=ba.offsetTop;a3+=ba.offsetLeft;}if(av.offset.supportsFixedPosition&&a2.position==="fixed"){a4+=Math.max(aZ.scrollTop,ba.scrollTop);
a3+=Math.max(aZ.scrollLeft,ba.scrollLeft);}return{top:a4,left:a3};};}av.offset={initialize:function(){var a5=aY.body,a3=aY.createElement("div"),a1,a0,a6,a2,aZ=parseFloat(av.curCSS(a5,"marginTop",true))||0,a4="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
av.extend(a3.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});a3.innerHTML=a4;a5.insertBefore(a3,a5.firstChild);a1=a3.firstChild;a0=a1.firstChild;a2=a1.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(a0.offsetTop!==5);this.doesAddBorderForTableAndCells=(a2.offsetTop===5);a0.style.position="fixed",a0.style.top="20px";this.supportsFixedPosition=(a0.offsetTop===20||a0.offsetTop===15);a0.style.position=a0.style.top="";a1.style.overflow="hidden",a1.style.position="relative";
this.subtractsBorderForOverflowNotVisible=(a0.offsetTop===-5);this.doesNotIncludeMarginInBodyOffset=(a5.offsetTop!==aZ);a5.removeChild(a3);a5=a3=a1=a0=a6=a2=null;av.offset.initialize=av.noop;},bodyOffset:function(aZ){var a1=aZ.offsetTop,a0=aZ.offsetLeft;av.offset.initialize();if(av.offset.doesNotIncludeMarginInBodyOffset){a1+=parseFloat(av.curCSS(aZ,"marginTop",true))||0;a0+=parseFloat(av.curCSS(aZ,"marginLeft",true))||0;}return{top:a1,left:a0};},setOffset:function(a0,a4,a3){if(/static/.test(av.curCSS(a0,"position"))){a0.style.position="relative";
}var a6=av(a0),a5=a6.offset(),aZ=parseInt(av.curCSS(a0,"top",true),10)||0,a1=parseInt(av.curCSS(a0,"left",true),10)||0;if(av.isFunction(a4)){a4=a4.call(a0,a3,a5);}var a2={top:(a4.top-a5.top)+aZ,left:(a4.left-a5.left)+a1};if("using" in a4){a4.using.call(a0,a2);}else{a6.css(a2);}}};av.fn.extend({position:function(){if(!this[0]){return null;}var a1=this[0],a2=this.offsetParent(),aZ=this.offset(),a0=/^body|html$/i.test(a2[0].nodeName)?{top:0,left:0}:a2.offset();aZ.top-=parseFloat(av.curCSS(a1,"marginTop",true))||0;
aZ.left-=parseFloat(av.curCSS(a1,"marginLeft",true))||0;a0.top+=parseFloat(av.curCSS(a2[0],"borderTopWidth",true))||0;a0.left+=parseFloat(av.curCSS(a2[0],"borderLeftWidth",true))||0;return{top:aZ.top-a0.top,left:aZ.left-a0.left};},offsetParent:function(){return this.map(function(){var aZ=this.offsetParent||aY.body;while(aZ&&(!/^body|html$/i.test(aZ.nodeName)&&av.css(aZ,"position")==="static")){aZ=aZ.offsetParent;}return aZ;});}});av.each(["Left","Top"],function(aZ,a0){var a1="scroll"+a0;av.fn[a1]=function(a4){var a3=this[0],a2;
if(!a3){return null;}if(a4!==aj){return this.each(function(){a2=az(this);if(a2){a2.scrollTo(!aZ?a4:av(a2).scrollLeft(),aZ?a4:av(a2).scrollTop());}else{this[a1]=a4;}});}else{a2=az(a3);return a2?("pageXOffset" in a2)?a2[aZ?"pageYOffset":"pageXOffset"]:av.support.boxModel&&a2.document.documentElement[a1]||a2.document.body[a1]:a3[a1];}};});function az(aZ){return("scrollTo" in aZ&&aZ.document)?aZ:aZ.nodeType===9?aZ.defaultView||aZ.parentWindow:false;}av.each(["Height","Width"],function(a0,a1){var aZ=a1.toLowerCase();
av.fn["inner"+a1]=function(){return this[0]?av.css(this[0],aZ,false,"padding"):null;};av.fn["outer"+a1]=function(a2){return this[0]?av.css(this[0],aZ,false,a2?"margin":"border"):null;};av.fn[aZ]=function(a2){var a3=this[0];if(!a3){return a2==null?null:this;}if(av.isFunction(a2)){return this.each(function(a4){var a5=av(this);a5[aZ](a2.call(this,a4,a5[aZ]()));});}return("scrollTo" in a3&&a3.document)?a3.document.compatMode==="CSS1Compat"&&a3.document.documentElement["client"+a1]||a3.document.body["client"+a1]:(a3.nodeType===9)?Math.max(a3.documentElement["client"+a1],a3.body["scroll"+a1],a3.documentElement["scroll"+a1],a3.body["offset"+a1],a3.documentElement["offset"+a1]):a2===aj?av.css(a3,aZ):this.css(aZ,typeof a2==="string"?a2:a2+"px");
};});I.jQuery=I.$=av;})(window);(function(){var b;b=jQuery.fn.flash=function(h,e,f,d){var i=f||b.replace;e=b.copy(b.pluginOptions,e);if(!b.hasFlash(e.version)){if(e.expressInstall&&b.hasFlash(6,0,65)){var g={flashvars:{MMredirectURL:location,MMplayerType:"PlugIn",MMdoctitle:jQuery("title").text()}};}else{if(e.update){i=d||b.update;}else{return this;}}}h=b.copy(b.htmlOptions,g,h);return this.each(function(){i.call(this,b.copy(h));});};b.copy=function(){var f={},g={};for(var d=0;d<arguments.length;
d++){var e=arguments[d];if(e==undefined){continue;}jQuery.extend(f,e);if(e.flashvars==undefined){continue;}jQuery.extend(g,e.flashvars);}f.flashvars=g;return f;};b.hasFlash=function(){if(/hasFlash\=true/.test(location)){return true;}if(/hasFlash\=false/.test(location)){return false;}var f=b.hasFlash.playerVersion().match(/\d+/g);var e=String([arguments[0],arguments[1],arguments[2]]).match(/\d+/g)||String(b.pluginOptions.version).match(/\d+/g);for(var d=0;d<3;d++){f[d]=parseInt(f[d]||0);e[d]=parseInt(e[d]||0);
if(f[d]<e[d]){return false;}if(f[d]>e[d]){return true;}}return true;};b.hasFlash.playerVersion=function(){try{try{var d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");try{d.AllowScriptAccess="always";}catch(f){return"6,0,0";}}catch(f){}return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1];}catch(f){try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){return(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1];
}}catch(f){}}return"0,0,0";};b.htmlOptions={height:240,flashvars:{},pluginspage:"http://www.adobe.com/go/getflashplayer",src:"#",type:"application/x-shockwave-flash",width:320};b.pluginOptions={expressInstall:false,update:true,version:"6.0.65"};b.replace=function(d){this.innerHTML='<div class="alt">'+this.innerHTML+"</div>";jQuery(this).addClass("flash-replaced").prepend(b.transform(d));};b.update=function(e){var d=String(location).split("?");d.splice(1,0,"?hasFlash=true&");d=d.join("");var f='<p>This content requires the Flash Player. <a href="http://www.adobe.com/go/getflashplayer">Download Flash Player</a>. Already have Flash Player? <a href="'+d+'">Click here.</a></p>';
this.innerHTML='<span class="alt">'+this.innerHTML+"</span>";jQuery(this).addClass("flash-update").prepend(f);};function a(){var e="";for(var d in this){if(typeof this[d]!="function"){e+=d+'="'+this[d]+'" ';}}return e;}function c(){var e="";for(var d in this){if(typeof this[d]!="function"){e+=d+"="+encodeURIComponent(this[d])+"&";}}return e.replace(/&$/,"");}b.transform=function(d){d.toString=a;if(d.flashvars){d.flashvars.toString=c;}return"<embed "+String(d)+"/>";};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};});}})();
/* 
 *
 * JQuery URL Parser
 * Version 1.0
 * Parses URLs and provides easy access to information within them.
 *
 * Author: Mark Perkins
 * Author email: mark@allmarkedup.com
 *
 * For full documentation and more go to http://projects.allmarkedup.com/jquery_url_parser/
 *
 * CREDITS:
 *
 * Parser based on the Regex-based URI parser by Steven Levithan.
 * For more information (including a detailed explaination of the differences
 * between the 'loose' and 'strict' pasing modes) visit http://blog.stevenlevithan.com/archives/parseuri
 *
 * LICENCE:
 *
 * Released under a MIT Licence. See licence.txt that should have been supplied with this file,
 * or visit http://projects.allmarkedup.com/jquery_url_parser/licence.txt
 */
jQuery.url=function(){var h={};
var f={};var d={url:window.location,strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};
var e=function(){str=decodeURI(d.url);var l=d.parser[d.strictMode?"strict":"loose"].exec(str);var j={};var k=14;while(k--){j[d.key[k]]=l[k]||"";}j[d.q.name]={};j[d.key[12]].replace(d.q.parser,function(o,i,m){if(i){j[d.q.name][i]=m;}});return j;};var c=function(i){if(!f.length){b();}if(i=="base"){if(f.port!==null&&f.port!==""){return f.protocol+"://"+f.host+":"+f.port+"/";}else{return f.protocol+"://"+f.host+"/";}}return(f[i]==="")?null:f[i];};var a=function(i){if(!f.length){b();}return(f.queryKey[i]===null)?null:f.queryKey[i];
};var b=function(){f=e();g();};var g=function(){var i=f.path;h=[];h=f.path.length==1?{}:(i.charAt(i.length-1)=="/"?i.substring(1,i.length-1):path=i.substring(1)).split("/");};return{setMode:function(i){strictMode=i=="strict"?true:false;return this;},setUrl:function(i){d.url=i===undefined?window.location:i;b();return this;},segment:function(i){if(!f.length){b();}if(i===undefined){return h.length;}return(h[i]===""||h[i]===undefined)?null:h[i];},attr:c,param:a};}();
/*
 * jTwitter 1.1 - Twitter API abstraction plugin for jQuery
 * Copyright (c) 2009 jQuery Howto
 * Licensed under the GPL license:
 *   http://www.gnu.org/licenses/gpl.html
 * URL:
 *   http://jquery-howto.blogspot.com
 * Author URL:
 *   http://me.boo.uz
 */
(function(b){b.extend({jTwitter:function(j,g,h){if(g=="undefined"){h=g;
g=5;}var i="http://twitter.com/status/user_timeline/"+j+".json?count="+g+"&callback=?";var a={};b.getJSON(i,function(c){if(typeof h=="function"){h.call(this,c);}});}});})(jQuery);
/*
 * Date Format 1.2.3
 * (c) 2007-2009 Steven Levithan <stevenlevithan.com>
 * MIT license
 *
 * Includes enhancements by Scott Trenda <scott.trenda.net>
 * and Kris Kowal <cixar.com/~kris.kowal/>
 *
 * Accepts a date, a mask, or a date and a mask.
 * Returns a formatted version of the given date.
 * The date defaults to the current date/time.
 * The mask defaults to dateFormat.masks.default.
 */
var dateFormat=function(){var a=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,b=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,c=/[^-+\dA-Z]/g,d=function(f,e){f=String(f);
e=e||2;while(f.length<e){f="0"+f;}return f;};return function(i,w,q){var g=dateFormat;if(arguments.length==1&&Object.prototype.toString.call(i)=="[object String]"&&!/\d/.test(i)){w=i;i=undefined;}i=i?new Date(i):new Date;if(isNaN(i)){throw SyntaxError("invalid date");}w=String(g.masks[w]||w||g.masks["default"]);if(w.slice(0,4)=="UTC:"){w=w.slice(4);q=true;}var l=q?"getUTC":"get",f=i[l+"Date"](),p=i[l+"Day"](),r=i[l+"Month"](),u=i[l+"FullYear"](),e=i[l+"Hours"](),k=i[l+"Minutes"](),j=i[l+"Seconds"](),h=i[l+"Milliseconds"](),t=q?0:i.getTimezoneOffset(),v={d:f,dd:d(f),ddd:g.i18n.dayNames[p],dddd:g.i18n.dayNames[p+7],m:r+1,mm:d(r+1),mmm:g.i18n.monthNames[r],mmmm:g.i18n.monthNames[r+12],yy:String(u).slice(2),yyyy:u,h:e%12||12,hh:d(e%12||12),H:e,HH:d(e),M:k,MM:d(k),s:j,ss:d(j),l:d(h,3),L:d(h>99?Math.round(h/10):h),t:e<12?"a":"p",tt:e<12?"am":"pm",T:e<12?"A":"P",TT:e<12?"AM":"PM",Z:q?"UTC":(String(i).match(b)||[""]).pop().replace(c,""),o:(t>0?"-":"+")+d(Math.floor(Math.abs(t)/60)*100+Math.abs(t)%60,4),S:["th","st","nd","rd"][f%10>3?0:(f%100-f%10!=10)*f%10]};
return w.replace(a,function(m){return m in v?v[m]:m.slice(1,m.length-1);});};}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};dateFormat.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"]};
Date.prototype.format=function(b,a){return dateFormat(this,b,a);};function popup(d,a,b,c){var e=screen.width/2-d/2;var f=screen.height/2-a/2;newwindow=window.open(c,b,"height="+a+",width="+d+",left="+e+",top="+f+",menubar=yes,scrollbars=yes");if(window.focus){newwindow.focus();}return false;}function isemail(a){return new RegExp("^[-!#$%&'*+\\./0-9=?A-Z^_`a-z{|}~]+@[-!#$%&'*+\\/0-9=?A-Z^_`a-z{|}~]+.[-!#$%&'*+\\./0-9=?A-Z^_`a-z{|}~]+$").test(a);}function isphone(a){return($.trim(a)!="");}function isareacode(a){return($.trim(a)!="");
}function isnumber(a){return(($.trim(a)!=""&&!isNaN($.trim(a))));}function isabsurl(a){return new RegExp(a,"^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$");}function escape_parens(a){return(a.replace("(","%28").replace(")","%29"));}function replaceURLWithHTMLLinks(a){var b=/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig;return a.replace(b,'<a href="$1">$1</a>');}function linkify(b){var a=/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim;
var c=b.replace(a,'<a href="$1" target="_blank">$1</a>');var e=/(^|[^\/])(www\.[\S]+(\b|$))/gim;var c=c.replace(e,'$1<a href="http://$2" target="_blank">$2</a>');var d=/(\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,6})/gim;var c=c.replace(d,'<a href="mailto:$1">$1</a>');return c;}function format_for_url(a){var b=a.replace(/[^a-z|A-Z|0-9]/g," ");dbg("OK");b=$.trim(b);dbg("OK");b=b.split(" ").join("_");dbg("OK");b=b.split("___").join("_");dbg("OK");b=b.split("___").join("_");dbg("OK");b=b.split("__").join("_");dbg("OK");
b=sST(b,"_",true);dbg("OK");dbg(b);return b;}function sST(c,b,a){var d=sSLT(c,b,a);d=sSRT(d,b,a);return d;}function sSLT(c,b,a){var e=false;var d=0;do{d++;e=false;if(c.length>=b.length){if((a&&c.substr(0,b.length)==b)||(!a&&c.toLowerCase().substr(0,b.length)==b.toLowerCase())){e=true;c=c.substr(b.length);}}}while(e&&d<500);return c;}function sSRT(c,b,a){var e=false;var d=0;do{d++;e=false;if(c.length>=b.length){if((a&&c.substr(c.length-b.length)==b)||(!a&&c.toLowerCase().substr(c.length-b.length)==b.toLowerCase())){e=true;
c=c.substr(0,c.length-b.length);}}}while(e&&d<500);if(d>=500){return"error: "+c;}else{return c;}}function dbg(a){try{console.log(a);}catch(b){if(g_browser.ie6or7&&g_debug){}}}function track_event(a){try{pageTracker._trackPageview(a);}catch(b){}}function datediff(b,a){return(b.getTime()-a.getTime());}function html_encode(b){var c=document.createTextNode(b),a=document.createElement("div");a.appendChild(c);return(a.innerHTML);}function html_decode(b){var a=document.createElement("div");a.innerHTML=b;
return(a.childNodes[0].nodeValue);}function is_valid_date(a){var b=new Date(a);if(b.toString()=="NaN"||b.toString()=="Invalid Date"){return false;}else{return true;}}function get_nice_datediff(b){var d=new Date(b);if(d.toString()=="NaN"||d.toString()=="Invalid Date"){return("");}else{var a="hours";var c=(((datediff(new Date(),d))/1000)/60);if(c>60){if(c<1440){c=Math.round(c/60);if(c==1){a=" hour ago";}else{a=" hours ago";}}else{c=Math.round(c/1440);if(c==1){a=" day ago";}else{a=" days ago";}}}else{c=Math.round(c);
if(c==1){a=" minute ago";}else{a=" minutes ago";}}return c+" "+a;}}jQuery.url=function(){var h={};var f={};var d={url:window.location,strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}};
var e=function(){str=decodeURI(d.url);var l=d.parser[d.strictMode?"strict":"loose"].exec(str);var j={};var k=14;while(k--){j[d.key[k]]=l[k]||"";}j[d.q.name]={};j[d.key[12]].replace(d.q.parser,function(o,i,m){if(i){j[d.q.name][i]=m;}});return j;};var c=function(i){if(!f.length){b();}if(i=="base"){if(f.port!==null&&f.port!==""){return f.protocol+"://"+f.host+":"+f.port+"/";}else{return f.protocol+"://"+f.host+"/";}}return(f[i]==="")?null:f[i];};var a=function(i){if(!f.length){b();}return(f.queryKey[i]===null)?null:f.queryKey[i];
};var b=function(){f=e();g();};var g=function(){var i=f.path;h=[];h=f.path.length==1?{}:(i.charAt(i.length-1)=="/"?i.substring(1,i.length-1):path=i.substring(1)).split("/");};return{setMode:function(i){strictMode=i=="strict"?true:false;return this;},setUrl:function(i){d.url=i===undefined?window.location:i;b();return this;},segment:function(i){if(!f.length){b();}if(i===undefined){return h.length;}return(h[i]===""||h[i]===undefined)?null:h[i];},attr:c,param:a};}();var addthis_config={data_use_flash:false};
for(var n=0;n<g_other.html5tags.length;n++){document.createElement(g_other.html5tags[n]);}$(document).ready(function(){set_globals();if(g_browser.ie6){try{document.execCommand("BackgroundImageCache",false,true);}catch(a){}try{DD_belatedPNG.fix(".jpngfix1, img");}catch(a){}}if(g_browser.ie){$("#content1 > table").attr({"cellspacing":"0","cellpadding":"0"}).find("td.con1e").css("vertical-align","top");}if(typeof(g_url)!=="undefined"&&typeof(g_debug)!=="undefined"){if(g_url=="/"&&g_debug==false){}}text_placeholders();
bg_signup1();bd_trans();bd_trans2();initialize_window();$("a").live("click",anchor_click);$(".jdownloadlink1").click(function(){location.href=$(this).find("a").attr("href");});$(".jopenclose1").click(function(){if($(this).hasClass("c177")){$(this).removeClass("c177");if(g_browser.ie7){$(this).closest(".jopenclose1_container").find(".jopenclose1_content").css("display","none");}else{$(this).closest(".jopenclose1_container").find(".jopenclose1_content").slideUp(300);}}else{$(this).addClass("c177");
if(g_browser.ie7){$(this).closest(".jopenclose1_container").find(".jopenclose1_content").css("display","block");}else{$(this).closest(".jopenclose1_container").find(".jopenclose1_content").slideDown(300);}}return false;});$("#jbottommodules1 > div").each(function(d){var e="";if(d==0){e="c221";}else{if(d==1){e="c222";}else{if(d==2){e="c223";}}}$(this).find(".c219").addClass(e);});$("#jbottommodules1 .c230").each(function(){$(this).children(":last").css("border-bottom","0").css("padding-bottom","0");
$(this).children(":first").css("padding-top","0");});$(".jopenclose1").hover(function(){$(this).closest(".jopenclose1_container").find(".jopenclose1_trigger").addClass("c180");},function(){$(this).closest(".jopenclose1_container").find(".jopenclose1_trigger").removeClass("c180");});$(".jopenclose1_trigger").click(function(){$(this).closest(".jopenclose1_container").find(".jopenclose1").click();return false;}).hover(function(){$(this).addClass("c180");},function(){$(this).removeClass("c180");});$(".jhover_show1").hover(function(){$(".jhover_show1").find(".jtrans1").parent().addClass("c169").children().stop(true,true);
$(this).find(".jtrans1").parent().addClass("c169").children().fadeIn(250);},function(){$(".jhover_show1").find(".jtrans1").parent().addClass("c169").children().stop(true,true);$(this).find(".jtrans1").parent().removeClass("c169").children().fadeOut(250);}).find(".jtrans1").parent().children().css("display","none");$("#jpreview1").click(function(){$("#jpreviewinput1").val("1");$(this).closest("form").attr("target","_blank");$(this).closest("form").submit();});$("#jsubmit1").click(function(){$("#jpreviewinput1").val("0");
$(this).closest("form").attr("target","_self");$(this).closest("form").submit();$(this).closest("form").submit();});if($("#jtwitter1").length!=0){$.jTwitter(g_widgets.twitter1.username,g_widgets.twitter1.post_count,function(e){var d="";$.each(e,function(g,f){d+='<li><img src="/img/twitter_bird.png">&nbsp;'+linkify(f.text)+" <span>"+get_nice_datediff(f.created_at)+"</span></li>";});$("#jtwitter1 .c122").html(d);});}g_tracks.harrahs.directions_url="http://www.google.com/maps?f=d&hl=en&q="+encodeURIComponent(g_tracks.harrahs.address)+"&daddr="+encodeURIComponent(g_tracks.harrahs.address)+"&iwloc=end&ie=UTF8&z=14&iwd=1";
g_tracks.penn_national.directions_url="http://www.google.com/maps?f=d&hl=en&q="+encodeURIComponent(g_tracks.penn_national.address)+"&daddr="+encodeURIComponent(g_tracks.penn_national.address)+"&iwloc=end&ie=UTF8&z=14&iwd=1";g_tracks.philadelphia_park.directions_url="http://www.google.com/maps?f=d&hl=en&q="+encodeURIComponent(g_tracks.philadelphia_park.address)+"&daddr="+encodeURIComponent(g_tracks.philadelphia_park.address)+"&iwloc=end&ie=UTF8&z=14&iwd=1";g_tracks.pocono_downs.directions_url="http://www.google.com/maps?f=d&hl=en&q="+encodeURIComponent(g_tracks.pocono_downs.address)+"&daddr="+encodeURIComponent(g_tracks.pocono_downs.address)+"&iwloc=end&ie=UTF8&z=14&iwd=1";
g_tracks.presque_isle_downs.directions_url="http://www.google.com/maps?f=d&hl=en&q="+encodeURIComponent(g_tracks.presque_isle_downs.address)+"&daddr="+encodeURIComponent(g_tracks.presque_isle_downs.address)+"&iwloc=end&ie=UTF8&z=14&iwd=1";g_tracks.the_meadows.directions_url="http://www.google.com/maps?f=d&hl=en&q="+encodeURIComponent(g_tracks.the_meadows.address)+"&daddr="+encodeURIComponent(g_tracks.the_meadows.address)+"&iwloc=end&ie=UTF8&z=14&iwd=1";if(g_browser.ie7){$(".jopenclose1:first").addClass("c177").closest(".jopenclose1_container").find(".jopenclose1_content").css("display","block");
}else{$(".jopenclose1:first").addClass("c177").closest(".jopenclose1_container").find(".jopenclose1_content").slideDown(10);}try{var b="events";var c="";if(g_url=="/admin/blog/add-edit-post/"){b="blog";c=",image";}$(".jrichtext1").tinymce({script_url:"/scripts/tiny_mce/tiny_mce.js",theme:"advanced",plugins:"pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",document_base_url:"",relative_urls:false,theme_advanced_resize_horizontal:false,apply_source_formatting:true,content_css:"/Css/richtext1.css",theme_advanced_blockformats:"h3",theme_advanced_path:false,theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",theme_advanced_statusbar_location:"bottom",theme_advanced_resizing:true,theme_advanced_styles:"Left Aligned with Margins=left_aligned_with_margin;Right Aligned with Margins=right_aligned_with_margin;Small Text=small_text",theme_advanced_buttons1:"justifyleft,justifycenter,justifyright,|,outdent,indent,blockquote,|,charmap,|,undo,redo,|,code,|,cut,copy,paste,pastetext,pasteword",theme_advanced_buttons2:"attribs,|,styleselect,|,formatselect,|,bold,italic,underline,strikeout,|,link,unlink,anchor,|,numlist,bullist,|"+c+",html",theme_advanced_buttons3:"",template_external_list_url:"/wysiwyg/javascript1/template_list/",external_link_list_url:"/wysiwyg/javascript1/link_list/",external_image_list_url:"/wysiwyg/javascript1/images_"+b+"/"});
$("input[name='StartDateTime'],input[name='EndDateTime'],input[name='published']").datepicker({duration:"",showTime:true,constrainInput:false});$(".c209").live("click",function(){if($("#jeinstances1").children().length<=1){alert("Cannot remove instance. You must have at least 1 event instance.");}else{$(this).closest(".jinstancecontainer").remove();}return false;});$("#jpreview5").click(function(){var d=$(this).closest("form").find("select[name='photo']");if($("option:selected",d).val()==""){}else{popup(700,600,"viewphoto",$("option:selected",d).val());
}return false;});$("#jaddeventinstance").click(function(){$(".jinstancecontainer:first").clone(false).appendTo("#jeinstances1");$("#jeinstances1 > div:last input").val("").removeClass("hasDatepicker").removeAttr("id").datepicker({duration:"",showTime:true,constrainInput:false});});$("#jadd20eventinstances_weekly").click(function(){var f=$("#jeinstances1 > div:last input[name='StartDateTime']").val();var e=$("#jeinstances1 > div:last input[name='EndDateTime']").val();if(is_valid_date(f)&&is_valid_date){d_sdt=new Date(f);
d_edt=new Date(e);var d="";for(n=0;n<20;n++){d_sdt.setDate(d_sdt.getDate()+7);d_edt.setDate(d_edt.getDate()+7);$(".jinstancecontainer:first").clone(false).appendTo("#jeinstances1");$("#jeinstances1 > div:last input[name='StartDateTime']").val(dateFormat(d_sdt,"mm/dd/yyyy hh:MM TT"));$("#jeinstances1 > div:last input[name='EndDateTime']").val(dateFormat(d_edt,"mm/dd/yyyy hh:MM TT"));$("#jeinstances1 > div:last input").removeClass("hasDatepicker").removeAttr("id").datepicker({duration:"",showTime:true,constrainInput:false});
}}else{alert("The last event instance in the list must be valid dates.");}});$(".jtagadd1").click(function(){if($.trim($("#jtags1").val()).charAt($.trim($("#jtags1").val()).length-1)==","){$("#jtags1").val($("#jtags1").val()+$(this).text());}else{if($.trim($("#jtags1").val())==""){$("#jtags1").val($("#jtags1").val()+$(this).text());}else{$("#jtags1").val($("#jtags1").val()+","+$(this).text());}}return false;});$("#jselecttrack1").change(function(){var d=$(this).children("option:selected").attr("value");
$(this).closest("form").find("input[name='LocationName']").val(g_tracks[d].location_name);$(this).closest("form").find("input[name='LocationUrl']").val(g_tracks[d].location_url);$(this).closest("form").find("input[name='LocationWebsiteUrl']").val(g_tracks[d].location_website_url);$(this).closest("form").find("input[name='DirectionsUrl']").val(g_tracks[d].directions_url);}).change();}catch(a){}$("a").each(function(){if(isabsurl($(this).attr("href"))){$(this).attr("target","_blank");}});build_track_events();
$("#c266 a").hover(function(){$(this).addClass("hover");},function(){$(this).removeClass("hover");});});$(window).load(function(){});function build_track_events(){if(typeof(g_url)!=="undefined"){var a=sST(g_url,"/",true).toLowerCase();$("#jmainsignup1").submit(function(){track_event("/events/"+a+"/header_join_form/submit");});}}function track_join1(){try{var b=sST(g_url,"/",true).toLowerCase();track_event("/events/"+b+"/module_join_form/submit");}catch(a){dbg(a);}}function isabsurl(a){return reg_test(a,"^(news|telnet|nttp|file|http|ftp|https)://[-A-Za-z0-9\\.]+\\/?.*$");
}function reg_test(a,b){return new RegExp(b).test(a);}function anchor_click(){try{var a=$.url.setUrl($(this).attr("href")).attr("anchor");if($(this).attr("target")=="_blank"&&isabsurl($(this).attr("href"))){if(typeof(g_url)!=="undefined"){var c=sST(g_url,"/",true).toLowerCase();var f=$.url.setUrl($(this).attr("href")).attr("host");var h=$.url.setUrl($(this).attr("href")).attr("path");if(f===null){f="";}if(h===null){h="";}f=format_for_url(f);h=format_for_url(h);if(f!=""){track_event("/events/"+c+"/external_link/"+f+"/"+h);
}}}if(a!=""){if(a.indexOf("window_open")!=-1){var b=new window_params(870,621,"",$(this).attr("href"));track_event($.url.setUrl($(this).attr("href")).attr("path"));return show_window(b);}else{if(a.indexOf("window_join_trackpack1")!=-1){var b=new window_params(450,279,$("#jjoin-trackpack-popup1").html());var d=sST(g_url,"/",true).toLowerCase();track_event("/events/"+d+"/join_trackpack_window1/open");return show_window(b);}}}}catch(g){dbg(g);}}function initialize_window(){g_widgets.window.overlay.element=$("#curtain1");
g_widgets.window.content.element=$("#content1");$(window).bind("resize",adjust_curtain_dimensions);g_widgets.window.overlay.element.click(hide_window);$(".jclosewindow").live("click",hide_window);}function animate_curtain_for_show(a){g_widgets.window.overlay.element.animate({opacity:g_widgets.window.overlay.opacity},{duration:g_widgets.window.overlay.in_duration,specialEasing:{opacity:"swing"},complete:a});}function animate_content_for_show(a){if(!g_browser.ie){g_widgets.window.content.element.animate({opacity:g_widgets.window.content.opacity},{duration:g_widgets.window.content.in_duration,specialEasing:{opacity:"swing"},complete:a});
}else{a();}}function adjust_curtain_dimensions(a){if(g_widgets.window.overlay.is_opening||g_widgets.window.overlay.is_open||typeof(a)!=="undefined"){g_widgets.window.overlay.element.css({"height":$(document).height()+"px","width":$(document).width()});}}function initialize_curtain_for_show(a){g_widgets.window.overlay.element.css({"opacity":"0.0"});g_widgets.window.overlay.element.css({"display":"block"});adjust_curtain_dimensions(true);a();}function initialize_curtain_for_hide(){}function initialize_content_for_show(h,b){if(!g_browser.ie){g_widgets.window.content.element.css({"opacity":"0.0"});
}g_widgets.window.content.element.css({"height":(h.h+16)+"px","width":(h.w+16)+"px"}).css("display","block");g_widgets.window.content.element.find(".con1e").css({"height":(h.h)+"px","width":(h.w)+"px"});var g=g_widgets.window.content.element.width();var i=g_widgets.window.content.element.height();var e=$(document).scrollLeft();var a=$(document).scrollTop();var j=$(window).height();var d=$(window).width();var c=((a+((j/2)-(i/2))));var f=((e+((d/2)-(g/2))));if(c<5){c=5;}if(f<5){f=5;}g_widgets.window.content.element.css({"top":c+"px","left":f+"px"});
if(h.url==""){insert_window_content(h.c);}b();}function insert_window_content(a){g_widgets.window.content.element.find(".con1e:first").html(a);$("a").each(function(){if(isabsurl($(this).attr("href"))){$(this).attr("target","_blank");}});}function show_window(a){$("object,embed").css("visibility","hidden");if(a.url!=""){g_widgets.window.loading_content=true;insert_window_content(g_widgets.window.loading_html);a.url=a.url.split("#")[0];$.ajax({type:a.type,url:a.url,data:a.data,cache:!g_debug,dataType:"html",success:function(b){a.url="";
a.c=b;if(g_widgets.window.content.is_open){insert_window_content(a.c);}},error:function(f,d,e){$.each(f,function(c,b){});},complete:function(d,c){}});}else{insert_window_content("");}initialize_curtain_for_show(function(){dbg("done: initialize_curtain_for_show");});g_widgets.window.overlay.is_opening=g_widgets.window.overlay.is_animating=true;animate_curtain_for_show(function(){dbg("done: animate_curtain_for_show");g_widgets.window.overlay.is_opening=false;g_widgets.window.overlay.is_open=true;initialize_content_for_show(a,function(){dbg("done: initialize_content_for_show");
g_widgets.window.content.is_opening=true;animate_content_for_show(function(){dbg("done: animate_content_for_show");g_widgets.window.overlay.is_open=g_widgets.window.content.is_open=true;g_widgets.window.overlay.is_animating=false;text_placeholders();});});});return false;}function hide_window(){$("#content1").css("display","none");g_widgets.window.overlay.element.stop(true,true).css("display","none");g_widgets.window.content.element.stop(true,true).css("display","none");$("object,embed").css("visibility","visible");
return false;}function bd_trans(){var a=$("#jtrans1");var b=a.html();a.css("opacity","0.81").find("*").css("visibility","hidden");a.parent().append('<div class="c83 c84">'+b+"</div>");}function bd_trans2(){$(".jtrans1").each(function(){dbg(this);var a=$(this).html();$(this).css("opacity","0.81").find("*").css("visibility","hidden");$(this).parent().append('<div class="c84 c165" style="top:0;">'+a+"</div>");});}function bg_signup1(){$("#jmainsignup1").submit(submit_signup);$("#jmainsignup2").click(function(){$("#jmainsignup1").trigger("submit");
return false;});$(".jsignup1").live("submit",submit_signup2);$(".jsignup2").live("click",function(){dbg($(this));$(this).closest(".jsignup1").trigger("submit");return false;});}function submit_signup(){dbg("do submit");var a=$("#jmainsignup1").find("input");if(a.data("placeholder")==$.trim(a.val())||$.trim(a.val())==""||!isemail($.trim(a.val()))){a.parent().css({"background-color":"#ffa","border-color":"#000"});}else{submit_ajax_form1(a);}return false;}function submit_signup2(){var a=$(this).closest(".jsignup1").find("input");
dbg(a);if(a.data("placeholder")==$.trim(a.val())||$.trim(a.val())==""||!isemail($.trim(a.val()))){a.parent().css({"background-color":"#ffa","border-color":"#000"});}else{submit_ajax_form1(a);}return false;}function submit_ajax_form1(a){var c=a.closest("form").attr("action");var b=a.closest("form").serialize();var d=$(a).closest("form");var e=false;if(d.hasClass("jsignup1")){e=true;}d.html('<div class="c157"><p>Thank you!</p></div>');$.ajax({type:"POST",url:c,data:b,cache:false,success:function(f){},error:function(f){dbg(f);
},complete:function(g,f){dbg(f);}});if(e){track_join1();}}function text_placeholders(){$("input.jtxtph, #content1 input.jtxtph2").each(function(){$(this).data("placeholder",$(this).val());}).focus(function(){if($(this).val()==$(this).data("placeholder")){$(this).val("");}}).blur(function(){if($.trim($(this).val())==""){$(this).val($(this).data("placeholder"));}}).removeClass("jtxtph");}window.onerror=function(b,c,a){dbg(b);dbg(c);dbg(a);if(g_options.log_errors&&encodeURIComponent){$.ajax({url:"/ajax/post/log-error/",global:false,type:"POST",cache:false,data:"msg="+encodeURIComponent(b)+"&url="+encodeURIComponent(c)+"&line="+encodeURIComponent(a),dataType:"text",success:function(d){dbg(this);
dbg(d);},error:function(f,d,e){dbg(this);dbg(f);dbg(d);dbg(e);}});}return g_options.suppress_all_errors;};function set_globals(){if($.browser.msie){g_browser.ie=true;if(/6.0/.test(navigator.userAgent)){g_browser.ie6=true;g_browser.ie6or7=true;}else{if(/7.0/.test(navigator.userAgent)){g_browser.ie7=true;g_browser.ie6or7=true;}else{if(/8.0/.test(navigator.userAgent)){g_browser.ie8=true;}}}}}