1 (function(){ 2 var _1=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,_2=0,_3=Object.prototype.toString,_4=false,_5=true,_6=/\\/g,_7=/\W/; 3 [0,0].sort(function(){ 4 _5=false; 5 return 0; 6 }); 7 var _8=function(_9,_a,_b,_c){ 8 _b=_b||[]; 9 _a=_a||document; 10 var _d=_a; 11 if(_a.nodeType!==1&&_a.nodeType!==9){ 12 return []; 13 } 14 if(!_9||typeof _9!=="string"){ 15 return _b; 16 } 17 var m,_e,_f,_10,ret,cur,pop,i,_11=true,_12=_8.isXML(_a),_13=[],_14=_9; 18 do{ 19 _1.exec(""); 20 m=_1.exec(_14); 21 if(m){ 22 _14=m[3]; 23 _13.push(m[1]); 24 if(m[2]){ 25 _10=m[3]; 26 break; 27 } 28 } 29 }while(m); 30 if(_13.length>1&&_15.exec(_9)){ 31 if(_13.length===2&&_16.relative[_13[0]]){ 32 _e=_17(_13[0]+_13[1],_a); 33 }else{ 34 _e=_16.relative[_13[0]]?[_a]:_8(_13.shift(),_a); 35 while(_13.length){ 36 _9=_13.shift(); 37 if(_16.relative[_9]){ 38 _9+=_13.shift(); 39 } 40 _e=_17(_9,_e); 41 } 42 } 43 }else{ 44 if(!_c&&_13.length>1&&_a.nodeType===9&&!_12&&_16.match.ID.test(_13[0])&&!_16.match.ID.test(_13[_13.length-1])){ 45 ret=_8.find(_13.shift(),_a,_12); 46 _a=ret.expr?_8.filter(ret.expr,ret.set)[0]:ret.set[0]; 47 } 48 if(_a){ 49 ret=_c?{expr:_13.pop(),set:_18(_c)}:_8.find(_13.pop(),_13.length===1&&(_13[0]==="~"||_13[0]==="+")&&_a.parentNode?_a.parentNode:_a,_12); 50 _e=ret.expr?_8.filter(ret.expr,ret.set):ret.set; 51 if(_13.length>0){ 52 _f=_18(_e); 53 }else{ 54 _11=false; 55 } 56 while(_13.length){ 57 cur=_13.pop(); 58 pop=cur; 59 if(!_16.relative[cur]){ 60 cur=""; 61 }else{ 62 pop=_13.pop(); 63 } 64 if(pop==null){ 65 pop=_a; 66 } 67 _16.relative[cur](_f,pop,_12); 68 } 69 }else{ 70 _f=_13=[]; 71 } 72 } 73 if(!_f){ 74 _f=_e; 75 } 76 if(!_f){ 77 _8.error(cur||_9); 78 } 79 if(_3.call(_f)==="[object Array]"){ 80 if(!_11){ 81 _b.push.apply(_b,_f); 82 }else{ 83 if(_a&&_a.nodeType===1){ 84 for(i=0;_f[i]!=null;i++){ 85 if(_f[i]&&(_f[i]===true||_f[i].nodeType===1&&_8.contains(_a,_f[i]))){ 86 _b.push(_e[i]); 87 } 88 } 89 }else{ 90 for(i=0;_f[i]!=null;i++){ 91 if(_f[i]&&_f[i].nodeType===1){ 92 _b.push(_e[i]); 93 } 94 } 95 } 96 } 97 }else{ 98 _18(_f,_b); 99 } 100 if(_10){ 101 _8(_10,_d,_b,_c); 102 _8.uniqueSort(_b); 103 } 104 return _b; 105 }; 106 _8.uniqueSort=function(_19){ 107 if(_1a){ 108 _4=_5; 109 _19.sort(_1a); 110 if(_4){ 111 for(var i=1;i<_19.length;i++){ 112 if(_19[i]===_19[i-1]){ 113 _19.splice(i--,1); 114 } 115 } 116 } 117 } 118 return _19; 119 }; 120 _8.matches=function(_1b,set){ 121 return _8(_1b,null,null,set); 122 }; 123 _8.matchesSelector=function(_1c,_1d){ 124 return _8(_1d,null,null,[_1c]).length>0; 125 }; 126 _8.find=function(_1e,_1f,_20){ 127 var set; 128 if(!_1e){ 129 return []; 130 } 131 for(var i=0,l=_16.order.length;i<l;i++){ 132 var _21,_22=_16.order[i]; 133 if((_21=_16.leftMatch[_22].exec(_1e))){ 134 var _23=_21[1]; 135 _21.splice(1,1); 136 if(_23.substr(_23.length-1)!=="\\"){ 137 _21[1]=(_21[1]||"").replace(_6,""); 138 set=_16.find[_22](_21,_1f,_20); 139 if(set!=null){ 140 _1e=_1e.replace(_16.match[_22],""); 141 break; 142 } 143 } 144 } 145 } 146 if(!set){ 147 set=typeof _1f.getElementsByTagName!=="undefined"?_1f.getElementsByTagName("*"):[]; 148 } 149 return {set:set,expr:_1e}; 150 }; 151 _8.filter=function(_24,set,_25,not){ 152 var _26,_27,old=_24,_28=[],_29=set,_2a=set&&set[0]&&_8.isXML(set[0]); 153 while(_24&&set.length){ 154 for(var _2b in _16.filter){ 155 if((_26=_16.leftMatch[_2b].exec(_24))!=null&&_26[2]){ 156 var _2c,_2d,_2e=_16.filter[_2b],_2f=_26[1]; 157 _27=false; 158 _26.splice(1,1); 159 if(_2f.substr(_2f.length-1)==="\\"){ 160 continue; 161 } 162 if(_29===_28){ 163 _28=[]; 164 } 165 if(_16.preFilter[_2b]){ 166 _26=_16.preFilter[_2b](_26,_29,_25,_28,not,_2a); 167 if(!_26){ 168 _27=_2c=true; 169 }else{ 170 if(_26===true){ 171 continue; 172 } 173 } 174 } 175 if(_26){ 176 for(var i=0;(_2d=_29[i])!=null;i++){ 177 if(_2d){ 178 _2c=_2e(_2d,_26,i,_29); 179 var _30=not^!!_2c; 180 if(_25&&_2c!=null){ 181 if(_30){ 182 _27=true; 183 }else{ 184 _29[i]=false; 185 } 186 }else{ 187 if(_30){ 188 _28.push(_2d); 189 _27=true; 190 } 191 } 192 } 193 } 194 } 195 if(_2c!==undefined){ 196 if(!_25){ 197 _29=_28; 198 } 199 _24=_24.replace(_16.match[_2b],""); 200 if(!_27){ 201 return []; 202 } 203 break; 204 } 205 } 206 } 207 if(_24===old){ 208 if(_27==null){ 209 _8.error(_24); 210 }else{ 211 break; 212 } 213 } 214 old=_24; 215 } 216 return _29; 217 }; 218 _8.error=function(msg){ 219 throw "Syntax error, unrecognized expression: "+msg; 220 }; 221 var _16=_8.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|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(_31){ 222 return _31.getAttribute("href"); 223 },type:function(_32){ 224 return _32.getAttribute("type"); 225 }},relative:{"+":function(_33,_34){ 226 var _35=typeof _34==="string",_36=_35&&!_7.test(_34),_37=_35&&!_36; 227 if(_36){ 228 _34=_34.toLowerCase(); 229 } 230 for(var i=0,l=_33.length,_38;i<l;i++){ 231 if((_38=_33[i])){ 232 while((_38=_38.previousSibling)&&_38.nodeType!==1){ 233 } 234 _33[i]=_37||_38&&_38.nodeName.toLowerCase()===_34?_38||false:_38===_34; 235 } 236 } 237 if(_37){ 238 _8.filter(_34,_33,true); 239 } 240 },">":function(_39,_3a){ 241 var _3b,_3c=typeof _3a==="string",i=0,l=_39.length; 242 if(_3c&&!_7.test(_3a)){ 243 _3a=_3a.toLowerCase(); 244 for(;i<l;i++){ 245 _3b=_39[i]; 246 if(_3b){ 247 var _3d=_3b.parentNode; 248 _39[i]=_3d.nodeName.toLowerCase()===_3a?_3d:false; 249 } 250 } 251 }else{ 252 for(;i<l;i++){ 253 _3b=_39[i]; 254 if(_3b){ 255 _39[i]=_3c?_3b.parentNode:_3b.parentNode===_3a; 256 } 257 } 258 if(_3c){ 259 _8.filter(_3a,_39,true); 260 } 261 } 262 },"":function(_3e,_3f,_40){ 263 var _41,_42=_2++,_43=_44; 264 if(typeof _3f==="string"&&!_7.test(_3f)){ 265 _3f=_3f.toLowerCase(); 266 _41=_3f; 267 _43=_45; 268 } 269 _43("parentNode",_3f,_42,_3e,_41,_40); 270 },"~":function(_46,_47,_48){ 271 var _49,_4a=_2++,_4b=_44; 272 if(typeof _47==="string"&&!_7.test(_47)){ 273 _47=_47.toLowerCase(); 274 _49=_47; 275 _4b=_45; 276 } 277 _4b("previousSibling",_47,_4a,_46,_49,_48); 278 }},find:{ID:function(_4c,_4d,_4e){ 279 if(typeof _4d.getElementById!=="undefined"&&!_4e){ 280 var m=_4d.getElementById(_4c[1]); 281 return m&&m.parentNode?[m]:[]; 282 } 283 },NAME:function(_4f,_50){ 284 if(typeof _50.getElementsByName!=="undefined"){ 285 var ret=[],_51=_50.getElementsByName(_4f[1]); 286 for(var i=0,l=_51.length;i<l;i++){ 287 if(_51[i].getAttribute("name")===_4f[1]){ 288 ret.push(_51[i]); 289 } 290 } 291 return ret.length===0?null:ret; 292 } 293 },TAG:function(_52,_53){ 294 if(typeof _53.getElementsByTagName!=="undefined"){ 295 return _53.getElementsByTagName(_52[1]); 296 } 297 }},preFilter:{CLASS:function(_54,_55,_56,_57,not,_58){ 298 _54=" "+_54[1].replace(_6,"")+" "; 299 if(_58){ 300 return _54; 301 } 302 for(var i=0,_59;(_59=_55[i])!=null;i++){ 303 if(_59){ 304 if(not^(_59.className&&(" "+_59.className+" ").replace(/[\t\n\r]/g," ").indexOf(_54)>=0)){ 305 if(!_56){ 306 _57.push(_59); 307 } 308 }else{ 309 if(_56){ 310 _55[i]=false; 311 } 312 } 313 } 314 } 315 return false; 316 },ID:function(_5a){ 317 return _5a[1].replace(_6,""); 318 },TAG:function(_5b,_5c){ 319 return _5b[1].replace(_6,"").toLowerCase(); 320 },CHILD:function(_5d){ 321 if(_5d[1]==="nth"){ 322 if(!_5d[2]){ 323 _8.error(_5d[0]); 324 } 325 _5d[2]=_5d[2].replace(/^\+|\s*/g,""); 326 var _5e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(_5d[2]==="even"&&"2n"||_5d[2]==="odd"&&"2n+1"||!/\D/.test(_5d[2])&&"0n+"+_5d[2]||_5d[2]); 327 _5d[2]=(_5e[1]+(_5e[2]||1))-0; 328 _5d[3]=_5e[3]-0; 329 }else{ 330 if(_5d[2]){ 331 _8.error(_5d[0]); 332 } 333 } 334 _5d[0]=_2++; 335 return _5d; 336 },ATTR:function(_5f,_60,_61,_62,not,_63){ 337 var _64=_5f[1]=_5f[1].replace(_6,""); 338 if(!_63&&_16.attrMap[_64]){ 339 _5f[1]=_16.attrMap[_64]; 340 } 341 _5f[4]=(_5f[4]||_5f[5]||"").replace(_6,""); 342 if(_5f[2]==="~="){ 343 _5f[4]=" "+_5f[4]+" "; 344 } 345 return _5f; 346 },PSEUDO:function(_65,_66,_67,_68,not){ 347 if(_65[1]==="not"){ 348 if((_1.exec(_65[3])||"").length>1||/^\w/.test(_65[3])){ 349 _65[3]=_8(_65[3],null,null,_66); 350 }else{ 351 var ret=_8.filter(_65[3],_66,_67,true^not); 352 if(!_67){ 353 _68.push.apply(_68,ret); 354 } 355 return false; 356 } 357 }else{ 358 if(_16.match.POS.test(_65[0])||_16.match.CHILD.test(_65[0])){ 359 return true; 360 } 361 } 362 return _65; 363 },POS:function(_69){ 364 _69.unshift(true); 365 return _69; 366 }},filters:{enabled:function(_6a){ 367 return _6a.disabled===false&&_6a.type!=="hidden"; 368 },disabled:function(_6b){ 369 return _6b.disabled===true; 370 },checked:function(_6c){ 371 return _6c.checked===true; 372 },selected:function(_6d){ 373 if(_6d.parentNode){ 374 _6d.parentNode.selectedIndex; 375 } 376 return _6d.selected===true; 377 },parent:function(_6e){ 378 return !!_6e.firstChild; 379 },empty:function(_6f){ 380 return !_6f.firstChild; 381 },has:function(_70,i,_71){ 382 return !!_8(_71[3],_70).length; 383 },header:function(_72){ 384 return (/h\d/i).test(_72.nodeName); 385 },text:function(_73){ 386 return "text"===_73.getAttribute("type"); 387 },radio:function(_74){ 388 return "radio"===_74.type; 389 },checkbox:function(_75){ 390 return "checkbox"===_75.type; 391 },file:function(_76){ 392 return "file"===_76.type; 393 },password:function(_77){ 394 return "password"===_77.type; 395 },submit:function(_78){ 396 return "submit"===_78.type; 397 },image:function(_79){ 398 return "image"===_79.type; 399 },reset:function(_7a){ 400 return "reset"===_7a.type; 401 },button:function(_7b){ 402 return "button"===_7b.type||_7b.nodeName.toLowerCase()==="button"; 403 },input:function(_7c){ 404 return (/input|select|textarea|button/i).test(_7c.nodeName); 405 }},setFilters:{first:function(_7d,i){ 406 return i===0; 407 },last:function(_7e,i,_7f,_80){ 408 return i===_80.length-1; 409 },even:function(_81,i){ 410 return i%2===0; 411 },odd:function(_82,i){ 412 return i%2===1; 413 },lt:function(_83,i,_84){ 414 return i<_84[3]-0; 415 },gt:function(_85,i,_86){ 416 return i>_86[3]-0; 417 },nth:function(_87,i,_88){ 418 return _88[3]-0===i; 419 },eq:function(_89,i,_8a){ 420 return _8a[3]-0===i; 421 }},filter:{PSEUDO:function(_8b,_8c,i,_8d){ 422 var _8e=_8c[1],_8f=_16.filters[_8e]; 423 if(_8f){ 424 return _8f(_8b,i,_8c,_8d); 425 }else{ 426 if(_8e==="contains"){ 427 return (_8b.textContent||_8b.innerText||_8.getText([_8b])||"").indexOf(_8c[3])>=0; 428 }else{ 429 if(_8e==="not"){ 430 var not=_8c[3]; 431 for(var j=0,l=not.length;j<l;j++){ 432 if(not[j]===_8b){ 433 return false; 434 } 435 } 436 return true; 437 }else{ 438 _8.error(_8e); 439 } 440 } 441 } 442 },CHILD:function(_90,_91){ 443 var _92=_91[1],_93=_90; 444 switch(_92){ 445 case "only": 446 case "first": 447 while((_93=_93.previousSibling)){ 448 if(_93.nodeType===1){ 449 return false; 450 } 451 } 452 if(_92==="first"){ 453 return true; 454 } 455 _93=_90; 456 case "last": 457 while((_93=_93.nextSibling)){ 458 if(_93.nodeType===1){ 459 return false; 460 } 461 } 462 return true; 463 case "nth": 464 var _94=_91[2],_95=_91[3]; 465 if(_94===1&&_95===0){ 466 return true; 467 } 468 var _96=_91[0],_97=_90.parentNode; 469 if(_97&&(_97.sizcache!==_96||!_90.nodeIndex)){ 470 var _98=0; 471 for(_93=_97.firstChild;_93;_93=_93.nextSibling){ 472 if(_93.nodeType===1){ 473 _93.nodeIndex=++_98; 474 } 475 } 476 _97.sizcache=_96; 477 } 478 var _99=_90.nodeIndex-_95; 479 if(_94===0){ 480 return _99===0; 481 }else{ 482 return (_99%_94===0&&_99/_94>=0); 483 } 484 } 485 },ID:function(_9a,_9b){ 486 return _9a.nodeType===1&&_9a.getAttribute("id")===_9b; 487 },TAG:function(_9c,_9d){ 488 return (_9d==="*"&&_9c.nodeType===1)||_9c.nodeName.toLowerCase()===_9d; 489 },CLASS:function(_9e,_9f){ 490 return (" "+(_9e.className||_9e.getAttribute("class"))+" ").indexOf(_9f)>-1; 491 },ATTR:function(_a0,_a1){ 492 var _a2=_a1[1],_a3=_16.attrHandle[_a2]?_16.attrHandle[_a2](_a0):_a0[_a2]!=null?_a0[_a2]:_a0.getAttribute(_a2),_a4=_a3+"",_a5=_a1[2],_a6=_a1[4]; 493 return _a3==null?_a5==="!=":_a5==="="?_a4===_a6:_a5==="*="?_a4.indexOf(_a6)>=0:_a5==="~="?(" "+_a4+" ").indexOf(_a6)>=0:!_a6?_a4&&_a3!==false:_a5==="!="?_a4!==_a6:_a5==="^="?_a4.indexOf(_a6)===0:_a5==="$="?_a4.substr(_a4.length-_a6.length)===_a6:_a5==="|="?_a4===_a6||_a4.substr(0,_a6.length+1)===_a6+"-":false; 494 },POS:function(_a7,_a8,i,_a9){ 495 var _aa=_a8[2],_ab=_16.setFilters[_aa]; 496 if(_ab){ 497 return _ab(_a7,i,_a8,_a9); 498 } 499 }}}; 500 var _15=_16.match.POS,_ac=function(all,num){ 501 return "\\"+(num-0+1); 502 }; 503 for(var _ad in _16.match){ 504 _16.match[_ad]=new RegExp(_16.match[_ad].source+(/(?![^\[]*\])(?![^\(]*\))/.source)); 505 _16.leftMatch[_ad]=new RegExp(/(^(?:.|\r|\n)*?)/.source+_16.match[_ad].source.replace(/\\(\d+)/g,_ac)); 506 } 507 var _18=function(_ae,_af){ 508 _ae=Array.prototype.slice.call(_ae,0); 509 if(_af){ 510 _af.push.apply(_af,_ae); 511 return _af; 512 } 513 return _ae; 514 }; 515 try{ 516 Array.prototype.slice.call(document.documentElement.childNodes,0)[0].nodeType; 517 } 518 catch(e){ 519 _18=function(_b0,_b1){ 520 var i=0,ret=_b1||[]; 521 if(_3.call(_b0)==="[object Array]"){ 522 Array.prototype.push.apply(ret,_b0); 523 }else{ 524 if(typeof _b0.length==="number"){ 525 for(var l=_b0.length;i<l;i++){ 526 ret.push(_b0[i]); 527 } 528 }else{ 529 for(;_b0[i];i++){ 530 ret.push(_b0[i]); 531 } 532 } 533 } 534 return ret; 535 }; 536 } 537 var _1a,_b2; 538 if(document.documentElement.compareDocumentPosition){ 539 _1a=function(a,b){ 540 if(a===b){ 541 _4=true; 542 return 0; 543 } 544 if(!a.compareDocumentPosition||!b.compareDocumentPosition){ 545 return a.compareDocumentPosition?-1:1; 546 } 547 return a.compareDocumentPosition(b)&4?-1:1; 548 }; 549 }else{ 550 _1a=function(a,b){ 551 var al,bl,ap=[],bp=[],aup=a.parentNode,bup=b.parentNode,cur=aup; 552 if(a===b){ 553 _4=true; 554 return 0; 555 }else{ 556 if(aup===bup){ 557 return _b2(a,b); 558 }else{ 559 if(!aup){ 560 return -1; 561 }else{ 562 if(!bup){ 563 return 1; 564 } 565 } 566 } 567 } 568 while(cur){ 569 ap.unshift(cur); 570 cur=cur.parentNode; 571 } 572 cur=bup; 573 while(cur){ 574 bp.unshift(cur); 575 cur=cur.parentNode; 576 } 577 al=ap.length; 578 bl=bp.length; 579 for(var i=0;i<al&&i<bl;i++){ 580 if(ap[i]!==bp[i]){ 581 return _b2(ap[i],bp[i]); 582 } 583 } 584 return i===al?_b2(a,bp[i],-1):_b2(ap[i],b,1); 585 }; 586 _b2=function(a,b,ret){ 587 if(a===b){ 588 return ret; 589 } 590 var cur=a.nextSibling; 591 while(cur){ 592 if(cur===b){ 593 return -1; 594 } 595 cur=cur.nextSibling; 596 } 597 return 1; 598 }; 599 } 600 _8.getText=function(_b3){ 601 var ret="",_b4; 602 for(var i=0;_b3[i];i++){ 603 _b4=_b3[i]; 604 if(_b4.nodeType===3||_b4.nodeType===4){ 605 ret+=_b4.nodeValue; 606 }else{ 607 if(_b4.nodeType!==8){ 608 ret+=_8.getText(_b4.childNodes); 609 } 610 } 611 } 612 return ret; 613 }; 614 (function(){ 615 var _b5=document.createElement("div"),id="script"+(new Date()).getTime(),_b6=document.documentElement; 616 _b5.innerHTML="<a name='"+id+"'/>"; 617 _b6.insertBefore(_b5,_b6.firstChild); 618 if(document.getElementById(id)){ 619 _16.find.ID=function(_b7,_b8,_b9){ 620 if(typeof _b8.getElementById!=="undefined"&&!_b9){ 621 var m=_b8.getElementById(_b7[1]); 622 return m?m.id===_b7[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===_b7[1]?[m]:undefined:[]; 623 } 624 }; 625 _16.filter.ID=function(_ba,_bb){ 626 var _bc=typeof _ba.getAttributeNode!=="undefined"&&_ba.getAttributeNode("id"); 627 return _ba.nodeType===1&&_bc&&_bc.nodeValue===_bb; 628 }; 629 } 630 _b6.removeChild(_b5); 631 _b6=_b5=null; 632 })(); 633 (function(){ 634 var div=document.createElement("div"); 635 div.appendChild(document.createComment("")); 636 if(div.getElementsByTagName("*").length>0){ 637 _16.find.TAG=function(_bd,_be){ 638 var _bf=_be.getElementsByTagName(_bd[1]); 639 if(_bd[1]==="*"){ 640 var tmp=[]; 641 for(var i=0;_bf[i];i++){ 642 if(_bf[i].nodeType===1){ 643 tmp.push(_bf[i]); 644 } 645 } 646 _bf=tmp; 647 } 648 return _bf; 649 }; 650 } 651 div.innerHTML="<a href='#'></a>"; 652 if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){ 653 _16.attrHandle.href=function(_c0){ 654 return _c0.getAttribute("href",2); 655 }; 656 } 657 div=null; 658 })(); 659 if(document.querySelectorAll){ 660 (function(){ 661 var _c1=_8,div=document.createElement("div"),id="__sizzle__"; 662 div.innerHTML="<p class='TEST'></p>"; 663 if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){ 664 return; 665 } 666 _8=function(_c2,_c3,_c4,_c5){ 667 _c3=_c3||document; 668 if(!_c5&&!_8.isXML(_c3)){ 669 var _c6=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(_c2); 670 if(_c6&&(_c3.nodeType===1||_c3.nodeType===9)){ 671 if(_c6[1]){ 672 return _18(_c3.getElementsByTagName(_c2),_c4); 673 }else{ 674 if(_c6[2]&&_16.find.CLASS&&_c3.getElementsByClassName){ 675 return _18(_c3.getElementsByClassName(_c6[2]),_c4); 676 } 677 } 678 } 679 if(_c3.nodeType===9){ 680 if(_c2==="body"&&_c3.body){ 681 return _18([_c3.body],_c4); 682 }else{ 683 if(_c6&&_c6[3]){ 684 var _c7=_c3.getElementById(_c6[3]); 685 if(_c7&&_c7.parentNode){ 686 if(_c7.id===_c6[3]){ 687 return _18([_c7],_c4); 688 } 689 }else{ 690 return _18([],_c4); 691 } 692 } 693 } 694 try{ 695 return _18(_c3.querySelectorAll(_c2),_c4); 696 } 697 catch(qsaError){ 698 } 699 }else{ 700 if(_c3.nodeType===1&&_c3.nodeName.toLowerCase()!=="object"){ 701 var _c8=_c3,old=_c3.getAttribute("id"),nid=old||id,_c9=_c3.parentNode,_ca=/^\s*[+~]/.test(_c2); 702 if(!old){ 703 _c3.setAttribute("id",nid); 704 }else{ 705 nid=nid.replace(/'/g,"\\$&"); 706 } 707 if(_ca&&_c9){ 708 _c3=_c3.parentNode; 709 } 710 try{ 711 if(!_ca||_c9){ 712 return _18(_c3.querySelectorAll("[id='"+nid+"'] "+_c2),_c4); 713 } 714 } 715 catch(pseudoError){ 716 } 717 finally{ 718 if(!old){ 719 _c8.removeAttribute("id"); 720 } 721 } 722 } 723 } 724 } 725 return _c1(_c2,_c3,_c4,_c5); 726 }; 727 for(var _cb in _c1){ 728 _8[_cb]=_c1[_cb]; 729 } 730 div=null; 731 })(); 732 } 733 (function(){ 734 var _cc=document.documentElement,_cd=_cc.matchesSelector||_cc.mozMatchesSelector||_cc.webkitMatchesSelector||_cc.msMatchesSelector,_ce=false; 735 try{ 736 _cd.call(document.documentElement,"[test!='']:sizzle"); 737 } 738 catch(pseudoError){ 739 _ce=true; 740 } 741 if(_cd){ 742 _8.matchesSelector=function(_cf,_d0){ 743 _d0=_d0.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"); 744 if(!_8.isXML(_cf)){ 745 try{ 746 if(_ce||!_16.match.PSEUDO.test(_d0)&&!/!=/.test(_d0)){ 747 return _cd.call(_cf,_d0); 748 } 749 } 750 catch(e){ 751 } 752 } 753 return _8(_d0,null,null,[_cf]).length>0; 754 }; 755 } 756 })(); 757 (function(){ 758 var div=document.createElement("div"); 759 div.innerHTML="<div class='test e'></div><div class='test'></div>"; 760 if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){ 761 return; 762 } 763 div.lastChild.className="e"; 764 if(div.getElementsByClassName("e").length===1){ 765 return; 766 } 767 _16.order.splice(1,0,"CLASS"); 768 _16.find.CLASS=function(_d1,_d2,_d3){ 769 if(typeof _d2.getElementsByClassName!=="undefined"&&!_d3){ 770 return _d2.getElementsByClassName(_d1[1]); 771 } 772 }; 773 div=null; 774 })(); 775 function _45(dir,cur,_d4,_d5,_d6,_d7){ 776 for(var i=0,l=_d5.length;i<l;i++){ 777 var _d8=_d5[i]; 778 if(_d8){ 779 var _d9=false; 780 _d8=_d8[dir]; 781 while(_d8){ 782 if(_d8.sizcache===_d4){ 783 _d9=_d5[_d8.sizset]; 784 break; 785 } 786 if(_d8.nodeType===1&&!_d7){ 787 _d8.sizcache=_d4; 788 _d8.sizset=i; 789 } 790 if(_d8.nodeName.toLowerCase()===cur){ 791 _d9=_d8; 792 break; 793 } 794 _d8=_d8[dir]; 795 } 796 _d5[i]=_d9; 797 } 798 } 799 }; 800 function _44(dir,cur,_da,_db,_dc,_dd){ 801 for(var i=0,l=_db.length;i<l;i++){ 802 var _de=_db[i]; 803 if(_de){ 804 var _df=false; 805 _de=_de[dir]; 806 while(_de){ 807 if(_de.sizcache===_da){ 808 _df=_db[_de.sizset]; 809 break; 810 } 811 if(_de.nodeType===1){ 812 if(!_dd){ 813 _de.sizcache=_da; 814 _de.sizset=i; 815 } 816 if(typeof cur!=="string"){ 817 if(_de===cur){ 818 _df=true; 819 break; 820 } 821 }else{ 822 if(_8.filter(cur,[_de]).length>0){ 823 _df=_de; 824 break; 825 } 826 } 827 } 828 _de=_de[dir]; 829 } 830 _db[i]=_df; 831 } 832 } 833 }; 834 if(document.documentElement.contains){ 835 _8.contains=function(a,b){ 836 return a!==b&&(a.contains?a.contains(b):true); 837 }; 838 }else{ 839 if(document.documentElement.compareDocumentPosition){ 840 _8.contains=function(a,b){ 841 return !!(a.compareDocumentPosition(b)&16); 842 }; 843 }else{ 844 _8.contains=function(){ 845 return false; 846 }; 847 } 848 } 849 _8.isXML=function(_e0){ 850 var _e1=(_e0?_e0.ownerDocument||_e0:0).documentElement; 851 return _e1?_e1.nodeName!=="HTML":false; 852 }; 853 var _17=function(_e2,_e3){ 854 var _e4,_e5=[],_e6="",_e7=_e3.nodeType?[_e3]:_e3; 855 while((_e4=_16.match.PSEUDO.exec(_e2))){ 856 _e6+=_e4[0]; 857 _e2=_e2.replace(_16.match.PSEUDO,""); 858 } 859 _e2=_16.relative[_e2]?_e2+"*":_e2; 860 for(var i=0,l=_e7.length;i<l;i++){ 861 _8(_e2,_e7[i],_e5); 862 } 863 return _8.filter(_e6,_e5); 864 }; 865 window.i$.query=_8; 866 })(); 867 868