function Amount_onkeyup(thisis) {
	//alert(thisis.value);
	var tempstr,newstr,str,i,str2 ;
	var commapos,aftercomma,commacount;
	i=0;
	str = thisis.value;
	if (str.indexOf(".")<0){// çalışma
	//alert(str);
	//str = str.replace(".","");
	//alert(str);
	
	while ( 15 > i) {
		str = str.replace(",","");
		i=i+1;
		}
	commacount=0;
	commapos=str.indexOf(";");
	
	if (commapos>=0) 
	{
		aftercomma=str.substr(commapos);
		str=str.substr(0,commapos);
	}
	else
		aftercomma="";
	
	if (str.length > 3) 
	{
		tempstr=str;
		newstr="";
		while (tempstr.length>3)
		{
			newstr=","+tempstr.substr(tempstr.length-3)+newstr; 
			tempstr=tempstr.substr(0,tempstr.length-3);
		}
		thisis.value = tempstr+newstr+aftercomma;
	}
	else
	{
		str = str.replace(",","");
		thisis.value=str
	}
	}
	return true;
}
function Only_Numeric(e) {	
	//alert(window.event.srcElement.value);
	var whichCode = (window.Event) ? e.which : e.keyCode;
	
	if (whichCode == 13) return true;  // Enter
	//Modified By Mehmet
	//Thousand Seperator changed "." to ","
	//if (whichCode == 44) return true;  // Comma
	if (whichCode == 46) return true;  // Period (nokta)
	if (whichCode > 57 ){
	return false;}
	if (whichCode < 48 && whichCode > 13){
	return false;}
}
