function chkLoginToUpload(intSessionID, strURL)
{
	if (intSessionID == 0)
	{
		alert("Please Login!");
		window.location = "/LoginGlobal.asp?PageURL=" + this.location
	}
	else
	{
		window.open(strURL,'','dependent=1,titlebar=0,height=500,width=500,resizable=yes,top=10,left=0,scrollbars=yes');
	}
}
