lightOn = new Image();
lightOff = new Image();
lightSelOn = new Image();
lightSelOff = new Image();

up = new Image();
down = new Image();
middle = new Image();
middle2 = new Image();


qmark = new Image();
xmark = new Image();

lightOn.src = "img/bluOn.gif";
lightOff.src = "img/bluOff.gif";
lightSelOn.src = "img/whiteOn.gif";
lightSelOff.src = "img/whiteOff.gif";

up.src = "img/spacer.gif";
down.src = "img/spacer.gif";
middle.src = "img/spacer.gif";
middle2.src = "img/spacer.gif";


qmark.src = "../img/helpMe.gif";
xmark.src = "../img/closeMe.gif";
function rdce(rd1, rd2)
{
rd1.src = rd2.src;
}




function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=600,height=500,scrollbars=yes');
return false;
}





function closeWindow() {
 window.close(self)
} 

function swapBK(divName,thiscolor,thistext)
{
var obj= document.getElementById(divName);
obj.style.backgroundColor=(thiscolor);
obj.style.color=(thistext);
}


function swapMenu(divName,rd1,rd2,thiscolor,thistext)
{
var obj= document.getElementById(divName);
obj.style.backgroundColor=(thiscolor);
obj.style.color=(thistext);
rd1.src = rd2.src;
}