if(location.href.match(/submit.php?/i)){
a=location.href.split("?game=")[1]
while(a.match("%20")){
  a=a.replace("%20"," ")
}
while(a.match("+")){
  a=a.replace("+"," ")
}
b=document.getElementsByTagName('select')
for(c=0;c<b.length;c++){
  if(b[c].name=="game"){
   d=b[c].getElementsByTagName('option')
   for(e=0;e<d.length;e++){
    if(d[e].innerHTML==a){
     d[e].selected="1"
    }
   }
  }
}
}