// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
function sw(type, id){
	$('per'+id).hide();
	$('or'+id).hide();
	$('code'+id).hide();
	$(type+id).show();
}