function OpenWinBlocked(url)
{
	window.open(url,'blocked', 'left=20,top=20,width=400,height=530,toolbar=0,resizable=0'); 
	
}

function popUp_List(URL) 
{ 
    var x = window.screen.width/2-450;
    var y = window.screen.height/2-580;
    window.open(URL,'thewindow','width=450,height=580,top=' + y + ',left=' + x + ',scrollbars=1, menubar=no, toolbar=no,location=no,directories=no,status=no'); 
}

function popUp(URL) 
{ 
	var newwindow;
    var y = window.screen.width/2-300;
    var x = window.screen.height/2-340;
    newwindow=window.open(URL,'thewindow','width=300,height=340,top=' + y + ',left=' + x + ',scrollbars=1, menubar=no, toolbar=no,location=no,directories=no,status=no'); 
    if (window.focus){
		newwindow.focus()
		}
}

function OpenWin(URL) {
			window.open(URL,'LostPass', 'left=20,top=20,width=500,height=230,toolbar=0,resizable=0');
}
		
function CheckSubmit(){
	
	
	var bErr = 0;
	var strErr = "";
	var bEmptyFieldFlag = 0;
	var aLosenFields = new Array();
	var j = 0;

	with(document.login_form){
		
		if (login.value == '' || pwd.value == ''){
			bErr = 1;
			strErr += "Please type your Login / Password\n";
		}
		
		
		if (bErr) {
			alert(strErr);
			return;
		}
		
		submit();
	}
}

