

function submitForm($action) {
	
	if ($action == 'login') {
		document.header.action = '/login/index.php';
		document.header.submit();
	}
	
}


function goQuickLink($object) {

	window.location = $object.value;
	
}

function popUpWindow(URLStr, left, top, width, height){

	popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
	
}
	
