<!--
	//handling to fire submit on pressing enter on a textbox
	function KeyDownHandler(btn)
    {
        // process only the Enter key
        if (event.keyCode == 13)
        {
            // cancel the default submit
            event.returnValue=false;
            event.cancel = true;
            // submit the form by programmatically clicking the specified button
            btn.click();
        }
    }
	
	//setting foucse on specific control
	function setFocusToSearchBox(ctrl)
	{
		document.getElementById(ctrl).focus();
	}
	
	function expandCollapse() {
		for (var i=0; i<expandCollapse.arguments.length; i++) {
			var element = document.getElementById(expandCollapse.arguments[i]);
			element.style.display = (element.style.display == "none") ? "inline" : "none";
			/*changed from BLOCK to INLINE to show the Image of expand and collapse*/
		}
	}
	
	function popupWin(newURL, newWinID){
		newwindow=window.open(newURL,newWinID,"menubar=0,resizable=1,scrollbars=1,width=700,height=400");
		if (window.focus) {newwindow.focus()}
	}
	


//-->
