

if (document.images) {
abouton = new Image();
abouton.src = "/i/nav_about_r.gif";
abouthion = new Image();
abouthion.src = "/i/nav_about_h.gif";
aboutoff = new Image();
aboutoff.src = "/i/nav_about_n.gif";
abouthi = new Image();
abouthi.src = "/i/nav_about_h.gif";
common = new Image();
common.src = "/i/nav_comm_r.gif";
commhion = new Image();
commhion.src = "/i/nav_comm_h.gif";
commoff = new Image();
commoff.src = "/i/nav_comm_n.gif";
commhi = new Image();
commhi.src = "/i/nav_comm_h.gif";
supporton = new Image();
supporton.src = "/i/nav_support_r.gif";
supporthion = new Image();
supporthion.src = "/i/nav_support_h.gif";
supportoff = new Image();
supportoff.src = "/i/nav_support_n.gif";
supporthi = new Image();
supporthi.src = "/i/nav_support_h.gif";
helpon = new Image();
helpon.src = "/i/nav_help_r.gif";
helphion = new Image();
helphion.src = "/i/nav_help_h.gif";
helpoff = new Image();
helpoff.src = "/i/nav_help_n.gif";
helphi = new Image();
helphi.src = "/i/nav_help_h.gif";
workon = new Image();
workon.src = "/i/nav_work_r.gif";
workhion = new Image();
workhion.src = "/i/nav_work_h.gif";
workoff = new Image();
workoff.src = "/i/nav_work_n.gif";
workhi = new Image();
workhi.src = "/i/nav_work_h.gif";
newson = new Image();
newson.src = "/i/nav_news_r.gif";
newshion = new Image();
newshion.src = "/i/nav_news_h.gif";
newsoff = new Image();
newsoff.src = "/i/nav_news_n.gif";
newshi = new Image();
newshi.src = "/i/nav_news_h.gif";
}

function imgon(imgName) {

if (document.images) {
document[imgName].src = eval(imgName + "on.src");
}
}

function imgoff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "off.src");
}
}

function imghion(imgName) {

if (document.images) {
document[imgName].src = eval(imgName + "hion.src");
}
}

function imghi(imgName) {

if (document.images) {
document[imgName].src = eval(imgName + "hi.src");
}
}


function donation(){
			window.open('donation.html','_blank','scrollbars=yes,status=yes,height=500,width=566,resizable=yes');
		}
      

function layerswap(layername)
{
   if(document.getElementById(layername))
   {
      if (document.getElementById(layername).style.visibility=='visible')
      {
         document.getElementById(layername).style.visibility='hidden';
         document.getElementById(layername).style.display='none';
      }
      else
      {
         document.getElementById(layername).style.visibility='visible';
         document.getElementById(layername).style.display='block';
      }
   }
}


function details(id){
   eval("open('n_details.php?id=" + id + "','_blank','scrollbars=yes,height=500,width=600,resizable=yes')");
}   


function cdetails(id){
   eval("open('c_details.php?id=" + id + "','_blank','scrollbars=yes,height=500,width=600,resizable=yes')");
}