
//Numeric kontrol
function IsNumeric(strString){
   var strValidChars = "0123456789";
   var strChar;
   var blnResult = true;
   for (i = 0; i < strString.length && blnResult == true; i++){
	  strChar = strString.charAt(i);
	  if (strValidChars.indexOf(strChar) == -1)
		 {
		 blnResult = false;
		 
		 }
	  }
   return blnResult;
   }
<!--- popup-->
function popup(mylink, windowname, w, h){
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width='+w+',height='+h+',scrollbars=yes');
return false;
}

function dlPDF(f) {
	window.open ('c/docs/mektup/'+f.value+'');
	return false;
}
