
31275 - JACOBSSuits - 389555 - Select2Gether.com
* jQuery JavaScript Library v1.3.2
* Copyright (c) 2009 John Resig
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
* Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^ )[^]*$|^#([w-]+)$/,f=/^.[^:#[.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E===string){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:,jquery:1.3.2,size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H===find){G.selector=this.selector+(this.selector? :)+E}else{if(H){G.selector=this.selector+.+H+(+E+)}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F===string){if(H===g){return this[0]&&o[G||attr](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E==width||E==height)&&parseFloat(F) -1:o(H).is(E)){o.data(H,closest,F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E===string){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),not,E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E) 0},hasClass:function(E){return !!E&&this.is(.+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,option)){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,select)){var I=E.selectedIndex,L=[],M=E.options,H=E.type==select-one;if(I =0||o.inArray(this.name,K)=0)}else{if(o.nodeName(this,select)){var N=o.makeArray(K);o(option,this).each(function(){this.selected=(o.inArray(this.value,N)=0||o.inArray(this.text,N)=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQueryd+=(?:d+|null)/g,):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),slice,Array.prototype.slice.call(arguments).join(,))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G 1||G0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,table)&&o.nodeName(O,tr)?(N.getElementsByTagName(tbody)[0]||N.appendChild(N.ownerDocument.createElement(tbody))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:script})}else{o.globalEval(F.text||F.textContent||F.innerHTML||)}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J===boolean){E=J;J=arguments[1]||{};H=2}if(typeof J!==object&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H -1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F==width||F==height){var L,G={position:absolute,visibility:hidden,display:block},K=F==width?[Left,Right]:[Top,Bottom];function I(){L=F==width?H.offsetWidth:H.offsetHeight;if(E===border){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,padding+this,true))||0}if(E===margin){L+=parseFloat(o.curCSS(H,margin+this,true))||0}else{L-=parseFloat(o.curCSS(H,border+this+Width,true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F==opacity&&!o.support.opacity){L=o.attr(E,opacity);return L==?1:L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F=float}F=F.replace(/([A-Z])/g,-$1).toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F==opacity&&L==){L=1}}else{if(I.currentStyle){var J=F.replace(/-(w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^d+(px)?$/i.test(L)&&/^d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+px;E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement===undefined){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]===string){var H=/^ $/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement(div);o.each(F,function(P,S){if(typeof S===number){S+=}if(!S){return}if(typeof S===string){S=S.replace(/( ]*?)//g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+ });var O=S.replace(/^s+/,).substring(0,10).toLowerCase();var Q=!O.indexOf( , ]||!O.indexOf( , ]||O.match(/^ , ]||!O.indexOf( , ]||(!O.indexOf( , ]||!O.indexOf( , ]||!o.support.htmlSerialize&&[1,div , ]||[0,,];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/ &&!R?L.childNodes:[];for(var M=N.length-1;M=0;--M){if(o.nodeName(N[M],tbody)&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],script)&&(!G[J].type||G[J].type.toLowerCase()===text/javascript)){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName(script))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G==selected&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G==type&&o.nodeName(J,input)&&J.parentNode){throwtype property cant be changed}J[G]=K}if(o.nodeName(J,form)&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G==tabIndex){var I=J.getAttributeNode(tabIndex);return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G==style){return o.attr(J.style,cssText,K)}if(L){J.setAttribute(G,+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G==opacity){if(L){J.zoom=1;J.filter=(J.filter||).replace(/alpha([^)]*)/,)+(parseInt(K)+==NaN?:alpha(opacity=+K*100+))}return J.filter&&J.filter.indexOf(opacity=)=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+:}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||).replace(/^s+|s+$/g,)},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G===string||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E 0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,);if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!==boolean){E=!o.className.has(this,F)}o.className[E?add:remove](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o(*,this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h=jQuery+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E=;for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||fx)+queue;var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G===fx){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(.);H[1]=H[1]?.+H[1]:;if(G===g){var F=this.triggerHandler(getData+H[1]+!,[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger(setData+H[1]+!,[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!==string){F=E;E=fx}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E==fx&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
* Sizzle CSS Selector Engine - v0.9.3
* Copyright 2009, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
source

Комментариев нет:
Отправить комментарий