function KeyDownHandler(cid)
{	
	//This function is to fire click event of button when 'Enter' is pressed in textbox.
	//This is one way of declaring 'Default Button' for particular textbox.
	//To use this write: onKeyDown="KeyDownHandler('cmdLogin') in the declaration of textbox.

	if (event.keyCode == 13)
	{				
		event.returnValue=false;
		event.cancel = true;			

		document.getElementById(cid).click();
	}
}
