bplist00_WebMainResource_WebSubresources _WebResourceFrameName^WebResourceURL_WebResourceData_WebResourceMIMEType_WebResourceTextEncodingNameP_3http://www.wildco.com/search.php?mode=search&page=1O1 Environmental Sampling Equipment, Environmental Soil Testing – Wildco
Wildlife Supply Company :: Search results

Search results

8 results found. Show results 1 - 8

Products

Invertebrate Lab Starter Kit Vials with Polyseal Caps - Pack of twelve, Glass, 1 dram, 3.7mL Vials with Polyseal Caps - Pack of twelve, Glass, 4 drams, 14.8mL
SKU: 181-A10
SKU: 7912-B10
SKU: 7912-B40
Invertebrate Lab Starter Kit
Vials with Polyseal Caps - Pack of twelve, Glass, 1 dram, 3.7mL
Vials with Polyseal Caps - Pack of twelve, Glass, 4 drams, 14.8mL
Our price: $99.95
Our price: $6.95
Our price: $7.95
Quantity
Quantity
Quantity
 
Vials with Polyseal Caps - Pack of twelve, Glass, 5 drams, 18.5mL Vials with Polyseal Caps - Rack of 144, Glass, 1 dram, 3.7mL Vials with Polyseal Caps - Rack of 144, Glass, 5 dram, 18.5mL
SKU: 7912-B50
SKU: 7912-B15
SKU: 7912-B55
Vials with Polyseal Caps - Pack of twelve, Glass, 5 drams, 18.5mL
Vials with Polyseal Caps - Rack of 144, Glass, 1 dram, 3.7mL
Vials with Polyseal Caps - Rack of 144, Glass, 5 dram, 18.5mL
Our price: $9.50
Our price: $79.00
Our price: $105.00
Quantity
Quantity
Quantity
 
Vials with Polyseal Caps - Rack of 240, Glass, 4 dram, 14.8mL Wood Vial Rack for Six 5 Dram Vials, Wood, 6 Slots
SKU: 7912-B45
SKU: 7912-B56
Vials with Polyseal Caps - Rack of 240, Glass, 4 dram, 14.8mL
Wood Vial Rack for Six 5 Dram Vials, Wood, 6 Slots
Our price: $159.00
Our price: $5.95
Quantity
Quantity
 
Ytext/htmlUUTF-86"&*/48?KWZNS.objectsWNS.keys@ABCDEFGHIJLMNOPQRSTUV _Content-EncodingTVary]Last-Modified]Cache-ControlVServerTDate^Content-LengthWExpires_X-Content-Type-Options\Content-TypeSAgeTgzip_Accept-Encoding_Tue, 16 Aug 2011 05:00:45 GMT_max-age=7200, publicWGFE/2.0_Thu, 25 Aug 2011 17:06:50 GMTU12371_Thu, 25 Aug 2011 19:06:50 GMTWnosniffT266712noop6_NSMutableDictionary\NSDictionary12rss6_NSHTTPURLResponseInternal12uvvw6_NSHTTPURLResponse]NSURLResponse$)2DILbd  '3579afoz~   &+9GNSbj 08=BF\inqxOzd(function(){var g=void 0,h=null,aa=encodeURIComponent,ba=decodeURIComponent,i=Math;function ca(a,b){return a.name=b}var j="push",da="replace",ea="load",m="charAt",fa="value",n="indexOf",ga="match",ia="name",ja="host",p="toString",r="length",s="prototype",t="split",u="stopPropagation",ka="scope",v="location",w="getString",x="substring",la="navigator",y="join",A="toLowerCase",B;function ma(a,b){switch(b){case 0:return""+a;case 1:return a*1;case 2:return!!a;case 3:return a*1E3}return a}function C(a){return g==a||"-"==a||""==a}function na(a){if(!a||""==a)return"";for(;a&&" \n\r\t"[n](a[m](0))>-1;)a=a[x](1);for(;a&&" \n\r\t"[n](a[m](a[r]-1))>-1;)a=a[x](0,a[r]-1);return a}function D(a){var b=1,c=0,d;if(!C(a)){b=0;for(d=a[r]-1;d>=0;d--)c=a.charCodeAt(d),b=(b<<6&268435455)+c+(c<<14),c=b&266338304,b=c!=0?b^c>>21:b}return b}function oa(){return i.round(i.random()*2147483647)} function pa(){}function E(a,b){return aa instanceof Function?b?encodeURI(a):aa(a):(F(68),escape(a))}function G(a){a=a[t]("+")[y](" ");if(ba instanceof Function)try{return ba(a)}catch(b){F(17)}else F(68);return unescape(a)}var qa=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,!!d):a.attachEvent&&a.attachEvent("on"+b,c)},ra=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,!!d):a.detachEvent&&a.detachEvent("on"+b,c)};function H(a){return a&&a[r]>0?a[0]:""} function sa(a){var b=a?a[r]:0;return b>0?a[b-1]:""}var ta=function(){this.prefix="ga.";this.F={}};ta[s].set=function(a,b){this.F[this.prefix+a]=b};ta[s].get=function(a){return this.F[this.prefix+a]};ta[s].contains=function(a){return this.get(a)!==g};function ua(a){a[n]("www.")==0&&(a=a[x](4));return a[A]()}function va(a,b){var c,d={url:a,protocol:"http",host:"",path:"",c:new ta,anchor:""};if(!a)return d;c=a[n]("://");if(c>=0)d.protocol=a[x](0,c),a=a[x](c+3);c=a.search("/|\\?|#");if(c>=0)d.host=a[x](0,c)[A](),a=a[x](c);else return d.host=a[A](),d;c=a[n]("#");if(c>=0)d.anchor=a[x](c+1),a=a[x](0,c);c=a[n]("?");c>=0&&(wa(d.c,a[x](c+1)),a=a[x](0,c));d.anchor&&b&&wa(d.c,d.anchor);a&&a[m](0)=="/"&&(a=a[x](1));d.path=a;return d} function wa(a,b){function c(b,c){a.contains(b)||a.set(b,[]);a.get(b)[j](c)}for(var d=na(b)[t]("&"),e=0;e-1)?!0:!1},ec=function(a){var b=a.get(Da),c=a[w](L,"/");dc(b,c)&&a[u]()};var ic=function(){var a={},b={},c=new fc;this.g=function(a,b){c.add(a,b)};var d=new fc;this.d=function(a,b){d.add(a,b)};var e=!1,f=!1,k=!0;this.G=function(){e=!0};this.f=function(a){this[ea]();this.set(Nb,a,!0);e=!1;d.execute(this);e=!0;b={};this.i()};this.load=function(){e&&(e=!1,this.na(),gc(this),f||(f=!0,c.execute(this),hc(this),gc(this)),e=!0)};this.i=function(){if(e)if(f)e=!1,hc(this),e=!0;else this[ea]()};this.get=function(c){c&&c[m](0)=="_"&&this[ea]();return b[c]!==g?b[c]:a[c]};this.set= function(c,d,e){c&&c[m](0)=="_"&&this[ea]();e?b[c]=d:a[c]=d;c&&c[m](0)=="_"&&this.i()};this.m=function(b){a[b]=this.b(b,0)+1};this.b=function(a,b){var c=this.get(a);return c==g||c===""?b:c*1};this.getString=function(a,b){var c=this.get(a);return c==g?b:c+""};this.na=function(){if(k){var b=this[w](Da,""),c=this[w](L,"/");dc(b,c)||(a[K]=a[Ja]&&b!=""?D(b):1,k=!1)}}};ic[s].stopPropagation=function(){throw"aborted";};function jc(a,b){for(var b=b||[],c=0;c=0&&d>0&&e>0&&f>0&&b>=0))return F(110),!1;a.set(N,c);a.set(sb,d);a.set(ub,e);a.set(vb,f);a.set(wb,b);return!0},mc=function(a){var b=a.get(N),c=a.get(sb),d=a.get(ub),e=a.get(vb),f=a.b(wb,1);b==g?F(113):b==NaN&&F(114);b>=0&&c>0&&d>0&&e>0&&f>=0||F(115);return[a.b(K,1),b!=g?b:"-",c||"-",d||"-",e||"-",f][y](".")},nc=function(a){return[a.b(K,1),a.b(zb,0),a.b(O,1), a.b(Ab,0)][y](".")},oc=function(a,b,c){var c=c?"":a[w](K,"1"),d=b[t](".");if(d[r]!==4||kc(d[0],c))d=h;a.set(zb,d?d[1]*1:0);a.set(O,d?d[2]*1:10);a.set(Ab,d?d[3]*1:a.get(Ca));return d!=h||!kc(b,c)},pc=function(a,b){var c=E(a[w](qb,"")),d=[],e=a.get(M);if(!b&&e){for(var f=0;f0&&(c+="|"+d[y](","))}return c?a.b(K,1)+"."+c:h},qc=function(a,b,c){c=c?"":a[w](K,"1");b=b[t](".");if(b[r]<2||kc(b[0],c))return!1;b=b.slice(1)[y](".")[t]("|"); b[r]>0&&a.set(qb,G(b[0]));if(b[r]<=1)return!0;for(var c=b[1][t](b[1][n](",")==-1?"^":","),d=0;d=0&&F(125);return!0},sc=function(a,b){var c=rc(a,b);return c?[a.b(K,1),a.b(Bb,0),a.b(Cb,1),a.b(Db,1),c][y]("."):""},rc=function(a){function b(b,e){if(!C(a.get(b))){var f=a[w](b,""),f=f[t](" ")[y]("%20"),f=f[t]("+")[y]("%20");c[j](e+"="+f)}}var c=[];b(Fb,"utmcid");b(Jb,"utmcsr");b(Hb, "utmgclid");b(Ib,"utmdclid");b(Gb,"utmccn");b(Kb,"utmcmd");b(Lb,"utmctr");b(Mb,"utmcct");return c[y]("|")},uc=function(a,b,c){c=c?"":a[w](K,"1");b=b[t](".");if(b[r]<5||kc(b[0],c))return a.set(Bb,g),a.set(Cb,g),a.set(Db,g),a.set(Fb,g),a.set(Gb,g),a.set(Jb,g),a.set(Kb,g),a.set(Lb,g),a.set(Mb,g),a.set(Hb,g),a.set(Ib,g),!1;a.set(Bb,b[1]*1);a.set(Cb,b[2]*1);a.set(Db,b[3]*1);tc(a,b.slice(4)[y]("."));return!0},tc=function(a,b){function c(a){return(a=b[ga](a+"=(.*?)(?:\\|utm|$)"))&&a[r]==2?a[1]:g}function d(b, c){c&&(c=e?G(c):c[t]("%20")[y](" "),a.set(b,c))}b[n]("=")==-1&&(b=G(b));var e=c("utmcvr")=="2";d(Fb,c("utmcid"));d(Gb,c("utmccn"));d(Jb,c("utmcsr"));d(Kb,c("utmcmd"));d(Lb,c("utmctr"));d(Mb,c("utmcct"));d(Hb,c("utmgclid"));d(Ib,c("utmdclid"))},kc=function(a,b){return b?a!=b:!/^\d+$/.test(a)};var fc=function(){this.q=[]};fc[s].add=function(a,b){this.q[j]({name:a,ua:b})};fc[s].execute=function(a){try{for(var b=0;b=a.get(Wa)*100&&a[u]()}function wc(a){xc()&&a[u]()}function yc(a){I[v].protocol=="file:"&&a[u]()}function zc(a){a.get(gb)||a.set(gb,I.title,!0);a.get(fb)||a.set(fb,I[v].pathname+I[v].search,!0)};var Ac=new function(){var a=[];this.set=function(b){a[b]=!0};this.va=function(){for(var b=[],c=0;c=0){b=b[da](/\n|\r/g," ");f=0;for(var k=b[r];f2E3&&(b=b[x](0, 2E3),F(69));a=a+"="+b+"; path="+c+"; ";e&&(a+="expires="+(new Date((new Date).getTime()+e)).toGMTString()+"; ");d&&(a+="domain="+d+";");I.cookie=a}};var Cc,Dc,Ec=function(){if(!Cc){var a={},b=T[la],c=T.screen;a.C=c?c.width+"x"+c.height:"-";a.B=c?c.colorDepth+"-bit":"-";a.language=(b&&(b.language||b.browserLanguage)||"-")[A]();a.javaEnabled=b&&b.javaEnabled()?1:0;a.characterSet=I.characterSet||I.charset||"-";Cc=a}},Fc=function(){Ec();for(var a=Cc,b=T[la],a=b.appName+b.version+a.language+b.platform+b.userAgent+a.javaEnabled+a.C+a.B+(I.cookie?I.cookie:"")+(I.referrer?I.referrer:""),b=a[r],c=T.history[r];c>0;)a+=c--^b++;return D(a)},Gc=function(a){Ec(); var b=Cc;a.set(jb,b.C);a.set(kb,b.B);a.set(nb,b.language);a.set(ob,b.characterSet);a.set(lb,b.javaEnabled);if(a.get(Ka)&&a.get(La)){if(!(b=Dc)){var c,d,e;d="ShockwaveFlash";if((b=(b=T[la])?b.plugins:g)&&b[r]>0)for(c=0;c-1&&(e=d.description[t]("Shockwave Flash ")[1]);else{d=d+"."+d;try{c=new ActiveXObject(d+".7"),e=c.GetVariable("$version")}catch(f){}if(!e)try{c=new ActiveXObject(d+".6"),e="WIN 6,0,21,0",c.AllowScriptAccess="always",e=c.GetVariable("$version")}catch(k){}if(!e)try{c= new ActiveXObject(d),e=c.GetVariable("$version")}catch(o){}e&&(e=e[t](" ")[1][t](","),e=e[0]+"."+e[1]+" r"+e[2])}b=e?e:"-"}Dc=b;a.set(mb,Dc)}else a.set(mb,"-")};var W=function(){P(W[s],"push",W[s][j],5);P(W[s],"_createAsyncTracker",W[s].wa,33);P(W[s],"_getAsyncTracker",W[s].xa,34)};W[s].wa=function(a,b){return Z.k(a,b||"")};W[s].xa=function(a){return Z.p(a)};W[s].push=function(a){for(var b=arguments,c=0,d=0;d0&&(e=f[x](0,k),f=f[x](k+1));var o=e=="_gat"?Z:e=="_gaq"?Hc:Z.p(e);o[f].apply(o,b[d].slice(1))}}catch(l){c++}return c};var Kc=function(){function a(a,b,c,d){g==f[a]&&(f[a]={});g==f[a][b]&&(f[a][b]=[]);f[a][b][c]=d}function b(a,b,c){if(g!=f[a]&&g!=f[a][b])return f[a][b][c]}function c(a,b){if(g!=f[a]&&g!=f[a][b]){f[a][b]=g;var c=!0,d;for(d=0;d0)&&(V("__utmd","1",a[w](L,"/"),a[w](Da,""),1E4),U("__utmd")[r]==0&&a[u]())};var Vc=function(a){a.get(N)==g?Tc(a):a.get(rb)&&!a.get($b)?Tc(a):a.get(yb)&&Uc(a)},Wc=function(a){a.get(Eb)&&!a.get(xb)&&(Uc(a),a.set(Cb,a.get(wb)))},Tc=function(a){var b=a.get(Ca);a.set(pb,!0);a.set(N,oa()^Fc(a)&2147483647);a.set(qb,"");a.set(sb,b);a.set(ub,b);a.set(vb,b);a.set(wb,1);a.set(xb,!0);a.set(zb,0);a.set(O,10);a.set(Ab,b);a.set(M,[]);a.set(rb,!1);a.set(yb,!1)},Uc=function(a){a.set(ub,a.get(vb));a.set(vb,a.get(Ca));a.m(wb);a.set(xb,!0);a.set(zb,0);a.set(O,10);a.set(Ab,a.get(Ca));a.set(yb, !1)};var Xc="daum:q,eniro:search_word,naver:query,pchome:q,images.google:q,google:q,yahoo:p,yahoo:q,msn:q,bing:q,aol:query,aol:encquery,aol:q,lycos:query,ask:q,altavista:q,netscape:query,cnn:query,about:terms,mamma:q,alltheweb:q,voila:rdata,virgilio:qs,live:q,baidu:wd,alice:qs,yandex:text,najdi:q,mama:query,seznam:q,search:q,wp:szukaj,onet:qt,szukacz:q,yam:k,kvasir:q,sesam:q,ozu:q,terra:query,mynet:q,ekolay:q,rambler:query".split(","),cd=function(a){if(a.get(Ma)&&!a.get($b)){for(var b=!C(a.get(Fb))||!C(a.get(Jb))|| !C(a.get(Hb))||!C(a.get(Ib)),c={},d=0;d=0)||c&&c[ja][n]("google")>-1&&c.c.contains("q")&&c.path=="cse")return!1;if((b=dd(a,c))&& !b[2])return ad(a,g,b[0],g,g,"(organic)","organic",b[1],g),!0;else if(b)return!1;if(a.get(xb))a:{for(var b=a.get(bb),d=ua(c[ja]),e=0;e-1){a=!1;break a}ad(a,g,d,g,g,"(referral)","referral",g,"/"+c.path);a=!0}else a=!1;return a},dd=function(a,b){for(var c=a.get($a),d=0;d-1){var f=H(b.c.get(e[1]));if(f){a:{for(var c=f,d=a.get(ab),c=G(c)[A](),k=0;k0&&(c=b[x](e),b=b[x](0,e)),f<0?b+"?"+d+c:b+"&"+d+c)};var jd="|",ld=function(a,b,c,d,e,f,k,o,l){var q=kd(a,b);q||(q={},a.get(cb)[j](q));q.id_=b;q.affiliation_=c;q.total_=d;q.tax_=e;q.shipping_=f;q.city_=k;q.state_=o;q.country_=l;q.items_=q.items_||[];return q},md=function(a,b,c,d,e,f,k){var a=kd(a,b)||ld(a,b,"",0,0,0,"","",""),o;a:{if(a&&a.items_){o=a.items_;for(var l=0;l=a.b(Zb,0))return!1;var c=pd();c==g&&(c=qd());if(c==g||c==Infinity||isNaN(c))return!1;c>0?b(rd(c)):qa(T,"load",function(){sd(a,b)},!1);return!0},rd=function(a){var b=new Kc,c=i.min(i.floor(a/100),5E3);b.e(14,1,c>0?c+"00":"0");b.j(14,1,a);return b},pd=function(){var a=T.performance||T.webkitPerformance;return(a=a&&a.timing)&&a.loadEventStart-a.fetchStart},qd=function(){if(T.top==T){var a=T.external,b=a&&a.onloadT;a&&!a.isValidLoadTime&&(b=g);b>2147483648&&(b=g); b>0&&a.setPageReadyTime();return b}};var Q=function(a,b,c){function d(a){return function(b){if((b=b.get(ac)[a])&&b[r])for(var c=cc(e,a),d=0;d-1?(F(13),this.set(fb,a,!0)):typeof a==="object"&&a!==h&&this.oa(a);this.a.f("page")};B.t=function(a,b,c,d,e){if(a==""||!Ic(a)||b==""||!Ic(b))return!1;if(c!=g&&!Ic(c))return!1;if(d!=g&&!Jc(d))return!1;this.set(Qb,a,!0);this.set(Rb,b,!0);this.set(Sb,c,!0);this.set(Tb,d,!0);this.set(Pb,!!e,!0);this.a.f("event");return!0}; B.la=function(a,b,c,d){if(!a||!b)return!1;this.set(Ub,a[x](0,15),!0);this.set(Xb,b[x](0,15),!0);this.set(Yb,c||I[v].href,!0);d&&this.set(fb,d,!0);this.a.f("social");return!0};B.ja=function(){var a=this;return sd(this.a,function(b){a.s(b)})};B.ma=function(){this.a.f("trans")};B.s=function(a){this.set(eb,a,!0);this.a.f("event")};B.S=function(a){this.l();var b=this;return{_trackEvent:function(c,d,e){F(91);b.t(a,c,d,e)}}};B.V=function(a){return this.get(a)}; B.da=function(a,b){if(a)if(a!=g&&(a.constructor+"")[n]("String")>-1)this.set(a,b);else if(typeof a=="object")for(var c in a)a.hasOwnProperty(c)&&this.set(c,a[c])};B.addEventListener=function(a,b){var c=this.get(ac)[a];c&&c[j](b)};B.removeEventListener=function(a,b){for(var c=this.get(ac)[a],d=0;c&&de.get(Za))a=!1;else if(!b||!c||E(b)[r]+E(c)[r]>64)a=!1;else{d!=1&&d!=2&&(d=3);var f={};ca(f,b);f.value=c;f.scope=d;e.get(M)[a]=f;a=!0}a&&this.a.i();return a};B.U=function(a){this.a.get(M)[a]=g;this.a.i()};B.Y=function(a){return(a=this.a.get(M)[a])&&a[ka]==1?a[fa]:g};B.ha=function(a,b,c){this.h().e(a,b,c)};B.ia=function(a,b,c){this.h().j(a,b,c)};B.Z=function(a,b){return this.h().w(a,b)}; B.$=function(a,b){return this.h().z(a,b)};B.P=function(a){this.h().u(a)};B.Q=function(a){this.h().v(a)};B.T=function(){return new Kc};B.H=function(a){a&&this.get(ab)[j](a[A]())};B.M=function(){this.set(ab,[])};B.I=function(a){a&&this.get(bb)[j](a[A]())};B.N=function(){this.set(bb,[])};B.K=function(a,b,c){if(a&&b){var d=this.get($a);d.splice(c?0:d[r],0,a+":"+b[A]())}};B.O=function(){this.set($a,[])}; B.R=function(a){this.a[ea]();var b=this.get(L),c=hd(this.a);this.set(L,a);this.a.i();gd(this.a,c);this.set(L,b)};B.l=function(){this.a[ea]()};B.ga=function(a){a&&a!=""&&(this.set(qb,a),this.a.f("var"))};var td=function(a){a.get(Nb)!=="trans"&&a.b(zb,0)>=500&&a[u]();if(a.get(Nb)==="event"){var b=(new Date).getTime(),c=a.b(Ab,0),d=a.b(vb,0),c=i.floor(0.2*((b-(c!=d?c:c*1E3))/1E3));c>0&&(a.set(Ab,b),a.set(O,i.min(10,a.b(O,0)+c)));a.b(O,0)<=0&&a[u]()}},vd=function(a){a.get(Nb)==="event"&&a.set(O,i.max(0,a.b(O,10)-1))};var wd=function(){var a=[];this.add=function(b,c,d){d&&(c=E(""+c));a[j](b+"="+c)};this.toString=function(){return a[y]("&")}},xd=function(a,b){(b||a.get(Ya)!=2)&&a.m(zb)},yd=function(a,b){b.add("utmwv","5.1.5");b.add("utms",a.get(zb));b.add("utmn",oa());var c=I[v].hostname;C(c)||b.add("utmhn",c,!0);c=a.get(Wa);c!=100&&b.add("utmsp",c,!0)},Ad=function(a,b){b.add("utmac",a.get(za));a.get(Pb)&&b.add("utmni",1);zd(a,b);Z.o&&b.add("aip",1);b.add("utmu",Ac.va())},zd=function(a,b){function c(a,b){b&&d[j](a+ "="+b+";")}var d=[];c("__utma",mc(a));c("__utmz",sc(a,!1));c("__utmv",pc(a,!0));c("__utmx",hd(a));b.add("utmcc",d[y]("+"),!0)},Bd=function(a,b){a.get(Ka)&&(b.add("utmcs",a.get(ob),!0),b.add("utmsr",a.get(jb)),b.add("utmsc",a.get(kb)),b.add("utmul",a.get(nb)),b.add("utmje",a.get(lb)),b.add("utmfl",a.get(mb),!0))},Cd=function(a,b){a.get(Na)&&a.get(gb)&&b.add("utmdt",a.get(gb),!0);b.add("utmhid",a.get(ib));b.add("utmr",xa(a.get(hb),a.get(L)),!0);b.add("utmp",E(a.get(fb),!0),!0)},Dd=function(a,b){for(var c= a.get(db),d=a.get(eb),e=a.get(M)||[],f=0;f=0&&![].reduce)throw new Kd(a[r]);Md(a,b)||Nd(a,b)}else throw new Jd(a[r]);},Ld=function(a,b,c){var c=c||Id+"/__utm.gif?",d=new Image(1,1);d.src=c+a;d.onload=function(){d.onload= h;b()}},Md=function(a,b){var c,d=Id+"/p/__utm.gif",e=T.XDomainRequest;if(e)c=new e,c.open("POST",d);else if(e=T.XMLHttpRequest)e=new e,"withCredentials"in e&&(c=e,c.open("POST",d,!0),c.setRequestHeader("Content-Type","text/plain"));if(c)return c.onreadystatechange=function(){c.readyState==4&&(b(),c=h)},c.send(a),!0},Nd=function(a,b){if(I.body){a=aa(a);try{var c=I.createElement('')}catch(d){c=I.createElement("iframe"),ca(c,a)}c.height="0";c.width="0";c.style.display="none"; c.style.visibility="hidden";var e=I[v],e=Id+"/u/post_iframe.html#"+aa(e.protocol+"//"+e[ja]+"/favicon.ico"),f=function(){c.src="";c.parentNode&&c.parentNode.removeChild(c)};qa(T,"beforeunload",f);var k=!1,o=0,l=function(){if(!k){try{if(o>9||c.contentWindow[v][ja]==I[v][ja]){k=!0;f();ra(T,"beforeunload",f);b();return}}catch(a){}o++;setTimeout(l,200)}};qa(c,"load",l);I.body.appendChild(c);c.src=e}else Bc(function(){Nd(a,b)},100)};var $=function(){this.o=!1;this.A={};this.ra=0;this._gasoCPath=this._gasoDomain=g;P($[s],"_createTracker",$[s].k,55);P($[s],"_getTracker",$[s].ta,0);P($[s],"_getTrackerByName",$[s].p,51);P($[s],"_anonymizeIp",$[s].sa,16);bc()};$[s].ta=function(a,b){return this.k(a,g,b)};$[s].k=function(a,b,c){b&&F(23);c&&F(67);b==g&&(b="~"+Z.ra++);return Z.A[b]=new Q(b,a,c)};$[s].p=function(a){a=a||"";return Z.A[a]||Z.k(g,a)};$[s].sa=function(){this.o=!0};var Od=function(a){if(I.webkitVisibilityState=="prerender")return!1;a();return!0};var Z=new $;var Pd=T._gat;Pd&&typeof Pd._getTracker=="function"?Z=Pd:T._gat=Z;var Hc=new W;(function(a){if(!Od(a)){F(123);var b=!1,c=function(){!b&&Od(a)&&(F(124),b=!0,ra(I,"webkitvisibilitychange",c))};qa(I,"webkitvisibilitychange",c)}})(function(){var a=T._gaq,b=!1;if(a&&typeof a[j]=="function"&&(b=Object[s][p].call(Object(a))=="[object Array]",!b)){Hc=a;return}T._gaq=Hc;b&&Hc[j].apply(Hc,a)});})(); _text/javascript_%http://www.wildco.com/skin1/common.jsOAbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse! )/078?KWZNS.objectsWNS.keys@ABCDEFGHIJLMNOPQRSTUV VServerTVary]Last-Modified]Accept-Ranges_Content-EncodingTDate^Content-LengthZKeep-AliveZConnectionTEtag\Content-Type_Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.3.6_Accept-Encoding,User-Agent_Fri, 16 Jul 2010 09:13:41 GMTUbytesTgzip_Thu, 25 Aug 2011 18:00:44 GMTT8491_timeout=15, max=100_"18812b4-7246-a28a7b40"12mnno6_NSMutableDictionary\NSDictionary12qrr6_NSHTTPURLResponseInternal12tuuv6_NSHTTPURLResponse]NSURLResponse$)2DILbd  '3579afoz~  !&4BUZit8X^c %w3OrF/* $Id: common.js,v 1.62 2009/10/26 06:52:27 max Exp $ vim: set ts=2 sw=2 sts=2 et: */ /* Enviroment identificator */ var localIsDOM = document.getElementById?true:false; var localIsJava = navigator.javaEnabled(); var localIsStrict = document.compatMode=='CSS1Compat'; var localPlatform = navigator.platform; var localVersion = "0"; var localBrowser = ""; var localBFamily = ""; var isHttps = false; if (window.opera && localIsDOM) { localBFamily = localBrowser = "Opera"; if (navigator.userAgent.search(/^.*Opera.([\d.]+).*$/) != -1) localVersion = navigator.userAgent.replace(/^.*Opera.([\d.]+).*$/, "$1"); else if (window.print) localVersion = "6"; else localVersion = "5"; } else if (document.all && document.all.item) localBFamily = localBrowser = 'MSIE'; if (navigator.appName=="Netscape") { localBFamily = "NC"; if (!localIsDOM) { localBrowser = 'Netscape'; localVersion = navigator.userAgent.replace(/^.*Mozilla.([\d.]+).*$/, "$1"); if (localVersion != '') localVersion = "4"; } else if (navigator.userAgent.indexOf("Chrome") >= 0) localBrowser = 'Chrome'; else if (navigator.userAgent.indexOf("Safari") >= 0) localBrowser = 'Safari'; else if (navigator.userAgent.indexOf("Netscape") >= 0) localBrowser = 'Netscape'; else if (navigator.userAgent.indexOf("Firefox") >= 0) localBrowser = 'Firefox'; else localBrowser = 'Mozilla'; } if (navigator.userAgent.indexOf("MSMSGS") >= 0) localBrowser = "WMessenger"; else if (navigator.userAgent.indexOf("e2dk") >= 0) localBrowser = "Edonkey"; else if (navigator.userAgent.indexOf("Gnutella") + navigator.userAgent.indexOf("Gnucleus") >= 0) localBrowser = "Gnutella"; else if (navigator.userAgent.indexOf("KazaaClient") >= 0) localBrowser = "Kazaa"; if (localVersion == '0' && localBrowser != '') { var rg = new RegExp("^.*" + localBrowser + ".([\\d.]+).*$"); localVersion = navigator.userAgent.replace(rg, "$1"); } var localIsCookie = ((localBrowser == 'Netscape' && localVersion == '4')?(document.cookie != ''):navigator.cookieEnabled); var isHttps = document.location.protocol == "https:"; function change_antibot_image(id) { var image = document.getElementById(id); if (image) { var src = xcart_web_dir + "/antibot_image.php?tmp=" + Math.random() + "§ion=" + id + "®enerate=Y"; setTimeout( function() { image.src = src; }, 200 ); } } /* get real inner width (jsel- JQuery selector) */ function getRealWidth(jsel) { var sw = $(jsel).attr('scrollWidth'); if ($.browser.opera) return sw; var pl = parseInt($(jsel).css('padding-left')); if (!isNaN(pl)) sw -= pl; var pr = parseInt($(jsel).css('padding-right')); if (!isNaN(pr)) sw -= pr; return sw; } /* Show note next to element */ function showNote(id, next_to) { var div = $('#'+id).get(); $('#'+id).remove(); $('body').append(div); $('#'+id).show(); var sw = getRealWidth('#'+id); $('#'+id).css('left', $(next_to).offset().left + $(next_to).width() + 'px'); $('#'+id).css('top', $(next_to).offset().top + 'px'); if (sw > $('#'+id).width()) $('#'+id).css('width', sw + 'px'); } /* Find element by classname */ function getElementsByClassName(clsName) { var elem, cls; var arr = []; var elems = document.getElementsByTagName("*"); for (var i = 0; (elem = elems[i]); i++) { if (elem.className == clsName) arr[arr.length] = elem; } return arr; } function getProperDimensions(old_x, old_y, new_x, new_y, crop) { if (old_x <= 0 || old_y <= 0 || (new_x <= 0 && new_y <= 0) || (crop && old_x <= new_x && old_y <= new_y)) return [old_x, old_y]; var k = 1; if (new_x <= 0) { k = (crop && old_y <= new_y) ? 1 : new_y / old_y; } else if (new_y <= 0) { k = (crop && old_x <= new_x) ? 1 : new_x / old_x; } else { var _kx = new_x / old_x; var _ky = new_y / old_y; k = crop ? Math.min(_kx, _ky, 1) : Math.min(_kx, _ky); } return [round(k * old_x), round(k * old_y)]; } /* Opener/Closer HTML block */ function visibleBox(id,skipOpenClose) { elm1 = document.getElementById("open" + id); elm2 = document.getElementById("close" + id); elm3 = document.getElementById("box" + id); if(!elm3) return false; if (skipOpenClose) { elm3.style.display = (elm3.style.display == "") ? "none" : ""; } else if(elm1) { if (elm1.style.display == "") { elm1.style.display = "none"; if (elm2) elm2.style.display = ""; elm3.style.display = "none"; var class_objs = getElementsByClassName('DialogBox'); for (var i = 0; i < class_objs.length; i++) { class_objs[i].style.height = "1%"; } } else { elm1.style.display = ""; if (elm2) elm2.style.display = "none"; elm3.style.display = ""; } } return true; } function switchVisibleBox(id) { var box = document.getElementById(id); var plus = document.getElementById(id + '_plus'); var minus = document.getElementById(id + '_minus'); if (!box || !plus || !minus) return false; if (box.style.display == 'none') { box.style.display = ''; plus.style.display = 'none'; minus.style.display = ''; } else { box.style.display = 'none'; minus.style.display = 'none'; plus.style.display = ''; } return true; } /* URL encode */ function urlEncode(url) { return url.replace(/\s/g, "+").replace(/&/, "&").replace(/"/, """) } /* Math.round() wrapper */ function round(n, p) { if (isNaN(n)) n = parseFloat(n); if (!p || isNaN(p)) return Math.round(n); p = Math.pow(10, p); return Math.round(n*p)/p; } /* Price format */ function price_format(price, thousand_delim, decimal_delim, precision, currency) { thousand_delim = (arguments.length > 1 && thousand_delim !== false) ? thousand_delim : number_format_th; decimal_delim = (arguments.length > 2 && decimal_delim !== false) ? decimal_delim : number_format_dec; precision = (arguments.length > 3 && precision !== false) ? precision : number_format_point; currency = (arguments.length > 4 && currency !== false) ? currency_format : "x"; if (precision > 0) { precision = Math.pow(10, precision); price = Math.round(price*precision)/precision; var top = Math.floor(price); var bottom = Math.round((price-top)*precision)+precision; } else { var top = Math.round(price); var bottom = 0; } top = top+""; bottom = bottom+""; var cnt = 0; for (var x = top.length; x >= 0; x--) { if (cnt % 3 == 0 && cnt > 0 && x > 0) top = top.substr(0, x)+thousand_delim+top.substr(x, top.length); cnt++; } return currency.replace("x", (bottom > 0) ? (top + decimal_delim + bottom.substr(1, bottom.length)) : top); } /* Substitute */ function substitute(lbl) { var rg; for (var x = 1; x < arguments.length; x+=2) { if (arguments[x] && arguments[x+1]) { lbl = lbl .replace(new RegExp("\\{\\{" + arguments[x] + "\\}\\}", "gi"), arguments[x+1]) .replace(new RegExp('~~' + arguments[x] + '~~', "gi"), arguments[x+1]); } } return lbl; } function getWindowOutWidth(w) { if (!w) w = window; return localBFamily == "MSIE" ? w.document.body.clientWidth : w.outerWidth; } function getWindowOutHeight(w) { if (!w) w = window; return localBFamily == "MSIE" ? w.document.body.clientHeight : w.outerHeight; } function getWindowWidth(w) { if (!w) w = window; return localBFamily == "MSIE" ? w.document.body.clientWidth : w.innerWidth; } function getWindowHeight(w) { if (!w) w = window; return localBFamily == "MSIE" ? w.document.body.clientHeight : w.innerHeight; } function getDocumentHeight(w){ if (!w) w = window; return Math.max(w.document.documentElement.scrollHeight, w.document.body.scrollHeight); } function getDocumentWidth(w) { if (!w) w = window; return Math.max(w.document.documentElement.scrollWidth, w.document.body.scrollWidth); } function expandWindowX(w, step, limit) { if (!w) w = window; if (!step) step = 10; var go = true; var i = 200; while (go && i--) { if (limit && getWindowOutWidth() + step > limit) break; try { w.scrollTo(step, 0); go = (w.document.documentElement && w.document.documentElement.scrollLeft > 0) || (w.document.body && w.document.body.scrollLeft > 0); if (go) w.resizeBy(step, 0); } catch (e) { return false; } } return true; } function expandWindowY(w, step, limit) { if (!w) w = window; if (!step) step = 10; var go = true; var i = 200; while (go && i--) { if (limit && getWindowOutHeight() + step > limit) break; try { w.scrollTo(0, step); go = (w.document.documentElement && w.document.documentElement.scrollTop > 0) || (w.document.body && w.document.body.scrollTop > 0); if (go) w.resizeBy(0, step); } catch(e) { return false; } } return true; } /* Check list of checkboxes */ function checkMarks(form, reg, lbl) { var is_exist = false; if (!form || form.elements.length == 0) return true; for (var x = 0; x < form.elements.length; x++) { if (form.elements[x].name.search(reg) == 0 && form.elements[x].type == 'checkbox' && !form.elements[x].disabled) { is_exist = true; if (form.elements[x].checked) return true; } } if (!is_exist) return true; if (lbl) { alert(lbl); } else if (lbl_no_items_have_been_selected) { alert(lbl_no_items_have_been_selected); } return false; } /* Submit form with specified value of 'mode' parmaeters */ function submitForm(formObj, formMode, e) { if (!e && typeof(window.event) != 'undefined') e = event; if (e) { if (e.stopPropagation) e.stopPropagation(); else e.cancelBubble = true; } if (!formObj) return false; if (formObj.tagName != "FORM") { if (!formObj.form) return false; formObj = formObj.form; } if (typeof(window.$) != 'undefined') { var r = $(formObj).triggerHandler('submit'); if (r === false) return false; } if (formObj.mode) formObj.mode.value = formMode; return formObj.submit(); } /* Convert number from current format (according to 'Input and display format for floating comma numbers' option) to float number */ function convert_number(num) { var regDec = new RegExp(reg_quote(number_format_dec), "gi"); var regTh = new RegExp(reg_quote(number_format_th), "gi"); var pow = Math.pow(10, parseInt(number_format_point)); num = parseFloat(num.replace(" ", "").replace(regTh, "").replace(regDec, ".")); return Math.round(num * pow) / pow; } /* Check string as number (according to 'Input and display format for floating comma numbers' option) */ function check_is_number(num) { var regDec = new RegExp(reg_quote(number_format_dec), "gi"); var regTh = new RegExp(reg_quote(number_format_th), "gi"); num = num.replace(" ", "").replace(regTh, "").replace(regDec, "."); return (num.search(/^[+-]?[0-9]+(\.[0-9]+)?$/) != -1); } /* Qutation for RegExp class */ function reg_quote(s) { return s.replace(/\./g, "\\.").replace(/\//g, "\\/").replace(/\*/g, "\\*").replace(/\+/g, "\\+").replace(/\[/g, "\\[").replace(/\]/g, "\\]"); } function setCookie(name, value, path, expires) { if (typeof(expires) == 'object') { try { var days = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; if (days[expires.getDay()] && months[expires.getMonth()]) expires = days[expires.getDay()]+" "+expires.getDate()+"-"+months[expires.getMonth()]+"-"+expires.getFullYear()+" "+expires.getHours()+":"+expires.getMinutes()+":"+expires.getSeconds()+" GMT"; } catch(e) { } } if (typeof(expires) != 'string') expires = false; document.cookie = name+"="+escape(value)+(expires ? "; expires=" + expires : "")+(path ? "; path="+path : ""); } function getCookie(name) { if (document.cookie.length > 0) { start = document.cookie.indexOf(name + "="); if (start != -1) { start = start + name.length + 1; end = document.cookie.indexOf(";", start); if (end == -1) end = document.cookie.length; return unescape(document.cookie.substring(start,end)); } } return false; } function deleteCookie(name) { document.cookie = name+"=0; expires=Fri, 31 Dec 1999 23:59:59 GMT;"; } /* Clone object */ function cloneObject(orig) { var r = {}; for (var i in orig) { if (hasOwnProperty(orig, i)) r[i] = orig[i]; } return r; } /* Get first checkbox and redirect to URL */ function getFirstCB(form, reg) { while (form.tagName && form.tagName.toUpperCase() != 'FORM') form = form.parentNode; if (!form.tagName || form.tagName.toUpperCase() != 'FORM' || form.elements.length == 0) return false; var selectedChk = false; for (var x = 0; x < form.elements.length && !selectedChk; x++) { if (form.elements[x].name.search(reg) == 0 && form.elements[x].type == 'checkbox' && !form.elements[x].disabled && form.elements[x].checked) selectedChk = form.elements[x]; } if (!selectedChk) { if (lbl_no_items_have_been_selected) alert(lbl_no_items_have_been_selected); return false; } return selectedChk; } /* getElementById() wrapper */ function _getById(id) { if (typeof(id) != 'string' || !id) return false; var obj = document.getElementById(id); if (obj && obj.id != id) { obj = false; for (var i = 0; i < document.all.length && obj === false; i++) { if (document.all[i].id == id) obj = document.all[i]; } } return obj; } // undefined or not function isset(obj) { return typeof(obj) != 'undefined' && obj !== null; } // Check - variable is function or not function isFunction(f) { return (typeof(f) == 'function' || (typeof(f) == 'object' && (f+"").search(/\s*function /) === 0)); } // Get text length without \r function getPureLength(text) { return (text && text.replace) ? text.replace(new RegExp("\r", "g"), '').length : -1; } // Ge text area selection limits function getTASelection(t) { if (document.selection) { t.focus(); var sel1 = document.selection.createRange(); var sel2 = sel1.duplicate(); sel2.moveToElementText(t); var selText = sel1.text; var c = String.fromCharCode(1); sel1.text = c; var index = sel2.text.indexOf(c); t.selectionStart = getPureLength((index == -1) ? sel2.text : sel2.text.substring(0, index)); t.selectionEnd = getPureLength(selText) + t.selectionStart; sel1.moveStart('character', -1); sel1.text = selText; } return [t.selectionStart, t.selectionEnd]; } // Insert string to text area to current position function insert2TA(t, str) { if (!t) return false; var pos = getTASelection(t); var p; if (!isNaN(pos[0])) { t.value = t.value.substr(0, pos[0]) + str + t.value.substr(pos[0]); p = pos[0]; } else { p = getPureLength(t.value); t.value += str; } setTACursorPos(t, p); return p; } // Set cursor pointer to specified postion for text area function setTACursorPos(t, begin, end) { if (!t || !t.tagName || t.tagName.toUpperCase() != 'TEXTAREA') return false; if (isNaN(begin)) { begin = 0; } else if (getPureLength(t.value) < begin) { begin = getPureLength(t.value); end = begin; } if (isNaN(end)) end = begin; if (document.selection) { var sel = t.createTextRange(); sel.collapse(true); sel.moveStart('character', begin); sel.moveEnd('character', end - begin); sel.select(); } else if (!isNaN(t.selectionStart)) { t.selectionStart = begin; t.selectionEnd = end; } if (t.focus) t.focus(); return true; } // jQuery-based tooltip function viewTooltip(obj, txt) { if (obj.hasTooltip) return true; obj.hasTooltip = true; $(obj).tooltip( { delay: 300, bodyHandler: function() { return txt; } } ); return true; } // View help layer function viewHelp(box, a, ttl, boxWidth) { if (!box) return false; if (box.constructor == String) box = document.getElementById(box); if (!box || !a) return false; if (!a.helpBox) { // initialization a.helpBox = box; box.helpLink = a; box.onmouseout = viewHelpOut; a.onmouseout = viewHelpOut; box.onmouseover = viewHelpOver; box.helpBoxVisible = false; box.helpBoxHideTO = false; box.helpBoxHideTTL = ttl ? ttl : 1000; if (boxWidth) box.style.width = boxWidth + 'px'; } box.style.top = (posGetTop(a) + posGetHeight(a) + 2) + 'px'; var w = $(box).width(); var l = posGetLeft(a); if (l + w > $(window).width()) l = l - w + $(a).width(); box.style.left = l + 'px'; viewHelpOver.call(box); viewHelpVisible(box, true); var sw = getRealWidth(box); if (sw > $(box).width()) { var sw = Math.min(sw, $(window).width() - 40); $(box).width(sw); var al = $(a).offset().left; var aw = $(a).width(); var bl = $(box).offset().left; if (bl + sw > $(window).width()) { box.style.left = (l - sw + aw) + 'px'; bl = $(box).offset().left; } if (bl < 0) { box.style.left = (10) + 'px' bl = $(box).offset().left; } } if (a.blur) a.blur(); return true; } function viewHelpGetObjects(obj) { if (!obj.tagName || (obj.tagName.toUpperCase() !== 'DIV' && obj.tagName.toUpperCase() !== 'A' || $(obj).hasClass('help-link'))) return false; if (obj.helpBox) { var a = obj; var box = obj.helpBox; } else { var a = obj.helpLink; var box = obj; } if (!a || !box || !a.helpBox || !box.helpLink) return false; return {a: a, box: box}; } function viewHelpVisible(box, visible) { box.style.display = visible ? 'block' : 'none'; box.helpBoxVisible = visible; return true; } function viewHelpStartHide(box) { box.helpBoxHideTO = setTimeout( function() { viewHelpVisible(box, false); }, box.helpBoxHideTTL ); return true; } function viewHelpOut() { var obj = viewHelpGetObjects(this); if (!obj) return false; return obj.box.helpBoxVisible && viewHelpStartHide(obj.box); } function viewHelpOver() { var obj = viewHelpGetObjects(this); if (!obj) return false; if (obj.box.helpBoxVisible && obj.box.helpBoxHideTO) clearTimeout(obj.box.helpBoxHideTO); return true; } /* Position functions */ function posGetPageOffset(o){ var l = 0; var t = 0; do { l += o.offsetLeft; t += o.offsetTop; } while ((o = o.offsetParent)); return {left: l, top: t}; } function posGetLeft(o) { return posGetPageOffset(o).left; } function posGetTop(o) { return posGetPageOffset(o).top; } function posGetWidth (o) { return o.offsetWidth; } function posGetHeight (o) { return o.offsetHeight; } /* Button function */ function buttonOver(obj) { var spans = obj.getElementsByTagName('SPAN'); if (spans.length > 0) spans[0].className = 'underline'; } function buttonOut(obj) { var spans = obj.getElementsByTagName('SPAN'); if (spans.length > 0) spans[0].className = 'normal'; } function getMethod(method, obj) { var args = []; for (var i = 2; i < arguments.length; i++) args[args.length] = arguments[i]; if (!obj) obj = window; return function() { if (!isFunction(method)) method = obj[method]; return method.apply ? method.apply(obj, args) : method(); } } function lockForm(form) { if (form.locked) return false; form.locked = true; setTimeout( function() { form.locked = false; }, 1000 ); return true; } function getPopupControl(elm) { var e = elm; while (e && e.tagName && !e._popupControl) e = e.parentNode; return (e && e._popupControl) ? e._popupControl : false; } function parse_url(url) { if (!url || url.constructor != String) return false; var m = url.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/); if (!m) return false; var res = { scheme: m[2], host: m[4], path: m[5], query: m[7], fragment: m[9] }; if (res.host) { m = res.host.match(/^(?:([^:]+):)?([^@]+)@(.+)$/); if (m) { res.host = m[3]; res.user = m[1] ? m[1] : m[2]; res.password = m[1] ? m[2] : false; } } return res; } var xxx = 0; function pngFix(elm) { if (!elm || !elm.tagName || !$.browser.msie || parseFloat($.browser.version) >= 7 || elm.tagName.toUpperCase() != 'IMG') return false; var src = elm.src.replace(/\(/g, '%28').replace(/\)/g, '%29'); elm.src = images_dir + '/spacer.gif'; elm.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + src.replace(/"/, '\"') + '",sizingMethod="scale")'; return true; } function getImgSrc(elm) { if (!elm || !elm.tagName || elm.tagName.toUpperCase() != 'IMG' || !elm.src) return false; if ($.browser.msie && elm.src.search(/\/spacer\.gif$/) != -1 && elm.filters['DXImageTransform.Microsoft.AlphaImageLoader']) return elm.filters['DXImageTransform.Microsoft.AlphaImageLoader'].src; return elm.src; } function isPngFix(elm) { return $.browser.msie && elm && elm.tagName && elm.tagName.toUpperCase() == 'IMG' && elm.src && elm.src.search(/\/spacer\.gif$/) != -1 && elm.filters['DXImageTransform.Microsoft.AlphaImageLoader']; } function extend(c, p) { var f = function() { } f.prototype = p.prototype; c.prototype = new f(); c.prototype.constructor = c; c.superclass = p.prototype; } function hasOwnProperty(obj, prop) { if (typeof(obj) != 'undefined' && Object.prototype.hasOwnProperty) return obj.hasOwnProperty(prop); return typeof(obj[prop]) != 'undefined' && obj.constructor.prototype[prop] !== obj[prop]; } var hint_timer = new Array(); function hint_mouseout (num, id_box) { $('#' + id_box).css('z-index', 1); hint_timer[num] = setTimeout( function() { $('#' + id_box).hide(); }, 50); } function hint_mouseover (num, id_box) { if (hint_timer[num]) clearTimeout(hint_timer[num]); $('#' + id_box).css('z-index', 999).show(); } function resetDefault(o) { if (!o.isReseted) { o.value = ''; $(o).removeClass('default-value'); o.isReseted = true; } return true; } function skipDefaultValue(form) { $('input.default-value', form).each(function() { this.value= ''; }) return true; } function initResetDefault() { $('input.default-value') .bind( 'focus', function() { if (!this.isReseted) { this.defaultValue = this.value; this.value = ''; $(this).removeClass('default-value'); this.isReseted = true; } return true; } ) .bind( 'change', function() { this.isContentIsChanged = true; return true; } ) .bind( 'blur', function() { if (this.isReseted && !this.isContentIsChanged && this.defaultValue) { this.value = this.defaultValue; $(this).addClass('default-value'); this.isReseted = false; } return true; } ) .each( function() { if (!this.form.isSetReset) { $(this.form).bind( 'submit', function() { $('input.default-value', this).each( function() { this.value = ''; } ); return true; } ); this.form.isSetReset = true; } } ); } if (window.addEventListener) window.addEventListener('load', initResetDefault, false); else if (window.attachEvent) window.attachEvent('onload', initResetDefault); var popup_html_editor_text; /* Debug window (require jQuery) Usage: debug().html('example'); debug().html('example', 10); debug().add('second string') debug().clean(); debug().hide(); debug().show(); debug().row(0).html('example'); debug().row(0).add('second part'); debug().row(0).remove(); debug().opacity(0.1); */ var debug = function() { var debug_panel = false; return function () { if (typeof(window.$) == 'undefined') return false; if (!debug_panel) { debug_panel = $(document.createElement('DIV')). css({ position: 'absolute', border: '1px solid black', backgroundColor: 'white', display: 'none', top: '0px', left: '0px', width: '200px', height: '200px', overflow: 'auto', padding: '5px', margin: '0px' }) .get(0); document.body.appendChild(debug_panel); debug_panel.defaultOpacity = 0.9; debug_panel.ttl = 0; debug_panel._extend_create = false; debug_panel._ttlTO = false; debug_panel._rowsLength = 0; /* Replace window content */ debug_panel.html = function(str, ttl) { this._getBox().innerHTML = str; this.show(); this.startTTL(arguments.length > 1 ? ttl : this.ttl); } /* Add new string */ debug_panel.add = function(str, ttl) { this._getBox().innerHTML += str + "
\n"; this.show(); this.startTTL(arguments.length > 1 ? ttl : this.ttl); } /* Get row (old or new) */ debug_panel.row = function(i) { var row = $('div:eq(' + i + ')', this._getBox()).get(0); if (!row) { for (var x = this._rowsLength; x < i + 1; x++) { row = this._getBox().appendChild(document.createElement('DIV')); row.remove = this._removeRow; row.html = this._htmlRow; row.add = this._addRow; row.box = this; } this._rowsLength = i + 1; } return row; } /* Remove row */ debug_panel._removeRow = function() { if (this.parentNode) { this.box._rowsLength--; this.parentNode.removeChild(this); } } /* Replace row content */ debug_panel._htmlRow = function(str, ttl) { this.innerHTML = str; this.box.show(); this.box.startTTL(arguments.length > 1 ? ttl : this.parentNode.ttl); } /* Add content ot row */ debug_panel._addRow = function(str, ttl) { this.innerHTML += str; this.box.show(); this.box.startTTL(arguments.length > 1 ? ttl : this.parentNode.ttl); } /* Clean window content */ debug_panel.clean = function() { this._rowsLength = 0; this._getBox().innerHTML = ''; } /* Hide window */ debug_panel.hide = function() { this.style.display = 'none'; } /* Show window */ debug_panel.show = function() { this.style.display = ''; } /* Set window opacity */ debug_panel.opacity = function(level) { level = parseFloat(level); if (isNaN(level) || level < 0 || level > 1) return false; level = Math.round(level * 100) / 100; if ($.browser.msie) { this.style.filter = 'progid:DXImageTransform.Microsoft.Alpha(opacity = ' + (level * 100) + ')'; } else { this.style.opacity = level; } return true; } /* Start window auto-hide timer */ debug_panel.startTTL = function(ttl) { if (this._ttlTO) clearTimeout(this._ttlTO); if (ttl <= 0) return false; var o = this; this._ttlTO = setTimeout(function() { o.hide(); }, ttl * 1000); return true; } /* Extend debug panel */ debug_panel.extend = function() { if (this._extend_create) return true; var scripts = document.getElementsByTagName('SCRIPT'); var m; var path = false; for (var i = 0; i < scripts.length && !path; i++) { if (scripts[i].src && (m = scripts[i].src.match(/^(.+\/)common.js/))) path = m[1]; } if (!path) return false; var s = document.createElement('SCRIPT'); s.src = path + 'debug.js'; document.body.appendChild(s); this._extend_create = true; return true; } /* Check - debug extended or not */ debug_panel.is_extended = function() { return this._extend_create && typeof(window._debug_is_extended) != 'undefined' && _debug_is_extended; } debug_panel._getBox = function() { return this; } if (debug_panel.defaultOpacity > 0 && debug_panel.defaultOpacity <= 1) { debug_panel.opacity(debug_panel.defaultOpacity); } } /* Extend debug panel methods */ if (typeof(window.debug_panel_ext_methods) != 'undefined' && debug_panel_ext_methods) { for (var i = 0; i < debug_panel_ext_methods.length; i++) { debug_panel[debug_panel_ext_methods[i]] = debug_panel_ext[debug_panel_ext_methods[i]]; } if (typeof(debug_panel_ext.init) != 'undefined') debug_panel_ext.init.call(debug_panel); debug_panel_ext_methods = false; debug_panel_ext = false; } return debug_panel; } }(); /* Changing button width on the fly (IE bugs) */ function change_width_iefix() { $("td div button").each(function() { $(this).width("auto").width($(this).width()); }); } /* Popup wrapper */ function popup(url, width, height) { window.open( url, 'popup', 'width=' + width + ',height=' + height + ',toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no' ); } _application/javascript_,http://www.wildco.com/skin1/jquery-safari.jsOLbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse! )/078?KWZNS.objectsWNS.keys@ABCDEFGHIJLMNOPQRSTUV VServerTVary]Last-Modified]Accept-Ranges_Content-EncodingTDate^Content-LengthZKeep-AliveZConnectionTEtag\Content-Type_Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.3.6_Accept-Encoding,User-Agent_Fri, 16 Jul 2010 09:13:45 GMTUbytesTgzip_Thu, 25 Aug 2011 18:00:44 GMTU35420_timeout=15, max=100_"1880a95-1d886-a2c78440"12mnno6_NSMutableDictionary\NSDictionary12qrr6_NSHTTPURLResponseInternal12tuuv6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;jox  !#*/=K^cr}$Aagl0w>O؆/*! * jQuery JavaScript Library v1.3.2 * http://jquery.com/ * * 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) * Revision: 6246 */ (function(){ var // Will speed up references to window, and allows munging its name. window = this, // Will speed up references to undefined, and allows munging its name. undefined, // Map over jQuery in case of overwrite _jQuery = window.jQuery, // Map over the $ in case of overwrite _$ = window.$, jQuery = window.jQuery = window.$ = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context ); }, // A simple way to check for HTML strings or ID strings // (both of which we optimize for) quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/, // Is it a simple selector isSimple = /^.[^:#\[\.,]*$/; jQuery.fn = jQuery.prototype = { init: function( selector, context ) { // Make sure that a selection was provided selector = selector || document; // Handle $(DOMElement) if ( selector.nodeType ) { this[0] = selector; this.length = 1; this.context = selector; return this; } // Handle HTML strings if ( typeof selector === "string" ) { // Are we dealing with HTML string or an ID? var match = quickExpr.exec( selector ); // Verify a match, and that no context was specified for #id if ( match && (match[1] || !context) ) { // HANDLE: $(html) -> $(array) if ( match[1] ) selector = jQuery.clean( [ match[1] ], context ); // HANDLE: $("#id") else { var elem = document.getElementById( match[3] ); // Handle the case where IE and Opera return items // by name instead of ID if ( elem && elem.id != match[3] ) return jQuery().find( selector ); // Otherwise, we inject the element directly into the jQuery object var ret = jQuery( elem || [] ); ret.context = document; ret.selector = selector; return ret; } // HANDLE: $(expr, [context]) // (which is just equivalent to: $(content).find(expr) } else return jQuery( context ).find( selector ); // HANDLE: $(function) // Shortcut for document ready } else if ( jQuery.isFunction( selector ) ) return jQuery( document ).ready( selector ); // Make sure that old selector state is passed along if ( selector.selector && selector.context ) { this.selector = selector.selector; this.context = selector.context; } return this.setArray(jQuery.isArray( selector ) ? selector : jQuery.makeArray(selector)); }, // Start with an empty selector selector: "", // The current version of jQuery being used jquery: "1.3.2", // The number of elements contained in the matched element set size: function() { return this.length; }, // Get the Nth element in the matched element set OR // Get the whole matched element set as a clean array get: function( num ) { return num === undefined ? // Return a 'clean' array Array.prototype.slice.call( this ) : // Return just the object this[ num ]; }, // Take an array of elements and push it onto the stack // (returning the new matched element set) pushStack: function( elems, name, selector ) { // Build a new jQuery matched element set var ret = jQuery( elems ); // Add the old object onto the stack (as a reference) ret.prevObject = this; ret.context = this.context; if ( name === "find" ) ret.selector = this.selector + (this.selector ? " " : "") + selector; else if ( name ) ret.selector = this.selector + "." + name + "(" + selector + ")"; // Return the newly-formed element set return ret; }, // Force the current matched set of elements to become // the specified array of elements (destroying the stack in the process) // You should use pushStack() in order to do this, but maintain the stack setArray: function( elems ) { // Resetting the length to 0, then using the native Array push // is a super-fast way to populate an object with array-like properties this.length = 0; Array.prototype.push.apply( this, elems ); return this; }, // Execute a callback for every element in the matched set. // (You can seed the arguments with an array of args, but this is // only used internally.) each: function( callback, args ) { return jQuery.each( this, callback, args ); }, // Determine the position of an element within // the matched set of elements index: function( elem ) { // Locate the position of the desired element return jQuery.inArray( // If it receives a jQuery object, the first element is used elem && elem.jquery ? elem[0] : elem , this ); }, attr: function( name, value, type ) { var options = name; // Look for the case where we're accessing a style value if ( typeof name === "string" ) if ( value === undefined ) return this[0] && jQuery[ type || "attr" ]( this[0], name ); else { options = {}; options[ name ] = value; } // Check to see if we're setting style values return this.each(function(i){ // Set all the styles for ( name in options ) jQuery.attr( type ? this.style : this, name, jQuery.prop( this, options[ name ], type, i, name ) ); }); }, css: function( key, value ) { // ignore negative width and height values if ( (key == 'width' || key == 'height') && parseFloat(value) < 0 ) value = undefined; return this.attr( key, value, "curCSS" ); }, text: function( text ) { if ( typeof text !== "object" && text != null ) return this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) ); var ret = ""; jQuery.each( text || this, function(){ jQuery.each( this.childNodes, function(){ if ( this.nodeType != 8 ) ret += this.nodeType != 1 ? this.nodeValue : jQuery.fn.text( [ this ] ); }); }); return ret; }, wrapAll: function( html ) { if ( this[0] ) { // The elements to wrap the target around var wrap = jQuery( html, this[0].ownerDocument ).clone(); if ( this[0].parentNode ) wrap.insertBefore( this[0] ); wrap.map(function(){ var elem = this; while ( elem.firstChild ) elem = elem.firstChild; return elem; }).append(this); } return this; }, wrapInner: function( html ) { return this.each(function(){ jQuery( this ).contents().wrapAll( html ); }); }, wrap: function( html ) { return this.each(function(){ jQuery( this ).wrapAll( html ); }); }, append: function() { return this.domManip(arguments, true, function(elem){ if (this.nodeType == 1) this.appendChild( elem ); }); }, prepend: function() { return this.domManip(arguments, true, function(elem){ if (this.nodeType == 1) this.insertBefore( elem, this.firstChild ); }); }, before: function() { return this.domManip(arguments, false, function(elem){ this.parentNode.insertBefore( elem, this ); }); }, after: function() { return this.domManip(arguments, false, function(elem){ this.parentNode.insertBefore( elem, this.nextSibling ); }); }, end: function() { return this.prevObject || jQuery( [] ); }, // For internal use only. // Behaves like an Array's method, not like a jQuery method. push: [].push, sort: [].sort, splice: [].splice, find: function( selector ) { if ( this.length === 1 ) { var ret = this.pushStack( [], "find", selector ); ret.length = 0; jQuery.find( selector, this[0], ret ); return ret; } else { return this.pushStack( jQuery.unique(jQuery.map(this, function(elem){ return jQuery.find( selector, elem ); })), "find", selector ); } }, clone: function( events ) { // Do the clone var ret = this.map(function(){ if ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) { // IE copies events bound via attachEvent when // using cloneNode. Calling detachEvent on the // clone will also remove the events from the orignal // In order to get around this, we use innerHTML. // Unfortunately, this means some modifications to // attributes in IE that are actually only stored // as properties will not be copied (such as the // the name attribute on an input). var html = this.outerHTML; if ( !html ) { var div = this.ownerDocument.createElement("div"); div.appendChild( this.cloneNode(true) ); html = div.innerHTML; } return jQuery.clean([html.replace(/ jQuery\d+="(?:\d+|null)"/g, "").replace(/^\s*/, "")])[0]; } else return this.cloneNode(true); }); // Copy the events from the original to the clone if ( events === true ) { var orig = this.find("*").andSelf(), i = 0; ret.find("*").andSelf().each(function(){ if ( this.nodeName !== orig[i].nodeName ) return; var events = jQuery.data( orig[i], "events" ); for ( var type in events ) { for ( var handler in events[ type ] ) { jQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data ); } } i++; }); } // Return the cloned set return ret; }, filter: function( selector ) { return this.pushStack( jQuery.isFunction( selector ) && jQuery.grep(this, function(elem, i){ return selector.call( elem, i ); }) || jQuery.multiFilter( selector, jQuery.grep(this, function(elem){ return elem.nodeType === 1; }) ), "filter", selector ); }, closest: function( selector ) { var pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null, closer = 0; return this.map(function(){ var cur = this; while ( cur && cur.ownerDocument ) { if ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) { jQuery.data(cur, "closest", closer); return cur; } cur = cur.parentNode; closer++; } }); }, not: function( selector ) { if ( typeof selector === "string" ) // test special case where just one selector is passed in if ( isSimple.test( selector ) ) return this.pushStack( jQuery.multiFilter( selector, this, true ), "not", selector ); else selector = jQuery.multiFilter( selector, this ); var isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType; return this.filter(function() { return isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector; }); }, add: function( selector ) { return this.pushStack( jQuery.unique( jQuery.merge( this.get(), typeof selector === "string" ? jQuery( selector ) : jQuery.makeArray( selector ) ))); }, is: function( selector ) { return !!selector && jQuery.multiFilter( selector, this ).length > 0; }, hasClass: function( selector ) { return !!selector && this.is( "." + selector ); }, val: function( value ) { if ( value === undefined ) { var elem = this[0]; if ( elem ) { if( jQuery.nodeName( elem, 'option' ) ) return (elem.attributes.value || {}).specified ? elem.value : elem.text; // We need to handle select boxes special if ( jQuery.nodeName( elem, "select" ) ) { var index = elem.selectedIndex, values = [], options = elem.options, one = elem.type == "select-one"; // Nothing was selected if ( index < 0 ) return null; // Loop through all the selected options for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) { var option = options[ i ]; if ( option.selected ) { // Get the specifc value for the option value = jQuery(option).val(); // We don't need an array for one selects if ( one ) return value; // Multi-Selects return an array values.push( value ); } } return values; } // Everything else, we just grab the value return (elem.value || "").replace(/\r/g, ""); } return undefined; } if ( typeof value === "number" ) value += ''; return this.each(function(){ if ( this.nodeType != 1 ) return; if ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) ) this.checked = (jQuery.inArray(this.value, value) >= 0 || jQuery.inArray(this.name, value) >= 0); else if ( jQuery.nodeName( this, "select" ) ) { var values = jQuery.makeArray(value); jQuery( "option", this ).each(function(){ this.selected = (jQuery.inArray( this.value, values ) >= 0 || jQuery.inArray( this.text, values ) >= 0); }); if ( !values.length ) this.selectedIndex = -1; } else this.value = value; }); }, html: function( value ) { return value === undefined ? (this[0] ? this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g, "") : null) : this.empty().append( value ); }, replaceWith: function( value ) { return this.after( value ).remove(); }, eq: function( i ) { return this.slice( i, +i + 1 ); }, slice: function() { return this.pushStack( Array.prototype.slice.apply( this, arguments ), "slice", Array.prototype.slice.call(arguments).join(",") ); }, map: function( callback ) { return this.pushStack( jQuery.map(this, function(elem, i){ return callback.call( elem, i, elem ); })); }, andSelf: function() { return this.add( this.prevObject ); }, domManip: function( args, table, callback ) { if ( this[0] ) { var fragment = (this[0].ownerDocument || this[0]).createDocumentFragment(), scripts = jQuery.clean( args, (this[0].ownerDocument || this[0]), fragment ), first = fragment.firstChild; if ( first ) for ( var i = 0, l = this.length; i < l; i++ ) callback.call( root(this[i], first), this.length > 1 || i > 0 ? fragment.cloneNode(true) : fragment ); if ( scripts ) jQuery.each( scripts, evalScript ); } return this; function root( elem, cur ) { return table && jQuery.nodeName(elem, "table") && jQuery.nodeName(cur, "tr") ? (elem.getElementsByTagName("tbody")[0] || elem.appendChild(elem.ownerDocument.createElement("tbody"))) : elem; } } }; // Give the init function the jQuery prototype for later instantiation jQuery.fn.init.prototype = jQuery.fn; function evalScript( i, elem ) { if ( elem.src ) jQuery.ajax({ url: elem.src, async: false, dataType: "script" }); else jQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || "" ); if ( elem.parentNode ) elem.parentNode.removeChild( elem ); } function now(){ return +new Date; } jQuery.extend = jQuery.fn.extend = function() { // copy reference to target object var target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options; // Handle a deep copy situation if ( typeof target === "boolean" ) { deep = target; target = arguments[1] || {}; // skip the boolean and the target i = 2; } // Handle case when target is a string or something (possible in deep copy) if ( typeof target !== "object" && !jQuery.isFunction(target) ) target = {}; // extend jQuery itself if only one argument is passed if ( length == i ) { target = this; --i; } for ( ; i < length; i++ ) // Only deal with non-null/undefined values if ( (options = arguments[ i ]) != null ) // Extend the base object for ( var name in options ) { var src = target[ name ], copy = options[ name ]; // Prevent never-ending loop if ( target === copy ) continue; // Recurse if we're merging object values if ( deep && copy && typeof copy === "object" && !copy.nodeType ) target[ name ] = jQuery.extend( deep, // Never move original objects, clone them src || ( copy.length != null ? [ ] : { } ) , copy ); // Don't bring in undefined values else if ( copy !== undefined ) target[ name ] = copy; } // Return the modified object return target; }; // exclude the following css properties to add px var exclude = /z-?index|font-?weight|opacity|zoom|line-?height/i, // cache defaultView defaultView = document.defaultView || {}, toString = Object.prototype.toString; jQuery.extend({ noConflict: function( deep ) { window.$ = _$; if ( deep ) window.jQuery = _jQuery; return jQuery; }, // See test/unit/core.js for details concerning isFunction. // Since version 1.3, DOM methods and functions like alert // aren't supported. They return false on IE (#2968). isFunction: function( obj ) { return toString.call(obj) === "[object Function]"; }, isArray: function( obj ) { return toString.call(obj) === "[object Array]"; }, // check if an element is in a (or is an) XML document isXMLDoc: function( elem ) { return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" || !!elem.ownerDocument && jQuery.isXMLDoc( elem.ownerDocument ); }, // Evalulates a script in a global context globalEval: function( data ) { if ( data && /\S/.test(data) ) { // Inspired by code by Andrea Giammarchi // http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html var head = document.getElementsByTagName("head")[0] || document.documentElement, script = document.createElement("script"); script.type = "text/javascript"; if ( jQuery.support.scriptEval ) script.appendChild( document.createTextNode( data ) ); else script.text = data; // Use insertBefore instead of appendChild to circumvent an IE6 bug. // This arises when a base node is used (#2709). head.insertBefore( script, head.firstChild ); head.removeChild( script ); } }, nodeName: function( elem, name ) { return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase(); }, // args is for internal usage only each: function( object, callback, args ) { var name, i = 0, length = object.length; if ( args ) { if ( length === undefined ) { for ( name in object ) if ( callback.apply( object[ name ], args ) === false ) break; } else for ( ; i < length; ) if ( callback.apply( object[ i++ ], args ) === false ) break; // A special, fast, case for the most common use of each } else { if ( length === undefined ) { for ( name in object ) if ( callback.call( object[ name ], name, object[ name ] ) === false ) break; } else for ( var value = object[0]; i < length && callback.call( value, i, value ) !== false; value = object[++i] ){} } return object; }, prop: function( elem, value, type, i, name ) { // Handle executable functions if ( jQuery.isFunction( value ) ) value = value.call( elem, i ); // Handle passing in a number to a CSS property return typeof value === "number" && type == "curCSS" && !exclude.test( name ) ? value + "px" : value; }, className: { // internal only, use addClass("class") add: function( elem, classNames ) { jQuery.each((classNames || "").split(/\s+/), function(i, className){ if ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) ) elem.className += (elem.className ? " " : "") + className; }); }, // internal only, use removeClass("class") remove: function( elem, classNames ) { if (elem.nodeType == 1) elem.className = classNames !== undefined ? jQuery.grep(elem.className.split(/\s+/), function(className){ return !jQuery.className.has( classNames, className ); }).join(" ") : ""; }, // internal only, use hasClass("class") has: function( elem, className ) { return elem && jQuery.inArray( className, (elem.className || elem).toString().split(/\s+/) ) > -1; } }, // A method for quickly swapping in/out CSS properties to get correct calculations swap: function( elem, options, callback ) { var old = {}; // Remember the old values, and insert the new ones for ( var name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } callback.call( elem ); // Revert the old values for ( var name in options ) elem.style[ name ] = old[ name ]; }, css: function( elem, name, force, extra ) { if ( name == "width" || name == "height" ) { var val, props = { position: "absolute", visibility: "hidden", display:"block" }, which = name == "width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ]; function getWH() { val = name == "width" ? elem.offsetWidth : elem.offsetHeight; if ( extra === "border" ) return; jQuery.each( which, function() { if ( !extra ) val -= parseFloat(jQuery.curCSS( elem, "padding" + this, true)) || 0; if ( extra === "margin" ) val += parseFloat(jQuery.curCSS( elem, "margin" + this, true)) || 0; else val -= parseFloat(jQuery.curCSS( elem, "border" + this + "Width", true)) || 0; }); } if ( elem.offsetWidth !== 0 ) getWH(); else jQuery.swap( elem, props, getWH ); return Math.max(0, Math.round(val)); } return jQuery.curCSS( elem, name, force ); }, curCSS: function( elem, name, force ) { var ret, style = elem.style; // We need to handle opacity special in IE if ( name == "opacity" && !jQuery.support.opacity ) { ret = jQuery.attr( style, "opacity" ); return ret == "" ? "1" : ret; } // Make sure we're using the right name for getting the float value if ( name.match( /float/i ) ) name = styleFloat; if ( !force && style && style[ name ] ) ret = style[ name ]; else if ( defaultView.getComputedStyle ) { // Only "float" is needed here if ( name.match( /float/i ) ) name = "float"; name = name.replace( /([A-Z])/g, "-$1" ).toLowerCase(); var computedStyle = defaultView.getComputedStyle( elem, null ); if ( computedStyle ) ret = computedStyle.getPropertyValue( name ); // We should always get a number back from opacity if ( name == "opacity" && ret == "" ) ret = "1"; } else if ( elem.currentStyle ) { var camelCase = name.replace(/\-(\w)/g, function(all, letter){ return letter.toUpperCase(); }); ret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ]; // From the awesome hack by Dean Edwards // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 // If we're not dealing with a regular pixel number // but a number that has a weird ending, we need to convert it to pixels if ( !/^\d+(px)?$/i.test( ret ) && /^\d/.test( ret ) ) { // Remember the original values var left = style.left, rsLeft = elem.runtimeStyle.left; // Put in the new values to get a computed value out elem.runtimeStyle.left = elem.currentStyle.left; style.left = ret || 0; ret = style.pixelLeft + "px"; // Revert the changed values style.left = left; elem.runtimeStyle.left = rsLeft; } } return ret; }, clean: function( elems, context, fragment ) { context = context || document; // !context.createElement fails in IE with an error but returns typeof 'object' if ( typeof context.createElement === "undefined" ) context = context.ownerDocument || context[0] && context[0].ownerDocument || document; // If a single string is passed in and it's a single tag // just do a createElement and skip the rest if ( !fragment && elems.length === 1 && typeof elems[0] === "string" ) { var match = /^<(\w+)\s*\/?>$/.exec(elems[0]); if ( match ) return [ context.createElement( match[1] ) ]; } var ret = [], scripts = [], div = context.createElement("div"); jQuery.each(elems, function(i, elem){ if ( typeof elem === "number" ) elem += ''; if ( !elem ) return; // Convert html string into DOM nodes if ( typeof elem === "string" ) { // Fix "XHTML"-style tags in all browsers elem = elem.replace(/(<(\w+)[^>]*?)\/>/g, function(all, front, tag){ return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ? all : front + ">"; }); // Trim whitespace, otherwise indexOf won't work as expected var tags = elem.replace(/^\s+/, "").substring(0, 10).toLowerCase(); var wrap = // option or optgroup !tags.indexOf("", "" ] || !tags.indexOf("", "" ] || tags.match(/^<(thead|tbody|tfoot|colg|cap)/) && [ 1, "", "
" ] || !tags.indexOf("", "" ] || // matched above (!tags.indexOf("", "" ] || !tags.indexOf("", "" ] || // IE can't serialize and