javascript: var searchThis=false; var control=false; var searchLinks=0; var searchTerms=[]; function goTo(here){ var a=control.document.getElementById('anch'+searchTerms[here][0]); location.href="#g7z"+searchTerms[here][0]+searchTerms[here][2]; a.childNodes[1].firstChild.data=" / "+(searchTerms[here][2]+1); searchTerms[here][2]++; if(searchTerms[here][2]>=searchTerms[here][1]){ searchTerms[here][2]=0; searchLinks++; if(searchLinks>=searchTerms.length) searchLinks=0; control.document.links[searchLinks].focus(); }; } function clear(that){ var ac; for(i=0;ac=that.getElementsByTagName('span')[i];i++){ if(ac.class_gz5rt7vw){ac.parentNode.replaceChild(ac.firstChild,ac);i--} } } function closediv(){ var ar; if(control.document) if(ar=control.document.getElementById('divz7rx8v'))ar.parentNode.removeChild(ar); clear(document); for(m=0;fr=parent.frames[m];m++)try{clear(fr.document)}catch(e){}; } function charm(para){ searchTerms=[]; searchLinks=0; closediv(); control.document.getElementById('searchThat').value=''; var that; if(c=searchThis){ var bza=''; var f=new Array('#6f0','#3ff','#f9f','#ff0','#fc0','#cf0','#f99','#c9f','#9f6','#6cf','#f66'); while(/^ | $/.test(c)) c=c.replace(/^ | $/,''); while(c.indexOf(' ')!=-1){ searchTerms.push(Array(c.slice(0,c.indexOf(' ')),0,0)); c=c.slice(c.indexOf(' ')+1); } searchTerms.push(Array(c,0,0)); function searchWithinNode(node, te, len){ te=te.toUpperCase(); var pos,skip,spannode,middlebit,endbit,middleclone,anch; skip=0; if( node.nodeType==3 && node.parentNode.nodeName.toLowerCase()!='option'){ pos=node.data.toUpperCase().indexOf(te); if(pos>=0){ if(para==1)bza=1; spannode=that.createElement("span"); spannode.style.backgroundColor=f[j]; spannode.style.color="#000"; spannode.style.padding="0 9px"; spannode.class_gz5rt7vw=true; spannode.id="g7z"+searchTerms[j][0]+searchTerms[j][1]; middlebit=node.splitText(pos); endbit=middlebit.splitText(len); middleclone=middlebit.cloneNode(true); spannode.appendChild(middleclone); middlebit.parentNode.replaceChild(spannode,middlebit); skip=1; searchTerms[j][1]++; } } else if( node.nodeType==1&& node.childNodes && node.tagName.toUpperCase()!="SCRIPT" && node.tagName.toUpperCase!="STYLE") { for (var child=0;child < node.childNodes.length;++child){ child=child+searchWithinNode(node.childNodes[child], te, len); } } return skip; } for(j=0;j"+searchTerms[i][0]+ " : "+searchTerms[i][1]+" 
"; div1.innerHTML=bza; control.document.getElementById('results').appendChild(div1); control.resizeTo(400,control.document.documentElement.offsetHeight+30); control.document.links[0].focus(); } }; (function(){ if(!control){ control=window.open('','','width=400,height=100'); control.document.open(); control.document.write(''+ ''+ ''+ 'search control'+ ''+ ''+ ''+ ''+ '

'+ ''+ ''+ ''+ '

'+ '
'+ ''); control.document.close(); control.focus(); document.onclick=function(){if(typeof control.document=='undefined') closediv();}; }; })();