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

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

function openWin(file,windowName,w,h,prop)
{
	// some values that can be passed
	// width=600,height=500,left=20,top=20,scrollbars=yes,resizable=yes
	var winl = (screen.width - w) / 2;
	var wint = ((screen.height - h) / 2) - 25;
	var ObjWin = new Object()
	ObjWin.win = window.open(file, windowName, prop+',top='+wint+',left='+winl+',width='+w+',height='+h)
	if (parseInt(navigator.appVersion) >= 4) { ObjWin.win.window.focus(); }
}
