function et()
{
if(window.event.keyCode==13)window.event.keyCode=9;
}
	function openWindow (sURL, iWidth, iHeight, sScrollbars)
	{
		var sWindowAttributes;
		var newWindow;
		var iTop;
		var iLeft;
		var sWindowName;
   
		// default screen dimensions...
		var iScreenWidth  = 800; 
		var iScreenHeight = 600;
   
		if ( window.screen ) {
		   // IE4+ and NS4+ provide actual screen dimensions...
		   iScreenWidth  = window.screen.width;  
		   iScreenHeight = window.screen.height;
		}

		// Determine proper location of the new window
		iTop  = ( iScreenHeight / 2 ) -  ( iHeight / 2 );
		iLeft = ( iScreenWidth / 2 )  -  ( iWidth / 2 );
   
		sWindowAttributes = sScrollbars + ',resizable,' + 
		                    'top=' + iTop + ',' + 
		                    'left=' + iLeft + ',' +
		                    'width=' + iWidth + ',' +
		                    'height=' + iHeight;
   
		sWindowName = new Date();
		sWindowName = sWindowName.getMilliseconds();
		sWindowName = sWindowName.toString();
		newWindow = window.open(sURL, sWindowName, sWindowAttributes);
		newWindow.focus();
}
function noAnd(s){
	
       var pval = s.toString();
       
       var rstr = "";
		for(var i=0; i<pval.length;i++){
			if ( pval.charAt(i) == "&" ){
				rstr = rstr + "-";
			} else {
				rstr = rstr + s.charAt(i);
			}
		}
		return rstr;
	}
function replacechar(pstr){
       var pval = pstr.toString();
       var rstr = "";
		for(var i=0; i<pval.length;i++){
			if (pval.charAt(i) == "'" || pval.charAt(i) == "/"  || pval.charAt(i) == "&" || pval.charAt(i) == "\""){
				rstr = rstr + "-";
			} else {
				rstr = rstr + pstr.charAt(i);
			}
		}
		return rstr;
	}
