browserName = navigator.appName;
version = navigator.appVersion;
browserVer = parseInt(version);
lang ="";



IE = (navigator.appVersion.indexOf("MSIE")!=-1 && document.all)? 1:0;
NS = (navigator.appName=="Netscape" && navigator.plugins["LiveAudio"])? 1:0;
ver4 = IE||NS? 1:0;



function change_section(section,sub_section,page)
{

document.ChangeSection.section.value = section
document.ChangeSection.sub_section.value = sub_section
document.ChangeSection.page.value = page

document.ChangeSection.action = '/index.asp?section='+section

document.ChangeSection.submit()
}
//the below function is for table displaying alternate coloured rows
function formatTable(Contrib_table)
{
  var rows=document.getElementById(Contrib_table).rows;
  for(var i=0;i<rows.length;i++)
  {
    if(i%2==0) {
      rows[i].className = 'row_donor_light';
      rows[i].style.color = "000000";
    } else {
      rows[i].className ='row_donor_dark';
      rows[i].style.color = "black";
    }
  }
}