function textFocus(obj) {
	obj.className = 'input-focus';
}
function textBlur(obj) {
	obj.className = 'input-blur';
}
function selectFocus(obj) {
	document.getElementById(obj).className = 'select-focus';
}
function selectBlur(obj) {
	document.getElementById(obj).className = 'select-blur';
}
function popup(url)
{
window.open(url,'viewingsystem','toolbar=NO,location=NO,directories=NO,status=NO,menubar=NO,scrollbars=NO,resizable=NO,copyhistory=NO,width=600,height=350');
}
function loginlog(url)
{
window.open(url,'loginlog','toolbar=NO,location=NO,directories=NO,status=NO,menubar=NO,scrollbars=YES,resizable=YES,copyhistory=NO,width=500,height=400');
}

function vacation(url)
{
window.open(url,'vacation','toolbar=NO,location=NO,directories=NO,status=NO,menubar=NO,scrollbars=NO,resizable=NO,copyhistory=NO,width=550,height=175');
}

function hiring(url)
{
window.open(url,'hiring','toolbar=NO,location=NO,directories=NO,status=NO,menubar=NO,scrollbars=NO,resizable=NO,copyhistory=NO,width=550,height=130');
}
function rowMouseOver(objRow) {
	objRow.style.backgroundColor='#eee';
}
function rowMouseOut(objRow) {
	objRow.style.backgroundColor='';
}
function rowMouseOverPlus(objRow,plus) {
	objRow.style.backgroundColor='#eee';
	objRow.parentNode.rows[objRow.rowIndex + plus].style.backgroundColor='#eee';
}
function rowMouseOutPlus(objRow,plus) {
	objRow.style.backgroundColor='';
	objRow.parentNode.rows[objRow.rowIndex + plus].style.backgroundColor='';
}
function find_object(sID) {
	if (document.getElementById)
	{
		return document.getElementById(sID);
	}
	else if (document.all)
	{
		return document.all[sID];
	}
	else if (document.layers)
	{
		return document.layers[sID];
	}
	else
	{
		return null;
	}
}
