(function(){var S=this,Ac,E=S.jQuery,G=S.$,V=S.jQuery=S.$=function(A,B){return new V.fn.init(A,B);},Ag=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,Ab=/^.[^:#\[\.,]*$/;
V.fn=V.prototype={init:function(D,B){D=D||document;if(D.nodeType){this[0]=D;this.length=1;this.context=D;return this;}if(typeof D==="string"){var A=Ag.exec(D);
if(A&&(A[1]||!B)){if(A[1]){D=V.clean([A[1]],B);}else{var C=document.getElementById(A[3]);if(C&&C.id!=A[3]){return V().find(D);
}var a=V(C||[]);a.context=document;a.selector=D;return a;}}else{return V(B).find(D);}}else{if(V.isFunction(D)){return V(document).ready(D);
}}if(D.selector&&D.context){this.selector=D.selector;this.context=D.context;}return this.setArray(V.isArray(D)?D:V.makeArray(D));
},selector:"",jquery:"1.3.2",size:function(){return this.length;},get:function(A){return A===Ac?Array.prototype.slice.call(this):this[A];
},pushStack:function(D,B,C){var A=V(D);A.prevObject=this;A.context=this.context;if(B==="find"){A.selector=this.selector+(this.selector?" ":"")+C;
}else{if(B){A.selector=this.selector+"."+B+"("+C+")";}}return A;},setArray:function(A){this.length=0;Array.prototype.push.apply(this,A);
return this;},each:function(B,A){return V.each(this,B,A);},index:function(A){return V.inArray(A&&A.jquery?A[0]:A,this);},attr:function(D,B,A){var C=D;
if(typeof D==="string"){if(B===Ac){return this[0]&&V[A||"attr"](this[0],D);}else{C={};C[D]=B;}}return this.each(function(a){for(D in C){V.attr(A?this.style:this,D,V.prop(this,C[D],A,a,D));
}});},css:function(A,B){if((A=="width"||A=="height")&&parseFloat(B)<0){B=Ac;}return this.attr(A,B,"curCSS");},text:function(B){if(typeof B!=="object"&&B!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(B));
}var A="";V.each(B||this,function(){V.each(this.childNodes,function(){if(this.nodeType!=8){A+=this.nodeType!=1?this.nodeValue:V.fn.text([this]);
}});});return A;},wrapAll:function(A){if(this[0]){var B=V(A,this[0].ownerDocument).clone();if(this[0].parentNode){B.insertBefore(this[0]);
}B.map(function(){var C=this;while(C.firstChild){C=C.firstChild;}return C;}).append(this);}return this;},wrapInner:function(A){return this.each(function(){V(this).contents().wrapAll(A);
});},wrap:function(A){return this.each(function(){V(this).wrapAll(A);});},append:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.appendChild(A);
}});},prepend:function(){return this.domManip(arguments,true,function(A){if(this.nodeType==1){this.insertBefore(A,this.firstChild);
}});},before:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this);});},after:function(){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this.nextSibling);
});},end:function(){return this.prevObject||V([]);},push:[].push,sort:[].sort,splice:[].splice,find:function(A){if(this.length===1){var B=this.pushStack([],"find",A);
B.length=0;V.find(A,this[0],B);return B;}else{return this.pushStack(V.unique(V.map(this,function(C){return V.find(A,C);})),"find",A);
}},clone:function(A){var C=this.map(function(){if(!V.support.noCloneEvent&&!V.isXMLDoc(this)){var a=this.outerHTML;if(!a){var b=this.ownerDocument.createElement("div");
b.appendChild(this.cloneNode(true));a=b.innerHTML;}return V.clean([a.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0];
}else{return this.cloneNode(true);}});if(A===true){var B=this.find("*").andSelf(),D=0;C.find("*").andSelf().each(function(){if(this.nodeName!==B[D].nodeName){return;
}var a=V.data(B[D],"events");for(var c in a){for(var b in a[c]){V.event.add(this,c,a[c][b],a[c][b].data);}}D++;});}return C;
},filter:function(A){return this.pushStack(V.isFunction(A)&&V.grep(this,function(B,C){return A.call(B,C);})||V.multiFilter(A,V.grep(this,function(B){return B.nodeType===1;
})),"filter",A);},closest:function(B){var A=V.expr.match.POS.test(B)?V(B):null,C=0;return this.map(function(){var D=this;
while(D&&D.ownerDocument){if(A?A.index(D)>-1:V(D).is(B)){V.data(D,"closest",C);return D;}D=D.parentNode;C++;}});},not:function(A){if(typeof A==="string"){if(Ab.test(A)){return this.pushStack(V.multiFilter(A,this,true),"not",A);
}else{A=V.multiFilter(A,this);}}var B=A.length&&A[A.length-1]!==Ac&&!A.nodeType;return this.filter(function(){return B?V.inArray(this,A)<0:this!=A;
});},add:function(A){return this.pushStack(V.unique(V.merge(this.get(),typeof A==="string"?V(A):V.makeArray(A))));},is:function(A){return !!A&&V.multiFilter(A,this).length>0;
},hasClass:function(A){return !!A&&this.is("."+A);},val:function(c){if(c===Ac){var A=this[0];if(A){if(V.nodeName(A,"option")){return(A.attributes.value||{}).specified?A.value:A.text;
}if(V.nodeName(A,"select")){var a=A.selectedIndex,d=[],e=A.options,D=A.type=="select-one";if(a<0){return null;}for(var B=D?a:0,b=D?a+1:e.length;
B<b;B++){var C=e[B];if(C.selected){c=V(C).val();if(D){return c;}d.push(c);}}return d;}return(A.value||"").replace(/\r/g,"");
}return Ac;}if(typeof c==="number"){c+="";}return this.each(function(){if(this.nodeType!=1){return;}if(V.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(V.inArray(this.value,c)>=0||V.inArray(this.name,c)>=0);
}else{if(V.nodeName(this,"select")){var f=V.makeArray(c);V("option",this).each(function(){this.selected=(V.inArray(this.value,f)>=0||V.inArray(this.text,f)>=0);
});if(!f.length){this.selectedIndex=-1;}}else{this.value=c;}}});},html:function(A){return A===Ac?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(A);
},replaceWith:function(A){return this.after(A).remove();},eq:function(A){return this.slice(A,+A+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","));
},map:function(A){return this.pushStack(V.map(this,function(B,C){return A.call(B,C,B);}));},andSelf:function(){return this.add(this.prevObject);
},domManip:function(b,e,d){if(this[0]){var a=(this[0].ownerDocument||this[0]).createDocumentFragment(),B=V.clean(b,(this[0].ownerDocument||this[0]),a),D=a.firstChild;
if(D){for(var C=0,A=this.length;C<A;C++){d.call(c(this[C],D),this.length>1||C>0?a.cloneNode(true):a);}}if(B){V.each(B,F);
}}return this;function c(f,g){return e&&V.nodeName(f,"table")&&V.nodeName(g,"tr")?(f.getElementsByTagName("tbody")[0]||f.appendChild(f.ownerDocument.createElement("tbody"))):f;
}}};V.fn.init.prototype=V.fn;function F(A,B){if(B.src){V.ajax({url:B.src,async:false,dataType:"script"});}else{V.globalEval(B.text||B.textContent||B.innerHTML||"");
}if(B.parentNode){B.parentNode.removeChild(B);}}function Aa(){return +new Date;}V.extend=V.fn.extend=function(){var b=arguments[0]||{},D=1,a=arguments.length,A=false,C;
if(typeof b==="boolean"){A=b;b=arguments[1]||{};D=2;}if(typeof b!=="object"&&!V.isFunction(b)){b={};}if(a==D){b=this;--D;
}for(;D<a;D++){if((C=arguments[D])!=null){for(var B in C){var c=b[B],d=C[B];if(b===d){continue;}if(A&&d&&typeof d==="object"&&!d.nodeType){b[B]=V.extend(A,c||(d.length!=null?[]:{}),d);
}else{if(d!==Ac){b[B]=d;}}}}}return b;};var X=/z-?index|font-?weight|opacity|zoom|line-?height/i,H=document.defaultView||{},J=Object.prototype.toString;
V.extend({noConflict:function(A){S.$=G;if(A){S.jQuery=E;}return V;},isFunction:function(A){return J.call(A)==="[object Function]";
},isArray:function(A){return J.call(A)==="[object Array]";},isXMLDoc:function(A){return A.nodeType===9&&A.documentElement.nodeName!=="HTML"||!!A.ownerDocument&&V.isXMLDoc(A.ownerDocument);
},globalEval:function(A){if(A&&/\S/.test(A)){var C=document.getElementsByTagName("head")[0]||document.documentElement,B=document.createElement("script");
B.type="text/javascript";if(V.support.scriptEval){B.appendChild(document.createTextNode(A));}else{B.text=A;}C.insertBefore(B,C.firstChild);
C.removeChild(B);}},nodeName:function(B,A){return B.nodeName&&B.nodeName.toUpperCase()==A.toUpperCase();},each:function(A,c,C){var b,D=0,a=A.length;
if(C){if(a===Ac){for(b in A){if(c.apply(A[b],C)===false){break;}}}else{for(;D<a;){if(c.apply(A[D++],C)===false){break;}}}}else{if(a===Ac){for(b in A){if(c.call(A[b],b,A[b])===false){break;
}}}else{for(var B=A[0];D<a&&c.call(B,D,B)!==false;B=A[++D]){}}}return A;},prop:function(B,C,A,a,D){if(V.isFunction(C)){C=C.call(B,a);
}return typeof C==="number"&&A=="curCSS"&&!X.test(D)?C+"px":C;},className:{add:function(A,B){V.each((B||"").split(/\s+/),function(C,D){if(A.nodeType==1&&!V.className.has(A.className,D)){A.className+=(A.className?" ":"")+D;
}});},remove:function(A,B){if(A.nodeType==1){A.className=B!==Ac?V.grep(A.className.split(/\s+/),function(C){return !V.className.has(B,C);
}).join(" "):"";}},has:function(B,A){return B&&V.inArray(A,(B.className||B).toString().split(/\s+/))>-1;}},swap:function(B,A,C){var D={};
for(var a in A){D[a]=B.style[a];B.style[a]=A[a];}C.call(B);for(var a in A){B.style[a]=D[a];}},css:function(D,B,b,A){if(B=="width"||B=="height"){var d,C={position:"absolute",visibility:"hidden",display:"block"},c=B=="width"?["Left","Right"]:["Top","Bottom"];
function a(){d=B=="width"?D.offsetWidth:D.offsetHeight;if(A==="border"){return;}V.each(c,function(){if(!A){d-=parseFloat(V.curCSS(D,"padding"+this,true))||0;
}if(A==="margin"){d+=parseFloat(V.curCSS(D,"margin"+this,true))||0;}else{d-=parseFloat(V.curCSS(D,"border"+this+"Width",true))||0;
}});}if(D.offsetWidth!==0){a();}else{V.swap(D,C,a);}return Math.max(0,Math.round(d));}return V.curCSS(D,B,b);},curCSS:function(a,B,C){var d,A=a.style;
if(B=="opacity"&&!V.support.opacity){d=V.attr(A,"opacity");return d==""?"1":d;}if(B.match(/float/i)){B=N;}if(!C&&A&&A[B]){d=A[B];
}else{if(H.getComputedStyle){if(B.match(/float/i)){B="float";}B=B.replace(/([A-Z])/g,"-$1").toLowerCase();var e=H.getComputedStyle(a,null);
if(e){d=e.getPropertyValue(B);}if(B=="opacity"&&d==""){d="1";}}else{if(a.currentStyle){var b=B.replace(/\-(\w)/g,function(f,g){return g.toUpperCase();
});d=a.currentStyle[B]||a.currentStyle[b];if(!/^\d+(px)?$/i.test(d)&&/^\d/.test(d)){var D=A.left,c=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;
A.left=d||0;d=A.pixelLeft+"px";A.left=D;a.runtimeStyle.left=c;}}}}return d;},clean:function(B,c,a){c=c||document;if(typeof c.createElement==="undefined"){c=c.ownerDocument||c[0]&&c[0].ownerDocument||document;
}if(!a&&B.length===1&&typeof B[0]==="string"){var D=/^<(\w+)\s*\/?>$/.exec(B[0]);if(D){return[c.createElement(D[1])];}}var C=[],A=[],d=c.createElement("div");
V.each(B,function(k,g){if(typeof g==="number"){g+="";}if(!g){return;}if(typeof g==="string"){g=g.replace(/(<(\w+)[^>]*?)\/>/g,function(m,n,l){return l.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?m:n+"></"+l+">";
});var h=g.replace(/^\s+/,"").substring(0,10).toLowerCase();var e=!h.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!h.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||h.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!h.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!h.indexOf("<td")||!h.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!h.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!V.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];
d.innerHTML=e[1]+g+e[2];while(e[0]--){d=d.lastChild;}if(!V.support.tbody){var f=/<tbody/i.test(g),j=!h.indexOf("<table")&&!f?d.firstChild&&d.firstChild.childNodes:e[1]=="<table>"&&!f?d.childNodes:[];
for(var i=j.length-1;i>=0;--i){if(V.nodeName(j[i],"tbody")&&!j[i].childNodes.length){j[i].parentNode.removeChild(j[i]);}}}if(!V.support.leadingWhitespace&&/^\s/.test(g)){d.insertBefore(c.createTextNode(g.match(/^\s*/)[0]),d.firstChild);
}g=V.makeArray(d.childNodes);}if(g.nodeType){C.push(g);}else{C=V.merge(C,g);}});if(a){for(var b=0;C[b];b++){if(V.nodeName(C[b],"script")&&(!C[b].type||C[b].type.toLowerCase()==="text/javascript")){A.push(C[b].parentNode?C[b].parentNode.removeChild(C[b]):C[b]);
}else{if(C[b].nodeType===1){C.splice.apply(C,[b+1,0].concat(V.makeArray(C[b].getElementsByTagName("script"))));}a.appendChild(C[b]);
}}return A;}return C;},attr:function(b,C,c){if(!b||b.nodeType==3||b.nodeType==8){return Ac;}var D=!V.isXMLDoc(b),d=c!==Ac;
C=D&&V.props[C]||C;if(b.tagName){var B=/href|src|style/.test(C);if(C=="selected"&&b.parentNode){b.parentNode.selectedIndex;
}if(C in b&&D&&!B){if(d){if(C=="type"&&V.nodeName(b,"input")&&b.parentNode){throw"type property can't be changed";}b[C]=c;
}if(V.nodeName(b,"form")&&b.getAttributeNode(C)){return b.getAttributeNode(C).nodeValue;}if(C=="tabIndex"){var a=b.getAttributeNode("tabIndex");
return a&&a.specified?a.value:b.nodeName.match(/(button|input|object|select|textarea)/i)?0:b.nodeName.match(/^(a|area)$/i)&&b.href?0:Ac;
}return b[C];}if(!V.support.style&&D&&C=="style"){return V.attr(b.style,"cssText",c);}if(d){b.setAttribute(C,""+c);}var A=!V.support.hrefNormalized&&D&&B?b.getAttribute(C,2):b.getAttribute(C);
return A===null?Ac:A;}if(!V.support.opacity&&C=="opacity"){if(d){b.zoom=1;b.filter=(b.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(c)+""=="NaN"?"":"alpha(opacity="+c*100+")");
}return b.filter&&b.filter.indexOf("opacity=")>=0?(parseFloat(b.filter.match(/opacity=([^)]*)/)[1])/100)+"":"";}C=C.replace(/-([a-z])/ig,function(e,f){return f.toUpperCase();
});if(d){b[C]=c;}return b[C];},trim:function(A){return(A||"").replace(/^\s+|\s+$/g,"");},makeArray:function(A){var B=[];if(A!=null){var C=A.length;
if(C==null||typeof A==="string"||V.isFunction(A)||A.setInterval){B[0]=A;}else{while(C){B[--C]=A[C];}}}return B;},inArray:function(A,B){for(var C=0,D=B.length;
C<D;C++){if(B[C]===A){return C;}}return -1;},merge:function(B,D){var a=0,A,C=B.length;if(!V.support.getAll){while((A=D[a++])!=null){if(A.nodeType!=8){B[C++]=A;
}}}else{while((A=D[a++])!=null){B[C++]=A;}}return B;},unique:function(c){var C=[],b={};try{for(var A=0,D=c.length;A<D;A++){var B=V.data(c[A]);
if(!b[B]){b[B]=true;C.push(c[A]);}}}catch(a){C=c;}return C;},grep:function(b,a,B){var A=[];for(var C=0,D=b.length;C<D;C++){if(!B!=!a(b[C],C)){A.push(b[C]);
}}return A;},map:function(a,B){var b=[];for(var A=0,C=a.length;A<C;A++){var D=B(a[A],A);if(D!=null){b[b.length]=D;}}return b.concat.apply([],b);
}});var Af=navigator.userAgent.toLowerCase();V.browser={version:(Af.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(Af),opera:/opera/.test(Af),msie:/msie/.test(Af)&&!/opera/.test(Af),mozilla:/mozilla/.test(Af)&&!/(compatible|webkit)/.test(Af)};
V.each({parent:function(A){return A.parentNode;},parents:function(A){return V.dir(A,"parentNode");},next:function(A){return V.nth(A,2,"nextSibling");
},prev:function(A){return V.nth(A,2,"previousSibling");},nextAll:function(A){return V.dir(A,"nextSibling");},prevAll:function(A){return V.dir(A,"previousSibling");
},siblings:function(A){return V.sibling(A.parentNode.firstChild,A);},children:function(A){return V.sibling(A.firstChild);
},contents:function(A){return V.nodeName(A,"iframe")?A.contentDocument||A.contentWindow.document:V.makeArray(A.childNodes);
}},function(A,B){V.fn[A]=function(C){var D=V.map(this,B);if(C&&typeof C=="string"){D=V.multiFilter(C,D);}return this.pushStack(V.unique(D),A,C);
};});V.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(A,B){V.fn[A]=function(C){var c=[],D=V(C);
for(var d=0,a=D.length;d<a;d++){var b=(d>0?this.clone(true):this).get();V.fn[B].apply(V(D[d]),b);c=c.concat(b);}return this.pushStack(c,A,C);
};});V.each({removeAttr:function(A){V.attr(this,A,"");if(this.nodeType==1){this.removeAttribute(A);}},addClass:function(A){V.className.add(this,A);
},removeClass:function(A){V.className.remove(this,A);},toggleClass:function(B,A){if(typeof A!=="boolean"){A=!V.className.has(this,B);
}V.className[A?"add":"remove"](this,B);},remove:function(A){if(!A||V.filter(A,[this]).length){V("*",this).add([this]).each(function(){V.event.remove(this);
V.removeData(this);});if(this.parentNode){this.parentNode.removeChild(this);}}},empty:function(){V(this).children().remove();
while(this.firstChild){this.removeChild(this.firstChild);}}},function(A,B){V.fn[A]=function(){return this.each(B,arguments);
};});function Q(A,B){return A[0]&&parseInt(V.curCSS(A[0],B,true),10)||0;}var O="jQuery"+Aa(),M=0,Ad={};V.extend({cache:{},data:function(D,C,A){D=D==S?Ad:D;
var B=D[O];if(!B){B=D[O]=++M;}if(C&&!V.cache[B]){V.cache[B]={};}if(A!==Ac){V.cache[B][C]=A;}return C?V.cache[B][C]:B;},removeData:function(D,C){D=D==S?Ad:D;
var B=D[O];if(C){if(V.cache[B]){delete V.cache[B][C];C="";for(C in V.cache[B]){break;}if(!C){V.removeData(D);}}}else{try{delete D[O];
}catch(A){if(D.removeAttribute){D.removeAttribute(O);}}delete V.cache[B];}},queue:function(D,C,B){if(D){C=(C||"fx")+"queue";
var A=V.data(D,C);if(!A||V.isArray(B)){A=V.data(D,C,V.makeArray(B));}else{if(B){A.push(B);}}}return A;},dequeue:function(B,A){var C=V.queue(B,A),D=C.shift();
if(!A||A==="fx"){D=C[0];}if(D!==Ac){D.call(B);}}});V.fn.extend({data:function(C,A){var B=C.split(".");B[1]=B[1]?"."+B[1]:"";
if(A===Ac){var D=this.triggerHandler("getData"+B[1]+"!",[B[0]]);if(D===Ac&&this.length){D=V.data(this[0],C);}return D===Ac&&B[1]?this.data(B[0]):D;
}else{return this.trigger("setData"+B[1]+"!",[B[0],A]).each(function(){V.data(this,C,A);});}},removeData:function(A){return this.each(function(){V.removeData(this,A);
});},queue:function(A,B){if(typeof A!=="string"){B=A;A="fx";}if(B===Ac){return V.queue(this[0],A);}return this.each(function(){var C=V.queue(this,A,B);
if(A=="fx"&&C.length==1){C[0].call(this);}});},dequeue:function(A){return this.each(function(){V.dequeue(this,A);});}});(function(){var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,g=0,c=Object.prototype.toString;
var B=function(z,q,u,l){u=u||[];q=q||document;if(q.nodeType!==1&&q.nodeType!==9){return[];}if(!z||typeof z!=="string"){return u;
}var Ai=[],s,n,m,p,v,r,y=true;a.lastIndex=0;while((s=a.exec(z))!==null){Ai.push(s[1]);if(s[2]){r=RegExp.rightContext;break;
}}if(Ai.length>1&&h.exec(z)){if(Ai.length===2&&d.relative[Ai[0]]){n=e(Ai[0]+Ai[1],q);}else{n=d.relative[Ai[0]]?[q]:B(Ai.shift(),q);
while(Ai.length){z=Ai.shift();if(d.relative[z]){z+=Ai.shift();}n=e(z,n);}}}else{var x=l?{expr:Ai.pop(),set:A(l)}:B.find(Ai.pop(),Ai.length===1&&q.parentNode?q.parentNode:q,D(q));
n=B.filter(x.expr,x.set);if(Ai.length>0){m=A(n);}else{y=false;}while(Ai.length){var w=Ai.pop(),t=w;if(!d.relative[w]){w="";
}else{t=Ai.pop();}if(t==null){t=q;}d.relative[w](m,t,D(q));}}if(!m){m=n;}if(!m){throw"Syntax error, unrecognized expression: "+(w||z);
}if(c.call(m)==="[object Array]"){if(!y){u.push.apply(u,m);}else{if(q.nodeType===1){for(var o=0;m[o]!=null;o++){if(m[o]&&(m[o]===true||m[o].nodeType===1&&f(q,m[o]))){u.push(n[o]);
}}}else{for(var o=0;m[o]!=null;o++){if(m[o]&&m[o].nodeType===1){u.push(n[o]);}}}}}else{A(m,u);}if(r){B(r,q,u,l);if(C){hasDuplicate=false;
u.sort(C);if(hasDuplicate){for(var o=1;o<u.length;o++){if(u[o]===u[o-1]){u.splice(o--,1);}}}}}return u;};B.matches=function(l,m){return B(l,null,null,m);
};B.find=function(l,m,q){var t,r;if(!l){return[];}for(var p=0,o=d.order.length;p<o;p++){var s=d.order[p],r;if((r=d.match[s].exec(l))){var n=RegExp.leftContext;
if(n.substr(n.length-1)!=="\\"){r[1]=(r[1]||"").replace(/\\/g,"");t=d.find[s](r,m,q);if(t!=null){l=l.replace(d.match[s],"");
break;}}}}if(!t){t=m.getElementsByTagName("*");}return{set:t,expr:l};};B.filter=function(q,l,u,t){var s=q,m=[],p=l,z,x,Ai=l&&l[0]&&D(l[0]);
while(q&&l.length){for(var v in d.filter){if((z=d.match[v].exec(q))!=null){var r=d.filter[v],w,o;x=false;if(p==m){m=[];}if(d.preFilter[v]){z=d.preFilter[v](z,p,u,m,t,Ai);
if(!z){x=w=true;}else{if(z===true){continue;}}}if(z){for(var y=0;(o=p[y])!=null;y++){if(o){w=r(o,z,y,p);var n=t^!!w;if(u&&w!=null){if(n){x=true;
}else{p[y]=false;}}else{if(n){m.push(o);x=true;}}}}}if(w!==Ac){if(!u){p=m;}q=q.replace(d.match[v],"");if(!x){return[];}break;
}}}if(q==s){if(x==null){throw"Syntax error, unrecognized expression: "+q;}else{break;}}s=q;}return p;};var d=B.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(l){return l.getAttribute("href");
}},relative:{"+":function(l,m,t){var r=typeof m==="string",q=r&&!/\W/.test(m),s=r&&!q;if(q&&!t){m=m.toUpperCase();}for(var p=0,o=l.length,n;
p<o;p++){if((n=l[p])){while((n=n.previousSibling)&&n.nodeType!==1){}l[p]=s||n&&n.nodeName===m?n||false:n===m;}}if(s){B.filter(m,l,true);
}},">":function(s,n,l){var q=typeof n==="string";if(q&&!/\W/.test(n)){n=l?n:n.toUpperCase();for(var o=0,m=s.length;o<m;o++){var r=s[o];
if(r){var p=r.parentNode;s[o]=p.nodeName===n?p:false;}}}else{for(var o=0,m=s.length;o<m;o++){var r=s[o];if(r){s[o]=q?r.parentNode:r.parentNode===n;
}}if(q){B.filter(n,s,true);}}},"":function(p,n,m){var o=g++,q=b;if(!n.match(/\W/)){var l=n=m?n:n.toUpperCase();q=k;}q("parentNode",n,o,p,l,m);
},"~":function(p,n,m){var o=g++,q=b;if(typeof n==="string"&&!n.match(/\W/)){var l=n=m?n:n.toUpperCase();q=k;}q("previousSibling",n,o,p,l,m);
}},find:{ID:function(m,n,o){if(typeof n.getElementById!=="undefined"&&!o){var l=n.getElementById(m[1]);return l?[l]:[];}},NAME:function(o,m,n){if(typeof m.getElementsByName!=="undefined"){var r=[],l=m.getElementsByName(o[1]);
for(var p=0,q=l.length;p<q;p++){if(l[p].getAttribute("name")===o[1]){r.push(l[p]);}}return r.length===0?null:r;}},TAG:function(l,m){return m.getElementsByTagName(l[1]);
}},preFilter:{CLASS:function(p,n,o,m,s,l){p=" "+p[1].replace(/\\/g,"")+" ";if(l){return p;}for(var q=0,r;(r=n[q])!=null;q++){if(r){if(s^(r.className&&(" "+r.className+" ").indexOf(p)>=0)){if(!o){m.push(r);
}}else{if(o){n[q]=false;}}}}return false;},ID:function(l){return l[1].replace(/\\/g,"");},TAG:function(m,l){for(var n=0;l[n]===false;
n++){}return l[n]&&D(l[n])?m[1]:m[1].toUpperCase();},CHILD:function(l){if(l[1]=="nth"){var m=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(l[2]=="even"&&"2n"||l[2]=="odd"&&"2n+1"||!/\D/.test(l[2])&&"0n+"+l[2]||l[2]);
l[2]=(m[1]+(m[2]||1))-0;l[3]=m[3]-0;}l[0]=g++;return l;},ATTR:function(l,n,o,m,q,r){var p=l[1].replace(/\\/g,"");if(!r&&d.attrMap[p]){l[1]=d.attrMap[p];
}if(l[2]==="~="){l[4]=" "+l[4]+" ";}return l;},PSEUDO:function(l,n,o,m,q){if(l[1]==="not"){if(l[3].match(a).length>1||/^\w/.test(l[3])){l[3]=B(l[3],null,null,n);
}else{var p=B.filter(l[3],n,o,true^q);if(!o){m.push.apply(m,p);}return false;}}else{if(d.match.POS.test(l[0])||d.match.CHILD.test(l[0])){return true;
}}return l;},POS:function(l){l.unshift(true);return l;}},filters:{enabled:function(l){return l.disabled===false&&l.type!=="hidden";
},disabled:function(l){return l.disabled===true;},checked:function(l){return l.checked===true;},selected:function(l){l.parentNode.selectedIndex;
return l.selected===true;},parent:function(l){return !!l.firstChild;},empty:function(l){return !l.firstChild;},has:function(n,m,l){return !!B(l[3],n).length;
},header:function(l){return/h\d/i.test(l.nodeName);},text:function(l){return"text"===l.type;},radio:function(l){return"radio"===l.type;
},checkbox:function(l){return"checkbox"===l.type;},file:function(l){return"file"===l.type;},password:function(l){return"password"===l.type;
},submit:function(l){return"submit"===l.type;},image:function(l){return"image"===l.type;},reset:function(l){return"reset"===l.type;
},button:function(l){return"button"===l.type||l.nodeName.toUpperCase()==="BUTTON";},input:function(l){return/input|select|textarea|button/i.test(l.nodeName);
}},setFilters:{first:function(m,l){return l===0;},last:function(n,m,l,o){return m===o.length-1;},even:function(m,l){return l%2===0;
},odd:function(m,l){return l%2===1;},lt:function(n,m,l){return m<l[3]-0;},gt:function(n,m,l){return m>l[3]-0;},nth:function(n,m,l){return l[3]-0==m;
},eq:function(n,m,l){return l[3]-0==m;}},filter:{PSEUDO:function(s,o,p,l){var n=o[1],q=d.filters[n];if(q){return q(s,p,o,l);
}else{if(n==="contains"){return(s.textContent||s.innerText||"").indexOf(o[3])>=0;}else{if(n==="not"){var r=o[3];for(var p=0,m=r.length;
p<m;p++){if(r[p]===s){return false;}}return true;}}}},CHILD:function(n,q){var u=q[1],o=n;switch(u){case"only":case"first":while(o=o.previousSibling){if(o.nodeType===1){return false;
}}if(u=="first"){return true;}o=n;case"last":while(o=o.nextSibling){if(o.nodeType===1){return false;}}return true;case"nth":var p=q[2],l=q[3];
if(p==1&&l==0){return true;}var t=q[0],r=n.parentNode;if(r&&(r.sizcache!==t||!n.nodeIndex)){var s=0;for(o=r.firstChild;o;
o=o.nextSibling){if(o.nodeType===1){o.nodeIndex=++s;}}r.sizcache=t;}var m=n.nodeIndex-l;if(p==0){return m==0;}else{return(m%p==0&&m/p>=0);
}}},ID:function(m,l){return m.nodeType===1&&m.getAttribute("id")===l;},TAG:function(m,l){return(l==="*"&&m.nodeType===1)||m.nodeName===l;
},CLASS:function(m,l){return(" "+(m.className||m.getAttribute("class"))+" ").indexOf(l)>-1;},ATTR:function(m,p){var o=p[1],q=d.attrHandle[o]?d.attrHandle[o](m):m[o]!=null?m[o]:m.getAttribute(o),n=q+"",l=p[2],r=p[4];
return q==null?l==="!=":l==="="?n===r:l==="*="?n.indexOf(r)>=0:l==="~="?(" "+n+" ").indexOf(r)>=0:!r?n&&q!==false:l==="!="?n!=r:l==="^="?n.indexOf(r)===0:l==="$="?n.substr(n.length-r.length)===r:l==="|="?n===r||n.substr(0,r.length+1)===r+"-":false;
},POS:function(l,n,o,m){var q=n[2],p=d.setFilters[q];if(p){return p(l,o,n,m);}}}};var h=d.match.POS;for(var j in d.match){d.match[j]=RegExp(d.match[j].source+/(?![^\[]*\])(?![^\(]*\))/.source);
}var A=function(m,l){m=Array.prototype.slice.call(m);if(l){l.push.apply(l,m);return l;}return m;};try{Array.prototype.slice.call(document.documentElement.childNodes);
}catch(i){A=function(l,p){var n=p||[];if(c.call(l)==="[object Array]"){Array.prototype.push.apply(n,l);}else{if(typeof l.length==="number"){for(var o=0,m=l.length;
o<m;o++){n.push(l[o]);}}else{for(var o=0;l[o];o++){n.push(l[o]);}}}return n;};}var C;if(document.documentElement.compareDocumentPosition){C=function(m,l){var n=m.compareDocumentPosition(l)&4?-1:m===l?0:1;
if(n===0){hasDuplicate=true;}return n;};}else{if("sourceIndex" in document.documentElement){C=function(m,l){var n=m.sourceIndex-l.sourceIndex;
if(n===0){hasDuplicate=true;}return n;};}else{if(document.createRange){C=function(p,n){var o=p.ownerDocument.createRange(),m=n.ownerDocument.createRange();
o.selectNode(p);o.collapse(true);m.selectNode(n);m.collapse(true);var l=o.compareBoundaryPoints(Range.START_TO_END,m);if(l===0){hasDuplicate=true;
}return l;};}}}(function(){var m=document.createElement("form"),n="script"+(new Date).getTime();m.innerHTML="<input name='"+n+"'/>";
var l=document.documentElement;l.insertBefore(m,l.firstChild);if(!!document.getElementById(n)){d.find.ID=function(o,p,q){if(typeof p.getElementById!=="undefined"&&!q){var r=p.getElementById(o[1]);
return r?r.id===o[1]||typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id").nodeValue===o[1]?[r]:Ac:[];}};d.filter.ID=function(p,q){var o=typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id");
return p.nodeType===1&&o&&o.nodeValue===q;};}l.removeChild(m);})();(function(){var l=document.createElement("div");l.appendChild(document.createComment(""));
if(l.getElementsByTagName("*").length>0){d.find.TAG=function(o,n){var m=n.getElementsByTagName(o[1]);if(o[1]==="*"){var q=[];
for(var p=0;m[p];p++){if(m[p].nodeType===1){q.push(m[p]);}}m=q;}return m;};}l.innerHTML="<a href='#'></a>";if(l.firstChild&&typeof l.firstChild.getAttribute!=="undefined"&&l.firstChild.getAttribute("href")!=="#"){d.attrHandle.href=function(m){return m.getAttribute("href",2);
};}})();if(document.querySelectorAll){(function(){var l=B,m=document.createElement("div");m.innerHTML="<p class='TEST'></p>";
if(m.querySelectorAll&&m.querySelectorAll(".TEST").length===0){return;}B=function(o,n,q,r){n=n||document;if(!r&&n.nodeType===9&&!D(n)){try{return A(n.querySelectorAll(o),q);
}catch(p){}}return l(o,n,q,r);};B.find=l.find;B.filter=l.filter;B.selectors=l.selectors;B.matches=l.matches;})();}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var l=document.createElement("div");
l.innerHTML="<div class='test e'></div><div class='test'></div>";if(l.getElementsByClassName("e").length===0){return;}l.lastChild.className="e";
if(l.getElementsByClassName("e").length===1){return;}d.order.splice(1,0,"CLASS");d.find.CLASS=function(m,n,o){if(typeof n.getElementsByClassName!=="undefined"&&!o){return n.getElementsByClassName(m[1]);
}};})();}function k(p,v,u,o,n,l){var s=p=="previousSibling"&&!l;for(var r=0,q=o.length;r<q;r++){var m=o[r];if(m){if(s&&m.nodeType===1){m.sizcache=u;
m.sizset=r;}m=m[p];var t=false;while(m){if(m.sizcache===u){t=o[m.sizset];break;}if(m.nodeType===1&&!l){m.sizcache=u;m.sizset=r;
}if(m.nodeName===v){t=m;break;}m=m[p];}o[r]=t;}}}function b(p,v,u,o,n,l){var s=p=="previousSibling"&&!l;for(var r=0,q=o.length;
r<q;r++){var m=o[r];if(m){if(s&&m.nodeType===1){m.sizcache=u;m.sizset=r;}m=m[p];var t=false;while(m){if(m.sizcache===u){t=o[m.sizset];
break;}if(m.nodeType===1){if(!l){m.sizcache=u;m.sizset=r;}if(typeof v!=="string"){if(m===v){t=true;break;}}else{if(B.filter(v,[m]).length>0){t=m;
break;}}}m=m[p];}o[r]=t;}}}var f=document.compareDocumentPosition?function(m,l){return m.compareDocumentPosition(l)&16;}:function(m,l){return m!==l&&(m.contains?m.contains(l):true);
};var D=function(l){return l.nodeType===9&&l.documentElement.nodeName!=="HTML"||!!l.ownerDocument&&D(l.ownerDocument);};var e=function(m,l){var p=[],q="",r,o=l.nodeType?[l]:l;
while((r=d.match.PSEUDO.exec(m))){q+=r[0];m=m.replace(d.match.PSEUDO,"");}m=d.relative[m]?m+"*":m;for(var s=0,n=o.length;
s<n;s++){B(m,o[s],p);}return B.filter(q,p);};V.find=B;V.filter=B.filter;V.expr=B.selectors;V.expr[":"]=V.expr.filters;B.selectors.filters.hidden=function(l){return l.offsetWidth===0||l.offsetHeight===0;
};B.selectors.filters.visible=function(l){return l.offsetWidth>0||l.offsetHeight>0;};B.selectors.filters.animated=function(l){return V.grep(V.timers,function(m){return l===m.elem;
}).length;};V.multiFilter=function(n,l,m){if(m){n=":not("+n+")";}return B.matches(n,l);};V.dir=function(n,m){var l=[],o=n[m];
while(o&&o!=document){if(o.nodeType==1){l.push(o);}o=o[m];}return l;};V.nth=function(l,m,o,p){m=m||1;var n=0;for(;l;l=l[o]){if(l.nodeType==1&&++n==m){break;
}}return l;};V.sibling=function(n,m){var l=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=m){l.push(n);}}return l;};return;
S.Sizzle=B;})();V.event={add:function(a,c,D,C){if(a.nodeType==3||a.nodeType==8){return;}if(a.setInterval&&a!=S){a=S;}if(!D.guid){D.guid=this.guid++;
}if(C!==Ac){var A=D;D=this.proxy(A);D.data=C;}var b=V.data(a,"events")||V.data(a,"events",{}),B=V.data(a,"handle")||V.data(a,"handle",function(){return typeof V!=="undefined"&&!V.event.triggered?V.event.handle.apply(arguments.callee.elem,arguments):Ac;
});B.elem=a;V.each(c.split(/\s+/),function(e,f){var g=f.split(".");f=g.shift();D.type=g.slice().sort().join(".");var d=b[f];
if(V.event.specialAll[f]){V.event.specialAll[f].setup.call(a,C,g);}if(!d){d=b[f]={};if(!V.event.special[f]||V.event.special[f].setup.call(a,C,g)===false){if(a.addEventListener){a.addEventListener(f,B,false);
}else{if(a.attachEvent){a.attachEvent("on"+f,B);}}}}d[D.guid]=D;V.event.global[f]=true;});a=null;},guid:1,global:{},remove:function(c,D,b){if(c.nodeType==3||c.nodeType==8){return;
}var C=V.data(c,"events"),B,A;if(C){if(D===Ac||(typeof D==="string"&&D.charAt(0)==".")){for(var a in C){this.remove(c,a+(D||""));
}}else{if(D.type){b=D.handler;D=D.type;}V.each(D.split(/\s+/),function(f,h){var e=h.split(".");h=e.shift();var g=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");
if(C[h]){if(b){delete C[h][b.guid];}else{for(var i in C[h]){if(g.test(C[h][i].type)){delete C[h][i];}}}if(V.event.specialAll[h]){V.event.specialAll[h].teardown.call(c,e);
}for(B in C[h]){break;}if(!B){if(!V.event.special[h]||V.event.special[h].teardown.call(c,e)===false){if(c.removeEventListener){c.removeEventListener(h,V.data(c,"handle"),false);
}else{if(c.detachEvent){c.detachEvent("on"+h,V.data(c,"handle"));}}}B=null;delete C[h];}}});}for(B in C){break;}if(!B){var d=V.data(c,"handle");
if(d){d.elem=null;}V.removeData(c,"events");V.removeData(c,"handle");}}},trigger:function(a,c,D,A){var C=a.type||a;if(!A){a=typeof a==="object"?a[O]?a:V.extend(V.Event(C),a):V.Event(C);
if(C.indexOf("!")>=0){a.type=C=C.slice(0,-1);a.exclusive=true;}if(!D){a.stopPropagation();if(this.global[C]){V.each(V.cache,function(){if(this.events&&this.events[C]){V.event.trigger(a,c,this.handle.elem);
}});}}if(!D||D.nodeType==3||D.nodeType==8){return Ac;}a.result=Ac;a.target=D;c=V.makeArray(c);c.unshift(a);}a.currentTarget=D;
var b=V.data(D,"handle");if(b){b.apply(D,c);}if((!D[C]||(V.nodeName(D,"a")&&C=="click"))&&D["on"+C]&&D["on"+C].apply(D,c)===false){a.result=false;
}if(!A&&D[C]&&!a.isDefaultPrevented()&&!(V.nodeName(D,"a")&&C=="click")){this.triggered=true;try{D[C]();}catch(d){}}this.triggered=false;
if(!a.isPropagationStopped()){var B=D.parentNode||D.ownerDocument;if(B){V.event.trigger(a,c,B,true);}}},handle:function(c){var b,A;
c=arguments[0]=V.event.fix(c||S.event);c.currentTarget=this;var d=c.type.split(".");c.type=d.shift();b=!d.length&&!c.exclusive;
var a=RegExp("(^|\\.)"+d.slice().sort().join(".*\\.")+"(\\.|$)");A=(V.data(this,"events")||{})[c.type];for(var C in A){var D=A[C];
if(b||a.test(D.type)){c.handler=D;c.data=D.data;var B=D.apply(this,arguments);if(B!==Ac){c.result=B;if(B===false){c.preventDefault();
c.stopPropagation();}}if(c.isImmediatePropagationStopped()){break;}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(C){if(C[O]){return C;
}var b=C;C=V.Event(b);for(var A=this.props.length,a;A;){a=this.props[--A];C[a]=b[a];}if(!C.target){C.target=C.srcElement||document;
}if(C.target.nodeType==3){C.target=C.target.parentNode;}if(!C.relatedTarget&&C.fromElement){C.relatedTarget=C.fromElement==C.target?C.toElement:C.fromElement;
}if(C.pageX==null&&C.clientX!=null){var D=document.documentElement,B=document.body;C.pageX=C.clientX+(D&&D.scrollLeft||B&&B.scrollLeft||0)-(D.clientLeft||0);
C.pageY=C.clientY+(D&&D.scrollTop||B&&B.scrollTop||0)-(D.clientTop||0);}if(!C.which&&((C.charCode||C.charCode===0)?C.charCode:C.keyCode)){C.which=C.charCode||C.keyCode;
}if(!C.metaKey&&C.ctrlKey){C.metaKey=C.ctrlKey;}if(!C.which&&C.button){C.which=(C.button&1?1:(C.button&2?3:(C.button&4?2:0)));
}return C;},proxy:function(B,A){A=A||function(){return B.apply(this,arguments);};A.guid=B.guid=B.guid||A.guid||this.guid++;
return A;},special:{ready:{setup:Ae,teardown:function(){}}},specialAll:{live:{setup:function(A,B){V.event.add(this,B[0],Y);
},teardown:function(A){if(A.length){var B=0,C=RegExp("(^|\\.)"+A[0]+"(\\.|$)");V.each((V.data(this,"events").live||{}),function(){if(C.test(this.type)){B++;
}});if(B<1){V.event.remove(this,A[0],Y);}}}}}};V.Event=function(A){if(!this.preventDefault){return new V.Event(A);}if(A&&A.type){this.originalEvent=A;
this.type=A.type;}else{this.type=A;}this.timeStamp=Aa();this[O]=true;};function R(){return false;}function L(){return true;
}V.Event.prototype={preventDefault:function(){this.isDefaultPrevented=L;var A=this.originalEvent;if(!A){return;}if(A.preventDefault){A.preventDefault();
}A.returnValue=false;},stopPropagation:function(){this.isPropagationStopped=L;var A=this.originalEvent;if(!A){return;}if(A.stopPropagation){A.stopPropagation();
}A.cancelBubble=true;},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=L;this.stopPropagation();},isDefaultPrevented:R,isPropagationStopped:R,isImmediatePropagationStopped:R};
var W=function(C){var B=C.relatedTarget;while(B&&B!=this){try{B=B.parentNode;}catch(A){B=this;}}if(B!=this){C.type=C.data;
V.event.handle.apply(this,arguments);}};V.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(B,A){V.event.special[A]={setup:function(){V.event.add(this,B,W,A);
},teardown:function(){V.event.remove(this,B,W);}};});V.fn.extend({bind:function(C,A,B){return C=="unload"?this.one(C,A,B):this.each(function(){V.event.add(this,C,B||A,B&&A);
});},one:function(A,B,D){var C=V.event.proxy(D||B,function(a){V(this).unbind(a,C);return(D||B).apply(this,arguments);});return this.each(function(){V.event.add(this,A,C,D&&B);
});},unbind:function(B,A){return this.each(function(){V.event.remove(this,B,A);});},trigger:function(A,B){return this.each(function(){V.event.trigger(A,B,this);
});},triggerHandler:function(B,A){if(this[0]){var C=V.Event(B);C.preventDefault();C.stopPropagation();V.event.trigger(C,A,this[0]);
return C.result;}},toggle:function(A){var B=arguments,C=1;while(C<B.length){V.event.proxy(A,B[C++]);}return this.click(V.event.proxy(A,function(D){this.lastToggle=(this.lastToggle||0)%C;
D.preventDefault();return B[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(A,B){return this.mouseenter(A).mouseleave(B);
},ready:function(A){Ae();if(V.isReady){A.call(document,V);}else{V.readyList.push(A);}return this;},live:function(A,C){var B=V.event.proxy(C);
B.guid+=this.selector+A;V(document).bind(P(A,this.selector),this.selector,B);return this;},die:function(B,A){V(document).unbind(P(B,this.selector),A?{guid:A.guid+this.selector+B}:null);
return this;}});function Y(B){var C=RegExp("(^|\\.)"+B.type+"(\\.|$)"),A=true,D=[];V.each(V.data(this,"events").live||[],function(a,b){if(C.test(b.type)){var c=V(B.target).closest(b.data)[0];
if(c){D.push({elem:c,fn:b});}}});D.sort(function(b,a){return V.data(b.elem,"closest")-V.data(a.elem,"closest");});V.each(D,function(){if(this.fn.call(this.elem,B,this.fn.data)===false){return(A=false);
}});return A;}function P(B,A){return["live",B,A.replace(/\./g,"`").replace(/ /g,"|")].join(".");}V.extend({isReady:false,readyList:[],ready:function(){if(!V.isReady){V.isReady=true;
if(V.readyList){V.each(V.readyList,function(){this.call(document,V);});V.readyList=null;}V(document).triggerHandler("ready");
}}});var Ah=false;function Ae(){if(Ah){return;}Ah=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
V.ready();},false);}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
V.ready();}});if(document.documentElement.doScroll&&S==S.top){(function(){if(V.isReady){return;}try{document.documentElement.doScroll("left");
}catch(A){setTimeout(arguments.callee,0);return;}V.ready();})();}}}V.event.add(S,"load",V.ready);}V.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(B,A){V.fn[A]=function(C){return C?this.bind(A,C):this.trigger(A);
};});V(S).bind("unload",function(){for(var A in V.cache){if(A!=1&&V.cache[A].handle){V.event.remove(V.cache[A].handle.elem);
}}});(function(){V.support={};var c=document.documentElement,A=document.createElement("script"),C=document.createElement("div"),b="script"+(new Date).getTime();
C.style.display="none";C.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var D=C.getElementsByTagName("*"),B=C.getElementsByTagName("a")[0];if(!D||!D.length||!B){return;}V.support={leadingWhitespace:C.firstChild.nodeType==3,tbody:!C.getElementsByTagName("tbody").length,objectAll:!!C.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!C.getElementsByTagName("link").length,style:/red/.test(B.getAttribute("style")),hrefNormalized:B.getAttribute("href")==="/a",opacity:B.style.opacity==="0.5",cssFloat:!!B.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};
A.type="text/javascript";try{A.appendChild(document.createTextNode("window."+b+"=1;"));}catch(a){}c.insertBefore(A,c.firstChild);
if(S[b]){V.support.scriptEval=true;delete S[b];}c.removeChild(A);if(C.attachEvent&&C.fireEvent){C.attachEvent("onclick",function(){V.support.noCloneEvent=false;
C.detachEvent("onclick",arguments.callee);});C.cloneNode(true).fireEvent("onclick");}V(function(){var d=document.createElement("div");
d.style.width=d.style.paddingLeft="1px";document.body.appendChild(d);V.boxModel=V.support.boxModel=d.offsetWidth===2;document.body.removeChild(d).style.display="none";
});})();var N=V.support.cssFloat?"cssFloat":"styleFloat";V.props={"for":"htmlFor","class":"className","float":N,cssFloat:N,styleFloat:N,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};
V.fn.extend({_load:V.fn.load,load:function(A,b,c){if(typeof A!=="string"){return this._load(A);}var a=A.indexOf(" ");if(a>=0){var B=A.slice(a,A.length);
A=A.slice(0,a);}var D="GET";if(b){if(V.isFunction(b)){c=b;b=null;}else{if(typeof b==="object"){b=V.param(b);D="POST";}}}var C=this;
V.ajax({url:A,type:D,dataType:"html",data:b,complete:function(e,d){if(d=="success"||d=="notmodified"){C.html(B?V("<div/>").append(e.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(B):e.responseText);
}if(c){C.each(c,[e.responseText,d,e]);}}});return this;},serialize:function(){return V.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return this.elements?V.makeArray(this.elements):this;
}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type));
}).map(function(B,C){var A=V(this).val();return A==null?null:V.isArray(A)?V.map(A,function(a,D){return{name:C.name,value:a};
}):{name:C.name,value:A};}).get();}});V.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(A,B){V.fn[B]=function(C){return this.bind(B,C);
};});var I=Aa();V.extend({get:function(C,A,B,D){if(V.isFunction(A)){B=A;A=null;}return V.ajax({type:"GET",url:C,data:A,success:B,dataType:D});
},getScript:function(A,B){return V.get(A,null,B,"script");},getJSON:function(B,C,A){return V.get(B,C,A,"json");},post:function(C,A,B,D){if(V.isFunction(A)){B=A;
A={};}return V.ajax({type:"POST",url:C,data:A,success:B,dataType:D});},ajaxSetup:function(A){V.extend(V.ajaxSettings,A);},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();
},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(j){j=V.extend(true,j,V.extend(true,{},V.ajaxSettings,j));
var d,n=/=\?(&|$)/g,C,c,o=j.type.toUpperCase();if(j.data&&j.processData&&typeof j.data!=="string"){j.data=V.param(j.data);
}if(j.dataType=="jsonp"){if(o=="GET"){if(!j.url.match(n)){j.url+=(j.url.match(/\?/)?"&":"?")+(j.jsonp||"callback")+"=?";}}else{if(!j.data||!j.data.match(n)){j.data=(j.data?j.data+"&":"")+(j.jsonp||"callback")+"=?";
}}j.dataType="json";}if(j.dataType=="json"&&(j.data&&j.data.match(n)||j.url.match(n))){d="jsonp"+I++;if(j.data){j.data=(j.data+"").replace(n,"="+d+"$1");
}j.url=j.url.replace(n,"="+d+"$1");j.dataType="script";S[d]=function(p){c=p;f();i();S[d]=Ac;try{delete S[d];}catch(q){}if(e){e.removeChild(a);
}};}if(j.dataType=="script"&&j.cache==null){j.cache=false;}if(j.cache===false&&o=="GET"){var m=Aa();var b=j.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+m+"$2");
j.url=b+((b==j.url)?(j.url.match(/\?/)?"&":"?")+"_="+m:"");}if(j.data&&o=="GET"){j.url+=(j.url.match(/\?/)?"&":"?")+j.data;
j.data=null;}if(j.global&&!V.active++){V.event.trigger("ajaxStart");}var B=/^(\w+:)?\/\/([^\/?#]+)/.exec(j.url);if(j.dataType=="script"&&o=="GET"&&B&&(B[1]&&B[1]!=location.protocol||B[2]!=location.host)){var e=document.getElementsByTagName("head")[0];
var a=document.createElement("script");a.src=j.url;if(j.scriptCharset){a.charset=j.scriptCharset;}if(!d){var l=false;a.onload=a.onreadystatechange=function(){if(!l&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){l=true;
f();i();a.onload=a.onreadystatechange=null;e.removeChild(a);}};}e.appendChild(a);return Ac;}var h=false;var g=j.xhr();if(j.username){g.open(o,j.url,j.async,j.username,j.password);
}else{g.open(o,j.url,j.async);}try{if(j.data){g.setRequestHeader("Content-Type",j.contentType);}if(j.ifModified){g.setRequestHeader("If-Modified-Since",V.lastModified[j.url]||"Thu, 01 Jan 1970 00:00:00 GMT");
}g.setRequestHeader("X-Requested-With","XMLHttpRequest");g.setRequestHeader("Accept",j.dataType&&j.accepts[j.dataType]?j.accepts[j.dataType]+", */*":j.accepts._default);
}catch(D){}if(j.beforeSend&&j.beforeSend(g,j)===false){if(j.global&&!--V.active){V.event.trigger("ajaxStop");}g.abort();return false;
}if(j.global){V.event.trigger("ajaxSend",[g,j]);}var k=function(p){if(g.readyState==0){if(A){clearInterval(A);A=null;if(j.global&&!--V.active){V.event.trigger("ajaxStop");
}}}else{if(!h&&g&&(g.readyState==4||p=="timeout")){h=true;if(A){clearInterval(A);A=null;}C=p=="timeout"?"timeout":!V.httpSuccess(g)?"error":j.ifModified&&V.httpNotModified(g,j.url)?"notmodified":"success";
if(C=="success"){try{c=V.httpData(g,j.dataType,j);}catch(r){C="parsererror";}}if(C=="success"){var q;try{q=g.getResponseHeader("Last-Modified");
}catch(r){}if(j.ifModified&&q){V.lastModified[j.url]=q;}if(!d){f();}}else{V.handleError(j,g,C);}i();if(p){g.abort();}if(j.async){g=null;
}}}};if(j.async){var A=setInterval(k,13);if(j.timeout>0){setTimeout(function(){if(g&&!h){k("timeout");}},j.timeout);}}try{g.send(j.data);
}catch(D){V.handleError(j,g,null,D);}if(!j.async){k();}function f(){if(j.success){j.success(c,C);}if(j.global){V.event.trigger("ajaxSuccess",[g,j]);
}}function i(){if(j.complete){j.complete(g,C);}if(j.global){V.event.trigger("ajaxComplete",[g,j]);}if(j.global&&!--V.active){V.event.trigger("ajaxStop");
}}return g;},handleError:function(D,B,C,A){if(D.error){D.error(B,C,A);}if(D.global){V.event.trigger("ajaxError",[B,D,A]);
}},active:0,httpSuccess:function(B){try{return !B.status&&location.protocol=="file:"||(B.status>=200&&B.status<300)||B.status==304||B.status==1223;
}catch(A){}return false;},httpNotModified:function(A,C){try{var B=A.getResponseHeader("Last-Modified");return A.status==304||B==V.lastModified[C];
}catch(D){}return false;},httpData:function(a,C,A){var b=a.getResponseHeader("content-type"),B=C=="xml"||!C&&b&&b.indexOf("xml")>=0,D=B?a.responseXML:a.responseText;
if(B&&D.documentElement.tagName=="parsererror"){throw"parsererror";}if(A&&A.dataFilter){D=A.dataFilter(D,C);}if(typeof D==="string"){if(C=="script"){V.globalEval(D);
}if(C=="json"){D=S["eval"]("("+D+")");}}return D;},param:function(C){var A=[];function B(a,b){A[A.length]=encodeURIComponent(a)+"="+encodeURIComponent(b);
}if(V.isArray(C)||C.jquery){V.each(C,function(){B(this.name,this.value);});}else{for(var D in C){if(V.isArray(C[D])){V.each(C[D],function(){B(D,this);
});}else{B(D,V.isFunction(C[D])?C[D]():C[D]);}}}return A.join("&").replace(/%20/g,"+");}});var T={},U,Z=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];
function K(C,B){var A={};V.each(Z.concat.apply([],Z.slice(0,B)),function(){A[this]=C;});return A;}V.fn.extend({show:function(b,d){if(b){return this.animate(K("show",3),b,d);
}else{for(var D=0,B=this.length;D<B;D++){var A=V.data(this[D],"olddisplay");this[D].style.display=A||"";if(V.css(this[D],"display")==="none"){var C=this[D].tagName,c;
if(T[C]){c=T[C];}else{var a=V("<"+C+" />").appendTo("body");c=a.css("display");if(c==="none"){c="block";}a.remove();T[C]=c;
}V.data(this[D],"olddisplay",c);}}for(var D=0,B=this.length;D<B;D++){this[D].style.display=V.data(this[D],"olddisplay")||"";
}return this;}},hide:function(B,C){if(B){return this.animate(K("hide",3),B,C);}else{for(var A=0,a=this.length;A<a;A++){var D=V.data(this[A],"olddisplay");
if(!D&&D!=="none"){V.data(this[A],"olddisplay",V.css(this[A],"display"));}}for(var A=0,a=this.length;A<a;A++){this[A].style.display="none";
}return this;}},_toggle:V.fn.toggle,toggle:function(A,C){var B=typeof A==="boolean";return V.isFunction(A)&&V.isFunction(C)?this._toggle.apply(this,arguments):A==null||B?this.each(function(){var D=B?A:V(this).is(":hidden");
V(this)[D?"show":"hide"]();}):this.animate(K("toggle",3),A,C);},fadeTo:function(B,A,C){return this.animate({opacity:A},B,C);
},animate:function(C,a,B,A){var D=V.speed(a,B,A);return this[D.queue===false?"each":"queue"](function(){var e=V.extend({},D),c,b=this.nodeType==1&&V(this).is(":hidden"),d=this;
for(c in C){if(C[c]=="hide"&&b||C[c]=="show"&&!b){return e.complete.call(this);}if((c=="height"||c=="width")&&this.style){e.display=V.css(this,"display");
e.overflow=this.style.overflow;}}if(e.overflow!=null){this.style.overflow="hidden";}e.curAnim=V.extend({},C);V.each(C,function(i,h){var g=new V.fx(d,e,i);
if(/toggle|show|hide/.test(h)){g[h=="toggle"?b?"show":"hide":h](C);}else{var f=h.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),k=g.cur(true)||0;
if(f){var j=parseFloat(f[2]),l=f[3]||"px";if(l!="px"){d.style[i]=(j||1)+l;k=((j||1)/g.cur(true))*k;d.style[i]=k+l;}if(f[1]){j=((f[1]=="-="?-1:1)*j)+k;
}g.custom(k,j,l);}else{g.custom(k,h,"");}}});return true;});},stop:function(C,B){var A=V.timers;if(C){this.queue([]);}this.each(function(){for(var D=A.length-1;
D>=0;D--){if(A[D].elem==this){if(B){A[D](true);}A.splice(D,1);}}});if(!B){this.dequeue();}return this;}});V.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(A,B){V.fn[A]=function(C,D){return this.animate(B,C,D);
};});V.extend({speed:function(A,B,D){var C=typeof A==="object"?A:{complete:D||!D&&B||V.isFunction(A)&&A,duration:A,easing:D&&B||B&&!V.isFunction(B)&&B};
C.duration=V.fx.off?0:typeof C.duration==="number"?C.duration:V.fx.speeds[C.duration]||V.fx.speeds._default;C.old=C.complete;
C.complete=function(){if(C.queue!==false){V(this).dequeue();}if(V.isFunction(C.old)){C.old.call(this);}};return C;},easing:{linear:function(A,B,C,D){return C+D*A;
},swing:function(A,B,C,D){return((-Math.cos(A*Math.PI)/2)+0.5)*D+C;}},timers:[],fx:function(C,B,A){this.options=B;this.elem=C;
this.prop=A;if(!B.orig){B.orig={};}}});V.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this);
}(V.fx.step[this.prop]||V.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block";
}},cur:function(B){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop];
}var A=parseFloat(V.css(this.elem,this.prop,B));return A&&A>-10000?A:parseFloat(V.curCSS(this.elem,this.prop))||0;},custom:function(C,B,A){this.startTime=Aa();
this.start=C;this.end=B;this.unit=A||this.unit||"px";this.now=this.start;this.pos=this.state=0;var D=this;function a(b){return D.step(b);
}a.elem=this.elem;if(a()&&V.timers.push(a)&&!U){U=setInterval(function(){var c=V.timers;for(var b=0;b<c.length;b++){if(!c[b]()){c.splice(b--,1);
}}if(!c.length){clearInterval(U);U=Ac;}},13);}},show:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);
this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());V(this.elem).show();},hide:function(){this.options.orig[this.prop]=V.attr(this.elem.style,this.prop);
this.options.hide=true;this.custom(this.cur(),0);},step:function(C){var A=Aa();if(C||A>=this.options.duration+this.startTime){this.now=this.end;
this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var a=true;for(var b in this.options.curAnim){if(this.options.curAnim[b]!==true){a=false;
}}if(a){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;
if(V.css(this.elem,"display")=="none"){this.elem.style.display="block";}}if(this.options.hide){V(this.elem).hide();}if(this.options.hide||this.options.show){for(var D in this.options.curAnim){V.attr(this.elem.style,D,this.options.orig[D]);
}}this.options.complete.call(this.elem);}return false;}else{var B=A-this.startTime;this.state=B/this.options.duration;this.pos=V.easing[this.options.easing||(V.easing.swing?"swing":"linear")](this.state,B,0,1,this.options.duration);
this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};V.extend(V.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(A){V.attr(A.elem.style,"opacity",A.now);
},_default:function(A){if(A.elem.style&&A.elem.style[A.prop]!=null){A.elem.style[A.prop]=A.now+A.unit;}else{A.elem[A.prop]=A.now;
}}}});if(document.documentElement.getBoundingClientRect){V.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0]);
}var C=this[0].getBoundingClientRect(),b=this[0].ownerDocument,B=b.body,A=b.documentElement,d=A.clientTop||B.clientTop||0,c=A.clientLeft||B.clientLeft||0,a=C.top+(self.pageYOffset||V.boxModel&&A.scrollTop||B.scrollTop)-d,D=C.left+(self.pageXOffset||V.boxModel&&A.scrollLeft||B.scrollLeft)-c;
return{top:a,left:D};};}else{V.fn.offset=function(){if(!this[0]){return{top:0,left:0};}if(this[0]===this[0].ownerDocument.body){return V.offset.bodyOffset(this[0]);
}V.offset.initialized||V.offset.initialize();var b=this[0],C=b.offsetParent,B=b,g=b.ownerDocument,e,D=g.documentElement,c=g.body,d=g.defaultView,A=d.getComputedStyle(b,null),f=b.offsetTop,a=b.offsetLeft;
while((b=b.parentNode)&&b!==c&&b!==D){e=d.getComputedStyle(b,null);f-=b.scrollTop,a-=b.scrollLeft;if(b===C){f+=b.offsetTop,a+=b.offsetLeft;
if(V.offset.doesNotAddBorder&&!(V.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.tagName))){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0;
}B=C,C=b.offsetParent;}if(V.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){f+=parseInt(e.borderTopWidth,10)||0,a+=parseInt(e.borderLeftWidth,10)||0;
}A=e;}if(A.position==="relative"||A.position==="static"){f+=c.offsetTop,a+=c.offsetLeft;}if(A.position==="fixed"){f+=Math.max(D.scrollTop,c.scrollTop),a+=Math.max(D.scrollLeft,c.scrollLeft);
}return{top:f,left:a};};}V.offset={initialize:function(){if(this.initialized){return;}var d=document.body,B=document.createElement("div"),D,C,f,a,e,A,b=d.style.marginTop,c='<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>';
e={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(A in e){B.style[A]=e[A];
}B.innerHTML=c;d.insertBefore(B,d.firstChild);D=B.firstChild,C=D.firstChild,a=D.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(C.offsetTop!==5);
this.doesAddBorderForTableAndCells=(a.offsetTop===5);D.style.overflow="hidden",D.style.position="relative";this.subtractsBorderForOverflowNotVisible=(C.offsetTop===-5);
d.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(d.offsetTop===0);d.style.marginTop=b;d.removeChild(B);this.initialized=true;
},bodyOffset:function(B){V.offset.initialized||V.offset.initialize();var A=B.offsetTop,C=B.offsetLeft;if(V.offset.doesNotIncludeMarginInBodyOffset){A+=parseInt(V.curCSS(B,"marginTop",true),10)||0,C+=parseInt(V.curCSS(B,"marginLeft",true),10)||0;
}return{top:A,left:C};}};V.fn.extend({position:function(){var D=0,C=0,b;if(this[0]){var A=this.offsetParent(),a=this.offset(),B=/^body|html$/i.test(A[0].tagName)?{top:0,left:0}:A.offset();
a.top-=Q(this,"marginTop");a.left-=Q(this,"marginLeft");B.top+=Q(A,"borderTopWidth");B.left+=Q(A,"borderLeftWidth");b={top:a.top-B.top,left:a.left-B.left};
}return b;},offsetParent:function(){var A=this[0].offsetParent||document.body;while(A&&(!/^body|html$/i.test(A.tagName)&&V.css(A,"position")=="static")){A=A.offsetParent;
}return V(A);}});V.each(["Left","Top"],function(C,B){var A="scroll"+B;V.fn[A]=function(D){if(!this[0]){return null;}return D!==Ac?this.each(function(){this==S||this==document?S.scrollTo(!C?D:V(S).scrollLeft(),C?D:V(S).scrollTop()):this[A]=D;
}):this[0]==S||this[0]==document?self[C?"pageYOffset":"pageXOffset"]||V.boxModel&&document.documentElement[A]||document.body[A]:this[0][A];
};});V.each(["Height","Width"],function(D,A){var a=D?"Left":"Top",C=D?"Right":"Bottom",b=A.toLowerCase();V.fn["inner"+A]=function(){return this[0]?V.css(this[0],b,false,"padding"):null;
};V.fn["outer"+A]=function(c){return this[0]?V.css(this[0],b,false,c?"margin":"border"):null;};var B=A.toLowerCase();V.fn[B]=function(c){return this[0]==S?document.compatMode=="CSS1Compat"&&document.documentElement["client"+A]||document.body["client"+A]:this[0]==document?Math.max(document.documentElement["client"+A],document.body["scroll"+A],document.documentElement["scroll"+A],document.body["offset"+A],document.documentElement["offset"+A]):c===Ac?(this.length?V.css(this[0],B):null):this.css(B,typeof c==="string"?c:c+"px");
};});})();
$(document).ready(function(){$("ul.topnav li").hover(function(){$(this).find("ul.subnav").slideDown("fast").show();$(this).hover(function(){},function(){$(this).find("ul.subnav").slideUp("fast");
});}).hover(function(){$(this).addClass("subhover");},function(){$(this).removeClass("subhover");});});
$(document).ready(function(){$("input[type=checkbox],input[type=radio]").prettyCheckboxes();});function getSWF(D,C,A,E){var B='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width='+D+" height="+C+" VIEWASTEXT>";
B+='<param name="movie" value="'+A+'" />';B+='<param name="quality" value="high" />';B+='<param name="wmode" value="'+E+'" />';
B+='<param name="menu" value="false" />';B+='<embed src="'+A+'" width='+D+" height="+C+' menu="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>';
document.write(B);}fbPageOptions={sameBox:true,enableKeyboardNav:false,innerBorder:0,autoStart:true,resizeDuration:1,roundBorder:0,controlOpacity:100};
function openFloatBox(B,A){if(A==0){fb.start({href:"/FloatBox.aspx?UserControl=Mesajlar&Mesaj="+B+"",rev:"width:450 height:300"});
}else{if(A==1){if(B=="8"||B=="9"){fb.start({href:"/FloatBox.aspx?UserControl=Mesajlar&Mesaj="+B+"",rev:'width:460 height:500 afterBoxEnd:`document.location.href = document.URL.replace("#", "");`'});
}else{fb.start({href:"/FloatBox.aspx?UserControl=Mesajlar&Mesaj="+B+"",rev:'width:450 height:300 afterBoxEnd:`document.location.href = document.URL.replace("#", "");`'});
}}else{if(A==2){fb.start({href:"/FloatBox.aspx?UserControl=Mesajlar&Mesaj="+B+"",rev:'width:450 height:300 afterBoxEnd:`document.location.href = "/Default.aspx";`'});
}else{if(A==3){fb.start({href:"/FloatBox.aspx?UserControl=Mesajlar&Mesaj="+B+"",rev:"width:450 height:300 afterBoxEnd:`parent.fb.end();`"});
}}}}}function RamazanTakvimi(){fb.start({href:"/Userfiles/Content/Flash/Imsakiye/loader.html",rev:"width:570 height:570 afterBoxEnd:`parent.fb.end();`"});
}function RamazanMenuEkledi(){fb.start({href:"/FloatBox.aspx?UserControl=RamazanMenuEkledi",rev:"width:500 height:450 afterBoxEnd:`parent.fb.end();`"});
}
$(document).ready(function(){$(".LoginPanelAc").click(function(){$("div#panel").slideDown("slow");});$(".hideUserMsj").click(function(){$("div#userMsj").css("display","none");
});$(".LoginPanelKapat").click(function(){$("div#panel").slideUp("slow");$("div#userMsj").show("slow");});$(".toggle a").click(function(){$(".toggle a").toggle();
});});function KullaniciKontrol(){if(Page_ClientValidate("Giris")){$.ajax({type:"POST",url:"/DataControl/KullaniciKontrol.aspx",data:{user:$("#ctl00_LoginSlide1_txtKullaniciAdi").val(),pass:$("#ctl00_LoginSlide1_txtSifre").val(),check:$("input:#ctl00_LoginSlide1_chkBeniHatirla_0").val()},success:function(A){if(A!=""){if(A.toString().indexOf("False")>0){setTimeout("openFloatBox('0',0);",1000);
}else{if(A.toString().indexOf("True")>0){document.location.href=document.URL.replace("#","");}}}}});}}
jQuery(function($){$.fn.fcbkcomplete=function(opt){return this.each(function(){function init(){createFCBK();preSet();addInput(0);
}function createFCBK(){element.hide();element.attr("multiple","multiple");if(element.attr("name").indexOf("[]")==-1){element.attr("name",element.attr("name")+"[]");
}holder=$(document.createElement("ul"));holder.attr("class","holder");element.after(holder);complete=$(document.createElement("div"));
complete.addClass("facebook-auto");complete.append('<div class="default">'+options.complete_text+"</div>");if(browser_msie){complete.append('<iframe class="ie6fix" scrolling="no" frameborder="0"></iframe>');
browser_msie_frame=complete.children(".ie6fix");}feed=$(document.createElement("ul"));feed.attr("id",elemid+"_feed");complete.prepend(feed);
holder.after(complete);feed.css("width",complete.width());}function preSet(){element.children("option").each(function(i,option){option=$(option);
if(option.hasClass("selected")){addItem(option.text(),option.val(),true);option.attr("selected","selected");}else{option.removeAttr("selected");
}cache.push({caption:option.text(),value:option.val()});search_string+=""+(cache.length-1)+":"+option.text()+";";});}this.addItem=function(title,value){addItem(title,value);
};function addItem(title,value,preadded){var li=document.createElement("li");var txt=document.createTextNode(title);var aclose=document.createElement("a");
$(li).attr({"class":"bit-box","rel":value});$(li).prepend(txt);$(aclose).attr({"class":"closebutton","href":"#"});li.appendChild(aclose);
holder.append(li);$(aclose).click(function(){$(this).parent("li").fadeOut("fast",function(){removeItem($(this));});return false;
});if(!preadded){$("#"+elemid+"_annoninput").remove();var _item;addInput(1);if(element.children("option[value="+value+"]").length){_item=element.children("option[value="+value+"]");
_item.get(0).setAttribute("selected","selected");if(!_item.hasClass("selected")){_item.addClass("selected");}}else{var _item=$(document.createElement("option"));
_item.attr("value",value).get(0).setAttribute("selected","selected");_item.attr("value",value).addClass("selected");_item.text(title);
element.append(_item);}if(options.onselect.length){funCall(options.onselect,_item);}}holder.children("li.bit-box.deleted").removeClass("deleted");
feed.hide();browser_msie?browser_msie_frame.hide():"";}function removeItem(item){if(options.onremove.length){var _item=element.children("option[value="+item.attr("rel")+"]");
funCall(options.onremove,_item);}element.children("option[value="+item.attr("rel")+"]").removeAttr("selected");element.children("option[value="+item.attr("rel")+"]").removeClass("selected");
item.remove();deleting=0;var value=document.getElementById("ctl00_ContentPlaceHolder1_hdnMalzemeID").value;value=value.replace(item.attr("rel")+",","");
value=value.replace(item.attr("rel"),"");document.getElementById("ctl00_ContentPlaceHolder1_hdnMalzemeID").value=value;}function addInput(focusme){var li=$(document.createElement("li"));
var input=$(document.createElement("input"));li.attr({"class":"bit-input","id":elemid+"_annoninput"});input.attr({"type":"text","class":"maininput","size":"1"});
holder.append(li.append(input));input.focus(function(){complete.fadeIn("fast");});input.blur(function(){complete.fadeOut("fast");
});holder.click(function(){input.focus();if(feed.length&&input.val().length){feed.show();}else{feed.hide();browser_msie?browser_msie_frame.hide():"";
complete.children(".default").show();}});input.keypress(function(event){if(event.keyCode==13){return false;}input.attr("size",input.val().length+1);
});input.keydown(function(event){if(event.keyCode==191){event.preventDefault();return false;}});input.keyup(function(event){var etext=xssPrevent(input.val());
if(event.keyCode==8&&etext.length==0){feed.hide();browser_msie?browser_msie_frame.hide():"";if(holder.children("li.bit-box.deleted").length==0){holder.children("li.bit-box:last").addClass("deleted");
return false;}else{if(deleting){return;}deleting=1;holder.children("li.bit-box.deleted").fadeOut("fast",function(){removeItem($(this));
return false;});}}if(event.keyCode!=40&&event.keyCode!=38&&etext.length!=0){counter=0;if(options.json_url){if(options.cache&&json_cache){addMembers(etext);
bindEvents();}else{$.getJSON(options.json_url+"&tag="+etext,null,function(data){addMembers(etext,data);json_cache=true;bindEvents();
});}}else{addMembers(etext);bindEvents();}complete.children(".default").hide();feed.show();}});if(focusme){setTimeout(function(){input.focus();
complete.children(".default").show();},1);}}function addMembers(etext,data){feed.html("");if(!options.cache){cache=new Array();
search_string="";}addTextItem(etext);if(data!=null&&data.length){$.each(data,function(i,val){cache.push({caption:val.caption,value:val.value});
search_string+=""+(cache.length-1)+":"+val.caption+";";});}var maximum=options.maxshownitems<cache.length?options.maxshownitems:cache.length;
var filter="i";if(options.filter_case){filter="";}var myregexp,match;try{myregexp=eval("/(?:^|;)\\s*(\\d+)\\s*:[^;]*?"+etext+"[^;]*/g"+filter);
match=myregexp.exec(search_string);}catch(ex){}var content="";while(match!=null&&maximum>0){var id=match[1];var object=cache[id];
if(options.filter_selected&&element.children("option[value="+object.value+"]").hasClass("selected")){}else{content+='<li rel="'+object.value+'">'+itemIllumination(object.caption,etext)+"</li>";
counter++;maximum--;}match=myregexp.exec(search_string);}feed.append(content);if(options.firstselected){focuson=feed.children("li:visible:first");
focuson.addClass("auto-focus");}if(counter>options.height){feed.css({"height":(options.height*24)+"px","overflow":"auto"});
if(browser_msie){browser_msie_frame.css({"height":(options.height*24)+"px","width":feed.width()+"px"}).show();}}else{feed.css("height","auto");
if(browser_msie){browser_msie_frame.css({"height":feed.height()+"px","width":feed.width()+"px"}).show();}}}function itemIllumination(text,etext){if(options.filter_case){try{eval("var text = text.replace(/(.*)("+etext+")(.*)/gi,'$1<em>$2</em>$3');");
}catch(ex){}}else{try{eval("var text = text.replace(/(.*)("+etext.toLowerCase()+")(.*)/gi,'$1<em>$2</em>$3');");}catch(ex){}}return text;
}function bindFeedEvent(){feed.children("li").mouseover(function(){feed.children("li").removeClass("auto-focus");$(this).addClass("auto-focus");
focuson=$(this);});feed.children("li").mouseout(function(){$(this).removeClass("auto-focus");focuson=null;});}function removeFeedEvent(){feed.children("li").unbind("mouseover");
feed.children("li").unbind("mouseout");feed.mousemove(function(){bindFeedEvent();feed.unbind("mousemove");});}function bindEvents(){var maininput=$("#"+elemid+"_annoninput").children(".maininput");
bindFeedEvent();feed.children("li").unbind("mousedown");feed.children("li").mousedown(function(){var option=$(this);addItem(option.text(),option.attr("rel"));
feed.hide();browser_msie?browser_msie_frame.hide():"";complete.hide();});maininput.unbind("keydown");maininput.keydown(function(event){if(event.keyCode==191){event.preventDefault();
return false;}if(event.keyCode!=8){holder.children("li.bit-box.deleted").removeClass("deleted");}if(event.keyCode==13&&checkFocusOn()){var option=focuson;
addItem(option.text(),option.attr("rel"));complete.hide();event.preventDefault();focuson=null;return false;}if(event.keyCode==13&&!checkFocusOn()){if(options.newel){var value=xssPrevent($(this).val());
addItem(value,value);complete.hide();event.preventDefault();focuson=null;}return false;}if(event.keyCode==40){removeFeedEvent();
if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:first");feed.get(0).scrollTop=0;}else{focuson.removeClass("auto-focus");
focuson=focuson.nextAll("li:visible:first");var prev=parseInt(focuson.prevAll("li:visible").length,10);var next=parseInt(focuson.nextAll("li:visible").length,10);
if((prev>Math.round(options.height/2)||next<=Math.round(options.height/2))&&typeof(focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2));
}}feed.children("li").removeClass("auto-focus");focuson.addClass("auto-focus");}if(event.keyCode==38){removeFeedEvent();if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:last");
feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(parseInt(feed.children("li:visible").length,10)-Math.round(options.height/2));
}else{focuson.removeClass("auto-focus");focuson=focuson.prevAll("li:visible:first");var prev=parseInt(focuson.prevAll("li:visible").length,10);
var next=parseInt(focuson.nextAll("li:visible").length,10);if((next>Math.round(options.height/2)||prev<=Math.round(options.height/2))&&typeof(focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2));
}}feed.children("li").removeClass("auto-focus");focuson.addClass("auto-focus");}});}function addTextItem(value){if(options.newel){feed.children("li[fckb=1]").remove();
if(value.length==0){return;}var li=$(document.createElement("li"));li.attr({"rel":value,"fckb":"1"}).html(value);feed.prepend(li);
counter++;}else{return;}}function funCall(func,item){var _object="";for(i=0;i<item.get(0).attributes.length;i++){if(item.get(0).attributes[i].nodeValue!=null){_object+='"_'+item.get(0).attributes[i].nodeName+'": "'+item.get(0).attributes[i].nodeValue+'",';
}}_object="{"+_object+" notinuse: 0}";try{eval(func+"("+_object+")");}catch(ex){}}function checkFocusOn(){if(focuson==null){return false;
}if(focuson.length==0){return false;}return true;}function xssPrevent(string){string=string.replace(/[\"\'][\s]*javascript:(.*)[\"\']/g,'""');
string=string.replace(/script(.*)/g,"");string=string.replace(/eval\((.*)\)/g,"");string=string.replace("/([\x00-\x08,\x0b-\x0c,\x0e-\x19])/","");
return string;}var options=$.extend({json_url:null,cache:false,height:"10",newel:false,firstselected:false,filter_case:false,filter_hide:false,complete_text:"Aramak istediginiz malzeme...",maxshownitems:30,onselect:"",onremove:""},opt);
var holder=null;var feed=null;var complete=null;var counter=0;var cache=new Array();var json_cache=false;var search_string="";
var focuson=null;var deleting=0;var browser_msie="\v"=="v";var browser_msie_frame;var element=$(this);var elemid=element.attr("id");
init();return this;});};});
jQuery(function($){$.fn.fcbkcomplete2=function(opt){return this.each(function(){function init(){createFCBK();preSet();addInput(0);
}function createFCBK(){element.hide();element.attr("multiple","multiple");if(element.attr("name").indexOf("[]")==-1){element.attr("name",element.attr("name")+"[]");
}holder=$(document.createElement("ul"));holder.attr("class","holder");element.after(holder);complete=$(document.createElement("div"));
complete.addClass("facebook-auto");complete.append('<div class="default">'+options.complete_text+"</div>");if(browser_msie){complete.append('<iframe class="ie6fix" scrolling="no" frameborder="0"></iframe>');
browser_msie_frame=complete.children(".ie6fix");}feed=$(document.createElement("ul"));feed.attr("id",elemid+"_feed");complete.prepend(feed);
holder.after(complete);feed.css("width",complete.width());}function preSet(){element.children("option").each(function(i,option){option=$(option);
if(option.hasClass("selected")){addItem(option.text(),option.val(),true);option.attr("selected","selected");}else{option.removeAttr("selected");
}cache.push({caption:option.text(),value:option.val()});search_string+=""+(cache.length-1)+":"+option.text()+";";});}this.addItem=function(title,value){addItem(title,value);
};function addItem(title,value,preadded){var li=document.createElement("li");var txt=document.createTextNode(title);var aclose=document.createElement("a");
$(li).attr({"class":"bit-box","rel":value});$(li).prepend(txt);$(aclose).attr({"class":"closebutton","href":"#"});li.appendChild(aclose);
holder.append(li);$(aclose).click(function(){$(this).parent("li").fadeOut("fast",function(){removeItem($(this));});return false;
});if(!preadded){$("#"+elemid+"_annoninput").remove();var _item;addInput(1);if(element.children("option[value="+value+"]").length){_item=element.children("option[value="+value+"]");
_item.get(0).setAttribute("selected","selected");if(!_item.hasClass("selected")){_item.addClass("selected");}}else{var _item=$(document.createElement("option"));
_item.attr("value",value).get(0).setAttribute("selected","selected");_item.attr("value",value).addClass("selected");_item.text(title);
element.append(_item);}if(options.onselect.length){funCall(options.onselect,_item);}}holder.children("li.bit-box.deleted").removeClass("deleted");
feed.hide();browser_msie?browser_msie_frame.hide():"";}function removeItem(item){if(options.onremove.length){var _item=element.children("option[value="+item.attr("rel")+"]");
funCall(options.onremove,_item);}element.children("option[value="+item.attr("rel")+"]").removeAttr("selected");element.children("option[value="+item.attr("rel")+"]").removeClass("selected");
item.remove();deleting=0;var value=document.getElementById("ctl00_ContentPlaceHolder1_hdnMalzemeID").value;value=value.replace(item.attr("rel")+",","");
value=value.replace(item.attr("rel"),"");document.getElementById("ctl00_ContentPlaceHolder1_hdnMalzemeID").value=value;}function addInput(focusme){var li=$(document.createElement("li"));
var input=$(document.createElement("input"));li.attr({"class":"bit-input","id":elemid+"_annoninput"});input.attr({"type":"text","class":"maininput","size":"1"});
holder.append(li.append(input));input.focus(function(){complete.fadeIn("fast");});input.blur(function(){complete.fadeOut("fast");
});holder.click(function(){input.focus();if(feed.length&&input.val().length){feed.show();}else{feed.hide();browser_msie?browser_msie_frame.hide():"";
complete.children(".default").show();}});input.keypress(function(event){if(event.keyCode==13){return false;}input.attr("size",input.val().length+1);
});input.keydown(function(event){if(event.keyCode==191){event.preventDefault();return false;}});input.keyup(function(event){var etext=xssPrevent(input.val());
if(event.keyCode==8&&etext.length==0){feed.hide();browser_msie?browser_msie_frame.hide():"";if(holder.children("li.bit-box.deleted").length==0){holder.children("li.bit-box:last").addClass("deleted");
return false;}else{if(deleting){return;}deleting=1;holder.children("li.bit-box.deleted").fadeOut("fast",function(){removeItem($(this));
return false;});}}if(event.keyCode!=40&&event.keyCode!=38&&etext.length!=0){counter=0;if(options.json_url){if(options.cache&&json_cache){addMembers(etext);
bindEvents();}else{$.getJSON(options.json_url+"&tag="+etext,null,function(data){addMembers(etext,data);json_cache=true;bindEvents();
});}}else{addMembers(etext);bindEvents();}complete.children(".default").hide();feed.show();}});if(focusme){setTimeout(function(){input.focus();
complete.children(".default").show();},1);}}function addMembers(etext,data){feed.html("");if(!options.cache){cache=new Array();
search_string="";}addTextItem(etext);if(data!=null&&data.length){$.each(data,function(i,val){cache.push({caption:val.caption,value:val.value});
search_string+=""+(cache.length-1)+":"+val.caption+";";});}var maximum=options.maxshownitems<cache.length?options.maxshownitems:cache.length;
var filter="i";if(options.filter_case){filter="";}var myregexp,match;try{myregexp=eval("/(?:^|;)\\s*(\\d+)\\s*:[^;]*?"+etext+"[^;]*/g"+filter);
match=myregexp.exec(search_string);}catch(ex){}var content="";while(match!=null&&maximum>0){var id=match[1];var object=cache[id];
if(options.filter_selected&&element.children("option[value="+object.value+"]").hasClass("selected")){}else{content+='<li rel="'+object.value+'">'+itemIllumination(object.caption,etext)+"</li>";
counter++;maximum--;}match=myregexp.exec(search_string);}feed.append(content);if(options.firstselected){focuson=feed.children("li:visible:first");
focuson.addClass("auto-focus");}if(counter>options.height){feed.css({"height":(options.height*24)+"px","overflow":"auto"});
if(browser_msie){browser_msie_frame.css({"height":(options.height*24)+"px","width":feed.width()+"px"}).show();}}else{feed.css("height","auto");
if(browser_msie){browser_msie_frame.css({"height":feed.height()+"px","width":feed.width()+"px"}).show();}}}function itemIllumination(text,etext){if(options.filter_case){try{eval("var text = text.replace(/(.*)("+etext+")(.*)/gi,'$1<em>$2</em>$3');");
}catch(ex){}}else{try{eval("var text = text.replace(/(.*)("+etext.toLowerCase()+")(.*)/gi,'$1<em>$2</em>$3');");}catch(ex){}}return text;
}function bindFeedEvent(){feed.children("li").mouseover(function(){feed.children("li").removeClass("auto-focus");$(this).addClass("auto-focus");
focuson=$(this);});feed.children("li").mouseout(function(){$(this).removeClass("auto-focus");focuson=null;});}function removeFeedEvent(){feed.children("li").unbind("mouseover");
feed.children("li").unbind("mouseout");feed.mousemove(function(){bindFeedEvent();feed.unbind("mousemove");});}function bindEvents(){var maininput=$("#"+elemid+"_annoninput").children(".maininput");
bindFeedEvent();feed.children("li").unbind("mousedown");feed.children("li").mousedown(function(){var option=$(this);addItem(option.text(),option.attr("rel"));
feed.hide();browser_msie?browser_msie_frame.hide():"";complete.hide();});maininput.unbind("keydown");maininput.keydown(function(event){if(event.keyCode==191){event.preventDefault();
return false;}if(event.keyCode!=8){holder.children("li.bit-box.deleted").removeClass("deleted");}if(event.keyCode==13&&checkFocusOn()){var option=focuson;
addItem(option.text(),option.attr("rel"));complete.hide();event.preventDefault();focuson=null;return false;}if(event.keyCode==13&&!checkFocusOn()){if(options.newel){var value=xssPrevent($(this).val());
addItem(value,value);complete.hide();event.preventDefault();focuson=null;}return false;}if(event.keyCode==40){removeFeedEvent();
if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:first");feed.get(0).scrollTop=0;}else{focuson.removeClass("auto-focus");
focuson=focuson.nextAll("li:visible:first");var prev=parseInt(focuson.prevAll("li:visible").length,10);var next=parseInt(focuson.nextAll("li:visible").length,10);
if((prev>Math.round(options.height/2)||next<=Math.round(options.height/2))&&typeof(focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2));
}}feed.children("li").removeClass("auto-focus");focuson.addClass("auto-focus");}if(event.keyCode==38){removeFeedEvent();if(focuson==null||focuson.length==0){focuson=feed.children("li:visible:last");
feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(parseInt(feed.children("li:visible").length,10)-Math.round(options.height/2));
}else{focuson.removeClass("auto-focus");focuson=focuson.prevAll("li:visible:first");var prev=parseInt(focuson.prevAll("li:visible").length,10);
var next=parseInt(focuson.nextAll("li:visible").length,10);if((next>Math.round(options.height/2)||prev<=Math.round(options.height/2))&&typeof(focuson.get(0))!="undefined"){feed.get(0).scrollTop=parseInt(focuson.get(0).scrollHeight,10)*(prev-Math.round(options.height/2));
}}feed.children("li").removeClass("auto-focus");focuson.addClass("auto-focus");}});}function addTextItem(value){if(options.newel){feed.children("li[fckb=1]").remove();
if(value.length==0){return;}var li=$(document.createElement("li"));li.attr({"rel":value,"fckb":"1"}).html(value);feed.prepend(li);
counter++;}else{return;}}function funCall(func,item){var _object="";for(i=0;i<item.get(0).attributes.length;i++){if(item.get(0).attributes[i].nodeValue!=null){_object+='"_'+item.get(0).attributes[i].nodeName+'": "'+item.get(0).attributes[i].nodeValue+'",';
}}_object="{"+_object+" notinuse: 0}";try{eval(func+"("+_object+")");}catch(ex){}}function checkFocusOn(){if(focuson==null){return false;
}if(focuson.length==0){return false;}return true;}function xssPrevent(string){string=string.replace(/[\"\'][\s]*javascript:(.*)[\"\']/g,'""');
string=string.replace(/script(.*)/g,"");string=string.replace(/eval\((.*)\)/g,"");string=string.replace("/([\x00-\x08,\x0b-\x0c,\x0e-\x19])/","");
return string;}var options=$.extend({json_url:null,cache:false,height:"10",newel:false,firstselected:false,filter_case:false,filter_hide:false,complete_text:"Aramak istedišiniz malzeme...",maxshownitems:30,onselect:"",onremove:""},opt);
var holder=null;var feed=null;var complete=null;var counter=0;var cache=new Array();var json_cache=false;var search_string="";
var focuson=null;var deleting=0;var browser_msie="\v"=="v";var browser_msie_frame;var element=$(this);var elemid=element.attr("id");
init();return this;});};});
function makeURL(D){var A=encodeURI(document.title);var B=escape(document.URL);A=A.replace("-","");if(B.indexOf("Icerik")>0){A=encodeURI(A.replace("Herkes Sofraya > ",""));
}else{if(B.indexOf("TarifDetay")>0){A=encodeURI(A.replace("Herkes Sofraya > Tarifler > ",""));}else{A=encodeURI(A.replace("Herkes Sofraya > ",""));
}}var C="height=700,width=800,titlebar=no,status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=1";var E="";
if(D==1){E="http://www.facebook.com/sharer.php?u="+B+"&;t="+A;secondTracker._trackEvent("ShareLinks","Facebook");}if(D==2){E="http://friendfeed.com/share/bookmarklet/frame#title="+A+"&amp;url="+B;
secondTracker._trackEvent("ShareLinks","FriendFeed");}if(D==3){E="http://www.google.com/bookmarks/mark?op=edit&#38;bkmk="+B+"&#38;title="+A;
secondTracker._trackEvent("ShareLinks","GoogleBookmarks");}if(D==4){E="http://www.myspace.com/Modules/PostTo/Pages/?l=2&amp;u="+B+"&amp;t="+A+"&amp;c="+A;
secondTracker._trackEvent("ShareLinks","Myspace");}if(D==5){E="http://del.icio.us/post?url="+B+"&amp;title="+A;secondTracker._trackEvent("ShareLinks","Delicious");
}if(D==6){E="http://www.linkedin.com/shareArticle?mini=true&amp;url="+B+"&amp;summary="+A;secondTracker._trackEvent("ShareLinks","Linkedin");
}if(D==7){E="http://twitter.com/home?status="+A+" - "+B;secondTracker._trackEvent("ShareLinks","Twitter");}if(D==8){E="http://digg.com/submit?url="+B+"&amp;title="+A;
secondTracker._trackEvent("ShareLinks","Digg");}window.open(E.replace(/amp;/gi,""),"_blank",C);}
$(document).ready(function(){var C=480;var A;var B=$("#BenzerTarifblock").children().length;if(B<=4){A=1;}if(B%4==0){A=B/4;
}else{A=Math.floor(B/4)+1;}var D=A-1;var E=0;$(".BenzerTarifblock").css("width",C*A+"px");if(A>1){$("#BenzerTarifright").click(function(){if(D==0){$(".BenzerTarifblock").animate({"left":"+="+C*(A-1)+"px"},"slow","swing");
D=A-1;E=0;}else{$(".BenzerTarifblock").animate({"left":"-="+C+"px"},"slow","swing");D-=1;E+=1;}});$("#BenzerTarifleft").click(function(){if(E==0){$(".BenzerTarifblock").animate({"left":"-="+C*(A-1)+"px"},"slow","swing");
E=A-1;D=0;}else{$(".BenzerTarifblock").animate({"left":"+="+C+"px"},"slow","swing");E-=1;D+=1;}});}});$(document).ready(function(){var C=234;
var A;var B=$("#TarifEkleyenblock").children().length;if(B<=3){A=1;}if(B%3==0){A=B/3;}else{A=Math.floor(B/3)+1;}var D=A-1;
var E=0;$(".TarifEkleyenblock").css("width",C*A+"px");if(A>1){$("#TarifEkleyenright").click(function(){if(D==0){$(".TarifEkleyenblock").animate({"left":"+="+C*(A-1)+"px"},"slow","swing");
D=A-1;E=0;}else{$(".TarifEkleyenblock").animate({"left":"-="+C+"px"},"slow","swing");D-=1;E+=1;}});$("#TarifEkleyenleft").click(function(){if(E==0){$(".TarifEkleyenblock").animate({"left":"-="+C*(A-1)+"px"},"slow","swing");
E=A-1;D=0;}else{$(".TarifEkleyenblock").animate({"left":"+="+C+"px"},"slow","swing");E-=1;D+=1;}});}});
$(function(){$(".ekle").click(function(){var B=$("li,p,ol,ul,#AyrintilarBox div").css("font-size");var C=parseFloat(B,10);
var A=C+1;if(A<16){$("li,p,ol,ul,#AyrintilarBox div").css("font-size",A);}});$(".cikart").click(function(){var B=$("#text li,p,ol,ul,#AyrintilarBox div").css("font-size");
var C=parseFloat(B,10);var A=C-1;if(A>8){$("li,p,ol,ul,#AyrintilarBox div").css("font-size",A);}});$(".currentfont").click(function(){$("li,p,ol,ul,#AyrintilarBox div").css("font-size",12);
});$(".yazdir").click(function(){window.print();});});
jQuery.fn.prettyCheckboxes=function(B){B=jQuery.extend({checkboxWidth:17,checkboxHeight:17,className:"prettyCheckbox",display:"list"},B);
$(this).each(function(){$label=$('label[for="'+$(this).attr("id")+'"]');$label.prepend("<span class='holderWrap'><span class='holder'></span></span>");
if($(this).is(":checked")){$label.addClass("checked");}$label.addClass(B.className).addClass($(this).attr("type")).addClass(B.display);
$label.find("span.holderWrap").width(B.checkboxWidth).height(B.checkboxHeight);$label.find("span.holder").width(B.checkboxWidth);
$(this).addClass("hiddenCheckbox");$label.bind("click",function(){$("input#"+$(this).attr("for")).triggerHandler("click");
if($("input#"+$(this).attr("for")).is(":checkbox")){$(this).toggleClass("checked");$("input#"+$(this).attr("for")).checked=true;
$(this).find("span.holder").css("top",0);}else{$toCheck=$("input#"+$(this).attr("for"));$('input[name="'+$toCheck.attr("name")+'"]').each(function(){$('label[for="'+$(this).attr("id")+'"]').removeClass("checked");
});$(this).addClass("checked");$toCheck.checked=true;}});$("input#"+$label.attr("for")).bind("keypress",function(A){if(A.keyCode==32){if($.browser.msie){$('label[for="'+$(this).attr("id")+'"]').toggleClass("checked");
}else{$(this).trigger("click");}return false;}});});};checkAllPrettyCheckboxes=function(D,C){if($(D).is(":checked")){$(C).find("input[type=checkbox]:not(:checked)").each(function(){$('label[for="'+$(this).attr("id")+'"]').trigger("click");
if($.browser.msie){$(this).attr("checked","checked");}else{$(this).trigger("click");}});}else{$(C).find("input[type=checkbox]:checked").each(function(){$('label[for="'+$(this).attr("id")+'"]').trigger("click");
if($.browser.msie){$(this).attr("checked","");}else{$(this).trigger("click");}});}};
var ddaccordion={contentclassname:{},expandone:function(A,B){this.toggleone(A,B,"expand");},collapseone:function(A,B){this.toggleone(A,B,"collapse");
},expandall:function(B){var A=jQuery;var C=A("."+B);A("."+this.contentclassname[B]+":hidden").each(function(){C.eq(parseInt(A(this).attr("contentindex"))).click();
});},collapseall:function(B){var A=jQuery;var C=A("."+B);A("."+this.contentclassname[B]+":visible").each(function(){C.eq(parseInt(A(this).attr("contentindex"))).click();
});},toggleone:function(D,E,A){var C=jQuery;var F=C("."+D).eq(E);var B=C("."+this.contentclassname[D]).eq(E);if(typeof A=="undefined"||A=="expand"&&B.is(":hidden")||A=="collapse"&&B.is(":visible")){F.click();
}},expandit:function(D,C,A,B){C.slideDown(A.animatespeed,function(){A.onopenclose(D.get(0),parseInt(D.attr("headerindex")),C.css("display"),B);
});this.transformHeader(D,A,"expand");},collapseit:function(D,C,A,B){C.slideUp(A.animatespeed,function(){A.onopenclose(D.get(0),parseInt(D.attr("headerindex")),C.css("display"),B);
});this.transformHeader(D,A,"collapse");},transformHeader:function(C,B,A){C.addClass((A=="expand")?B.cssclass.expand:B.cssclass.collapse).removeClass((A=="expand")?B.cssclass.collapse:B.cssclass.expand);
if(B.htmlsetting.location=="src"){C=(C.is("img"))?C:C.find("img").eq(0);C.attr("src",(A=="expand")?B.htmlsetting.expand:B.htmlsetting.collapse);
}else{if(B.htmlsetting.location=="prefix"){C.find(".accordprefix").html((A=="expand")?B.htmlsetting.expand:B.htmlsetting.collapse);
}else{if(B.htmlsetting.location=="suffix"){C.find(".accordsuffix").html((A=="expand")?B.htmlsetting.expand:B.htmlsetting.collapse);
}}}},urlparamselect:function(B){var A=window.location.search.match(new RegExp(B+"=((\\d+)(,(\\d+))*)","i"));if(A!=null){A=RegExp.$1.split(",");
}return A;},getCookie:function(A){var B=new RegExp(A+"=[^;]+","i");if(document.cookie.match(B)){return document.cookie.match(B)[0].split("=")[1];
}return null;},setCookie:function(A,B){document.cookie=A+"="+B;},init:function(A){document.write('<style type="text/css">\n');
document.write("."+A.contentclass+"{display: none}\n");document.write("</style>");jQuery(document).ready(function(C){ddaccordion.urlparamselect(A.headerclass);
var E=ddaccordion.getCookie(A.headerclass);ddaccordion.contentclassname[A.headerclass]=A.contentclass;A.cssclass={collapse:A.toggleclass[0],expand:A.toggleclass[1]};
A.htmlsetting={location:A.togglehtml[0],collapse:A.togglehtml[1],expand:A.togglehtml[2]};A.oninit=(typeof A.oninit=="undefined")?function(){}:A.oninit;
A.onopenclose=(typeof A.onopenclose=="undefined")?function(){}:A.onopenclose;var F={};var B=ddaccordion.urlparamselect(A.headerclass)||((A.persiststate&&E!=null)?E:A.defaultexpanded);
if(typeof B=="string"){B=B.replace(/c/ig,"").split(",");}var D=C("."+A["contentclass"]);if(!(B instanceof Array)){B=[];}if(A["collapseprev"]&&B.length>1){B=[B.pop()];
}C("."+A["headerclass"]).each(function(H){if(/(prefix)|(suffix)/i.test(A.htmlsetting.location)&&C(this).html()!=""){C('<span class="accordprefix"></span>').prependTo(this);
C('<span class="accordsuffix"></span>').appendTo(this);}C(this).attr("headerindex",H+"h");D.eq(H).attr("contentindex",H+"c");
var G=D.eq(H);if(jQuery.inArray(H,B)!=-1){if(A.animatedefault==false){G.show();}ddaccordion.expandit(C(this),G,A,false);F={$header:C(this),$content:G};
}else{G.hide();A.onopenclose(C(this).get(0),parseInt(C(this).attr("headerindex")),G.css("display"),false);ddaccordion.transformHeader(C(this),A,"collapse");
}});C("."+A["headerclass"]).click(function(){var G=D.eq(parseInt(C(this).attr("headerindex")));if(G.css("display")=="none"){ddaccordion.expandit(C(this),G,A,true);
if(A["collapseprev"]&&F.$header&&C(this).get(0)!=F.$header.get(0)){ddaccordion.collapseit(F.$header,F.$content,A,true);}F={$header:C(this),$content:G};
}else{ddaccordion.collapseit(C(this),G,A,true);}return false;});A.oninit(C("."+A["headerclass"]).get(),B);C(window).bind("unload",function(){C("."+A["headerclass"]).unbind("click");
var G=[];C("."+A["contentclass"]+":visible").each(function(H){G.push(C(this).attr("contentindex"));});if(A.persiststate==true){G=(G.length==0)?"-1c":G;
ddaccordion.setCookie(A.headerclass,G);}});});}};
jQuery.cookie=function(H,D,A){if(typeof D!="undefined"){A=A||{};if(D===null){D="";A=$.extend({},A);A.expires=-1;}var G="";
if(A.expires&&(typeof A.expires=="number"||A.expires.toUTCString)){var B;if(typeof A.expires=="number"){B=new Date();B.setTime(B.getTime()+(A.expires*24*60*60*1000));
}else{B=A.expires;}G="; expires="+B.toUTCString();}var K=A.path?"; path="+(A.path):"";var C=A.domain?"; domain="+(A.domain):"";
var I=A.secure?"; secure":"";document.cookie=[H,"=",encodeURIComponent(D),G,K,C,I].join("");}else{var F=null;if(document.cookie&&document.cookie!=""){var L=document.cookie.split(";");
for(var J=0;J<L.length;J++){var E=jQuery.trim(L[J]);if(E.substring(0,H.length+1)==(H+"=")){F=decodeURIComponent(E.substring(H.length+1));
break;}}}return F;}};
(function(A){A.fn.extend({autocomplete:function(B,D){var C=typeof B=="string";D=A.extend({},A.Autocompleter.defaults,{url:C?B:null,data:C?null:B,delay:C?A.Autocompleter.defaults.delay:10,max:D&&!D.scroll?10:150},D);
D.highlight=D.highlight||function(E){return E;};D.formatMatch=D.formatMatch||D.formatItem;return this.each(function(){new A.Autocompleter(this,D);
});},result:function(B){return this.bind("result",B);},search:function(B){return this.trigger("search",[B]);},flushCache:function(){return this.trigger("flushCache");
},setOptions:function(B){return this.trigger("setOptions",[B]);},unautocomplete:function(){return this.trigger("unautocomplete");
}});A.Autocompleter=function(S,M){var X={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};
var I=A(S).attr("autocomplete","off").addClass(M.inputClass);var P;var B="";var T=A.Autocompleter.Cache(M);var K=0;var N;
var E={mouseDownOnSelect:false};var R=A.Autocompleter.Select(M,S,J,E);var Q;A.browser.opera&&A(S.form).bind("submit.autocomplete",function(){if(Q){Q=false;
return false;}});I.bind((A.browser.opera?"keypress":"keydown")+".autocomplete",function(Y){N=Y.keyCode;switch(Y.keyCode){case X.UP:Y.preventDefault();
if(R.visible()){R.prev();}else{W(0,true);}break;case X.DOWN:Y.preventDefault();if(R.visible()){R.next();}else{W(0,true);}break;
case X.PAGEUP:Y.preventDefault();if(R.visible()){R.pageUp();}else{W(0,true);}break;case X.PAGEDOWN:Y.preventDefault();if(R.visible()){R.pageDown();
}else{W(0,true);}break;case M.multiple&&A.trim(M.multipleSeparator)==","&&X.COMMA:case X.TAB:case X.RETURN:if(J()){Y.preventDefault();
Q=true;return false;}break;case X.ESC:R.hide();break;default:clearTimeout(P);P=setTimeout(W,M.delay);break;}}).focus(function(){K++;
}).blur(function(){K=0;if(!E.mouseDownOnSelect){F();}}).click(function(){if(K++>1&&!R.visible()){W(0,true);}}).bind("search",function(){var Y=(arguments.length>1)?arguments[1]:null;
function Z(d,b){var a;if(b&&b.length){for(var c=0;c<b.length;c++){if(b[c].result.toLowerCase()==d.toLowerCase()){a=b[c];break;
}}}if(typeof Y=="function"){Y(a);}else{I.trigger("result",a&&[a.data,a.value]);}}A.each(C(I.val()),function(b,a){V(a,Z,Z);
});}).bind("flushCache",function(){T.flush();}).bind("setOptions",function(){A.extend(M,arguments[1]);if("data" in arguments[1]){T.populate();
}}).bind("unautocomplete",function(){R.unbind();I.unbind();A(S.form).unbind(".autocomplete");});function J(){var a=R.selected();
if(!a){return false;}var Y=a.result;B=Y;if(M.multiple){var Z=C(I.val());if(Z.length>1){Y=Z.slice(0,Z.length-1).join(M.multipleSeparator)+M.multipleSeparator+Y;
}Y+=M.multipleSeparator;}I.val(Y);G();I.trigger("result",[a.data,a.value]);return true;}function W(Y,Z){if(N==X.DEL){R.hide();
return;}var a=I.val();if(!Z&&a==B){return;}B=a;a=L(a);if(a.length>=M.minChars){I.addClass(M.loadingClass);if(!M.matchCase){a=a.toLowerCase();
}V(a,O,G);}else{U();R.hide();}}function C(Y){if(!Y){return[""];}var a=Y.split(M.multipleSeparator);var Z=[];A.each(a,function(c,b){if(A.trim(b)){Z[c]=A.trim(b);
}});return Z;}function L(Y){if(!M.multiple){return Y;}var Z=C(Y);return Z[Z.length-1];}function D(Z,Y){if(M.autoFill&&(L(I.val()).toLowerCase()==Z.toLowerCase())&&N!=X.BACKSPACE){I.val(I.val()+Y.substring(L(B).length));
A.Autocompleter.Selection(S,B.length,B.length+Y.length);}}function F(){clearTimeout(P);P=setTimeout(G,200);}function G(){var Y=R.visible();
R.hide();clearTimeout(P);U();if(M.mustMatch){I.search(function(Z){if(!Z){if(M.multiple){var a=C(I.val()).slice(0,-1);I.val(a.join(M.multipleSeparator)+(a.length?M.multipleSeparator:""));
}else{I.val("");}}});}if(Y){A.Autocompleter.Selection(S,S.value.length,S.value.length);}}function O(Z,Y){if(Y&&Y.length&&K){U();
R.display(Y,Z);D(Z,Y[0].value);R.show();}else{G();}}function V(b,Y,Z){if(!M.matchCase){b=b.toLowerCase();}var c=T.load(b);
if(c&&c.length){Y(b,c);}else{if((typeof M.url=="string")&&(M.url.length>0)){var a={timestamp:+new Date()};A.each(M.extraParams,function(d,e){a[d]=typeof e=="function"?e():e;
});A.ajax({mode:"abort",port:"autocomplete"+S.name,dataType:M.dataType,url:M.url,data:A.extend({q:L(b),limit:M.max},a),success:function(e){var d=M.parse&&M.parse(e)||H(e);
T.add(b,d);Y(b,d);}});}else{R.emptyList();Z(b);}}}function H(c){var a=[];var b=c.split("\n");for(var Z=0;Z<b.length;Z++){var Y=A.trim(b[Z]);
if(Y){Y=Y.split("|");a[a.length]={data:Y,value:Y[0],result:M.formatResult&&M.formatResult(Y,Y[0])||Y[0]};}}return a;}function U(){I.removeClass(M.loadingClass);
}};A.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(B){return B[0];
},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(B,C){return B.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+C.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>");
},scroll:true,scrollHeight:180};A.Autocompleter.Cache=function(F){var H={};var G=0;function B(J,I){if(!F.matchCase){J=J.toLowerCase();
}var K=J.indexOf(I);if(F.matchContains=="word"){K=J.toLowerCase().search("\\b"+I.toLowerCase());}if(K==-1){return false;}return K==0||F.matchContains;
}function D(J,I){if(G>F.cacheLength){C();}if(!H[J]){G++;}H[J]=I;}function E(){if(!F.data){return false;}var L={},N=0;if(!F.url){F.cacheLength=1;
}L[""]=[];for(var I=0,J=F.data.length;I<J;I++){var P=F.data[I];P=(typeof P=="string")?[P]:P;var K=F.formatMatch(P,I+1,F.data.length);
if(K===false){continue;}var O=K.charAt(0).toLowerCase();if(!L[O]){L[O]=[];}var M={value:K,data:P,result:F.formatResult&&F.formatResult(P)||K};
L[O].push(M);if(N++<F.max){L[""].push(M);}}A.each(L,function(R,Q){F.cacheLength++;D(R,Q);});}setTimeout(E,25);function C(){H={};
G=0;}return{flush:C,add:D,populate:E,load:function(M){if(!F.cacheLength||!G){return null;}if(!F.url&&F.matchContains){var I=[];
for(var L in H){if(L.length>0){var J=H[L];A.each(J,function(O,N){if(B(N.value,M)){I.push(N);}});}}return I;}else{if(H[M]){return H[M];
}else{if(F.matchSubset){for(var K=M.length-1;K>=F.minChars;K--){var J=H[M.substr(0,K)];if(J){var I=[];A.each(J,function(O,N){if(B(N.value,M)){I[I.length]=N;
}});return I;}}}}}return null;}};};A.Autocompleter.Select=function(C,Q,P,B){var L={ACTIVE:"ac_over"};var K,F=-1,E,S="",D=true,J,O;
function N(){if(!D){return;}J=A("<div/>").hide().addClass(C.resultsClass).css("position","absolute").appendTo(document.body);
O=A("<ul/>").appendTo(J).mouseover(function(T){if(R(T).nodeName&&R(T).nodeName.toUpperCase()=="LI"){F=A("li",O).removeClass(L.ACTIVE).index(R(T));
A(R(T)).addClass(L.ACTIVE);}}).click(function(T){A(R(T)).addClass(L.ACTIVE);P();Q.focus();return false;}).mousedown(function(){B.mouseDownOnSelect=true;
}).mouseup(function(){B.mouseDownOnSelect=false;});if(C.width>0){J.css("width",C.width);}D=false;}function R(T){var U=T.target;
while(U&&U.tagName!="LI"){U=U.parentNode;}if(!U){return[];}return U;}function H(T){K.slice(F,F+1).removeClass(L.ACTIVE);G(T);
var U=K.slice(F,F+1).addClass(L.ACTIVE);if(C.scroll){var V=0;K.slice(0,F).each(function(){V+=this.offsetHeight;});if((V+U[0].offsetHeight-O.scrollTop())>O[0].clientHeight){O.scrollTop(V+U[0].offsetHeight-O.innerHeight());
}else{if(V<O.scrollTop()){O.scrollTop(V);}}}}function G(T){F+=T;if(F<0){F=K.size()-1;}else{if(F>=K.size()){F=0;}}}function I(T){return C.max&&C.max<T?C.max:T;
}function M(){O.empty();var W=I(E.length);for(var V=0;V<W;V++){if(!E[V]){continue;}var T=C.formatItem(E[V].data,V+1,W,E[V].value,S);
if(T===false){continue;}var U=A("<li/>").html(C.highlight(T,S)).addClass(V%2==0?"ac_even":"ac_odd").appendTo(O)[0];A.data(U,"ac_data",E[V]);
}K=O.find("li");if(C.selectFirst){K.slice(0,1).addClass(L.ACTIVE);F=0;}if(A.fn.bgiframe){O.bgiframe();}}return{display:function(T,U){N();
E=T;S=U;M();},next:function(){H(1);},prev:function(){H(-1);},pageUp:function(){if(F!=0&&F-8<0){H(-F);}else{H(-8);}},pageDown:function(){if(F!=K.size()-1&&F+8>K.size()){H(K.size()-1-F);
}else{H(8);}},hide:function(){J&&J.hide();K&&K.removeClass(L.ACTIVE);F=-1;},visible:function(){return J&&J.is(":visible");
},current:function(){return this.visible()&&(K.filter("."+L.ACTIVE)[0]||C.selectFirst&&K[0]);},show:function(){var U=A(Q).offset();
J.css({width:typeof C.width=="string"||C.width>0?C.width:A(Q).width(),top:U.top+Q.offsetHeight,left:U.left}).show();if(C.scroll){O.scrollTop(0);
O.css({maxHeight:C.scrollHeight,overflow:"auto"});if(A.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var T=0;
K.each(function(){T+=this.offsetHeight;});var V=T>C.scrollHeight;O.css("height",V?C.scrollHeight:T);if(!V){K.width(O.width()-parseInt(K.css("padding-left"))-parseInt(K.css("padding-right")));
}}}},selected:function(){var T=K&&K.filter("."+L.ACTIVE).removeClass(L.ACTIVE);return T&&T.length&&A.data(T[0],"ac_data");
},emptyList:function(){O&&O.empty();},unbind:function(){J&&J.remove();}};};A.Autocompleter.Selection=function(E,C,D){if(E.createTextRange){var B=E.createTextRange();
B.collapse(true);B.moveStart("character",C);B.moveEnd("character",D);B.select();}else{if(E.setSelectionRange){E.setSelectionRange(C,D);
}else{if(E.selectionStart){E.selectionStart=C;E.selectionEnd=D;}}}E.focus();};})(jQuery);
$(document).ready(function(){$.ajax({type:"POST",url:"/DataControl/MalzemeComplate.aspx",data:"proc=5",success:function(A){if(A!=""){$("#eklenen").html(A);
}}});$("#ekle").click(function(){if(!$("#ctl00_ContentPlaceHolder1_txtMalzemeMiktar").val()){$("#ctl00_ContentPlaceHolder1_txtMalzemeMiktar").focus();
}else{if(!$("#ctl00_ContentPlaceHolder1_txtMalzeme").val()){$("#ctl00_ContentPlaceHolder1_txtMalzeme").focus();}}if($("#ctl00_ContentPlaceHolder1_txtMalzemeMiktar").val()&&$("#ctl00_ContentPlaceHolder1_txtMalzeme").val()){$.ajax({type:"POST",url:"/DataControl/MalzemeComplate.aspx",data:"malzeme="+$("#ctl00_ContentPlaceHolder1_txtMalzeme").val().replace(",",".")+"&&miktar="+$("#ctl00_ContentPlaceHolder1_txtMalzemeMiktar").val().replace(",",".")+"&&not="+$("#ctl00_ContentPlaceHolder1_txtNot").val().replace(",",".")+"&&proc=3",success:function(A){if(A!=""){$("#ctl00_ContentPlaceHolder1_txtMalzemeMiktar").val("");
$("#ctl00_ContentPlaceHolder1_txtMalzeme").val("");$("#ctl00_ContentPlaceHolder1_txtNot").val("");$("#goster").html("");$("#goster").attr("style","display:none");
$("#eklenen").html(A);}}});}});});var sira=-1;function walkOnComplate(B){var A=$("#div1").children().length;if(B!="enter"){if(B=="top"){if(sira!=0){sira-=1;
}}else{if(sira!=A-1){sira+=1;}}}else{if(sira>-1){$("#ctl00_ContentPlaceHolder1_txtMalzeme").val($($("#div1").children().get(sira)).children().html());
$("#goster").html("");$("#goster").attr("style","display:none");sira=-1;}}if(sira>-1){if(sira<A){$($("#div1").children().get(sira)).css({"background-color":"#4173cc","color":"#FFFFFF"});
for(var C=-1;C<A;C++){if(C!=sira){$($("#div1").children().get(C)).css({"background-color":"#eeeeee","color":"#666666"});}}}}}function data_getir(A){$.ajax({type:"POST",url:"/DataControl/MalzemeComplate.aspx",data:"aranan="+A+"&&proc=1",success:function(B){if(B!=""){$("#goster").attr("style","display:block");
$("#goster").html(B);}}});sira=-1;}function sec(A,B){if(B=="1"){$("#ctl00_ContentPlaceHolder1_txtMalzeme").val($(A).html());
$("#goster").html("");$("#goster").attr("style","display:none");}}function sil(A,B){$.ajax({type:"POST",url:"/DataControl/MalzemeComplate.aspx",data:"id="+B+"&&proc=4",success:function(C){if(C!=""){$("#goster").html("");
$("#goster").attr("style","display:none");$("#eklenen").html(C);}}});}function textOver(A){A.style.color="#FFFFFF";A.style.backgroundColor="#4173cc";
}function textOut(A){A.style.color="#666666";A.style.backgroundColor="#eeeeee";}
