B.pseudos.push(C);break;default:B.tag=E;}return"";});return B;};Selectors.Pseudo=new Hash;Selectors.XPath={getParam:function(B,G,D,H){var A=D.namespaceURI?"xhtml:":""; switch(G){case" ":A+=" var C;for(C=H.pseudos.length;C--;C){var F=H.pseudos[C];if(F.parser&&F.parser.xpath){A+=F.parser.xpath(F.argument);}else{A+=($chk(F.argument))?"[@"+F.name+'="'+F.argument+'"]':"[@"+F.name+"]"; }}if(H.id){A+='[@id="'+H.id+'"]';}for(C=H.classes.length;C--;C){A+='[contains(concat(" ", @class, " "), " '+H.classes[C]+' ")]';}for(C=H.attributes.length; C--;C){var E=H.attributes[C];switch(E[1]){case"=":A+="[@"+E[0]+'="'+E[2]+'"]';break;case"*=":A+="[contains(@"+E[0]+', "'+E[2]+'")]';break;case"^=":A+="[starts-with(@"+E[0]+', "'+E[2]+'")]'; break;case"$=":A+="[substring(@"+E[0]+", string-length(@"+E[0]+") - "+E[2].length+' + 1) = "'+E[2]+'"]';break;case"!=":A+="[@"+E[0]+'!="'+E[2]+'"]';break; case"~=":A+='[contains(concat(" ", @'+E[0]+', " "), " '+E[2]+' ")]';break;case"|=":A+='[contains(concat("-", @'+E[0]+', "-"), "-'+E[2]+'-")]';break;default:A+="[@"+E[0]+"]"; }}B.push(A);return B;},getItems:function(B,E){var F=[];var G=E.ownerDocument||E;var A=G.evaluate(". 
getParam: function(items, separator, context, params){ var temp = context.namespaceURI ? 'xhtml:' : ''; switch (separator){ case ' ': temp += ' case '>': temp += '/'; break; case '+': temp += '/following-sibling::*[1]/self::'; break; case '~': temp += '/following-sibling::'; break; } temp += params.tag; var i; for (i = params.pseudos.length; i--; i){ var pseudo = params.pseudos[i]; if (pseudo.parser && pseudo.parser.xpath) temp += pseudo.parser.xpath(pseudo.argument); else temp += ($chk(pseudo.argument)) ? '[@' + pseudo.name + '="' + pseudo.argument + '"]' : '[@' + pseudo.name + ']'; } if (params.id) temp += '[@id="' + params.id + '"]'; for (i = params.classes.length; i--; i) temp += '[contains(concat(" ", @class, " "), " ' + params.classes[i] + ' ")]'; for (i = params.attributes.length; i--; i){ var bits = params.attributes[i]; switch (bits[1]){ case '=': temp += '[@' + bits[0] + '="' + bits[2] + '"]'; break; case '*=': temp += '[contains(@' + bits[0] + ', "' + bits[2] + '")]'; break; case '^=': temp += '[starts-with(@' + bits[0] + ', "' + bits[2] + '")]'; break; case '$=': temp += '[substring(@' + bits[0] + ', string-length(@' + bits[0] + ') - ' + bits[2].length + ' + 1) = "' + bits[2] + '"]'; break; case '!=': temp += '[@' + bits[0] + '!="' + bits[2] + '"]'; break; case '~=': temp += '[contains(concat(" ", @' + bits[0] + ', " "), " ' + bits[2] + ' ")]'; break; case '|=': temp += '[contains(concat("-", @' + bits[0] + ', "-"), "-' + bits[2] + '-")]'; break; default: temp += '[@' + bits[0] + ']'; } } items.push(temp); return items; }, 
B.pseudos.push(C);break;default:B.tag=E;}return"";});return B;};Selectors.Pseudo=new Hash;Selectors.XPath={getParam:function(B,G,D,H){var A=D.namespaceURI?"xhtml:":"";switch(G){case" ":A+="//";break;case">":A+="/";break;case"+":A+="/following-sibling::*[1]/self::";break;case"~":A+="/following-sibling::";break;}A+=H.tag;var C;for(C=H.pseudos.length;C--;C){var F=H.pseudos[C];if(F.parser&&F.parser.xpath){A+=F.parser.xpath(F.argument);}else{A+=($chk(F.argument))?"[@"+F.name+'="'+F.argument+'"]':"[@"+F.name+"]";}}if(H.id){A+='[@id="'+H.id+'"]';}for(C=H.classes.length;C--;C){A+='[contains(concat(" ", @class, " "), " '+H.classes[C]+' ")]';}for(C=H.attributes.length;C--;C){var E=H.attributes[C];switch(E[1]){case"=":A+="[@"+E[0]+'="'+E[2]+'"]';break;case"*=":A+="[contains(@"+E[0]+', "'+E[2]+'")]';break;case"^=":A+="[starts-with(@"+E[0]+', "'+E[2]+'")]';break;case"$=":A+="[substring(@"+E[0]+", string-length(@"+E[0]+") - "+E[2].length+' + 1) = "'+E[2]+'"]';break;case"!=":A+="[@"+E[0]+'!="'+E[2]+'"]';break;case"~=":A+='[contains(concat(" ", @'+E[0]+', " "), " '+E[2]+' ")]';break;case"|=":A+='[contains(concat("-", @'+E[0]+', "-"), "-'+E[2]+'-")]';break;default:A+="[@"+E[0]+"]";}}B.push(A);return B;},getItems:function(B,E){var F=[];var G=E.ownerDocument||E;var A=G.evaluate(".//"+B.join(""),E,Selectors.XPath.resolver,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
5086	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5086/7e4a07fc6f307ea369a4f7e7ce36e6336bcef4f7/mootools.js/clean/mootools.js