

// css domain elements general access function
function checkDom(elementName){
	dom=eval(docObj+'.'+elementName+styleObj)
	}
	
// mouseover and out events to change button BG image
function changeBG1(x){
	document.getElementById(x).style.backgroundPosition = "right";
	}

function changeBG2(x){
	document.getElementById(x).style.backgroundPosition = "left";
	}

function openWindow(url, name, attrib){
	popupWin=window.open(url,name,attrib)
	}

function Swap(obj){
	imageFile= new String(obj.src)
	FileLen=imageFile.length
	num=FileLen-6
	firstPart=imageFile.substring(0,num)
	firstPart=firstPart+"2s.gif"
	obj.src=firstPart

	}
function SwapBack(obj){
	obj.src=imageFile
	}

