function zInitRM(t,h,thepr){
		var tform =	"#zRMform_" + zgetcleanname(t).toLowerCase();
		if(!jQuery(tform).length){tform = "#zRMform_other"};
		jQuery("#zRMbox form").hide();

		jQuery("#zRMbox form").each(function(){this.reset();});		
		jQuery("#zRMbox #zopr").html(thepr);
		jQuery("#zRMbox #zpr").val(thepr);		
		jQuery(tform).attr('action',h+'&item=rm').show();
		
		return;
}

function replaceCharacters(conversionString,inChar,outChar){
		var convertedString = conversionString.split(inChar);
		convertedString = convertedString.join(outChar);
		return convertedString;
}

function zgetcleanname(string){
		var string = string.replace(/[^a-zA-Z 0-9]+/g,'');
		return string;
}
