		function checknumericinput(strValue){
			if(strValue==""){return true;}
		 //var objRegExp  =  /(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/;
		 var objRegExp  =  /(^\d\d*\.\d*$)|(^\d\d*$)|(^\d$)/;
		  //check for only numeric characters
		  return objRegExp.test(strValue);
		}	
		
		
		function addEvent( obj, type, fn ){
			if (obj.addEventListener)
				obj.addEventListener( type, fn, false );
			else if (obj.attachEvent){
				obj["e"+type+fn] = fn;
				obj.attachEvent( "on"+type, function() { obj["e"+type+fn](); } );
			}
		}
		
		/*impl with 2 arguments */
		function addEventArg( obj, type, fn, arg1, arg2 ){
			if (obj.addEventListener)
				obj.addEventListener( type, function(event) { fn(event,arg1, arg2) }, false );
			else if (obj.attachEvent){
				obj["e"+type+fn] = function(event) { fn(event, arg1, arg2) };
				obj.attachEvent( "on"+type, function() { obj["e"+type+fn](); } );
			}
		}
		
		
		function removeEvent( obj, type, fn ){
			if (obj.removeEventListener)
				obj.removeEventListener( type, fn, false );
			else if (obj.detachEvent){
				obj.detachEvent( "on"+type, obj["e"+type+fn] );
				obj["e"+type+fn] = null;
			}
		}
		
	
function PopUp(uri,w,h){
    URL = uri;
    name = "p1";
    Fensteroptionen = "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0";
    Breite = w;
    Hoehe = h;
    w1 = window.open(URL, 'Name', Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
    w1.focus();
}
