//image swap

function openWin(theURL,winName,features) { 
        	newWindow = window.open(theURL, winName, features);
        	if (window.focus) 
            	setTimeout('newWindow.focus()',1000);
        }
        
function changeStyleById(id,bg){
			if (document.getElementById) {
   				var nodeObj = document.getElementById(id)
   				nodeObj.style.backgroundColor = bg;
   			}
		}
		
function chgtxt(obj,linkid,cellcolor,linkcolor) {
			if(document.getElementById) {
				document.getElementById(obj.id).style.backgroundColor=cellcolor
				document.getElementById(linkid).style.color=linkcolor
			}
		}