function loadCommonBuilds()
{var sel=document.getElementById("selCommonBuilds");var buildIndex=null;var match=null;var at=document.location.search.indexOf("buildIndex=");if(at>=0)
{match=document.location.search.substring(at+"buildIndex=".length);}
for(var i=0;i<aCommonBuilds.length;++i)
{var build=aCommonBuilds[i];selected=match==null?false:i==match;sel.options[i+1]=new Option(build[0],build[1],false,selected);}}
loadCommonBuilds();function changeBuild()
{var sel=document.getElementById("selCommonBuilds");if(sel.selectedIndex==0)return;var opt=sel.options[sel.selectedIndex];if(opt.value!="")
{document.location.href=opt.value+"&buildIndex="+(sel.selectedIndex-1);}}