function tamingselect(){if(!document.getElementById&&!document.createTextNode&&!document.getElementsByTagName){return ;}var L="ddmswitch";var F=new Array();var I=0;var M=document.getElementsByTagName("ul");var C="";for(var H=0;H<M.length;H++){if(K(M[H],L)){var D=M[H].getAttribute("id");var G=document.createElement("form");G.setAttribute("action","");var D=M[H].getAttribute("id");var N=document.createElement("select");N.setAttribute("id",D);for(j=0;j<M[H].getElementsByTagName("a").length;j++){var A=document.createElement("option");A.value=M[H].getElementsByTagName("a")[j].href;A.appendChild(document.createTextNode(M[H].getElementsByTagName("a")[j].innerHTML));N.appendChild(A);}N.onchange=function(){C=this.options[this.selectedIndex].value;};var B=document.createElement("input");B.setAttribute("type","button");B.setAttribute("value","Go");B.onclick=function(){var O=this.previousSibling;self.location=O.options[O.selectedIndex].value;};G.appendChild(N);G.appendChild(B);M[H].parentNode.insertBefore(G,M[H]);F[I]=M[H];I++;}}for(H=0;H<I;H++){F[H].className="hideComplete";F[H].removeAttribute("id");}function K(O,P){return new RegExp("\\b"+P+"\\b").test(O.className);}function E(Q,P,O){var R=Q.className;Q.className=!K(Q,P)?R.replace(O,P):R.replace(P,O);}function J(O,P){if(!K(O,P)){O.className+=O.className==""?P:" "+P;}}}function addLoadEvent(A){var B=window.onload;if(typeof window.onload!="function"){window.onload=A;}else{window.onload=function(){if(B){B();}A();};}}addLoadEvent(tamingselect);addLoadEvent(function(){});

