/*
:

 http://creativecommons.org/licenses/by/3.0/



 @copyright:

 2008 Andreas Lagerkvist (andreaslagerkvist.com)



 @requires:

 jquery, jquery.liveSearch.css



 @does:

 Use this plug-in to turn a normal form-input in to a live ajax search widget. The plug-in displays any HTML you like in the results and the search-results are updated live as the user types.



 @howto:

 jQuery('#q').liveSearch({url: '/ajax/search.php?q='}); would add the live-search container next to the input#q element and fill it with the contents of /ajax/search.php?q=THE-INPUTS-VALUE onkeyup of the input.



 @exampleHTML:

 <form method="post" action="/search/">



 <p>

 <label>

 Enter search terms<br />

 <input type="text" name="q" />

 </label> <input type="submit" value="Go" />

 </p>



 </form>



 @exampleJS:

 jQuery('#jquery-live-search-example input[name="q"]').liveSearch({url: Router.urlForModule('SearchResults') + '&q='});

*/
var stilusutja="/adm/_fck_cnf.js",alaput="/_fck/",eredmenyStr,lEredmeny=0,kiiratStatus=0,ajaxEredmenyString,ajaxEredmeny=[];function buildZMax(){$("*").each(function(){zmax=parseInt($(this).css("zIndex"))>zmax?$(this).css("zIndex"):zmax})}function IsIpNumeric(d){var k=true,h;if(d.length<1)k=false;for(i=0;i<d.length&&k==true;i++){h=d.charAt(i);if("0123456789*".indexOf(h)==-1)k=false}return k}
function selectAll(d,k){if(typeof d=="string")d=document.getElementById(d);if(d.type=="select-multiple")for(var h=0;h<d.options.length;h++)d.options[h].selected=k}function setFile(d){window.open("/_afm/ajaxfilemanager/ajaxfilemanager.php?editor=form&elementId="+d,"ajaxFileImageManager","width=782,height=440");return false}function checkBoxToggle(d,k,h){d=eval("document."+d+'["'+k+'[]"]');for(k=0;k<d.length;k++)d[k].checked=h.checked?true:false}
function popupablak2(d,k,h){d="popup.php?kep="+escape(d)+"&w="+k+"&h="+h;window.open(d,"popup","width="+k+",height="+h+",top="+(screen.height-h)/2+",left="+(screen.width-k)/2)}function resizeWindow(d,k){if(navigator.appName.indexOf("Netscape")!=-1){window.innerHeight=k;window.innerWidth=d}else if(navigator.appName.indexOf("Opera")!=-1)window.resizeTo(d+12,k+31);else navigator.appName.indexOf("Microsoft")!=-1?window.resizeTo(d+12,k+31):window.resizeTo(d+14,k+34)}
function resizeWindowFromImage(d){var k=document.getElementById(d).width;d=document.getElementById(d).height;if(navigator.appName.indexOf("Netscape")!=-1){window.innerHeight=d;window.innerWidth=k}else if(navigator.appName.indexOf("Opera")!=-1)window.resizeTo(k+12,d+31);else navigator.appName.indexOf("Microsoft")!=-1?window.resizeTo(k+12,d+31):window.resizeTo(k+14,d+34)}
function centerWindow(){if(self.innerWidth){frameWidth=self.innerWidth;frameHeight=self.innerHeight}else if(document.documentElement&&document.documentElement.clientWidth){frameWidth=document.documentElement.clientWidth;frameHeight=document.documentElement.clientHeight}else if(document.body){frameWidth=document.body.clientWidth;frameHeight=document.body.clientHeight}window.moveTo((screen.width-frameWidth)/2,(screen.height-frameHeight)/2)}function semmi(){}
function progressBar(d){document.getElementById("progressBarFloatDiv").className="progressBarFloatDiv";var k,h;if(self.innerHeight){k=self.innerWidth;h=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){k=document.documentElement.clientWidth;h=document.documentElement.clientHeight}else if(document.body){k=document.body.clientWidth;h=document.body.clientHeight}h=(h-50)/2;k=(k-200)/2;h=Math.ceil(h);k=Math.ceil(k);document.getElementById("progressBarFloatDiv").style.top=
h+"px";document.getElementById("progressBarFloatDiv").style.left=k+"px";if(d==1)document.getElementById("progressBarFloatDiv").style.display="";else if(d==0)document.getElementById("progressBarFloatDiv").style.display="none"}function keret(d){d.blur&&d.blur()}function expand(d){styleObj=document.getElementById(d).style;styleObj.display=styleObj.display=="none"?"":"none"}
function toggleBox(d,k){styleObj=document.getElementById(d).style;if(styleObj.display=="none"){styleObj.display="";document.getElementById(k).src="/img/scrollup.jpg"}else{styleObj.display="none";document.getElementById(k).src="/img/scrolldown.jpg"}}function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=[];var k,h=d.MM_p.length,l=MM_preloadImages.arguments;for(k=0;k<l.length;k++)if(l[k].indexOf("#")!=0){d.MM_p[h]=new Image;d.MM_p[h++].src=l[k]}}}
function attesz(d,k){document.getElementById(d).src=k}function gombatir(d){parent.menu.document.getElementById(d).src="img/gomb_o.jpg"}function popupablak(d,k,h,l,o){window.open(d,k,h+"width="+l+",height="+o+",top="+(screen.height-o)/2+",left="+(screen.width-l)/2)}
function YY_checkform(){var d=YY_checkform.arguments,k=true,h=k="",l=false,o,p,u,E,v;for(v=1;v<d.length;v+=4){if(d[v+1].charAt(0)=="#"){o=true;d[v+1]=d[v+1].substring(1)}else o=false;p=MM_findObj(d[v].replace(/\[\d+\]/ig,""));u=MM_findObj(d[v+1].replace(/\[\d+\]/ig,""));k=p.value;E=d[v+2];if(p.type=="text"||p.type=="password"||p.type=="hidden"){if(o&&k.length==0)l=true;if(k.length>0)if(E==1){E=d[v+1].split("_");if(isNaN(k)||k<E[0]/1||k>E[1]/1)l=true}else if(E==2){p=/^[\w.=-]+@[\w\.-]+\.[a-zA-Z]{2,4}$/;
p.test(k)||(l=true)}else if(E==3){E=d[v+1].split("#");if(k=k.match(E[0])){p=k[E[1]]?k[E[1]]:1;u=k[E[2]]-1;k=k[E[3]];E=new Date(k,u,p);if(E.getFullYear()!=k||E.getDate()!=p||E.getMonth()!=u)l=true}else l=true}else if(E==4){E=d[v+1].split("#");(k=k.match(E[0]))||(l=true)}else if(E==5){if(u.length)u=u[d[v+1].replace(/(.*\[)|(\].*)/ig,"")];u.checked||(l=true)}else if(E==6)if(k!=MM_findObj(d[v+1]).value)l=true}else if(!p.type&&p.length>0&&p[0].type=="radio"){k=d[v].match(/(.*)\[(\d+)\].*/i);o2=p.length>
1?p[k[2]]:p;if(E==1&&o2&&o2.checked&&u&&u.value.length/1==0)l=true;if(E==2){k=false;for(u=0;u<p.length;u++)k=k||p[u].checked;k||(h+="* "+d[v+3]+"\n")}}else if(p.type=="checkbox"){if(E==1&&p.checked==false||E==2&&p.checked&&u&&u.value.length/1==0)l=true}else if(p.type=="select-one"||p.type=="select-multiple"){if(E==1&&p.selectedIndex/1==0)l=true}else if(p.type=="textarea")if(k.length<d[v+1])l=true;if(l){h+="* "+d[v+3]+"\n";l=false}}h!=""&&alert(" "+h);document.MM_returnValue=h==""}
function MM_findObj(d,k){var h,l;k||(k=document);if((h=d.indexOf("?"))>0&&parent.frames.length){k=parent.frames[d.substring(h+1)].document;d=d.substring(0,h)}if(!(l=k[d])&&k.all)l=k.all[d];for(h=0;!l&&h<k.forms.length;h++)l=k.forms[h][d];for(h=0;!l&&k.layers&&h<k.layers.length;h++)l=MM_findObj(d,k.layers[h].document);if(!l&&k.getElementById)l=k.getElementById(d);return l}function Trim(d){if(d.length<1)return"";d=RTrim(d);d=LTrim(d);return d==""?"":d}
function RTrim(d){var k=String.fromCharCode(32),h=d.length,l="";if(h<0)return"";for(h=h-1;h>-1;){if(d.charAt(h)!=k){l=d.substring(0,h+1);break}h-=1}return l}function LTrim(d){var k=String.fromCharCode(32);if(h<1)return"";for(var h=d.length,l="",o=0;o<h;){if(d.charAt(o)!=k){l=d.substring(o,h);break}o+=1}return l}function kivalaszt(d){document.getElementById(d).select()}
function datumatir(d){ertek=document.getElementById(d).value;switch(ertek.length){case 4:document.getElementById(d).value=document.getElementById(d).value+"-";break;case 7:document.getElementById(d).value=document.getElementById(d).value+"-"}}
function ajaxInsert(d,k,h){var l=document.getElementById(k);if(h==1)l.innerHTML='<div style="margin-top:10px;"><img src="/img/wait.gif" border="0" width="16" height="16" /></div>';http_request=false;if(window.XMLHttpRequest){http_request=new XMLHttpRequest;http_request.overrideMimeType&&http_request.overrideMimeType("text/xml")}else if(window.ActiveXObject)try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(o){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(p){}}if(!http_request){alert("Cannot create an XMLHTTP instance");
return false}http_request.open("GET",d,true);http_request.onreadystatechange=function(){if(http_request.readyState==4)if(http_request.status==200)l.innerHTML=http_request.responseText};http_request.send(null)}
function ajaxPostTag(d,k,h,l){var o=document.getElementById(h);if(l==1)o.innerHTML='<div style="margin-top:10px;"><img src="/img/wait.gif" border="0" width="16" height="16" /></div>';http_request=false;if(window.XMLHttpRequest){http_request=new XMLHttpRequest;http_request.overrideMimeType&&http_request.overrideMimeType("text/xml")}else if(window.ActiveXObject)try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(p){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(u){}}if(!http_request){alert("Cannot create an XMLHTTP instance");
return false}http_request.open("POST",d,true);http_request.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");http_request.send();http_request.onreadystatechange=function(){if(http_request.readyState==4)if(http_request.status==200)o.innerHTML=http_request.responseText};http_request.send(null)}
function ajaxAppend(d,k){var h=document.getElementById(k);http_request=false;if(window.XMLHttpRequest){http_request=new XMLHttpRequest;http_request.overrideMimeType&&http_request.overrideMimeType("text/xml")}else if(window.ActiveXObject)try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(l){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(o){}}if(!http_request){alert("Cannot create an XMLHTTP instance");return false}http_request.open("GET",d,true);http_request.onreadystatechange=
function(){if(http_request.readyState==4)if(http_request.status==200)h.innerHTML+=http_request.responseText};http_request.send(null)}function kiirat(){if(lEredmeny){ajaxEredmeny[0]=eredmenyStr.substr(0,1);ajaxEredmeny[1]=eredmenyStr.substr(1);kiiratStatus=1;lEredmeny=0}else kiiratStatus=0}
function ajax_f(d){http_request=false;eredmenyStr="";if(window.XMLHttpRequest){http_request=new XMLHttpRequest;http_request.overrideMimeType&&http_request.overrideMimeType("text/xml")}else if(window.ActiveXObject)try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(k){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(h){}}if(!http_request){alert("Cannot create an XMLHTTP instance");return false}http_request.open("GET",d,true);http_request.onreadystatechange=function(){if(http_request.readyState==
4)if(http_request.status==200){eredmenyStr=http_request.responseText;lEredmeny=1;kiirat()}};http_request.send(null)}
function ajax_post(d,k){http_request=false;eredmenyStr="";if(window.XMLHttpRequest){http_request=new XMLHttpRequest;http_request.overrideMimeType&&http_request.overrideMimeType("text/xml")}else if(window.ActiveXObject)try{http_request=new ActiveXObject("Msxml2.XMLHTTP")}catch(h){try{http_request=new ActiveXObject("Microsoft.XMLHTTP")}catch(l){}}if(!http_request){alert("Cannot create an XMLHTTP instance");return false}http_request.open("POST",d,true);http_request.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");
http_request.send(k);http_request.onreadystatechange=function(){if(http_request.readyState==4)if(http_request.status==200){eredmenyStr=http_request.responseText;lEredmeny=1;kiirat()}}}
function P7_Snap(){var d,k,h,l,o,p,u,E,v,I,z,F,L="px",D=P7_Snap.arguments;parseInt(u);if(document.layers||window.opera)L="";for(v=0;v<D.length;v+=4)if((g=MM_findObj(D[v]))!=null)if((F=MM_findObj(D[v+1]))!=null){u=parseInt(D[v+2]);E=parseInt(D[v+3]);l=h=k=d=0;o="";p=1;z="document.all['"+D[v]+"']";if(document.getElementById){I="document.getElementsByName('"+D[v]+"')[0]";if(!eval(I)){I="document.getElementById('"+D[v]+"')";eval(I)||(I=z)}}else if(document.all)I=z;if(document.all||document.getElementById){for(;p==
1;){o+=".offsetParent";if(eval(I+o)){d+=parseInt(eval(I+o+".offsetLeft"));k+=parseInt(eval(I+o+".offsetTop"))}else p=0}h=parseInt(g.offsetLeft);l=parseInt(g.offsetTop);o=d+h+k+l;if(o==0||navigator.appVersion.indexOf("MSIE 4")>-1&&navigator.appVersion.indexOf("Mac")>-1){l=h=0;if(g.style.left){d=parseInt(g.style.left);k=parseInt(g.style.top)}else{k=parseInt(F.style.width);k=u<0?-5-k:-10;u=Math.abs(u)<1E3?0:u;E=Math.abs(E)<1E3?0:E;d=document.body.scrollLeft+event.clientX+k;k=document.body.scrollTop+
event.clientY}}}else if(document.layers){d=g.x;k=g.y;o=document.layers;dd="";for(p=0;p<o.length;p++){dd="document."+o[p].name;if(eval(dd+".document."+D[v])){d+=eval(dd+".left");k+=eval(dd+".top");break}}}F=document.layers?F:F.style;h=parseInt(d+h+u);l=parseInt(k+l+E);if(navigator.appVersion.indexOf("MSIE 5")>-1&&navigator.appVersion.indexOf("Mac")>-1){h+=parseInt(document.body.leftMargin);l+=parseInt(document.body.topMargin)}F.left=h+L;F.top=l+L}}
function MM_showHideLayers(){var d,k,h,l=MM_showHideLayers.arguments;for(d=0;d<l.length-2;d+=3)if((h=MM_findObj(l[d]))!=null){k=l[d+2];if(h.style){h=h.style;k=k=="show"?"visible":k=="hide"?"hidden":k}h.visibility=k}}function MM_setTextOfLayer(d,k,h){if((obj=MM_findObj(d))!=null)with(obj)if(document.layers){document.write(unescape(h));document.close()}else innerHTML=unescape(h)}var monkeyCode=64,oldStatusText="";function EOa(){return String.fromCharCode(monkeyCode)}
function EOd(d){d=d.split(",");var k="";for(i=0;i<d.length;i++)k+=String.fromCharCode(d[i]);return k}function EOp(){var d=EOd("109,97,105");d+=EOd("108,116");return d+EOd("111,58")}function EOad(d){EOad(d,pDomain,null)}function EOinitStatus(d,k){oldStatusText=window.status;window.status=Loc(d,k)}function EOrestoreStatus(){window.status=oldStatusText}
function EOae(d,k,h,l,o,p){var u="<a href=\"JavaScript:EOad('"+d+"','"+k+"'";if(h!=null&&h.length>2)u+=",'"+h+"'";u+=');"';if(l!=null&&l.length>0)u+=' title="'+EOd(l)+'"';if(p!=null&&p.length>0)u+=' class="'+p+'"';u+=" onMouseOver=\"EOinitStatus('"+d+"','"+k+'\');return true;" onMouseOut="EOrestoreStatus();"';u+=">"+EOd(o)+"</a>";document.write(u)}function EOad(d,k,h){d=Loc(d,k);if(h!=null&&h.length>0)d+="?"+EOd("115,117,98,106,101,99,116")+"="+encodeURIComponent(EOd(h));document.location=d}
function Loc(d,k){var h=EOd(d),l=EOd(k);return EOp()+h+EOa()+l}var hexcase=0,b64pad="",chrsz=8;function hex_md5(d){return binl2hex(core_md5(str2binl(d),d.length*chrsz))}function b64_md5(d){return binl2b64(core_md5(str2binl(d),d.length*chrsz))}function str_md5(d){return binl2str(core_md5(str2binl(d),d.length*chrsz))}function hex_hmac_md5(d,k){return binl2hex(core_hmac_md5(d,k))}function b64_hmac_md5(d,k){return binl2b64(core_hmac_md5(d,k))}
function str_hmac_md5(d,k){return binl2str(core_hmac_md5(d,k))}function md5_vm_test(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}
function core_md5(d,k){d[k>>5]|=128<<k%32;d[(k+64>>>9<<4)+14]=k;for(var h=1732584193,l=-271733879,o=-1732584194,p=271733878,u=0;u<d.length;u+=16){var E=h,v=l,I=o,z=p;h=md5_ff(h,l,o,p,d[u+0],7,-680876936);p=md5_ff(p,h,l,o,d[u+1],12,-389564586);o=md5_ff(o,p,h,l,d[u+2],17,606105819);l=md5_ff(l,o,p,h,d[u+3],22,-1044525330);h=md5_ff(h,l,o,p,d[u+4],7,-176418897);p=md5_ff(p,h,l,o,d[u+5],12,1200080426);o=md5_ff(o,p,h,l,d[u+6],17,-1473231341);l=md5_ff(l,o,p,h,d[u+7],22,-45705983);h=md5_ff(h,l,o,p,d[u+8],7,
1770035416);p=md5_ff(p,h,l,o,d[u+9],12,-1958414417);o=md5_ff(o,p,h,l,d[u+10],17,-42063);l=md5_ff(l,o,p,h,d[u+11],22,-1990404162);h=md5_ff(h,l,o,p,d[u+12],7,1804603682);p=md5_ff(p,h,l,o,d[u+13],12,-40341101);o=md5_ff(o,p,h,l,d[u+14],17,-1502002290);l=md5_ff(l,o,p,h,d[u+15],22,1236535329);h=md5_gg(h,l,o,p,d[u+1],5,-165796510);p=md5_gg(p,h,l,o,d[u+6],9,-1069501632);o=md5_gg(o,p,h,l,d[u+11],14,643717713);l=md5_gg(l,o,p,h,d[u+0],20,-373897302);h=md5_gg(h,l,o,p,d[u+5],5,-701558691);p=md5_gg(p,h,l,o,d[u+
10],9,38016083);o=md5_gg(o,p,h,l,d[u+15],14,-660478335);l=md5_gg(l,o,p,h,d[u+4],20,-405537848);h=md5_gg(h,l,o,p,d[u+9],5,568446438);p=md5_gg(p,h,l,o,d[u+14],9,-1019803690);o=md5_gg(o,p,h,l,d[u+3],14,-187363961);l=md5_gg(l,o,p,h,d[u+8],20,1163531501);h=md5_gg(h,l,o,p,d[u+13],5,-1444681467);p=md5_gg(p,h,l,o,d[u+2],9,-51403784);o=md5_gg(o,p,h,l,d[u+7],14,1735328473);l=md5_gg(l,o,p,h,d[u+12],20,-1926607734);h=md5_hh(h,l,o,p,d[u+5],4,-378558);p=md5_hh(p,h,l,o,d[u+8],11,-2022574463);o=md5_hh(o,p,h,l,d[u+
11],16,1839030562);l=md5_hh(l,o,p,h,d[u+14],23,-35309556);h=md5_hh(h,l,o,p,d[u+1],4,-1530992060);p=md5_hh(p,h,l,o,d[u+4],11,1272893353);o=md5_hh(o,p,h,l,d[u+7],16,-155497632);l=md5_hh(l,o,p,h,d[u+10],23,-1094730640);h=md5_hh(h,l,o,p,d[u+13],4,681279174);p=md5_hh(p,h,l,o,d[u+0],11,-358537222);o=md5_hh(o,p,h,l,d[u+3],16,-722521979);l=md5_hh(l,o,p,h,d[u+6],23,76029189);h=md5_hh(h,l,o,p,d[u+9],4,-640364487);p=md5_hh(p,h,l,o,d[u+12],11,-421815835);o=md5_hh(o,p,h,l,d[u+15],16,530742520);l=md5_hh(l,o,p,
h,d[u+2],23,-995338651);h=md5_ii(h,l,o,p,d[u+0],6,-198630844);p=md5_ii(p,h,l,o,d[u+7],10,1126891415);o=md5_ii(o,p,h,l,d[u+14],15,-1416354905);l=md5_ii(l,o,p,h,d[u+5],21,-57434055);h=md5_ii(h,l,o,p,d[u+12],6,1700485571);p=md5_ii(p,h,l,o,d[u+3],10,-1894986606);o=md5_ii(o,p,h,l,d[u+10],15,-1051523);l=md5_ii(l,o,p,h,d[u+1],21,-2054922799);h=md5_ii(h,l,o,p,d[u+8],6,1873313359);p=md5_ii(p,h,l,o,d[u+15],10,-30611744);o=md5_ii(o,p,h,l,d[u+6],15,-1560198380);l=md5_ii(l,o,p,h,d[u+13],21,1309151649);h=md5_ii(h,
l,o,p,d[u+4],6,-145523070);p=md5_ii(p,h,l,o,d[u+11],10,-1120210379);o=md5_ii(o,p,h,l,d[u+2],15,718787259);l=md5_ii(l,o,p,h,d[u+9],21,-343485551);h=safe_add(h,E);l=safe_add(l,v);o=safe_add(o,I);p=safe_add(p,z)}return[h,l,o,p]}function md5_cmn(d,k,h,l,o,p){return safe_add(bit_rol(safe_add(safe_add(k,d),safe_add(l,p)),o),h)}function md5_ff(d,k,h,l,o,p,u){return md5_cmn(k&h|~k&l,d,k,o,p,u)}function md5_gg(d,k,h,l,o,p,u){return md5_cmn(k&l|h&~l,d,k,o,p,u)}
function md5_hh(d,k,h,l,o,p,u){return md5_cmn(k^h^l,d,k,o,p,u)}function md5_ii(d,k,h,l,o,p,u){return md5_cmn(h^(k|~l),d,k,o,p,u)}function core_hmac_md5(d,k){var h=str2binl(d);if(h.length>16)h=core_md5(h,d.length*chrsz);for(var l=Array(16),o=Array(16),p=0;p<16;p++){l[p]=h[p]^909522486;o[p]=h[p]^1549556828}h=core_md5(l.concat(str2binl(k)),512+k.length*chrsz);return core_md5(o.concat(h),640)}function safe_add(d,k){var h=(d&65535)+(k&65535);return(d>>16)+(k>>16)+(h>>16)<<16|h&65535}
function bit_rol(d,k){return d<<k|d>>>32-k}function str2binl(d){for(var k=[],h=(1<<chrsz)-1,l=0;l<d.length*chrsz;l+=chrsz)k[l>>5]|=(d.charCodeAt(l/chrsz)&h)<<l%32;return k}function binl2str(d){for(var k="",h=(1<<chrsz)-1,l=0;l<d.length*32;l+=chrsz)k+=String.fromCharCode(d[l>>5]>>>l%32&h);return k}function binl2hex(d){for(var k=hexcase?"0123456789ABCDEF":"0123456789abcdef",h="",l=0;l<d.length*4;l++)h+=k.charAt(d[l>>2]>>l%4*8+4&15)+k.charAt(d[l>>2]>>l%4*8&15);return h}
function binl2b64(d){for(var k="",h=0;h<d.length*4;h+=3)for(var l=(d[h>>2]>>8*(h%4)&255)<<16|(d[h+1>>2]>>8*((h+1)%4)&255)<<8|d[h+2>>2]>>8*((h+2)%4)&255,o=0;o<4;o++)k+=h*8+o*6>d.length*32?b64pad:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(l>>6*(3-o)&63);return k}
(function(d,k){function h(a,b,e){if(e===k&&a.nodeType===1){e=a.getAttribute("data-"+b);if(typeof e==="string"){try{e=e==="true"?true:e==="false"?false:e==="null"?null:!c.isNaN(e)?parseFloat(e):fa.test(e)?c.parseJSON(e):e}catch(f){}c.data(a,b,e)}else e=k}return e}function l(){return false}function o(){return true}function p(a,b,e){e[0].type=a;return c.event.handle.apply(b,e)}function u(a){var b,e,f,j,n,t,s,y,P,G,S,W=[];j=[];n=c.data(this,this.nodeType?"events":"__events__");if(typeof n==="function")n=
n.events;if(!(a.liveFired===this||!n||!n.live||a.button&&a.type==="click")){if(a.namespace)S=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var da=n.live.slice(0);for(s=0;s<da.length;s++){n=da[s];n.origType.replace(ea,"")===a.type?j.push(n.selector):da.splice(s--,1)}j=c(a.target).closest(j,a.currentTarget);y=0;for(P=j.length;y<P;y++){G=j[y];for(s=0;s<da.length;s++){n=da[s];if(G.selector===n.selector&&(!S||S.test(n.namespace))){t=G.elem;f=null;if(n.preType===
"mouseenter"||n.preType==="mouseleave"){a.type=n.preType;f=c(a.relatedTarget).closest(n.selector)[0]}if(!f||f!==t)W.push({elem:t,handleObj:n,level:G.level})}}}y=0;for(P=W.length;y<P;y++){j=W[y];if(e&&j.level>e)break;a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;S=j.handleObj.origHandler.apply(j.elem,arguments);if(S===false||a.isPropagationStopped()){e=j.level;if(S===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function E(a,b){return(a&&a!=="*"?a+".":
"")+b.replace(pa,"`").replace(Ma,"&")}function v(a,b,e){if(c.isFunction(b))return c.grep(a,function(j,n){return!!b.call(j,n,j)===e});else if(b.nodeType)return c.grep(a,function(j){return j===b===e});else if(typeof b==="string"){var f=c.grep(a,function(j){return j.nodeType===1});if(Na.test(b))return c.filter(b,f,!e);else b=c.filter(b,f)}return c.grep(a,function(j){return c.inArray(j,b)>=0===e})}function I(a,b){var e=0;b.each(function(){if(this.nodeName===(a[e]&&a[e].nodeName)){var f=c.data(a[e++]),
j=c.data(this,f);if(f=f&&f.events){delete j.handle;j.events={};for(var n in f)for(var t in f[n])c.event.add(this,n,f[n][t],f[n][t].data)}}})}function z(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function F(a,b,e){var f=b==="width"?a.offsetWidth:a.offsetHeight;if(e==="border")return f;c.each(b==="width"?bb:cb,function(){e||(f-=parseFloat(c.css(a,"padding"+this))||0);if(e==="margin")f+=parseFloat(c.css(a,
"margin"+this))||0;else f-=parseFloat(c.css(a,"border"+this+"Width"))||0});return f}function L(a,b,e,f){if(c.isArray(b)&&b.length)c.each(b,function(j,n){e||db.test(a)?f(a,n):L(a+"["+(typeof n==="object"||c.isArray(n)?j:"")+"]",n,e,f)});else if(!e&&b!=null&&typeof b==="object")c.isEmptyObject(b)?f(a,""):c.each(b,function(j,n){L(a+"["+j+"]",n,e,f)});else f(a,b)}function D(a,b){var e={};c.each(Ra.concat.apply([],Ra.slice(0,b)),function(){e[this]=a});return e}function K(a){if(!Oa[a]){var b=c("<"+a+">").appendTo("body"),
e=b.css("display");b.remove();if(e==="none"||e==="")e="block";Oa[a]=e}return Oa[a]}function J(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var C=d.document,c=function(){function a(){if(!b.isReady){try{C.documentElement.doScroll("left")}catch(r){setTimeout(a,1);return}b.ready()}}var b=function(r,H){return new b.fn.init(r,H)},e=d.jQuery,f=d.$,j,n=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,t=/\S/,s=/^\s+/,y=/\s+$/,P=/\W/,G=/\d/,S=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,W=/^[\],:{}\s]*$/,
da=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,O=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ca=/(?:^|:|,)(?:\s*\[)+/g,ka=/(webkit)[ \/]([\w.]+)/,m=/(opera)(?:.*version)?[ \/]([\w.]+)/,q=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,w=navigator.userAgent,A=false,B=[],M,Q=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,la=Array.prototype.push,ma=Array.prototype.slice,na=String.prototype.trim,X=Array.prototype.indexOf,za={};b.fn=b.prototype={init:function(r,H){var N,
R,aa;if(!r)return this;if(r.nodeType){this.context=this[0]=r;this.length=1;return this}if(r==="body"&&!H&&C.body){this.context=C;this[0]=C.body;this.selector="body";this.length=1;return this}if(typeof r==="string")if((N=n.exec(r))&&(N[1]||!H))if(N[1]){aa=H?H.ownerDocument||H:C;if(R=S.exec(r))if(b.isPlainObject(H)){r=[C.createElement(R[1])];b.fn.attr.call(r,H,true)}else r=[aa.createElement(R[1])];else{R=b.buildFragment([N[1]],[aa]);r=(R.cacheable?R.fragment.cloneNode(true):R.fragment).childNodes}return b.merge(this,
r)}else{if((R=C.getElementById(N[2]))&&R.parentNode){if(R.id!==N[2])return j.find(r);this.length=1;this[0]=R}this.context=C;this.selector=r;return this}else if(!H&&!P.test(r)){this.selector=r;this.context=C;r=C.getElementsByTagName(r);return b.merge(this,r)}else return!H||H.jquery?(H||j).find(r):b(H).find(r);else if(b.isFunction(r))return j.ready(r);if(r.selector!==k){this.selector=r.selector;this.context=r.context}return b.makeArray(r,this)},selector:"",jquery:"1.4.4",length:0,size:function(){return this.length},
toArray:function(){return ma.call(this,0)},get:function(r){return r==null?this.toArray():r<0?this.slice(r)[0]:this[r]},pushStack:function(r,H,N){var R=b();b.isArray(r)?la.apply(R,r):b.merge(R,r);R.prevObject=this;R.context=this.context;if(H==="find")R.selector=this.selector+(this.selector?" ":"")+N;else if(H)R.selector=this.selector+"."+H+"("+N+")";return R},each:function(r,H){return b.each(this,r,H)},ready:function(r){b.bindReady();if(b.isReady)r.call(C,b);else B&&B.push(r);return this},eq:function(r){return r===
-1?this.slice(r):this.slice(r,+r+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ma.apply(this,arguments),"slice",ma.call(arguments).join(","))},map:function(r){return this.pushStack(b.map(this,function(H,N){return r.call(H,N,H)}))},end:function(){return this.prevObject||b(null)},push:la,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var r,H,N,R,aa,Z=arguments[0]||{},ga=1,qa=arguments.length,
Pa=false;if(typeof Z==="boolean"){Pa=Z;Z=arguments[1]||{};ga=2}if(typeof Z!=="object"&&!b.isFunction(Z))Z={};if(qa===ga){Z=this;--ga}for(;ga<qa;ga++)if((r=arguments[ga])!=null)for(H in r){N=Z[H];R=r[H];if(Z!==R)if(Pa&&R&&(b.isPlainObject(R)||(aa=b.isArray(R)))){if(aa){aa=false;N=N&&b.isArray(N)?N:[]}else N=N&&b.isPlainObject(N)?N:{};Z[H]=b.extend(Pa,N,R)}else if(R!==k)Z[H]=R}return Z};b.extend({noConflict:function(r){d.$=f;if(r)d.jQuery=e;return b},isReady:false,readyWait:1,ready:function(r){r===
true&&b.readyWait--;if(!b.readyWait||r!==true&&!b.isReady){if(!C.body)return setTimeout(b.ready,1);b.isReady=true;if(!(r!==true&&--b.readyWait>0))if(B){var H=0,N=B;for(B=null;r=N[H++];)r.call(C,b);b.fn.trigger&&b(C).trigger("ready").unbind("ready")}}},bindReady:function(){if(!A){A=true;if(C.readyState==="complete")return setTimeout(b.ready,1);if(C.addEventListener){C.addEventListener("DOMContentLoaded",M,false);d.addEventListener("load",b.ready,false)}else if(C.attachEvent){C.attachEvent("onreadystatechange",
M);d.attachEvent("onload",b.ready);var r=false;try{r=d.frameElement==null}catch(H){}C.documentElement.doScroll&&r&&a()}}},isFunction:function(r){return b.type(r)==="function"},isArray:Array.isArray||function(r){return b.type(r)==="array"},isWindow:function(r){return r&&typeof r==="object"&&"setInterval"in r},isNaN:function(r){return r==null||!G.test(r)||isNaN(r)},type:function(r){return r==null?String(r):za[Q.call(r)]||"object"},isPlainObject:function(r){if(!r||b.type(r)!=="object"||r.nodeType||b.isWindow(r))return false;
if(r.constructor&&!Y.call(r,"constructor")&&!Y.call(r.constructor.prototype,"isPrototypeOf"))return false;for(var H in r);return H===k||Y.call(r,H)},isEmptyObject:function(r){for(var H in r)return false;return true},error:function(r){throw r;},parseJSON:function(r){if(typeof r!=="string"||!r)return null;r=b.trim(r);if(W.test(r.replace(da,"@").replace(O,"]").replace(ca,"")))return d.JSON&&d.JSON.parse?d.JSON.parse(r):(new Function("return "+r))();else b.error("Invalid JSON: "+r)},noop:function(){},
globalEval:function(r){if(r&&t.test(r)){var H=C.getElementsByTagName("head")[0]||C.documentElement,N=C.createElement("script");N.type="text/javascript";if(b.support.scriptEval)N.appendChild(C.createTextNode(r));else N.text=r;H.insertBefore(N,H.firstChild);H.removeChild(N)}},nodeName:function(r,H){return r.nodeName&&r.nodeName.toUpperCase()===H.toUpperCase()},each:function(r,H,N){var R,aa=0,Z=r.length,ga=Z===k||b.isFunction(r);if(N)if(ga)for(R in r){if(H.apply(r[R],N)===false)break}else for(;aa<Z;){if(H.apply(r[aa++],
N)===false)break}else if(ga)for(R in r){if(H.call(r[R],R,r[R])===false)break}else for(N=r[0];aa<Z&&H.call(N,aa,N)!==false;N=r[++aa]);return r},trim:na?function(r){return r==null?"":na.call(r)}:function(r){return r==null?"":r.toString().replace(s,"").replace(y,"")},makeArray:function(r,H){var N=H||[];if(r!=null){var R=b.type(r);r.length==null||R==="string"||R==="function"||R==="regexp"||b.isWindow(r)?la.call(N,r):b.merge(N,r)}return N},inArray:function(r,H){if(H.indexOf)return H.indexOf(r);for(var N=
0,R=H.length;N<R;N++)if(H[N]===r)return N;return-1},merge:function(r,H){var N=r.length,R=0;if(typeof H.length==="number")for(var aa=H.length;R<aa;R++)r[N++]=H[R];else for(;H[R]!==k;)r[N++]=H[R++];r.length=N;return r},grep:function(r,H,N){var R=[],aa;N=!!N;for(var Z=0,ga=r.length;Z<ga;Z++){aa=!!H(r[Z],Z);N!==aa&&R.push(r[Z])}return R},map:function(r,H,N){for(var R=[],aa,Z=0,ga=r.length;Z<ga;Z++){aa=H(r[Z],Z,N);if(aa!=null)R[R.length]=aa}return R.concat.apply([],R)},guid:1,proxy:function(r,H,N){if(arguments.length===
2)if(typeof H==="string"){N=r;r=N[H];H=k}else if(H&&!b.isFunction(H)){N=H;H=k}if(!H&&r)H=function(){return r.apply(N||this,arguments)};if(r)H.guid=r.guid=r.guid||H.guid||b.guid++;return H},access:function(r,H,N,R,aa,Z){var ga=r.length;if(typeof H==="object"){for(var qa in H)b.access(r,qa,H[qa],R,aa,N);return r}if(N!==k){R=!Z&&R&&b.isFunction(N);for(qa=0;qa<ga;qa++)aa(r[qa],H,R?N.call(r[qa],qa,aa(r[qa],H)):N,Z);return r}return ga?aa(r[0],H):k},now:function(){return(new Date).getTime()},uaMatch:function(r){r=
r.toLowerCase();r=ka.exec(r)||m.exec(r)||q.exec(r)||r.indexOf("compatible")<0&&x.exec(r)||[];return{browser:r[1]||"",version:r[2]||"0"}},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(r,H){za["[object "+H+"]"]=H.toLowerCase()});w=b.uaMatch(w);if(w.browser){b.browser[w.browser]=true;b.browser.version=w.version}if(b.browser.webkit)b.browser.safari=true;if(X)b.inArray=function(r,H){return X.call(H,r)};if(!/\s/.test("\u00a0")){s=/^[\s\xA0]+/;y=/[\s\xA0]+$/}j=
b(C);if(C.addEventListener)M=function(){C.removeEventListener("DOMContentLoaded",M,false);b.ready()};else if(C.attachEvent)M=function(){if(C.readyState==="complete"){C.detachEvent("onreadystatechange",M);b.ready()}};return d.jQuery=d.$=b}();(function(){c.support={};var a=C.documentElement,b=C.createElement("script"),e=C.createElement("div"),f="script"+c.now();e.style.display="none";e.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
var j=e.getElementsByTagName("*"),n=e.getElementsByTagName("a")[0],t=C.createElement("select"),s=t.appendChild(C.createElement("option"));if(!(!j||!j.length||!n)){c.support={leadingWhitespace:e.firstChild.nodeType===3,tbody:!e.getElementsByTagName("tbody").length,htmlSerialize:!!e.getElementsByTagName("link").length,style:/red/.test(n.getAttribute("style")),hrefNormalized:n.getAttribute("href")==="/a",opacity:/^0.55$/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:e.getElementsByTagName("input")[0].value===
"on",optSelected:s.selected,deleteExpando:true,optDisabled:false,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};t.disabled=true;c.support.optDisabled=!s.disabled;b.type="text/javascript";try{b.appendChild(C.createTextNode("window."+f+"=1;"))}catch(y){}a.insertBefore(b,a.firstChild);if(d[f]){c.support.scriptEval=true;delete d[f]}try{delete b.test}catch(P){c.support.deleteExpando=false}a.removeChild(b);
if(e.attachEvent&&e.fireEvent){e.attachEvent("onclick",function G(){c.support.noCloneEvent=false;e.detachEvent("onclick",G)});e.cloneNode(true).fireEvent("onclick")}e=C.createElement("div");e.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=C.createDocumentFragment();a.appendChild(e.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var G=C.createElement("div");G.style.width=G.style.paddingLeft="1px";C.body.appendChild(G);c.boxModel=
c.support.boxModel=G.offsetWidth===2;if("zoom"in G.style){G.style.display="inline";G.style.zoom=1;c.support.inlineBlockNeedsLayout=G.offsetWidth===2;G.style.display="";G.innerHTML="<div style='width:4px;'></div>";c.support.shrinkWrapBlocks=G.offsetWidth!==2}G.innerHTML="<table><tr><td style='padding:0;display:none'></td><td>t</td></tr></table>";var S=G.getElementsByTagName("td");c.support.reliableHiddenOffsets=S[0].offsetHeight===0;S[0].style.display="";S[1].style.display="none";c.support.reliableHiddenOffsets=
c.support.reliableHiddenOffsets&&S[0].offsetHeight===0;G.innerHTML="";C.body.removeChild(G).style.display="none"});a=function(G){var S=C.createElement("div");G="on"+G;var W=G in S;if(!W){S.setAttribute(G,"return;");W=typeof S[G]==="function"}return W};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=e=j=n=null}})();var T={},fa=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},
data:function(a,b,e){if(c.acceptData(a)){a=a==d?T:a;var f=a.nodeType,j=f?a[c.expando]:null,n=c.cache;if(!(f&&!j&&typeof b==="string"&&e===k)){if(f)j||(a[c.expando]=j=++c.uuid);else n=a;if(typeof b==="object")if(f)n[j]=c.extend(n[j],b);else c.extend(n,b);else if(f&&!n[j])n[j]={};a=f?n[j]:n;if(e!==k)a[b]=e;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==d?T:a;var e=a.nodeType,f=e?a[c.expando]:a,j=c.cache,n=e?j[f]:f;if(b){if(n){delete n[b];e&&c.isEmptyObject(n)&&
c.removeData(a)}}else if(e&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(e)delete j[f];else for(var t in a)delete a[t]}},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){var e=null;if(typeof a==="undefined"){if(this.length){var f=this[0].attributes,j;e=c.data(this[0]);for(var n=0,t=f.length;n<t;n++){j=f[n].name;
if(j.indexOf("data-")===0){j=j.substr(5);h(this[0],j,e[j])}}}return e}else if(typeof a==="object")return this.each(function(){c.data(this,a)});var s=a.split(".");s[1]=s[1]?"."+s[1]:"";if(b===k){e=this.triggerHandler("getData"+s[1]+"!",[s[0]]);if(e===k&&this.length){e=c.data(this[0],a);e=h(this[0],a,e)}return e===k&&s[1]?this.data(s[0]):e}else return this.each(function(){var y=c(this),P=[s[0],b];y.triggerHandler("setData"+s[1]+"!",P);c.data(this,a,b);y.triggerHandler("changeData"+s[1]+"!",P)})},removeData:function(a){return this.each(function(){c.removeData(this,
a)})}});c.extend({queue:function(a,b,e){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!e)return f||[];if(!f||c.isArray(e))f=c.data(a,b,c.makeArray(e));else f.push(e);return f}},dequeue:function(a,b){b=b||"fx";var e=c.queue(a,b),f=e.shift();if(f==="inprogress")f=e.shift();if(f){b==="fx"&&e.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===k)return c.queue(this[0],a);return this.each(function(){var e=c.queue(this,
a,b);a==="fx"&&e[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var e=this;setTimeout(function(){c.dequeue(e,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ha=/[\n\t]/g,ja=/\s+/,U=/\r/g,V=/^(?:href|src|style)$/,ia=/^(?:button|input)$/i,Ba=/^(?:button|input|object|select|textarea)$/i,Ga=/^a(?:rea)?$/i,ba=/^(?:radio|checkbox)$/i;
c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(P){var G=c(this);G.addClass(a.call(this,
P,G.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ja),e=0,f=this.length;e<f;e++){var j=this[e];if(j.nodeType===1)if(j.className){for(var n=" "+j.className+" ",t=j.className,s=0,y=b.length;s<y;s++)if(n.indexOf(" "+b[s]+" ")<0)t+=" "+b[s];j.className=c.trim(t)}else j.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(y){var P=c(this);P.removeClass(a.call(this,y,P.attr("class")))});if(a&&typeof a==="string"||a===k)for(var b=(a||"").split(ja),
e=0,f=this.length;e<f;e++){var j=this[e];if(j.nodeType===1&&j.className)if(a){for(var n=(" "+j.className+" ").replace(ha," "),t=0,s=b.length;t<s;t++)n=n.replace(" "+b[t]+" "," ");j.className=c.trim(n)}else j.className=""}return this},toggleClass:function(a,b){var e=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(j){var n=c(this);n.toggleClass(a.call(this,j,n.attr("class"),b),b)});return this.each(function(){if(e==="string")for(var j,n=0,t=c(this),s=b,y=a.split(ja);j=y[n++];){s=
f?s:!t.hasClass(j);t[s?"addClass":"removeClass"](j)}else if(e==="undefined"||e==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className=this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if((" "+this[b].className+" ").replace(ha," ").indexOf(a)>-1)return true;return false},val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var e=b.attributes.value;return!e||
e.specified?b.value:b.text}if(c.nodeName(b,"select")){var f=b.selectedIndex;e=[];var j=b.options;b=b.type==="select-one";if(f<0)return null;var n=b?f:0;for(f=b?f+1:j.length;n<f;n++){var t=j[n];if(t.selected&&(c.support.optDisabled?!t.disabled:t.getAttribute("disabled")===null)&&(!t.parentNode.disabled||!c.nodeName(t.parentNode,"optgroup"))){a=c(t).val();if(b)return a;e.push(a)}}return e}if(ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(U,
"")}return k}var s=c.isFunction(a);return this.each(function(y){var P=c(this),G=a;if(this.nodeType===1){if(s)G=a.call(this,y,P.val());if(G==null)G="";else if(typeof G==="number")G+="";else if(c.isArray(G))G=c.map(G,function(W){return W==null?"":W+""});if(c.isArray(G)&&ba.test(this.type))this.checked=c.inArray(P.val(),G)>=0;else if(c.nodeName(this,"select")){var S=c.makeArray(G);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),S)>=0});if(!S.length)this.selectedIndex=-1}else this.value=
G}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,e,f){if(!a||a.nodeType===3||a.nodeType===8)return k;if(f&&b in c.attrFn)return c(a)[b](e);f=a.nodeType!==1||!c.isXMLDoc(a);var j=e!==k;b=f&&c.props[b]||b;var n=V.test(b);if((b in a||a[b]!==k)&&f&&!n){if(j){b==="type"&&ia.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");if(e===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=e}if(c.nodeName(a,"form")&&
a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Ba.test(a.nodeName)||Ga.test(a.nodeName)&&a.href?0:k;return a[b]}if(!c.support.style&&f&&b==="style"){if(j)a.style.cssText=""+e;return a.style.cssText}j&&a.setAttribute(b,""+e);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return k;a=!c.support.hrefNormalized&&f&&n?a.getAttribute(b,2):a.getAttribute(b);return a===null?k:a}});var ea=/\.(.*)$/,ra=/^(?:textarea|input|select)$/i,
pa=/\./g,Ma=/ /g,Da=/[^\w\s.|`]/g,Aa=function(a){return a.replace(Da,"\\$&")},Ea={focusin:0,focusout:0};c.event={add:function(a,b,e,f){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==d&&!a.frameElement)a=d;if(e===false)e=l;else if(!e)return;var j,n;if(e.handler){j=e;e=j.handler}if(!e.guid)e.guid=c.guid++;if(n=c.data(a)){var t=a.nodeType?"events":"__events__",s=n[t],y=n.handle;if(typeof s==="function"){y=s.handle;s=s.events}else if(!s){a.nodeType||(n[t]=n=function(){});n.events=s={}}if(!y)n.handle=
y=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(y.elem,arguments):k};y.elem=a;b=b.split(" ");for(var P=0,G;t=b[P++];){n=j?c.extend({},j):{handler:e,data:f};if(t.indexOf(".")>-1){G=t.split(".");t=G.shift();n.namespace=G.slice(0).sort().join(".")}else{G=[];n.namespace=""}n.type=t;if(!n.guid)n.guid=e.guid;var S=s[t],W=c.event.special[t]||{};if(!S){S=s[t]=[];if(!W.setup||W.setup.call(a,f,G,y)===false)if(a.addEventListener)a.addEventListener(t,y,false);else a.attachEvent&&
a.attachEvent("on"+t,y)}if(W.add){W.add.call(a,n);if(!n.handler.guid)n.handler.guid=e.guid}S.push(n);c.event.global[t]=true}a=null}}},global:{},remove:function(a,b,e,f){if(!(a.nodeType===3||a.nodeType===8)){if(e===false)e=l;var j,n,t=0,s,y,P,G,S,W,da=a.nodeType?"events":"__events__",O=c.data(a),ca=O&&O[da];if(O&&ca){if(typeof ca==="function"){O=ca;ca=ca.events}if(b&&b.type){e=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(j in ca)c.event.remove(a,j+b)}else{for(b=b.split(" ");j=
b[t++];){G=j;s=j.indexOf(".")<0;y=[];if(!s){y=j.split(".");j=y.shift();P=RegExp("(^|\\.)"+c.map(y.slice(0).sort(),Aa).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(S=ca[j])if(e){G=c.event.special[j]||{};for(n=f||0;n<S.length;n++){W=S[n];if(e.guid===W.guid){if(s||P.test(W.namespace)){f==null&&S.splice(n--,1);G.remove&&G.remove.call(a,W)}if(f!=null)break}}if(S.length===0||f!=null&&S.length===1){if(!G.teardown||G.teardown.call(a,y)===false)c.removeEvent(a,j,O.handle);delete ca[j]}}else for(n=0;n<S.length;n++){W=
S[n];if(s||P.test(W.namespace)){c.event.remove(a,G,W.handler,n);S.splice(n--,1)}}}if(c.isEmptyObject(ca)){if(b=O.handle)b.elem=null;delete O.events;delete O.handle;if(typeof O==="function")c.removeData(a,da);else c.isEmptyObject(O)&&c.removeData(a)}}}}},trigger:function(a,b,e,f){var j=a.type||a;if(!f){a=typeof a==="object"?a[c.expando]?a:c.extend(c.Event(j),a):c.Event(j);if(j.indexOf("!")>=0){a.type=j=j.slice(0,-1);a.exclusive=true}if(!e){a.stopPropagation();c.event.global[j]&&c.each(c.cache,function(){this.events&&
this.events[j]&&c.event.trigger(a,b,this.handle.elem)})}if(!e||e.nodeType===3||e.nodeType===8)return k;a.result=k;a.target=e;b=c.makeArray(b);b.unshift(a)}a.currentTarget=e;(f=e.nodeType?c.data(e,"handle"):(c.data(e,"__events__")||{}).handle)&&f.apply(e,b);f=e.parentNode||e.ownerDocument;try{if(!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()]))if(e["on"+j]&&e["on"+j].apply(e,b)===false){a.result=false;a.preventDefault()}}catch(n){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){var t;
f=a.target;var s=j.replace(ea,""),y=c.nodeName(f,"a")&&s==="click",P=c.event.special[s]||{};if((!P._default||P._default.call(e,a)===false)&&!y&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[s]){if(t=f["on"+s])f["on"+s]=null;c.event.triggered=true;f[s]()}}catch(G){}if(t)f["on"+s]=t;c.event.triggered=false}}},handle:function(a){var b,e,f,j;e=[];var n=c.makeArray(arguments);a=n[0]=c.event.fix(a||d.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){f=a.type.split(".");
a.type=f.shift();e=f.slice(0).sort();f=RegExp("(^|\\.)"+e.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||e.join(".");j=c.data(this,this.nodeType?"events":"__events__");if(typeof j==="function")j=j.events;e=(j||{})[a.type];if(j&&e){e=e.slice(0);j=0;for(var t=e.length;j<t;j++){var s=e[j];if(b||f.test(s.namespace)){a.handler=s.handler;a.data=s.data;a.handleObj=s;s=s.handler.apply(this,n);if(s!==k){a.result=s;if(s===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.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 pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[c.expando])return a;var b=a;a=c.Event(b);for(var e=this.props.length,f;e;){f=this.props[--e];a[f]=b[f]}if(!a.target)a.target=a.srcElement||C;
if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=C.documentElement;e=C.body;a.pageX=a.clientX+(b&&b.scrollLeft||e&&e.scrollLeft||0)-(b&&b.clientLeft||e&&e.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop||e&&e.scrollTop||0)-(b&&b.clientTop||e&&e.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;
if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==k)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,E(a.origType,a.selector),c.extend({},a,{handler:u,guid:a.handler.guid}))},remove:function(a){c.event.remove(this,E(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,e){if(c.isWindow(this))this.onbeforeunload=e},teardown:function(a,b){if(this.onbeforeunload===
b)this.onbeforeunload=null}}}};c.removeEvent=C.removeEventListener?function(a,b,e){a.removeEventListener&&a.removeEventListener(b,e,false)}:function(a,b,e){a.detachEvent&&a.detachEvent("on"+b,e)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=c.now();this[c.expando]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=o;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();
else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=o;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o;this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l};var Ha=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(e){}},
Ia=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(e){c.event.add(this,b,e&&e.selector?Ia:Ha,a)},teardown:function(e){c.event.remove(this,b,e&&e.selector?Ia:Ha)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,e=b.type;if((e==="submit"||e==="image")&&
c(b).closest("form").length){a.liveFired=k;return p("submit",this,arguments)}});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,e=b.type;if((e==="text"||e==="password")&&c(b).closest("form").length&&a.keyCode===13){a.liveFired=k;return p("submit",this,arguments)}})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}};if(!c.support.changeBubbles){var sa,ua=function(a){var b=a.type,e=a.value;if(b==="radio"||b==="checkbox")e=a.checked;else if(b==="select-multiple")e=
a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")e=a.selectedIndex;return e},va=function(a,b){var e=a.target,f,j;if(!(!ra.test(e.nodeName)||e.readOnly)){f=c.data(e,"_change_data");j=ua(e);if(a.type!=="focusout"||e.type!=="radio")c.data(e,"_change_data",j);if(!(f===k||j===f))if(f!=null||j){a.type="change";a.liveFired=k;return c.event.trigger(a,b,e)}}};c.event.special.change={filters:{focusout:va,beforedeactivate:va,click:function(a){var b=
a.target,e=b.type;if(e==="radio"||e==="checkbox"||b.nodeName.toLowerCase()==="select")return va.call(this,a)},keydown:function(a){var b=a.target,e=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")return va.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",ua(a))}},setup:function(){if(this.type==="file")return false;for(var a in sa)c.event.add(this,a+".specialChange",sa[a]);return ra.test(this.nodeName)},
teardown:function(){c.event.remove(this,".specialChange");return ra.test(this.nodeName)}};sa=c.event.special.change.filters;sa.focus=sa.beforeactivate}C.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function e(f){f=c.event.fix(f);f.type=b;return c.event.trigger(f,null,f.target)}c.event.special[b]={setup:function(){Ea[b]++===0&&C.addEventListener(a,e,true)},teardown:function(){--Ea[b]===0&&C.removeEventListener(a,e,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(e,
f,j){if(typeof e==="object"){for(var n in e)this[b](n,f,e[n],j);return this}if(c.isFunction(f)||f===false){j=f;f=k}var t=b==="one"?c.proxy(j,function(y){c(this).unbind(y,t);return j.apply(this,arguments)}):j;if(e==="unload"&&b!=="one")this.one(e,f,j);else{n=0;for(var s=this.length;n<s;n++)c.event.add(this[n],e,t,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var e in a)this.unbind(e,a[e]);else{e=0;for(var f=this.length;e<f;e++)c.event.remove(this[e],
a,b)}return this},delegate:function(a,b,e,f){return this.live(b,e,f,a)},undelegate:function(a,b,e){return arguments.length===0?this.unbind("live"):this.die(b,null,e,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){var e=c.Event(a);e.preventDefault();e.stopPropagation();c.event.trigger(e,b,this[0]);return e.result}},toggle:function(a){for(var b=arguments,e=1;e<b.length;)c.proxy(a,b[e++]);return this.click(c.proxy(a,function(f){var j=
(c.data(this,"lastToggle"+a.guid)||0)%e;c.data(this,"lastToggle"+a.guid,j+1);f.preventDefault();return b[j].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var ta={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(e,f,j,n){var t,s=0,y,P,G=n||this.selector;n=n?this:c(this.context);if(typeof e==="object"&&!e.preventDefault){for(t in e)n[b](t,f,e[t],G);return this}if(c.isFunction(f)){j=
f;f=k}for(e=(e||"").split(" ");(t=e[s++])!=null;){y=ea.exec(t);P="";if(y){P=y[0];t=t.replace(ea,"")}if(t==="hover")e.push("mouseenter"+P,"mouseleave"+P);else{y=t;if(t==="focus"||t==="blur"){e.push(ta[t]+P);t+=P}else t=(ta[t]||t)+P;if(b==="live"){P=0;for(var S=n.length;P<S;P++)c.event.add(n[P],"live."+E(t,G),{data:f,selector:G,handler:j,origType:t,origHandler:j,preType:y})}else n.unbind("live."+E(t,G),j)}}return this}});c.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(a,b){c.fn[b]=function(e,f){if(f==null){f=e;e=null}return arguments.length>0?this.bind(b,e,f):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});d.attachEvent&&!d.addEventListener&&c(d).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(m,q,x,w,A,B){A=0;for(var M=w.length;A<M;A++){var Q=w[A];if(Q){var Y=false;for(Q=Q[m];Q;){if(Q.sizcache===x){Y=w[Q.sizset];break}if(Q.nodeType===1&&!B){Q.sizcache=x;
Q.sizset=A}if(Q.nodeName.toLowerCase()===q){Y=Q;break}Q=Q[m]}w[A]=Y}}}function b(m,q,x,w,A,B){A=0;for(var M=w.length;A<M;A++){var Q=w[A];if(Q){var Y=false;for(Q=Q[m];Q;){if(Q.sizcache===x){Y=w[Q.sizset];break}if(Q.nodeType===1){if(!B){Q.sizcache=x;Q.sizset=A}if(typeof q!=="string"){if(Q===q){Y=true;break}}else if(s.filter(q,[Q]).length>0){Y=Q;break}}Q=Q[m]}w[A]=Y}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
f=0,j=Object.prototype.toString,n=false,t=true;[0,0].sort(function(){t=false;return 0});var s=function(m,q,x,w){x=x||[];var A=q=q||C;if(q.nodeType!==1&&q.nodeType!==9)return[];if(!m||typeof m!=="string")return x;var B,M,Q,Y,la,ma=true,na=s.isXML(q),X=[],za=m;do{e.exec("");if(B=e.exec(za)){za=B[3];X.push(B[1]);if(B[2]){Y=B[3];break}}}while(B);if(X.length>1&&P.exec(m))if(X.length===2&&y.relative[X[0]])M=ka(X[0]+X[1],q);else for(M=y.relative[X[0]]?[q]:s(X.shift(),q);X.length;){m=X.shift();if(y.relative[m])m+=
X.shift();M=ka(m,M)}else{if(!w&&X.length>1&&q.nodeType===9&&!na&&y.match.ID.test(X[0])&&!y.match.ID.test(X[X.length-1])){B=s.find(X.shift(),q,na);q=B.expr?s.filter(B.expr,B.set)[0]:B.set[0]}if(q){B=w?{expr:X.pop(),set:W(w)}:s.find(X.pop(),X.length===1&&(X[0]==="~"||X[0]==="+")&&q.parentNode?q.parentNode:q,na);M=B.expr?s.filter(B.expr,B.set):B.set;if(X.length>0)Q=W(M);else ma=false;for(;X.length;){B=la=X.pop();if(y.relative[la])B=X.pop();else la="";if(B==null)B=q;y.relative[la](Q,B,na)}}else Q=[]}Q||
(Q=M);Q||s.error(la||m);if(j.call(Q)==="[object Array]")if(ma)if(q&&q.nodeType===1)for(m=0;Q[m]!=null;m++){if(Q[m]&&(Q[m]===true||Q[m].nodeType===1&&s.contains(q,Q[m])))x.push(M[m])}else for(m=0;Q[m]!=null;m++)Q[m]&&Q[m].nodeType===1&&x.push(M[m]);else x.push.apply(x,Q);else W(Q,x);if(Y){s(Y,A,x,w);s.uniqueSort(x)}return x};s.uniqueSort=function(m){if(O){n=t;m.sort(O);if(n)for(var q=1;q<m.length;q++)m[q]===m[q-1]&&m.splice(q--,1)}return m};s.matches=function(m,q){return s(m,null,null,q)};s.matchesSelector=
function(m,q){return s(q,null,null,[m]).length>0};s.find=function(m,q,x){var w;if(!m)return[];for(var A=0,B=y.order.length;A<B;A++){var M,Q=y.order[A];if(M=y.leftMatch[Q].exec(m)){var Y=M[1];M.splice(1,1);if(Y.substr(Y.length-1)!=="\\"){M[1]=(M[1]||"").replace(/\\/g,"");w=y.find[Q](M,q,x);if(w!=null){m=m.replace(y.match[Q],"");break}}}}w||(w=q.getElementsByTagName("*"));return{set:w,expr:m}};s.filter=function(m,q,x,w){for(var A,B,M=m,Q=[],Y=q,la=q&&q[0]&&s.isXML(q[0]);m&&q.length;){for(var ma in y.filter)if((A=
y.leftMatch[ma].exec(m))!=null&&A[2]){var na,X,za=y.filter[ma];X=A[1];B=false;A.splice(1,1);if(X.substr(X.length-1)!=="\\"){if(Y===Q)Q=[];if(y.preFilter[ma])if(A=y.preFilter[ma](A,Y,x,Q,w,la)){if(A===true)continue}else B=na=true;if(A)for(var r=0;(X=Y[r])!=null;r++)if(X){na=za(X,A,r,Y);var H=w^!!na;if(x&&na!=null)if(H)B=true;else Y[r]=false;else if(H){Q.push(X);B=true}}if(na!==k){x||(Y=Q);m=m.replace(y.match[ma],"");if(!B)return[];break}}}if(m===M)if(B==null)s.error(m);else break;M=m}return Y};s.error=
function(m){throw"Syntax error, unrecognized expression: "+m;};var y=s.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(m){return m.getAttribute("href")}},relative:{"+":function(m,q){var x=typeof q==="string",w=x&&!/\W/.test(q);x=x&&!w;if(w)q=q.toLowerCase();w=0;for(var A=m.length,B;w<A;w++)if(B=m[w]){for(;(B=B.previousSibling)&&B.nodeType!==1;);m[w]=x||B&&B.nodeName.toLowerCase()===q?B||false:B===q}x&&s.filter(q,m,true)},">":function(m,q){var x,
w=typeof q==="string",A=0,B=m.length;if(w&&!/\W/.test(q))for(q=q.toLowerCase();A<B;A++){if(x=m[A]){x=x.parentNode;m[A]=x.nodeName.toLowerCase()===q?x:false}}else{for(;A<B;A++)if(x=m[A])m[A]=w?x.parentNode:x.parentNode===q;w&&s.filter(q,m,true)}},"":function(m,q,x){var w,A=f++,B=b;if(typeof q==="string"&&!/\W/.test(q)){w=q=q.toLowerCase();B=a}B("parentNode",q,A,m,w,x)},"~":function(m,q,x){var w,A=f++,B=b;if(typeof q==="string"&&!/\W/.test(q)){w=q=q.toLowerCase();B=a}B("previousSibling",q,A,m,w,x)}},
find:{ID:function(m,q,x){if(typeof q.getElementById!=="undefined"&&!x)return(m=q.getElementById(m[1]))&&m.parentNode?[m]:[]},NAME:function(m,q){if(typeof q.getElementsByName!=="undefined"){for(var x=[],w=q.getElementsByName(m[1]),A=0,B=w.length;A<B;A++)w[A].getAttribute("name")===m[1]&&x.push(w[A]);return x.length===0?null:x}},TAG:function(m,q){return q.getElementsByTagName(m[1])}},preFilter:{CLASS:function(m,q,x,w,A,B){m=" "+m[1].replace(/\\/g,"")+" ";if(B)return m;B=0;for(var M;(M=q[B])!=null;B++)if(M)if(A^
(M.className&&(" "+M.className+" ").replace(/[\t\n]/g," ").indexOf(m)>=0))x||w.push(M);else if(x)q[B]=false;return false},ID:function(m){return m[1].replace(/\\/g,"")},TAG:function(m){return m[1].toLowerCase()},CHILD:function(m){if(m[1]==="nth"){var q=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[2]==="even"&&"2n"||m[2]==="odd"&&"2n+1"||!/\D/.test(m[2])&&"0n+"+m[2]||m[2]);m[2]=q[1]+(q[2]||1)-0;m[3]=q[3]-0}m[0]=f++;return m},ATTR:function(m,q,x,w,A,B){q=m[1].replace(/\\/g,"");if(!B&&y.attrMap[q])m[1]=y.attrMap[q];
if(m[2]==="~=")m[4]=" "+m[4]+" ";return m},PSEUDO:function(m,q,x,w,A){if(m[1]==="not")if((e.exec(m[3])||"").length>1||/^\w/.test(m[3]))m[3]=s(m[3],null,null,q);else{m=s.filter(m[3],q,x,true^A);x||w.push.apply(w,m);return false}else if(y.match.POS.test(m[0])||y.match.CHILD.test(m[0]))return true;return m},POS:function(m){m.unshift(true);return m}},filters:{enabled:function(m){return m.disabled===false&&m.type!=="hidden"},disabled:function(m){return m.disabled===true},checked:function(m){return m.checked===
true},selected:function(m){return m.selected===true},parent:function(m){return!!m.firstChild},empty:function(m){return!m.firstChild},has:function(m,q,x){return!!s(x[3],m).length},header:function(m){return/h\d/i.test(m.nodeName)},text:function(m){return"text"===m.type},radio:function(m){return"radio"===m.type},checkbox:function(m){return"checkbox"===m.type},file:function(m){return"file"===m.type},password:function(m){return"password"===m.type},submit:function(m){return"submit"===m.type},image:function(m){return"image"===
m.type},reset:function(m){return"reset"===m.type},button:function(m){return"button"===m.type||m.nodeName.toLowerCase()==="button"},input:function(m){return/input|select|textarea|button/i.test(m.nodeName)}},setFilters:{first:function(m,q){return q===0},last:function(m,q,x,w){return q===w.length-1},even:function(m,q){return q%2===0},odd:function(m,q){return q%2===1},lt:function(m,q,x){return q<x[3]-0},gt:function(m,q,x){return q>x[3]-0},nth:function(m,q,x){return x[3]-0===q},eq:function(m,q,x){return x[3]-
0===q}},filter:{PSEUDO:function(m,q,x,w){var A=q[1],B=y.filters[A];if(B)return B(m,x,q,w);else if(A==="contains")return(m.textContent||m.innerText||s.getText([m])||"").indexOf(q[3])>=0;else if(A==="not"){q=q[3];x=0;for(w=q.length;x<w;x++)if(q[x]===m)return false;return true}else s.error("Syntax error, unrecognized expression: "+A)},CHILD:function(m,q){var x=q[1],w=m;switch(x){case "only":case "first":for(;w=w.previousSibling;)if(w.nodeType===1)return false;if(x==="first")return true;w=m;case "last":for(;w=
w.nextSibling;)if(w.nodeType===1)return false;return true;case "nth":x=q[2];var A=q[3];if(x===1&&A===0)return true;var B=q[0],M=m.parentNode;if(M&&(M.sizcache!==B||!m.nodeIndex)){var Q=0;for(w=M.firstChild;w;w=w.nextSibling)if(w.nodeType===1)w.nodeIndex=++Q;M.sizcache=B}w=m.nodeIndex-A;return x===0?w===0:w%x===0&&w/x>=0}},ID:function(m,q){return m.nodeType===1&&m.getAttribute("id")===q},TAG:function(m,q){return q==="*"&&m.nodeType===1||m.nodeName.toLowerCase()===q},CLASS:function(m,q){return(" "+
(m.className||m.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(m,q){var x=q[1];x=y.attrHandle[x]?y.attrHandle[x](m):m[x]!=null?m[x]:m.getAttribute(x);var w=x+"",A=q[2],B=q[4];return x==null?A==="!=":A==="="?w===B:A==="*="?w.indexOf(B)>=0:A==="~="?(" "+w+" ").indexOf(B)>=0:!B?w&&x!==false:A==="!="?w!==B:A==="^="?w.indexOf(B)===0:A==="$="?w.substr(w.length-B.length)===B:A==="|="?w===B||w.substr(0,B.length+1)===B+"-":false},POS:function(m,q,x,w){var A=y.setFilters[q[2]];if(A)return A(m,x,q,
w)}}},P=y.match.POS,G=function(m,q){return"\\"+(q-0+1)},S;for(S in y.match){y.match[S]=RegExp(y.match[S].source+/(?![^\[]*\])(?![^\(]*\))/.source);y.leftMatch[S]=RegExp(/(^(?:.|\r|\n)*?)/.source+y.match[S].source.replace(/\\(\d+)/g,G))}var W=function(m,q){m=Array.prototype.slice.call(m,0);if(q){q.push.apply(q,m);return q}return m};try{Array.prototype.slice.call(C.documentElement.childNodes,0)}catch(da){W=function(m,q){var x=0,w=q||[];if(j.call(m)==="[object Array]")Array.prototype.push.apply(w,m);
else if(typeof m.length==="number")for(var A=m.length;x<A;x++)w.push(m[x]);else for(;m[x];x++)w.push(m[x]);return w}}var O,ca;if(C.documentElement.compareDocumentPosition)O=function(m,q){if(m===q){n=true;return 0}if(!m.compareDocumentPosition||!q.compareDocumentPosition)return m.compareDocumentPosition?-1:1;return m.compareDocumentPosition(q)&4?-1:1};else{O=function(m,q){var x,w,A=[],B=[];x=m.parentNode;w=q.parentNode;var M=x;if(m===q){n=true;return 0}else if(x===w)return ca(m,q);else if(x){if(!w)return 1}else return-1;
for(;M;){A.unshift(M);M=M.parentNode}for(M=w;M;){B.unshift(M);M=M.parentNode}x=A.length;w=B.length;for(M=0;M<x&&M<w;M++)if(A[M]!==B[M])return ca(A[M],B[M]);return M===x?ca(m,B[M],-1):ca(A[M],q,1)};ca=function(m,q,x){if(m===q)return x;for(m=m.nextSibling;m;){if(m===q)return-1;m=m.nextSibling}return 1}}s.getText=function(m){for(var q="",x,w=0;m[w];w++){x=m[w];if(x.nodeType===3||x.nodeType===4)q+=x.nodeValue;else if(x.nodeType!==8)q+=s.getText(x.childNodes)}return q};(function(){var m=C.createElement("div"),
q="script"+(new Date).getTime(),x=C.documentElement;m.innerHTML="<a name='"+q+"'/>";x.insertBefore(m,x.firstChild);if(C.getElementById(q)){y.find.ID=function(w,A,B){if(typeof A.getElementById!=="undefined"&&!B)return(A=A.getElementById(w[1]))?A.id===w[1]||typeof A.getAttributeNode!=="undefined"&&A.getAttributeNode("id").nodeValue===w[1]?[A]:k:[]};y.filter.ID=function(w,A){var B=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&B&&B.nodeValue===A}}x.removeChild(m);
x=m=null})();(function(){var m=C.createElement("div");m.appendChild(C.createComment(""));if(m.getElementsByTagName("*").length>0)y.find.TAG=function(q,x){var w=x.getElementsByTagName(q[1]);if(q[1]==="*"){for(var A=[],B=0;w[B];B++)w[B].nodeType===1&&A.push(w[B]);w=A}return w};m.innerHTML="<a href='#'></a>";if(m.firstChild&&typeof m.firstChild.getAttribute!=="undefined"&&m.firstChild.getAttribute("href")!=="#")y.attrHandle.href=function(q){return q.getAttribute("href",2)};m=null})();C.querySelectorAll&&
function(){var m=s,q=C.createElement("div");q.innerHTML="<p class='TEST'></p>";if(!(q.querySelectorAll&&q.querySelectorAll(".TEST").length===0)){s=function(w,A,B,M){A=A||C;w=w.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!M&&!s.isXML(A))if(A.nodeType===9)try{return W(A.querySelectorAll(w),B)}catch(Q){}else if(A.nodeType===1&&A.nodeName.toLowerCase()!=="object"){var Y=A.getAttribute("id"),la=Y||"__sizzle__";Y||A.setAttribute("id",la);try{return W(A.querySelectorAll("#"+la+" "+w),B)}catch(ma){}finally{Y||
A.removeAttribute("id")}}return m(w,A,B,M)};for(var x in m)s[x]=m[x];q=null}}();(function(){var m=C.documentElement,q=m.matchesSelector||m.mozMatchesSelector||m.webkitMatchesSelector||m.msMatchesSelector,x=false;try{q.call(C.documentElement,"[test!='']:sizzle")}catch(w){x=true}if(q)s.matchesSelector=function(A,B){B=B.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!s.isXML(A))try{if(x||!y.match.PSEUDO.test(B)&&!/!=/.test(B))return q.call(A,B)}catch(M){}return s(B,null,null,[A]).length>0}})();(function(){var m=
C.createElement("div");m.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!m.getElementsByClassName||m.getElementsByClassName("e").length===0)){m.lastChild.className="e";if(m.getElementsByClassName("e").length!==1){y.order.splice(1,0,"CLASS");y.find.CLASS=function(q,x,w){if(typeof x.getElementsByClassName!=="undefined"&&!w)return x.getElementsByClassName(q[1])};m=null}}})();s.contains=C.documentElement.contains?function(m,q){return m!==q&&(m.contains?m.contains(q):true)}:C.documentElement.compareDocumentPosition?
function(m,q){return!!(m.compareDocumentPosition(q)&16)}:function(){return false};s.isXML=function(m){return(m=(m?m.ownerDocument||m:0).documentElement)?m.nodeName!=="HTML":false};var ka=function(m,q){for(var x,w=[],A="",B=q.nodeType?[q]:q;x=y.match.PSEUDO.exec(m);){A+=x[0];m=m.replace(y.match.PSEUDO,"")}m=y.relative[m]?m+"*":m;x=0;for(var M=B.length;x<M;x++)s(m,B[x],w);return s.filter(A,w)};c.find=s;c.expr=s.selectors;c.expr[":"]=c.expr.filters;c.unique=s.uniqueSort;c.text=s.getText;c.isXMLDoc=s.isXML;
c.contains=s.contains})();var wa=/Until$/,xa=/^(?:parents|prevUntil|prevAll)/,ya=/,/,Na=/^.[^:#\[\.,]*$/,eb=Array.prototype.slice,fb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),e=0,f=0,j=this.length;f<j;f++){e=b.length;c.find(a,this[f],b);if(f>0)for(var n=e;n<b.length;n++)for(var t=0;t<e;t++)if(b[t]===b[n]){b.splice(n--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var e=0,f=b.length;e<f;e++)if(c.contains(this,b[e]))return true})},
not:function(a){return this.pushStack(v(this,a,false),"not",a)},filter:function(a){return this.pushStack(v(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){var e=[],f,j,n=this[0];if(c.isArray(a)){var t,s={},y=1;if(n&&a.length){f=0;for(j=a.length;f<j;f++){t=a[f];s[t]||(s[t]=c.expr.match.POS.test(t)?c(t,b||this.context):t)}for(;n&&n.ownerDocument&&n!==b;){for(t in s){f=s[t];if(f.jquery?f.index(n)>-1:c(n).is(f))e.push({selector:t,elem:n,level:y})}n=
n.parentNode;y++}}return e}t=fb.test(a)?c(a,b||this.context):null;f=0;for(j=this.length;f<j;f++)for(n=this[f];n;)if(t?t.index(n)>-1:c.find.matchesSelector(n,a)){e.push(n);break}else{n=n.parentNode;if(!n||!n.ownerDocument||n===b)break}e=e.length>1?c.unique(e):e;return this.pushStack(e,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var e=typeof a==="string"?c(a,b||this.context):
c.makeArray(a),f=c.merge(this.get(),e);return this.pushStack(!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11||!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===11?f:c.unique(f))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,e){return c.dir(a,"parentNode",e)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,
2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,e){return c.dir(a,"nextSibling",e)},prevUntil:function(a,b,e){return c.dir(a,"previousSibling",e)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,
b){c.fn[a]=function(e,f){var j=c.map(this,b,e);wa.test(a)||(f=e);if(f&&typeof f==="string")j=c.filter(f,j);j=this.length>1?c.unique(j):j;if((this.length>1||ya.test(f))&&xa.test(a))j=j.reverse();return this.pushStack(j,a,eb.call(arguments).join(","))}});c.extend({filter:function(a,b,e){if(e)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,e){var f=[];for(a=a[b];a&&a.nodeType!==9&&(e===k||a.nodeType!==1||!c(a).is(e));){a.nodeType===1&&
f.push(a);a=a[b]}return f},nth:function(a,b,e){b=b||1;for(var f=0;a;a=a[e])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var e=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&e.push(a);return e}});var Sa=/ jQuery\d+="(?:\d+|null)"/g,Ja=/^\s+/,Ta=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ua=/<([\w:]+)/,gb=/<tbody/i,hb=/<|&#?\w+;/,Va=/<(?:script|object|embed|option|style)/i,Wa=/checked\s*(?:[^=]|=\s*.checked.)/i,ib=/\=([^="'>\s]+\/)>/g,oa={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,"",""]};oa.optgroup=oa.option;oa.tbody=oa.tfoot=oa.colgroup=oa.caption=oa.thead;oa.th=oa.td;if(!c.support.htmlSerialize)oa._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var e=
c(this);e.text(a.call(this,b,e.text()))});if(typeof a!=="object"&&a!==k)return this.empty().append((this[0]&&this[0].ownerDocument||C).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(e){c(this).wrapAll(a.call(this,e))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},
wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),e=b.contents();e.length?e.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},
prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,
this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var e=0,f;(f=this[e])!=null;e++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);
return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var e=this.outerHTML,f=this.ownerDocument;if(!e){e=f.createElement("div");e.appendChild(this.cloneNode(true));e=e.innerHTML}return c.clean([e.replace(Sa,"").replace(ib,'="$1">').replace(Ja,"")],f)[0]}else return this.cloneNode(true)});if(a===true){I(this,b);I(this.find("*"),b.find("*"))}return b},html:function(a){if(a===k)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Sa,""):null;
else if(typeof a==="string"&&!Va.test(a)&&(c.support.leadingWhitespace||!Ja.test(a))&&!oa[(Ua.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ta,"<$1></$2>");try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(j){var n=c(this);n.html(a.call(this,j,n.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var e=
c(this),f=e.html();e.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,e=this.parentNode;c(this).remove();b?c(b).before(a):c(e).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,e){var f,j,n,t=a[0],s=[];if(!c.support.checkClone&&arguments.length===3&&typeof t==="string"&&Wa.test(t))return this.each(function(){c(this).domManip(a,
b,e,true)});if(c.isFunction(t))return this.each(function(P){var G=c(this);a[0]=t.call(this,P,b?G.html():k);G.domManip(a,b,e)});if(this[0]){f=t&&t.parentNode;f=c.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:c.buildFragment(a,this,s);n=f.fragment;if(j=n.childNodes.length===1?n=n.firstChild:n.firstChild){b=b&&c.nodeName(j,"tr");j=0;for(var y=this.length;j<y;j++)e.call(b?c.nodeName(this[j],"table")?this[j].getElementsByTagName("tbody")[0]||this[j].appendChild(this[j].ownerDocument.createElement("tbody")):
this[j]:this[j],j>0||f.cacheable||this.length>1?n.cloneNode(true):n)}s.length&&c.each(s,z)}return this}});c.buildFragment=function(a,b,e){var f,j,n;b=b&&b[0]?b[0].ownerDocument||b[0]:C;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===C&&!Va.test(a[0])&&(c.support.checkClone||!Wa.test(a[0]))){j=true;if(n=c.fragments[a[0]])if(n!==1)f=n}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,e)}if(j)c.fragments[a[0]]=n?f:1;return{fragment:f,cacheable:j}};c.fragments={};c.each({appendTo:"append",
prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(e){var f=[];e=c(e);var j=this.length===1&&this[0].parentNode;if(j&&j.nodeType===11&&j.childNodes.length===1&&e.length===1){e[b](this[0]);return this}else{j=0;for(var n=e.length;j<n;j++){var t=(j>0?this.clone(true):this).get();c(e[j])[b](t);f=f.concat(t)}return this.pushStack(f,a,e.selector)}}});c.extend({clean:function(a,b,e,f){b=b||C;if(typeof b.createElement==="undefined")b=b.ownerDocument||
b[0]&&b[0].ownerDocument||C;for(var j=[],n=0,t;(t=a[n])!=null;n++){if(typeof t==="number")t+="";if(t){if(typeof t==="string"&&!hb.test(t))t=b.createTextNode(t);else if(typeof t==="string"){t=t.replace(Ta,"<$1></$2>");var s=(Ua.exec(t)||["",""])[1].toLowerCase(),y=oa[s]||oa._default,P=y[0],G=b.createElement("div");for(G.innerHTML=y[1]+t+y[2];P--;)G=G.lastChild;if(!c.support.tbody){P=gb.test(t);s=s==="table"&&!P?G.firstChild&&G.firstChild.childNodes:y[1]==="<table>"&&!P?G.childNodes:[];for(y=s.length-
1;y>=0;--y)c.nodeName(s[y],"tbody")&&!s[y].childNodes.length&&s[y].parentNode.removeChild(s[y])}!c.support.leadingWhitespace&&Ja.test(t)&&G.insertBefore(b.createTextNode(Ja.exec(t)[0]),G.firstChild);t=G.childNodes}if(t.nodeType)j.push(t);else j=c.merge(j,t)}}if(e)for(n=0;j[n];n++)if(f&&c.nodeName(j[n],"script")&&(!j[n].type||j[n].type.toLowerCase()==="text/javascript"))f.push(j[n].parentNode?j[n].parentNode.removeChild(j[n]):j[n]);else{j[n].nodeType===1&&j.splice.apply(j,[n+1,0].concat(c.makeArray(j[n].getElementsByTagName("script"))));
e.appendChild(j[n])}return j},cleanData:function(a){for(var b,e,f=c.cache,j=c.event.special,n=c.support.deleteExpando,t=0,s;(s=a[t])!=null;t++)if(!(s.nodeName&&c.noData[s.nodeName.toLowerCase()]))if(e=s[c.expando]){if((b=f[e])&&b.events)for(var y in b.events)j[y]?c.event.remove(s,y):c.removeEvent(s,y,b.handle);if(n)delete s[c.expando];else s.removeAttribute&&s.removeAttribute(c.expando);delete f[e]}}});var Xa=/alpha\([^)]*\)/i,jb=/opacity=([^)]*)/,kb=/-([a-z])/ig,lb=/([A-Z])/g,Ya=/^-?\d+(?:px)?$/i,
mb=/^-?\d/,nb={position:"absolute",visibility:"hidden",display:"block"},bb=["Left","Right"],cb=["Top","Bottom"],Fa,Za,Ka,ob=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===k)return this;return c.access(this,a,b,true,function(e,f,j){return j!==k?c.style(e,f,j):c.css(e,f)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var e=Fa(a,"opacity","opacity");return e===""?"1":e}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,
zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,e,f){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var j,n=c.camelCase(b),t=a.style,s=c.cssHooks[n];b=c.cssProps[n]||n;if(e!==k){if(!(typeof e==="number"&&isNaN(e)||e==null)){if(typeof e==="number"&&!c.cssNumber[n])e+="px";if(!s||!("set"in s)||(e=s.set(a,e))!==k)try{t[b]=e}catch(y){}}}else{if(s&&"get"in s&&(j=s.get(a,false,f))!==k)return j;return t[b]}}},css:function(a,b,e){var f,j=c.camelCase(b),
n=c.cssHooks[j];b=c.cssProps[j]||j;if(n&&"get"in n&&(f=n.get(a,true,e))!==k)return f;else if(Fa)return Fa(a,b,j)},swap:function(a,b,e){var f={},j;for(j in b){f[j]=a.style[j];a.style[j]=b[j]}e.call(a);for(j in b)a.style[j]=f[j]},camelCase:function(a){return a.replace(kb,ob)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(e,f,j){var n;if(f){if(e.offsetWidth!==0)n=F(e,b,j);else c.swap(e,nb,function(){n=F(e,b,j)});if(n<=0){n=Fa(e,b,b);if(n==="0px"&&Ka)n=Ka(e,b,b);
if(n!=null)return n===""||n==="auto"?"0px":n}if(n<0||n==null){n=e.style[b];return n===""||n==="auto"?"0px":n}return typeof n==="string"?n:n+"px"}},set:function(e,f){if(Ya.test(f)){f=parseFloat(f);if(f>=0)return f+"px"}else return f}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return jb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var e=a.style;e.zoom=1;var f=c.isNaN(b)?"":"alpha(opacity="+b*100+")",j=
e.filter||"";e.filter=Xa.test(j)?j.replace(Xa,f):e.filter+" "+f}};if(C.defaultView&&C.defaultView.getComputedStyle)Za=function(a,b,e){var f;e=e.replace(lb,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return k;if(b=b.getComputedStyle(a,null)){f=b.getPropertyValue(e);if(f===""&&!c.contains(a.ownerDocument.documentElement,a))f=c.style(a,e)}return f};if(C.documentElement.currentStyle)Ka=function(a,b){var e,f,j=a.currentStyle&&a.currentStyle[b],n=a.style;if(!Ya.test(j)&&mb.test(j)){e=n.left;
f=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;n.left=b==="fontSize"?"1em":j||0;j=n.pixelLeft+"px";n.left=e;a.runtimeStyle.left=f}return j===""?"auto":j};Fa=Za||Ka;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var pb=c.now(),qb=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
rb=/^(?:select|textarea)/i,sb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,tb=/^(?:GET|HEAD)$/,db=/\[\]$/,Ca=/\=\?(&|$)/,Qa=/\?/,ub=/([?&])_=[^&]*/,vb=/^(\w+:)?\/\/([^\/?#]+)/,wb=/%20/g,xb=/#.*$/,$a=c.fn.load;c.fn.extend({load:function(a,b,e){if(typeof a!=="string"&&$a)return $a.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var j=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){e=b;b=null}else if(typeof b===
"object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var n=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(t,s){if(s==="success"||s==="notmodified")n.html(j?c("<div>").append(t.responseText.replace(qb,"")).find(j):t.responseText);e&&n.each(e,[t.responseText,s,t])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&
!this.disabled&&(this.checked||rb.test(this.nodeName)||sb.test(this.type))}).map(function(a,b){var e=c(this).val();return e==null?null:c.isArray(e)?c.map(e,function(f){return{name:b.name,value:f}}):{name:b.name,value:e}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(e){return this.bind(b,e)}});c.extend({get:function(a,b,e,f){if(c.isFunction(b)){f=f||e;e=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:e,dataType:f})},
getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,e){return c.get(a,b,e,"json")},post:function(a,b,e,f){if(c.isFunction(b)){f=f||e;e=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:e,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new d.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",
script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),e,f,j,n=b.type.toUpperCase(),t=tb.test(n);b.url=b.url.replace(xb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(n==="GET")Ca.test(b.url)||(b.url+=(Qa.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data||
!Ca.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&Ca.test(b.data)||Ca.test(b.url))){e=b.jsonpCallback||"jsonp"+pb++;if(b.data)b.data=(b.data+"").replace(Ca,"="+e+"$1");b.url=b.url.replace(Ca,"="+e+"$1");b.dataType="script";var s=d[e];d[e]=function(w){if(c.isFunction(s))s(w);else{d[e]=k;try{delete d[e]}catch(A){}}j=w;c.handleSuccess(b,O,f,j);c.handleComplete(b,O,f,j);G&&G.removeChild(S)}}if(b.dataType==="script"&&b.cache===
null)b.cache=false;if(b.cache===false&&t){var y=c.now(),P=b.url.replace(ub,"$1_="+y);b.url=P+(P===b.url?(Qa.test(b.url)?"&":"?")+"_="+y:"")}if(b.data&&t)b.url+=(Qa.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");y=(y=vb.exec(b.url))&&(y[1]&&y[1].toLowerCase()!==location.protocol||y[2].toLowerCase()!==location.host);if(b.dataType==="script"&&n==="GET"&&y){var G=C.getElementsByTagName("head")[0]||C.documentElement,S=C.createElement("script");if(b.scriptCharset)S.charset=
b.scriptCharset;S.src=b.url;if(!e){var W=false;S.onload=S.onreadystatechange=function(){if(!W&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){W=true;c.handleSuccess(b,O,f,j);c.handleComplete(b,O,f,j);S.onload=S.onreadystatechange=null;G&&S.parentNode&&G.removeChild(S)}}}G.insertBefore(S,G.firstChild);return k}var da=false,O=b.xhr();if(O){b.username?O.open(n,b.url,b.async,b.username,b.password):O.open(n,b.url,b.async);try{if(b.data!=null&&!t||a&&a.contentType)O.setRequestHeader("Content-Type",
b.contentType);if(b.ifModified){c.lastModified[b.url]&&O.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&O.setRequestHeader("If-None-Match",c.etag[b.url])}y||O.setRequestHeader("X-Requested-With","XMLHttpRequest");O.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(ca){}if(b.beforeSend&&b.beforeSend.call(b.context,O,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");O.abort();return false}b.global&&
c.triggerGlobal(b,"ajaxSend",[O,b]);var ka=O.onreadystatechange=function(w){if(!O||O.readyState===0||w==="abort"){da||c.handleComplete(b,O,f,j);da=true;if(O)O.onreadystatechange=c.noop}else if(!da&&O&&(O.readyState===4||w==="timeout")){da=true;O.onreadystatechange=c.noop;f=w==="timeout"?"timeout":!c.httpSuccess(O)?"error":b.ifModified&&c.httpNotModified(O,b.url)?"notmodified":"success";var A;if(f==="success")try{j=c.httpData(O,b.dataType,b)}catch(B){f="parsererror";A=B}if(f==="success"||f==="notmodified")e||
c.handleSuccess(b,O,f,j);else c.handleError(b,O,f,A);e||c.handleComplete(b,O,f,j);w==="timeout"&&O.abort();if(b.async)O=null}};try{var m=O.abort;O.abort=function(){O&&Function.prototype.call.call(m,O);ka("abort")}}catch(q){}b.async&&b.timeout>0&&setTimeout(function(){O&&!da&&ka("timeout")},b.timeout);try{O.send(t||b.data==null?null:b.data)}catch(x){c.handleError(b,O,null,x);c.handleComplete(b,O,f,j)}b.async||ka();return O}},param:function(a,b){var e=[],f=function(n,t){t=c.isFunction(t)?t():t;e[e.length]=
encodeURIComponent(n)+"="+encodeURIComponent(t)};if(b===k)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)L(j,a[j],b,f);return e.join("&").replace(wb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,e,f){a.error&&a.error.call(a.context,b,e,f);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,f])},handleSuccess:function(a,b,e,f){a.success&&a.success.call(a.context,f,e,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",
[b,a])},handleComplete:function(a,b,e){a.complete&&a.complete.call(a.context,b,e);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,e){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,e)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var e=a.getResponseHeader("Last-Modified"),
f=a.getResponseHeader("Etag");if(e)c.lastModified[b]=e;if(f)c.etag[b]=f;return a.status===304},httpData:function(a,b,e){var f=a.getResponseHeader("content-type")||"",j=b==="xml"||!b&&f.indexOf("xml")>=0;a=j?a.responseXML:a.responseText;j&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(e&&e.dataFilter)a=e.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a}});
if(d.ActiveXObject)c.ajaxSettings.xhr=function(){if(d.location.protocol!=="file:")try{return new d.XMLHttpRequest}catch(a){}try{return new d.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var Oa={},yb=/^(?:toggle|show|hide)$/,zb=/^([+\-]=)?([\d+.\-]+)(.*)$/,La,Ra=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,e){if(a||a===0)return this.animate(D("show",
3),a,b,e);else{e=0;for(var f=this.length;e<f;e++){a=this[e];b=a.style.display;if(!c.data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&c.css(a,"display")==="none"&&c.data(a,"olddisplay",K(a.nodeName))}for(e=0;e<f;e++){a=this[e];b=a.style.display;if(b===""||b==="none")a.style.display=c.data(a,"olddisplay")||""}return this}},hide:function(a,b,e){if(a||a===0)return this.animate(D("hide",3),a,b,e);else{a=0;for(b=this.length;a<b;a++){e=c.css(this[a],"display");e!=="none"&&c.data(this[a],"olddisplay",
e)}for(a=0;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b,e){var f=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||f?this.each(function(){var j=f?a:c(this).is(":hidden");c(this)[j?"show":"hide"]()}):this.animate(D("toggle",3),a,b,e);return this},fadeTo:function(a,b,e,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,e,f)},animate:function(a,b,e,f){var j=c.speed(b,
e,f);if(c.isEmptyObject(a))return this.each(j.complete);return this[j.queue===false?"each":"queue"](function(){var n=c.extend({},j),t,s=this.nodeType===1,y=s&&c(this).is(":hidden"),P=this;for(t in a){var G=c.camelCase(t);if(t!==G){a[G]=a[t];delete a[t];t=G}if(a[t]==="hide"&&y||a[t]==="show"&&!y)return n.complete.call(this);if(s&&(t==="height"||t==="width")){n.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")==="none")if(c.support.inlineBlockNeedsLayout)if(K(this.nodeName)===
"inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(c.isArray(a[t])){(n.specialEasing=n.specialEasing||{})[t]=a[t][1];a[t]=a[t][0]}}if(n.overflow!=null)this.style.overflow="hidden";n.curAnim=c.extend({},a);c.each(a,function(S,W){var da=new c.fx(P,n,S);if(yb.test(W))da[W==="toggle"?y?"show":"hide":W](a);else{var O=zb.exec(W),ca=da.cur()||0;if(O){var ka=parseFloat(O[2]),m=O[3]||"px";if(m!=="px"){c.style(P,S,(ka||1)+
m);ca=(ka||1)/da.cur()*ca;c.style(P,S,ca+m)}if(O[1])ka=(O[1]==="-="?-1:1)*ka+ca;da.custom(ca,ka,m)}else da.custom(ca,W,"")}});return true})},stop:function(a,b){var e=c.timers;a&&this.queue([]);this.each(function(){for(var f=e.length-1;f>=0;f--)if(e[f].elem===this){b&&e[f](true);e.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:D("show",1),slideUp:D("hide",1),slideToggle:D("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=
function(e,f,j){return this.animate(b,e,f,j)}});c.extend({speed:function(a,b,e){var f=a&&typeof a==="object"?c.extend({},a):{complete:e||!e&&b||c.isFunction(a)&&a,duration:a,easing:e&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration==="number"?f.duration:f.duration in c.fx.speeds?c.fx.speeds[f.duration]:c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,e,f){return e+
f*a},swing:function(a,b,e,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+e}},timers:[],fx:function(a,b,e){this.options=b;this.elem=a;this.prop=e;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?
a:0},custom:function(a,b,e){function f(t){return j.step(t)}var j=this,n=c.fx;this.startTime=c.now();this.start=a;this.end=b;this.unit=e||this.unit||"px";this.now=this.start;this.pos=this.state=0;f.elem=this.elem;if(f()&&c.timers.push(f)&&!La)La=setInterval(n.tick,n.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=
c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=c.now(),e=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)e=false;if(e){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var j=this.elem,n=this.options;c.each(["","X","Y"],function(s,y){j.style["overflow"+y]=n.overflow[s]})}this.options.hide&&
c(this.elem).hide();if(this.options.hide||this.options.show)for(var t in this.options.curAnim)c.style(this.elem,t,this.options.orig[t]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};
c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length||c.fx.stop()},interval:13,stop:function(){clearInterval(La);La=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=
function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Ab=/^t(?:able|d|h)$/i,ab=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in C.documentElement?function(a){var b=this[0],e;if(a)return this.each(function(t){c.offset.setOffset(this,a,t)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{e=b.getBoundingClientRect()}catch(f){}var j=b.ownerDocument,n=j.documentElement;if(!e||!c.contains(n,b))return e||{top:0,left:0};b=
j.body;j=J(j);return{top:e.top+(j.pageYOffset||c.support.boxModel&&n.scrollTop||b.scrollTop)-(n.clientTop||b.clientTop||0),left:e.left+(j.pageXOffset||c.support.boxModel&&n.scrollLeft||b.scrollLeft)-(n.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(P){c.offset.setOffset(this,a,P)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var e,f=b.offsetParent,j=b.ownerDocument,n=j.documentElement,
t=j.body;e=(j=j.defaultView)?j.getComputedStyle(b,null):b.currentStyle;for(var s=b.offsetTop,y=b.offsetLeft;(b=b.parentNode)&&b!==t&&b!==n;){if(c.offset.supportsFixedPosition&&e.position==="fixed")break;e=j?j.getComputedStyle(b,null):b.currentStyle;s-=b.scrollTop;y-=b.scrollLeft;if(b===f){s+=b.offsetTop;y+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&Ab.test(b.nodeName))){s+=parseFloat(e.borderTopWidth)||0;y+=parseFloat(e.borderLeftWidth)||0}f=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&
e.overflow!=="visible"){s+=parseFloat(e.borderTopWidth)||0;y+=parseFloat(e.borderLeftWidth)||0}e=e}if(e.position==="relative"||e.position==="static"){s+=t.offsetTop;y+=t.offsetLeft}if(c.offset.supportsFixedPosition&&e.position==="fixed"){s+=Math.max(n.scrollTop,t.scrollTop);y+=Math.max(n.scrollLeft,t.scrollLeft)}return{top:s,left:y}};c.offset={initialize:function(){var a=C.body,b=C.createElement("div"),e,f,j,n=parseFloat(c.css(a,"marginTop"))||0;c.extend(b.style,{position:"absolute",top:0,left:0,
margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<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>";a.insertBefore(b,a.firstChild);e=b.firstChild;f=e.firstChild;j=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==
5;this.doesAddBorderForTableAndCells=j.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==n;a.removeChild(b);c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=
parseFloat(c.css(a,"marginTop"))||0;e+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:e}},setOffset:function(a,b,e){var f=c.css(a,"position");if(f==="static")a.style.position="relative";var j=c(a),n=j.offset(),t=c.css(a,"top"),s=c.css(a,"left"),y=f==="absolute"&&c.inArray("auto",[t,s])>-1;f={};var P={};if(y)P=j.position();t=y?P.top:parseInt(t,10)||0;s=y?P.left:parseInt(s,10)||0;if(c.isFunction(b))b=b.call(a,e,n);if(b.top!=null)f.top=b.top-n.top+t;if(b.left!=null)f.left=b.left-n.left+s;"using"in
b?b.using.call(a,f):j.css(f)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),e=this.offset(),f=ab.test(b[0].nodeName)?{top:0,left:0}:b.offset();e.top-=parseFloat(c.css(a,"marginTop"))||0;e.left-=parseFloat(c.css(a,"marginLeft"))||0;f.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;f.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:e.top-f.top,left:e.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||
C.body;a&&!ab.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var e="scroll"+b;c.fn[e]=function(f){var j=this[0],n;if(!j)return null;if(f!==k)return this.each(function(){if(n=J(this))n.scrollTo(!a?f:c(n).scrollLeft(),a?f:c(n).scrollTop());else this[e]=f});else return(n=J(j))?"pageXOffset"in n?n[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&n.document.documentElement[e]||n.document.body[e]:j[e]}});c.each(["Height","Width"],function(a,
b){var e=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],e,"padding")):null};c.fn["outer"+b]=function(f){return this[0]?parseFloat(c.css(this[0],e,f?"margin":"border")):null};c.fn[e]=function(f){var j=this[0];if(!j)return f==null?null:this;if(c.isFunction(f))return this.each(function(t){var s=c(this);s[e](f.call(this,t,s[e]()))});if(c.isWindow(j))return j.document.compatMode==="CSS1Compat"&&j.document.documentElement["client"+b]||j.document.body["client"+b];else if(j.nodeType===
9)return Math.max(j.documentElement["client"+b],j.body["scroll"+b],j.documentElement["scroll"+b],j.body["offset"+b],j.documentElement["offset"+b]);else if(f===k){j=c.css(j,e);var n=parseFloat(j);return c.isNaN(n)?j:n}else return this.css(e,typeof f==="string"?f:f+"px")}})})(window);
(function(){function d(p){for(var u=1;u<arguments.length;u++)p=p.replace(RegExp("\\{"+(u-1)+"}","g"),arguments[u]);return p}function k(){arguments[0]="CrossSlide: "+arguments[0];throw Error(d.apply(null,arguments));}function h(p){var u=1;p=p.replace(/^\s*|\s*$/g,"").split(/\s+/);if(p.length>3)throw Error();if(p[0]=="center")if(p.length==1)p=["center","center"];else if(p.length==2&&p[1].match(/^[\d.]+x$/i))p=["center","center",p[1]];if(p.length==3)u=parseFloat(p[2].match(/^([\d.]+)x$/i)[1]);var E=
p[0]+" "+p[1];if(E=="left top"||E=="top left")return{xrel:0,yrel:0,zoom:u};if(E=="left center"||E=="center left")return{xrel:0,yrel:0.5,zoom:u};if(E=="left bottom"||E=="bottom left")return{xrel:0,yrel:1,zoom:u};if(E=="center top"||E=="top center")return{xrel:0.5,yrel:0,zoom:u};if(E=="center center")return{xrel:0.5,yrel:0.5,zoom:u};if(E=="center bottom"||E=="bottom center")return{xrel:0.5,yrel:1,zoom:u};if(E=="right top"||E=="top right")return{xrel:1,yrel:0,zoom:u};if(E=="right center"||E=="center right")return{xrel:1,
yrel:0.5,zoom:u};if(E=="right bottom"||E=="bottom right")return{xrel:1,yrel:1,zoom:u};return{xrel:parseInt(p[0].match(/^(\d+)%$/)[1])/100,yrel:parseInt(p[1].match(/^(\d+)%$/)[1])/100,zoom:u}}var l=jQuery,o=l.fn.startAnimation?"startAnimation":"animate";l.fn.crossSlide=function(p,u,E){var v=this,I=this.width(),z=this.height();v.length!=1&&k("crossSlide() must be called on exactly 1 element");v.get(0).crossSlideArgs=[p,u,E];u=l.map(u,function(F){return l.extend({},F)});if(!p.easing)p.easing=p.variant?
"swing":"linear";E||(E=function(){});(function(F){function L(K,J){J.onload=function(){D++;u[K].width=J.width;u[K].height=J.height;D==u.length&&F()};J.src=u[K].src;K+1<u.length&&L(K+1,new Image)}var D=0;L(0,new Image)})(function(){function F(ba,ea){var ra=[0,D/(ba.time_ms+2*D),1-D/(ba.time_ms+2*D),1][ea];return{left:Math.round(ba.from.left+ra*(ba.to.left-ba.from.left)),top:Math.round(ba.from.top+ra*(ba.to.top-ba.from.top)),width:Math.round(ba.from.width+ra*(ba.to.width-ba.from.width)),height:Math.round(ba.from.height+
ra*(ba.to.height-ba.from.height))}}function L(ba,ea){if(ba%2==0)if(K){var ra=ba/2,pa=(ra-1+u.length)%u.length,Ma=ia.eq(ra),Da=ia.eq(pa);pa=function(){E(ra,Ma.get(0));Da.css("visibility","hidden");setTimeout(ea,K)}}else{var Aa=ba/2;pa=(Aa-1+u.length)%u.length;var Ea=ia.eq(Aa);Da=ia.eq(pa);var Ha=u[Aa].time_ms,Ia=F(u[Aa],p.variant?3:2);pa=function(){E(Aa,Ea.get(0));Da.css("visibility","hidden");Ea[o](Ia,Ha,p.easing,ea)}}else{var sa=Math.floor(ba/2),ua=Math.ceil(ba/2)%u.length,va=ia.eq(sa),ta=ia.eq(ua),
wa={},xa={visibility:"visible"},ya={};if(ua>sa){xa.opacity=0;ya.opacity=1;if(p.doubleFade)wa.opacity=0}else{wa.opacity=0;if(p.doubleFade){xa.opacity=0;ya.opacity=1}}if(!K){l.extend(xa,F(u[ua],0));if(!p.variant){l.extend(wa,F(u[sa],3));l.extend(ya,F(u[ua],1))}}pa=l.isEmptyObject(ya)?function(){E(ua,ta.get(0),sa,va.get(0));ta.css(xa);va[o](wa,D,"linear",ea)}:l.isEmptyObject(wa)?function(){E(ua,ta.get(0),sa,va.get(0));ta.css(xa);ta[o](ya,D,"linear",ea)}:function(){E(ua,ta.get(0),sa,va.get(0));ta.css(xa);
ta[o](ya,D,"linear");va[o](wa,D,"linear",ea)}}if(p.loop&&ba==u.length*2-2){var Na=pa;pa=function(){--Ba&&Na()}}return ba>0?L(ba-1,pa):pa}p.fade||k("missing fade parameter.");p.speed&&p.sleep&&k("you cannot set both speed and sleep at the same time.");var D=Math.round(p.fade*1E3);if(p.sleep)var K=Math.round(p.sleep*1E3);if(p.speed)var J=p.speed/1E3,C=Math.round(D*J);v.empty().css({overflow:"hidden",padding:0});/^(absolute|relative|fixed)$/.test(v.css("position"))||v.css({position:"relative"});if(!v.width()||
!v.height())k("container element does not have its own width and height");p.shuffle&&u.sort(function(){return Math.random()-0.5});for(var c=0;c<u.length;++c){var T=u[c];T.src||k("missing src parameter in picture {0}.",c+1);if(J){switch(T.dir){case "up":T.from={xrel:0.5,yrel:0,zoom:1};T.to={xrel:0.5,yrel:1,zoom:1};var fa=T.height-z-2*C;break;case "down":T.from={xrel:0.5,yrel:1,zoom:1};T.to={xrel:0.5,yrel:0,zoom:1};fa=T.height-z-2*C;break;case "left":T.from={xrel:0,yrel:0.5,zoom:1};T.to={xrel:1,yrel:0.5,
zoom:1};fa=T.width-I-2*C;break;case "right":T.from={xrel:1,yrel:0.5,zoom:1};T.to={xrel:0,yrel:0.5,zoom:1};fa=T.width-I-2*C;break;default:k("missing or malformed dir parameter in picture {0}.",c+1)}fa<=0&&k("impossible animation: either picture {0} is too small or div is too large or fade duration too long.",c+1);T.time_ms=Math.round(fa/J)}else if(!K){if(!T.from||!T.to||!T.time)k("missing either speed/sleep option, or from/to/time params in picture {0}.",c+1);try{T.from=h(T.from)}catch(ha){k('malformed "from" parameter in picture {0}.',
c+1)}try{T.to=h(T.to)}catch(ja){k('malformed "to" parameter in picture {0}.',c+1)}T.time||k('missing "time" parameter in picture {0}.',c+1);T.time_ms=Math.round(T.time*1E3)}T.from&&l.each([T.from,T.to],function(ba,ea){ea.width=Math.round(T.width*ea.zoom);ea.height=Math.round(T.height*ea.zoom);ea.left=Math.round((I-ea.width)*ea.xrel);ea.top=Math.round((z-ea.height)*ea.yrel)});var U,V;V=U=l(d('<img src="{0}"/>',T.src));if(T.href)V=l(d('<a href="{0}"></a>',T.href)).append(U);T.onclick&&V.click(T.onclick);
T.alt&&U.attr("alt",T.alt);T.rel&&V.attr("rel",T.rel);T.href&&T.target&&V.attr("target",T.target);V.appendTo(v)}delete J;var ia=v.find("img").css({position:"absolute",visibility:"hidden",top:0,left:0,border:0});ia.eq(0).css({visibility:"visible"});K||ia.eq(0).css(F(u[0],p.variant?0:1));var Ba=p.loop,Ga=L(u.length*2-1,function(){return Ga()});Ga()});return v};l.fn.crossSlideFreeze=function(){this.find("img").stop()};l.fn.crossSlideStop=function(){this.find("img").stop().remove()};l.fn.crossSlideRestart=
function(){this.find("img").stop().remove();l.fn.crossSlide.apply(this,this.get(0).crossSlideArgs)};l.fn.crossSlidePause=function(){l.fn.pause||k("pause plugin missing.");this.find("img").pause()};l.fn.crossSlideResume=function(){l.fn.pause||k("pause plugin missing.");this.find("img").resume()}})();$.fn.pause=function(d,k){d=d||1E3;k=k||"fx";return this.queue(k,function(){var h=this;setTimeout(function(){$.dequeue(h)},d)})};
$.fn.clearQueue=$.fn.unpause=function(d){return this.each(function(){d=d||"fx";if(this.queue&&this.queue[d])this.queue[d].length=0})};
(function(){jQuery.fn.pngFix=function(d){d=jQuery.extend({blankgif:"blank.gif"},d);var k=navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 5.5")!=-1,h=navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1;if(jQuery.browser.msie&&(k||h)){jQuery(this).find("img[src$=.png]").each(function(){jQuery(this).attr("width",jQuery(this).width());jQuery(this).attr("height",
jQuery(this).height());var l="",o="",p=jQuery(this).attr("id")?'id="'+jQuery(this).attr("id")+'" ':"",u=jQuery(this).attr("class")?'class="'+jQuery(this).attr("class")+'" ':"",E=jQuery(this).attr("title")?'title="'+jQuery(this).attr("title")+'" ':"",v=jQuery(this).attr("alt")?'alt="'+jQuery(this).attr("alt")+'" ':"",I=jQuery(this).attr("align")?"float:"+jQuery(this).attr("align")+";":"",z=jQuery(this).parent().attr("href")?"cursor:hand;":"";if(this.style.border){l+="border:"+this.style.border+";";
this.style.border=""}if(this.style.padding){l+="padding:"+this.style.padding+";";this.style.padding=""}if(this.style.margin){l+="margin:"+this.style.margin+";";this.style.margin=""}var F=this.style.cssText;o+="<span "+p+u+E+v;o+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+I+z;o+="width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+"px;";o+="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+jQuery(this).attr("src")+"', sizingMethod='scale');";
o+=F+'"></span>';if(l!="")o='<span style="position:relative;display:inline-block;'+l+z+"width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+'px;">'+o+"</span>";jQuery(this).hide();jQuery(this).after(o)});jQuery(this).find("*").each(function(){var l=jQuery(this).css("background-image");if(l.indexOf(".png")!=-1){l=l.split('url("')[1].split('")')[0];jQuery(this).css("background-image","none");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+
l+"',sizingMethod='scale')"}});jQuery(this).find("input[src$=.png]").each(function(){var l=jQuery(this).attr("src");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+l+"', sizingMethod='scale');";jQuery(this).attr("src",d.blankgif)})}return jQuery}})(jQuery);
jQuery.fn.liveSearch=function(d){var k=jQuery.extend({url:"/search-results.php?q=",id:"jquery-live-search",duration:400,typeDelay:200,loadingClass:"loading",onSlideUp:function(){},uptadePosition:false},d),h=jQuery("#"+k.id);if(!h.length){h=jQuery('<div id="'+k.id+'"></div>').appendTo(document.body).hide().slideUp(0);jQuery(document.body).click(function(l){l=jQuery(l.target);l.is("#"+k.id)||l.parents("#"+k.id).length||l.is("input")||h.slideUp(k.duration,function(){k.onSlideUp()})})}return this.each(function(){var l=
jQuery(this).attr("autocomplete","off"),o=parseInt(h.css("paddingLeft"),10)+parseInt(h.css("paddingRight"),10)+parseInt(h.css("borderLeftWidth"),10)+parseInt(h.css("borderRightWidth"),10),p=function(){var v=l.offset();v={left:v.left,top:v.top,width:l.outerWidth(),height:l.outerHeight()};v.topPos=v.top+v.height;v.totalWidth=v.width-o;h.css({position:"absolute",left:v.left-300+"px",top:v.topPos+4+"px",width:v.totalWidth+300+"px"})},u=function(){p();$(window).unbind("resize",p);$(window).bind("resize",
p);h.slideDown(k.duration)},E=function(){h.slideUp(k.duration,function(){k.onSlideUp()})};l.focus(function(){if(this.value!=="")if(h.html()==""){this.lastValue="";l.keyup()}else setTimeout(u,1)}).keyup(function(){if(this.value!=this.lastValue){l.addClass(k.loadingClass);var v=this.value;this.timer&&clearTimeout(this.timer);this.timer=setTimeout(function(){jQuery.get(k.url+v,function(I){l.removeClass(k.loadingClass);if(I.length&&v.length){h.html(I);u()}else E()})},k.typeDelay);this.lastValue=this.value}})})};
(function(d){d.fn.hint=function(k){k||(k="blur");return this.each(function(){function h(){l.val()===o&&l.hasClass(k)&&l.val("").removeClass(k)}var l=d(this),o=l.attr("title"),p=d(this.form),u=d(window);if(o){l.blur(function(){this.value===""&&l.val(o).addClass(k)}).focus(h).blur();p.submit(h);u.unload(h)}})}})(jQuery);
(function(d,k,h){function l(z,F){var L=(z[0]||0)-(F[0]||0);return L>0||!L&&z.length>0&&l(z.slice(1),F.slice(1))}function o(z){if(typeof z!=p)return z;var F=[],L="",D;for(D in z){L=typeof z[D]==p?o(z[D]):[D,u?encodeURI(z[D]):z[D]].join("=");F.push(L)}return F.join("&")}var p="object",u=true;try{var E=h.description||(new h("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(v){E="Unavailable"}var I=E.match(/\d+/g)||[0];d[k]={available:I[0]>0,activeX:h&&!h.name,version:{original:E,array:I,
string:I.join("."),major:parseInt(I[0],10)||0,minor:parseInt(I[1],10)||0,release:parseInt(I[2],10)||0},hasVersion:function(z){z=/string|number/.test(typeof z)?z.toString().split("."):/object/.test(typeof z)?[z.major,z.minor]:z||[0,0];return l(I,z)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(z){if(!z.swf||this.expressInstallIsActive||!this.available&&!z.hasVersionFail)return false;if(!this.hasVersion(z.hasVersion||1)){this.expressInstallIsActive=
true;if(typeof z.hasVersionFail=="function")if(!z.hasVersionFail.apply(z))return false;z={swf:z.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:z.swf,type:"application/x-shockwave-flash",id:z.id||"flash_"+Math.floor(Math.random()*999999999),width:z.width||320,height:z.height||180,style:z.style||""};u=typeof z.useEncode!=="undefined"?
z.useEncode:this.encodeParams;z.movie=z.swf;z.wmode=z.wmode||"opaque";delete z.fallback;delete z.hasVersion;delete z.hasVersionFail;delete z.height;delete z.id;delete z.swf;delete z.useEncode;delete z.width;var F=document.createElement("div"),L=attrs,D=[],K;for(K in L)L[K]&&D.push([K,'="',L[K],'"'].join(""));L=D.join(" ");var J;z=z;D=[];for(J in z)D.push(['<param name="',J,'" value="',o(z[J]),'" />'].join(""));J=D.join("");J=["<object ",L,">",J,"</object>"];F.innerHTML=J.join.call(J,"");return F.firstChild}};
d.fn[k]=function(z){var F=this.find(p).andSelf().filter(p);/string|object/.test(typeof z)&&this.each(function(){var L=d(this),D;z=typeof z==p?z:{swf:z};z.fallback=this;if(D=d[k].create(z)){L.children().remove();L.html(D)}});typeof z=="function"&&F.each(function(){var L=this;L.jsInteractionTimeoutMs=L.jsInteractionTimeoutMs||0;if(L.jsInteractionTimeoutMs<660)L.clientWidth||L.clientHeight?z.call(L):setTimeout(function(){d(L)[k](z)},L.jsInteractionTimeoutMs+66)});return F}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]||
window.ActiveXObject);
(function(d){var k=d.fn.height,h=d.fn.width;d.fn.extend({height:function(){this[0]||l();if(this[0]==window)return d.browser.opera||d.browser.safari&&parseInt(d.browser.version)>520?self.innerHeight-(d(document).height()>self.innerHeight?E():0):d.browser.safari?self.innerHeight:d.boxModel&&document.documentElement.clientHeight||document.body.clientHeight;if(this[0]==document)return Math.max(d.boxModel&&document.documentElement.scrollHeight||document.body.scrollHeight,document.body.offsetHeight);return k.apply(this,
arguments)},width:function(){this[0]||l();if(this[0]==window)return d.browser.opera||d.browser.safari&&parseInt(d.browser.version)>520?self.innerWidth-(d(document).width()>self.innerWidth?E():0):d.browser.safari?self.innerWidth:d.boxModel&&document.documentElement.clientWidth||document.body.clientWidth;if(this[0]==document)if(d.browser.mozilla){var v=self.pageXOffset;self.scrollTo(99999999,self.pageYOffset);var I=self.pageXOffset;self.scrollTo(v,self.pageYOffset);return document.body.offsetWidth+
I}else return Math.max(d.boxModel&&!d.browser.safari&&document.documentElement.scrollWidth||document.body.scrollWidth,document.body.offsetWidth);return h.apply(this,arguments)},innerHeight:function(){this[0]||l();return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight-o(this,"borderTopWidth")-o(this,"borderBottomWidth"):this.height()+o(this,"paddingTop")+o(this,"paddingBottom")},innerWidth:function(){this[0]||l();return this[0]==window||this[0]==document?this.width():
this.is(":visible")?this[0].offsetWidth-o(this,"borderLeftWidth")-o(this,"borderRightWidth"):this.width()+o(this,"paddingLeft")+o(this,"paddingRight")},outerHeight:function(v){this[0]||l();v=d.extend({margin:false},v||{});return this[0]==window||this[0]==document?this.height():this.is(":visible")?this[0].offsetHeight+(v.margin?o(this,"marginTop")+o(this,"marginBottom"):0):this.height()+o(this,"borderTopWidth")+o(this,"borderBottomWidth")+o(this,"paddingTop")+o(this,"paddingBottom")+(v.margin?o(this,
"marginTop")+o(this,"marginBottom"):0)},outerWidth:function(v){this[0]||l();v=d.extend({margin:false},v||{});return this[0]==window||this[0]==document?this.width():this.is(":visible")?this[0].offsetWidth+(v.margin?o(this,"marginLeft")+o(this,"marginRight"):0):this.width()+o(this,"borderLeftWidth")+o(this,"borderRightWidth")+o(this,"paddingLeft")+o(this,"paddingRight")+(v.margin?o(this,"marginLeft")+o(this,"marginRight"):0)},scrollLeft:function(v){this[0]||l();if(v!=undefined)return this.each(function(){if(this==
window||this==document)window.scrollTo(v,d(window).scrollTop());else this.scrollLeft=v});if(this[0]==window||this[0]==document)return self.pageXOffset||d.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;return this[0].scrollLeft},scrollTop:function(v){this[0]||l();if(v!=undefined)return this.each(function(){if(this==window||this==document)window.scrollTo(d(window).scrollLeft(),v);else this.scrollTop=v});if(this[0]==window||this[0]==document)return self.pageYOffset||d.boxModel&&
document.documentElement.scrollTop||document.body.scrollTop;return this[0].scrollTop},position:function(v){return this.offset({margin:false,scroll:false,relativeTo:this.offsetParent()},v)},offset:function(v,I){this[0]||l();var z=0,F=0,L=0,D=0,K=this[0],J=this[0],C,c,T=d.css(K,"position"),fa=d.browser.mozilla,ha=d.browser.msie,ja=d.browser.opera,U=d.browser.safari,V=d.browser.safari&&parseInt(d.browser.version)>520,ia=false,Ba=false;v=d.extend({margin:true,border:false,padding:false,scroll:true,lite:false,
relativeTo:document.body},v||{});if(v.lite)return this.offsetLite(v,I);if(v.relativeTo.jquery)v.relativeTo=v.relativeTo[0];if(K.tagName=="BODY"){z=K.offsetLeft;F=K.offsetTop;if(fa){z+=o(K,"marginLeft")+o(K,"borderLeftWidth")*2;F+=o(K,"marginTop")+o(K,"borderTopWidth")*2}else if(ja){z+=o(K,"marginLeft");F+=o(K,"marginTop")}else if(ha&&jQuery.boxModel){z+=o(K,"borderLeftWidth");F+=o(K,"borderTopWidth")}else if(V){z+=o(K,"marginLeft")+o(K,"borderLeftWidth");F+=o(K,"marginTop")+o(K,"borderTopWidth")}}else{do{c=
d.css(J,"position");z+=J.offsetLeft;F+=J.offsetTop;if(fa&&!J.tagName.match(/^t[d|h]$/i)||ha||V){z+=o(J,"borderLeftWidth");F+=o(J,"borderTopWidth");if(fa&&c=="absolute")ia=true;if(ha&&c=="relative")Ba=true}C=J.offsetParent||document.body;if(v.scroll||fa){do{if(v.scroll){L+=J.scrollLeft;D+=J.scrollTop}if(ja&&(d.css(J,"display")||"").match(/table-row|inline/)){L-=J.scrollLeft==J.offsetLeft?J.scrollLeft:0;D-=J.scrollTop==J.offsetTop?J.scrollTop:0}if(fa&&J!=K&&d.css(J,"overflow")!="visible"){z+=o(J,"borderLeftWidth");
F+=o(J,"borderTopWidth")}J=J.parentNode}while(J!=C)}J=C;if(J==v.relativeTo&&!(J.tagName=="BODY"||J.tagName=="HTML")){if(fa&&J!=K&&d.css(J,"overflow")!="visible"){z+=o(J,"borderLeftWidth");F+=o(J,"borderTopWidth")}if((U&&!V||ja)&&c!="static"){z-=o(C,"borderLeftWidth");F-=o(C,"borderTopWidth")}break}if(J.tagName=="BODY"||J.tagName=="HTML"){if((U&&!V||ha&&d.boxModel)&&T!="absolute"&&T!="fixed"){z+=o(J,"marginLeft");F+=o(J,"marginTop")}if(V||fa&&!ia&&T!="fixed"||ha&&T=="static"&&!Ba){z+=o(J,"borderLeftWidth");
F+=o(J,"borderTopWidth")}break}}while(J)}z=p(K,v,z,F,L,D);if(I){d.extend(I,z);return this}else return z},offsetLite:function(v,I){this[0]||l();var z=0,F=0,L=0,D=0,K=this[0],J;v=d.extend({margin:true,border:false,padding:false,scroll:true,relativeTo:document.body},v||{});if(v.relativeTo.jquery)v.relativeTo=v.relativeTo[0];do{z+=K.offsetLeft;F+=K.offsetTop;J=K.offsetParent||document.body;if(v.scroll){do{L+=K.scrollLeft;D+=K.scrollTop;K=K.parentNode}while(K!=J)}K=J}while(K&&K.tagName!="BODY"&&K.tagName!=
"HTML"&&K!=v.relativeTo);z=p(this[0],v,z,F,L,D);if(I){d.extend(I,z);return this}else return z},offsetParent:function(){this[0]||l();for(var v=this[0].offsetParent;v&&v.tagName!="BODY"&&d.css(v,"position")=="static";)v=v.offsetParent;return d(v)}});var l=function(){throw"Dimensions: jQuery collection is empty";},o=function(v,I){return parseInt(d.css(v.jquery?v[0]:v,I))||0},p=function(v,I,z,F,L,D){if(!I.margin){z-=o(v,"marginLeft");F-=o(v,"marginTop")}if(I.border&&(d.browser.safari&&parseInt(d.browser.version)<
520||d.browser.opera)){z+=o(v,"borderLeftWidth");F+=o(v,"borderTopWidth")}else if(!I.border&&!(d.browser.safari&&parseInt(d.browser.version)<520||d.browser.opera)){z-=o(v,"borderLeftWidth");F-=o(v,"borderTopWidth")}if(I.padding){z+=o(v,"paddingLeft");F+=o(v,"paddingTop")}if(I.scroll&&(!d.browser.opera||v.offsetLeft!=v.scrollLeft&&v.offsetTop!=v.scrollLeft)){L-=v.scrollLeft;D-=v.scrollTop}return I.scroll?{top:F-D,left:z-L,scrollTop:D,scrollLeft:L}:{top:F,left:z}},u=0,E=function(){if(!u){var v=d("<div>").css({width:100,
height:100,overflow:"auto",position:"absolute",top:-1E3,left:-1E3}).appendTo("body");u=100-v.append("<div>").find("div").css({width:"100%",height:200}).width();v.remove()}return u}})(jQuery);
(function(d){function k(h,l){return parseInt(d.css(h[0],l))||0}d.fn.jCarouselLite=function(h){h=d.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},h||{});return this.each(function(){function l(C){if(!o){h.beforeStart&&h.beforeStart.call(this,L.slice(K).slice(0,F));if(h.circular)if(C<=h.start-F-1){v.css(p,-((D-F*2)*J)+"px");K=C==h.start-F-1?D-F*2-1:D-F*2-h.scroll}else if(C>=
D-F+1){v.css(p,-(F*J)+"px");K=C==D-F+1?F+1:F+h.scroll}else K=C;else if(C<0||C>D-F)return;else K=C;o=true;v.animate(p=="left"?{left:-(K*J)}:{top:-(K*J)},h.speed,h.easing,function(){h.afterEnd&&h.afterEnd.call(this,L.slice(K).slice(0,F));o=false});if(!h.circular){d(h.btnPrev+","+h.btnNext).removeClass("disabled");d(K-h.scroll<0&&h.btnPrev||K+h.scroll>D-F&&h.btnNext||[]).addClass("disabled")}}return false}var o=false,p=h.vertical?"top":"left",u=h.vertical?"height":"width",E=d(this),v=d("ul",E),I=d("li",
v),z=I.size(),F=h.visible;if(h.circular){v.prepend(I.slice(z-F-1+1).clone()).append(I.slice(0,F).clone());h.start+=F}var L=d("li",v),D=L.size(),K=h.start;E.css("visibility","visible");L.css({overflow:"hidden","float":h.vertical?"none":"left"});v.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});E.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var J=h.vertical?L[0].offsetHeight+k(L,"marginTop")+k(L,"marginBottom"):L[0].offsetWidth+k(L,"marginLeft")+
k(L,"marginRight");I=J*D;z=J*F;L.css({width:L.width(),height:L.height()});v.css(u,I+"px").css(p,-(K*J));E.css(u,z+"px");h.btnPrev&&d(h.btnPrev).click(function(){return l(K-h.scroll)});h.btnNext&&d(h.btnNext).click(function(){return l(K+h.scroll)});h.btnGo&&d.each(h.btnGo,function(C,c){d(c).click(function(){return l(h.circular?h.visible+C:C)})});h.mouseWheel&&E.mousewheel&&E.mousewheel(function(C,c){return c>0?l(K-h.scroll):l(K+h.scroll)});h.auto&&setInterval(function(){l(K+h.scroll)},h.auto+h.speed)})}})(jQuery);
(function(d){function k(h,l){h=h.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var o=RegExp("[\\?&]"+h+"=([^&#]*)").exec(l);return o==null?"":o[1]}d.prettyPhoto={version:"3.0"};d.fn.prettyPhoto=function(h){function l(U){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){d(".pp_loaderIcon").show();U()})}function o(U){if(set_position==U-1){$pp_pic_holder.find("a.pp_next").css("visibility",
"hidden");$pp_pic_holder.find("a.pp_next").addClass("disabled").unbind("click")}else{$pp_pic_holder.find("a.pp_next").css("visibility","visible");$pp_pic_holder.find("a.pp_next.disabled").removeClass("disabled").bind("click",function(){d.prettyPhoto.changePage("next");return false})}set_position==0?$pp_pic_holder.find("a.pp_previous").css("visibility","hidden").addClass("disabled").unbind("click"):$pp_pic_holder.find("a.pp_previous.disabled").css("visibility","visible").removeClass("disabled").bind("click",
function(){d.prettyPhoto.changePage("previous");return false});U>1?d(".pp_nav").show():d(".pp_nav").hide()}function p(U,V){resized=false;u(U,V);imageWidth=U;imageHeight=V;if((T>ha||c>fa)&&doresize&&settings.allow_resize&&!L){resized=true;for(fitting=false;!fitting;){if(T>ha){imageWidth=ha-200;imageHeight=V/U*imageWidth}else if(c>fa){imageHeight=fa-200;imageWidth=U/V*imageHeight}else fitting=true;c=imageHeight;T=imageWidth}u(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),
containerHeight:Math.floor(c),containerWidth:Math.floor(T)+40,contentHeight:Math.floor(J),contentWidth:Math.floor(C),resized:resized}}function u(U,V){U=parseFloat(U);V=parseFloat(V);$pp_details=$pp_pic_holder.find(".pp_details");$pp_details.width(U);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().appendTo(d("body")).css({position:"absolute",top:-1E4});detailsHeight+=$pp_details.height();detailsHeight=detailsHeight<=
34?36:detailsHeight;if(d.browser.msie&&d.browser.version==7)detailsHeight+=8;$pp_details.remove();J=V+detailsHeight;C=U;c=J+$ppt.height()+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();T=U}function E(U){return U.match(/youtube\.com\/watch/i)?"youtube":U.match(/vimeo\.com/i)?"vimeo":U.indexOf(".mov")!=-1?"quicktime":U.indexOf(".swf")!=-1?"flash":U.indexOf("iframe")!=-1?"iframe":U.indexOf("custom")!=-1?"custom":U.substr(0,1)=="#"?"inline":"image"}function v(){if(doresize&&
typeof $pp_pic_holder!="undefined"){scroll_pos=I();titleHeight=$ppt.height();contentHeight=$pp_pic_holder.height();contentwidth=$pp_pic_holder.width();projectedTop=fa/2+scroll_pos.scrollTop-contentHeight/2;$pp_pic_holder.css({top:projectedTop,left:ha/2+scroll_pos.scrollLeft-contentwidth/2})}}function I(){if(self.pageYOffset)return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset};else if(document.documentElement&&document.documentElement.scrollTop)return{scrollTop:document.documentElement.scrollTop,
scrollLeft:document.documentElement.scrollLeft};else if(document.body)return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}function z(U){theRel=d(U).attr("rel");galleryRegExp=/\[(?:.*)\]/;pp_images=(isSet=galleryRegExp.exec(theRel)?true:false)?jQuery.map(F,function(V){if(d(V).attr("rel").indexOf(theRel)!=-1)return d(V).attr("href")}):d.makeArray(d(U).attr("href"));pp_titles=isSet?jQuery.map(F,function(V){if(d(V).attr("rel").indexOf(theRel)!=-1)return d(V).find("img").attr("alt")?
d(V).find("img").attr("alt"):""}):d.makeArray(d(U).find("img").attr("alt"));pp_descriptions=isSet?jQuery.map(F,function(V){if(d(V).attr("rel").indexOf(theRel)!=-1)return d(V).attr("title")?d(V).attr("title"):""}):d.makeArray(d(U).attr("title"));d("body").append(settings.markup);$pp_pic_holder=d(".pp_pic_holder");$ppt=d(".ppt");$pp_overlay=d("div.pp_overlay");if(isSet&&settings.overlay_gallery){currentGalleryPage=0;toInject="";for(U=0;U<pp_images.length;U++){classname=/(.*?).(jpg|jpeg|png|gif)$/.exec(pp_images[U])?
"":"default";toInject+="<li class='"+classname+"'><a href='#'><img src='"+pp_images[U]+"' width='50' alt='' /></a></li>"}toInject=settings.gallery_markup.replace(/{gallery}/g,toInject);$pp_pic_holder.find("#pp_full_res").after(toInject);$pp_pic_holder.find(".pp_gallery .pp_arrow_next").click(function(){d.prettyPhoto.changeGalleryPage("next");d.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_gallery .pp_arrow_previous").click(function(){d.prettyPhoto.changeGalleryPage("previous");
d.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()});itemWidth=57;$pp_pic_holder.find(".pp_gallery ul li").each(function(V){d(this).css({position:"absolute",left:V*itemWidth});d(this).find("a").unbind("click").click(function(){d.prettyPhoto.changePage(V);d.prettyPhoto.stopSlideshow();return false})})}if(settings.slideshow){$pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>');
$pp_pic_holder.find(".pp_nav .pp_play").click(function(){d.prettyPhoto.startSlideshow();return false})}$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme);$pp_overlay.css({opacity:0,height:d(document).height(),width:d(document).width()}).bind("click",function(){settings.modal||d.prettyPhoto.close()});d("a.pp_close").bind("click",function(){d.prettyPhoto.close();return false});d("a.pp_expand").bind("click",function(){if(d(this).hasClass("pp_expand")){d(this).removeClass("pp_expand").addClass("pp_contract");
doresize=false}else{d(this).removeClass("pp_contract").addClass("pp_expand");doresize=true}l(function(){d.prettyPhoto.open()});return false});$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){d.prettyPhoto.changePage("previous");d.prettyPhoto.stopSlideshow();return false});$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){d.prettyPhoto.changePage("next");d.prettyPhoto.stopSlideshow();return false});v()}h=jQuery.extend({animation_speed:"fast",
slideshow:false,autoplay_slideshow:false,opacity:0.8,show_title:true,allow_resize:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"facebook",hideflash:false,wmode:"opaque",autoplay:true,modal:false,overlay_gallery:true,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},markup:'<div class="pp_pic_holder"> \t\t\t\t\t\t<div class="ppt">&nbsp;</div> \t\t\t\t\t\t<div class="pp_top"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_content_container"> \t\t\t\t\t\t\t<div class="pp_left"> \t\t\t\t\t\t\t<div class="pp_right"> \t\t\t\t\t\t\t\t<div class="pp_content"> \t\t\t\t\t\t\t\t\t<div class="pp_loaderIcon"></div> \t\t\t\t\t\t\t\t\t<div class="pp_fade"> \t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_expand" title="Expand the image">Expand</a> \t\t\t\t\t\t\t\t\t\t<div class="pp_hoverContainer"> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_next" href="#">next</a> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_previous" href="#">previous</a> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t<div id="pp_full_res"></div> \t\t\t\t\t\t\t\t\t\t<div class="pp_details clearfix"> \t\t\t\t\t\t\t\t\t\t\t<p class="pp_description"></p> \t\t\t\t\t\t\t\t\t\t\t<a class="pp_close" href="#">Close</a> \t\t\t\t\t\t\t\t\t\t\t<div class="pp_nav"> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t\t\t\t\t<p class="currentTextHolder">0/0</p> \t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t\t</div> \t\t\t\t\t\t</div> \t\t\t\t\t\t<div class="pp_bottom"> \t\t\t\t\t\t\t<div class="pp_left"></div> \t\t\t\t\t\t\t<div class="pp_middle"></div> \t\t\t\t\t\t\t<div class="pp_right"></div> \t\t\t\t\t\t</div> \t\t\t\t\t</div> \t\t\t\t\t<div class="pp_overlay"></div>',
gallery_markup:'<div class="pp_gallery"> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_previous">Previous</a> \t\t\t\t\t\t\t\t<ul> \t\t\t\t\t\t\t\t\t{gallery} \t\t\t\t\t\t\t\t</ul> \t\t\t\t\t\t\t\t<a href="#" class="pp_arrow_next">Next</a> \t\t\t\t\t\t\t</div>',image_markup:'<img id="fullResImage" src="" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',
quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
inline_markup:'<div class="pp_inline clearfix">{content}</div>',custom_markup:""},h);var F=this,L=false,D,K,J,C,c,T,fa=d(window).height(),ha=d(window).width(),ja;doresize=true;scroll_pos=I();d(window).unbind("resize").resize(function(){v();fa=d(window).height();ha=d(window).width();typeof $pp_overlay!="undefined"&&$pp_overlay.height(d(document).height())});h.keyboard_shortcuts&&d(document).unbind("keydown").keydown(function(U){if(typeof $pp_pic_holder!="undefined")if($pp_pic_holder.is(":visible")){switch(U.keyCode){case 37:d.prettyPhoto.changePage("previous");
break;case 39:d.prettyPhoto.changePage("next");break;case 27:settings.modal||d.prettyPhoto.close()}return false}});d.prettyPhoto.initialize=function(){settings=h;if(d.browser.msie&&parseInt(d.browser.version)==6)settings.theme="light_square";z(this);settings.allow_resize&&d(window).scroll(function(){v()});v();set_position=jQuery.inArray(d(this).attr("href"),pp_images);d.prettyPhoto.open();return false};d.prettyPhoto.open=function(U,V,ia){if(typeof settings=="undefined"){settings=h;if(d.browser.msie&&
d.browser.version==6)settings.theme="light_square";z(U.target);pp_images=d.makeArray(U);pp_titles=V?d.makeArray(V):d.makeArray("");pp_descriptions=ia?d.makeArray(ia):d.makeArray("");isSet=pp_images.length>1?true:false;set_position=0}d.browser.msie&&d.browser.version==6&&d("select").css("visibility","hidden");settings.hideflash&&d("object,embed").css("visibility","hidden");o(d(pp_images).size());d(".pp_loaderIcon").show();$ppt.is(":hidden")&&$ppt.css("opacity",0).show();$pp_overlay.show().fadeTo(settings.animation_speed,
settings.opacity);$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+d(pp_images).size());$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position]));settings.show_title&&pp_titles[set_position]!=""&&typeof pp_titles[set_position]!="undefined"?$ppt.html(unescape(pp_titles[set_position])):$ppt.html("&nbsp;");movie_width=parseFloat(k("width",pp_images[set_position]))?k("width",pp_images[set_position]):settings.default_width.toString();
movie_height=parseFloat(k("height",pp_images[set_position]))?k("height",pp_images[set_position]):settings.default_height.toString();if(movie_width.indexOf("%")!=-1||movie_height.indexOf("%")!=-1){movie_height=parseFloat(d(window).height()*parseFloat(movie_height)/100-150);movie_width=parseFloat(d(window).width()*parseFloat(movie_width)/100-150);L=true}else L=false;$pp_pic_holder.fadeIn(function(){imgPreloader="";switch(E(pp_images[set_position])){case "image":imgPreloader=new Image;nextImage=new Image;
if(isSet&&set_position>d(pp_images).size())nextImage.src=pp_images[set_position+1];prevImage=new Image;if(isSet&&pp_images[set_position-1])prevImage.src=pp_images[set_position-1];$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup;$pp_pic_holder.find("#fullResImage").attr("src",pp_images[set_position]);imgPreloader.onload=function(){D=p(imgPreloader.width,imgPreloader.height);_showContent()};imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist.");
d.prettyPhoto.close()};imgPreloader.src=pp_images[set_position];break;case "youtube":D=p(movie_width,movie_height);movie="http://www.youtube.com/v/"+k("v",pp_images[set_position]);if(settings.autoplay)movie+="&autoplay=1";toInject=settings.flash_markup.replace(/{width}/g,D.width).replace(/{height}/g,D.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case "vimeo":D=p(movie_width,movie_height);movie_id=pp_images[set_position];movie="http://player.vimeo.com/video/"+movie_id.match(/http:\/\/(www\.)?vimeo.com\/(\d+)/)[2]+
"?title=0&amp;byline=0&amp;portrait=0";if(settings.autoplay)movie+="&autoplay=1;";vimeo_width=D.width+"/embed/?moog_width="+D.width;toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,D.height).replace(/{path}/g,movie);break;case "quicktime":D=p(movie_width,movie_height);D.height+=15;D.contentHeight+=15;D.containerHeight+=15;toInject=settings.quicktime_markup.replace(/{width}/g,D.width).replace(/{height}/g,D.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,
pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case "flash":D=p(movie_width,movie_height);flash_vars=pp_images[set_position];flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length);filename=pp_images[set_position];filename=filename.substring(0,filename.indexOf("?"));toInject=settings.flash_markup.replace(/{width}/g,D.width).replace(/{height}/g,D.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+
flash_vars);break;case "iframe":D=p(movie_width,movie_height);frame_url=pp_images[set_position];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=settings.iframe_markup.replace(/{width}/g,D.width).replace(/{height}/g,D.height).replace(/{path}/g,frame_url);break;case "custom":D=p(movie_width,movie_height);toInject=settings.custom_markup;break;case "inline":myClone=d(pp_images[set_position]).clone().css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline clearfix"></div></div>').appendTo(d("body"));
D=p(d(myClone).width(),d(myClone).height());d(myClone).remove();toInject=settings.inline_markup.replace(/{content}/g,d(pp_images[set_position]).html())}if(!imgPreloader){$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject;_showContent()}});return false};d.prettyPhoto.changePage=function(U){currentGalleryPage=0;if(U=="previous"){set_position--;if(set_position<0){set_position=0;return}}else if(U=="next"){set_position++;if(set_position>d(pp_images).size()-1)set_position=0}else set_position=U;doresize||
(doresize=true);d(".pp_contract").removeClass("pp_contract").addClass("pp_expand");l(function(){d.prettyPhoto.open()})};d.prettyPhoto.changeGalleryPage=function(U){if(U=="next"){currentGalleryPage++;if(currentGalleryPage>totalPage)currentGalleryPage=0}else if(U=="previous"){currentGalleryPage--;if(currentGalleryPage<0)currentGalleryPage=totalPage}else currentGalleryPage=U;itemsToSlide=currentGalleryPage==totalPage?pp_images.length-totalPage*itemsPerPage:itemsPerPage;$pp_pic_holder.find(".pp_gallery li").each(function(V){d(this).animate({left:V*
itemWidth-itemsToSlide*itemWidth*currentGalleryPage})})};d.prettyPhoto.startSlideshow=function(){if(typeof ja=="undefined"){$pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){d.prettyPhoto.stopSlideshow();return false});ja=setInterval(d.prettyPhoto.startSlideshow,settings.slideshow)}else d.prettyPhoto.changePage("next")};d.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){d.prettyPhoto.startSlideshow();
return false});clearInterval(ja);ja=undefined};d.prettyPhoto.close=function(){clearInterval(ja);$pp_pic_holder.stop().find("object,embed").css("visibility","hidden");d("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){d(this).remove()});$pp_overlay.fadeOut(settings.animation_speed,function(){d.browser.msie&&d.browser.version==6&&d("select").css("visibility","visible");settings.hideflash&&d("object,embed").css("visibility","visible");d(this).remove();d(window).unbind("scroll");
settings.callback();doresize=true;K=false;delete settings})};_showContent=function(){d(".pp_loaderIcon").hide();$ppt.fadeTo(settings.animation_speed,1);projectedTop=scroll_pos.scrollTop+(fa/2-D.containerHeight/2);if(projectedTop<0)projectedTop=0;$pp_pic_holder.find(".pp_content").animate({height:D.contentHeight},settings.animation_speed);$pp_pic_holder.animate({top:projectedTop,left:ha/2-D.containerWidth/2,width:D.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(D.height).width(D.width);
$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed);isSet&&E(pp_images[set_position])=="image"?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide();D.resized&&d("a.pp_expand,a.pp_contract").fadeIn(settings.animation_speed);settings.autoplay_slideshow&&!ja&&!K&&d.prettyPhoto.startSlideshow();settings.changepicturecallback();K=true});if(isSet&&settings.overlay_gallery&&E(pp_images[set_position])=="image"){itemWidth=57;navWidth=settings.theme==
"facebook"?58:38;itemsPerPage=Math.floor((D.containerWidth-100-navWidth)/itemWidth);itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length;totalPage=Math.ceil(pp_images.length/itemsPerPage)-1;if(totalPage==0){navWidth=0;$pp_pic_holder.find(".pp_gallery .pp_arrow_next,.pp_gallery .pp_arrow_previous").hide()}else $pp_pic_holder.find(".pp_gallery .pp_arrow_next,.pp_gallery .pp_arrow_previous").show();galleryWidth=itemsPerPage*itemWidth+navWidth;$pp_pic_holder.find(".pp_gallery").width(galleryWidth).css("margin-left",
-(galleryWidth/2));$pp_pic_holder.find(".pp_gallery ul").width(itemsPerPage*itemWidth).find("li.selected").removeClass("selected");goToPage=Math.floor(set_position/itemsPerPage)<=totalPage?Math.floor(set_position/itemsPerPage):totalPage;itemsPerPage?$pp_pic_holder.find(".pp_gallery").hide().show().removeClass("disabled"):$pp_pic_holder.find(".pp_gallery").hide().addClass("disabled");d.prettyPhoto.changeGalleryPage(goToPage);$pp_pic_holder.find(".pp_gallery ul li:eq("+set_position+")").addClass("selected")}else{$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave");
$pp_pic_holder.find(".pp_gallery").hide()}};return this.unbind("click").click(d.prettyPhoto.initialize)}})(jQuery);
(function(d){d.fn.superfish=function(h){var l=d.fn.superfish,o=l.c,p=d(['<span class="',o.arrowClass,'"> &#187;</span>'].join("")),u=function(){var I=d(this),z=v(I);clearTimeout(z.sfTimer);I.showSuperfishUl().siblings().hideSuperfishUl()},E=function(){var I=d(this),z=v(I),F=l.op;clearTimeout(z.sfTimer);z.sfTimer=setTimeout(function(){F.retainPath=d.inArray(I[0],F.$path)>-1;I.hideSuperfishUl();F.$path.length&&I.parents(["li.",F.hoverClass].join("")).length<1&&u.call(F.$path)},F.delay)},v=function(I){I=
I.parents(["ul.",o.menuClass,":first"].join(""))[0];l.op=l.o[I.serial];return I};return this.each(function(){var I=this.serial=l.o.length,z=d.extend({},l.defaults,h);z.$path=d("li."+z.pathClass,this).slice(0,z.pathLevels).each(function(){d(this).addClass([z.hoverClass,o.bcClass].join(" ")).filter("li:has(ul)").removeClass(z.pathClass)});l.o[I]=l.op=z;d("li:has(ul)",this)[d.fn.hoverIntent&&!z.disableHI?"hoverIntent":"hover"](u,E).each(function(){z.autoArrows&&d(">a:first-child",this).addClass(o.anchorClass).append(p.clone())}).not("."+
o.bcClass).hideSuperfishUl();var F=d("a",this);F.each(function(L){var D=F.eq(L).parents("li");F.eq(L).focus(function(){u.call(D)}).blur(function(){E.call(D)})});z.onInit.call(this)}).each(function(){var I=[o.menuClass];l.op.dropShadows&&!(d.browser.msie&&d.browser.version<7)&&I.push(o.shadowClass);d(this).addClass(I.join(" "))})};var k=d.fn.superfish;k.o=[];k.op={};k.IE7fix=function(){var h=k.op;d.browser.msie&&d.browser.version>6&&h.dropShadows&&h.animation.opacity!=undefined&&this.toggleClass(k.c.shadowClass+
"-off")};k.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};k.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};d.fn.extend({hideSuperfishUl:function(){var h=k.op,l=h.retainPath===true?h.$path:"";h.retainPath=
false;l=d(["li.",h.hoverClass].join(""),this).add(this).not(l).removeClass(h.hoverClass).find(">ul").hide().css("visibility","hidden");h.onHide.call(l);return this},showSuperfishUl:function(){var h=k.op,l=this.addClass(h.hoverClass).find(">ul:hidden").css("visibility","visible");k.IE7fix.call(l);h.onBeforeShow.call(l);l.animate(h.animation,h.speed,function(){k.IE7fix.call(l);h.onShow.call(l)});return this}})})(jQuery);
(function(d){d.fn.supersubs=function(k){var h=d.extend({},d.fn.supersubs.defaults,k);return this.each(function(){var l=d(this),o=d.meta?d.extend({},h,l.data()):h,p=d('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(l).width();d("#menu-fontsize").remove();$ULs=l.find("ul");$ULs.each(function(u){u=$ULs.eq(u);var E=u.children(),v=E.children("a"),I=E.css("white-space","nowrap").css("float"),z=u.add(E).add(v).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/
p;z+=o.extraWidth;if(z>o.maxWidth)z=o.maxWidth;else if(z<o.minWidth)z=o.minWidth;z+="em";u.css("width",z);E.css({"float":I,width:"100%","white-space":"normal"}).each(function(){var F=d(">ul",this),L=F.css("left")!==undefined?"left":"right";F.css(L,z)})})})};d.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);

