bloaded = true;

function bu1(imgName){
  if (bloaded){
    var theOBJ = (document.getElementById) ? document.getElementById(imgName) : eval("document.all['" + imgName + "']");
    theOBJ.src= eval(imgName + "_on.src");
  }
}

function bu0(imgName){
  if (bloaded){
    var theOBJ = (document.getElementById) ? document.getElementById(imgName) : eval("document.all['" + imgName + "']");
    theOBJ.src= eval(imgName + "_off.src");
  }
}

function rowOver(i, nColor) {
  if (!nColor) nColor = "#ECECD9";
  var nameObj = (document.getElementById) ? document.getElementById('row' + i) : eval("document.all['row" + i + "']");
  if (nameObj != null) nameObj.style.background=nColor;
}
function rowOut(i, nColor) {
  var trObj = (document.getElementById) ? document.getElementById('ihtr' + i) : eval("document.all['ihtr" + i + "']");
  var nameObj = (document.getElementById) ? document.getElementById('row' + i) : eval("document.all['row" + i + "']");
  if (trObj == null || trObj.style.display=="none") nameObj.style.background=nColor;
}



function clicklink(id,code){

  if (navigator.appName.indexOf("Microsoft")!=-1) {
    var theOBJ = (document.getElementById) ? document.getElementById('lnk'+id) : eval("document.all['lnk" + id + "']");
    theOBJ.click();
  }
  else{
    location.href='get.asp?code='+code;
  }

}

function showdownloads() {
    var objDiv2 = (document.getElementById) ? document.getElementById('loginsignup') : eval("document.all['loginsignup']");
    objDiv2.style.display = "none";

    var objDiv = (document.getElementById) ? document.getElementById('uploaddetails') : eval("document.all['uploaddetails']");
    objDiv.style.display = "block";
}



function ratethis(fid,r){
  document.location.href = '/rate.asp?fid='+fid+'&r='+r;
}

function bu1(imgName){
  if (bloaded){
    var theOBJ = (document.getElementById) ? document.getElementById(imgName) : eval("document.all['" + imgName + "']");
    theOBJ.src= eval(imgName + "_on.src");
  }
}

function bu0(imgName){
  if (bloaded){
    var theOBJ = (document.getElementById) ? document.getElementById(imgName) : eval("document.all['" + imgName + "']");
    theOBJ.src= eval(imgName + "_off.src");
  }
}



function rateon(i){
  var theOBJ = (document.getElementById) ? document.getElementById('rate'+i) : eval("document.all['rate"+i+"']");
  theOBJ.src= px_red.src;
}

function rateoff(i){
  var theOBJ = (document.getElementById) ? document.getElementById('rate'+i) : eval("document.all['rate"+i+"']");
  theOBJ.src= px_blue.src;
}

function rc(w,c){
  document.location.href = '/commentrate.asp?c='+c+'&w='+w;
}