
// JavaScript Document

function login(purpose)
 {
 	var a =window.document.location.toString();
	/*
	to_login.from.value=a;
	
	to_login.Purpose.value=purpose;
	to_login.submit();
	*/
	document.getElementById('from_navigate').value=a;
	document.forms['navigate'].action="InfcLogin.php";
	document.forms['navigate'].submit();
	
 }
 function logout()
 {
 	var a =window.document.location.toString();
	/*
	to_logout.from.value=a;
	to_logout.submit();
	*/
	document.getElementById('from_navigate').value=a;
	document.forms['navigate'].action="InfcLogOut.php";
	document.forms['navigate'].submit();
 }
function targetBlank (url) {
  blankWin = window.open(url,'_blank','menubar=yes,toolbar=yes,location=yes,directories=yes,fullscreen=no,titlebar=yes,hotkeys=yes,status=yes,scrollbars=yes,resizable=yes');
}
