		function getFileExtension(strFile)
		{
			arrFiles = strFile.split(".");
			if (arrFiles.length == 2){
				strFile = arrFiles[1];
			}
			else
				strFile = "";
			return strFile.toLowerCase();
		}

	function compareOrderDates(d1, d2)
		{
			//var d1 = document.all("ctl00$ContentPlaceHolder1$txtStartDate").value;
			//var d2 = document.all("ctl00$ContentPlaceHolder1$txtEndDate").value;
			
		    if(d1 > d2)
			{
				alert('"From Date" should be less than "To Date" - please enter proper dates');
				return false;
			}
		
			else
			{
				return true;
			}
		}


	//strParam is optional argument
	function winOpen(url, msg, strParam)
	{
		window.open(url, msg, strParam);
		return false;
	}


