function change_curr_from($text)
{
	$text = $text.toUpperCase()
	$("#fra_valuta option[rel="+$text+"]").attr('selected', 'true');
}

function change_curr_to($text)
{
	$text = $text.toUpperCase()
	$("#til_valuta option[rel="+$text+"]").attr('selected', 'true');
}

function change_fra_valuta($rel) 
{
	$("#curr_from").attr('value', $rel);
}

function change_til_valuta($rel) 
{
	$("#curr_to").attr('value', $rel);
}