function TidyFileName(txt)
{

	var arVersion = navigator.appVersion.split("MSIE")
	var version = parseFloat(arVersion[1])

	//	 if (version > 6.0 || version == NaN)
	if (version >= 7 || isNaN(version))
	{

	}
	txt= txt.replace(/ü/g,'ue');
	txt= txt.replace(/ö/g,'oe');
	txt= txt.replace(/ä/g,'ae');
	txt= txt.replace(/Ü/g,'Ue');
	txt= txt.replace(/Ö/g,'Oe');
	txt= txt.replace(/Ä/g,'Ae');
	txt= txt.replace(/ß/g,'ss');
	txt= txt.replace(/ /g,'_');
	txt= txt.replace(/[^a-zA-Z0-9._-]/g,'');
	txt= txt.substr(0, 64);
	return txt;
}
