<!--
function viskut(){
document.dokform.val1.value = "";
document.dokform.val2.value = "Svaret her";
}
document.write("Tast inn beløp &nbsp; &nbsp; &nbsp;Velg valuta"+"<BR>");
function valuta(){
if(!(document.dokform.val1.value))
{document.dokform.val2.value = "Klikk for svar";}
else if ((document.dokform.cur1.options[document.dokform.cur1.selectedIndex].value == -1) || (document.dokform.cur2.options[document.dokform.cur2.selectedIndex].value == -1))
{document.dokform.val2.value = "Rate N/A";}
else
{
document.dokform.val2.value=document.dokform.val1.value*(document.dokform.cur1.options[document.dokform.cur1.selectedIndex].value/document.dokform.cur2.options[document.dokform.cur2.selectedIndex].value);
document.dokform.val2.value=Math.round(document.dokform.val2.value*100)/100;
}
}
document.write("<INPUT TYPE='text' size='10' NAME='val1' VALUE='' onClick='valuta();' CLASS='formx' />");
document.write("<SELECT NAME='cur1' onChange='valuta();' CLASS='formx'>");
document.write("<OPTION VALUE='0.143314306310045'>Denmark Krone [DKK]</OPTION>");
document.write("<OPTION VALUE='1.0652998701648'>Europe Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.0125928676650279'>Iceland Krona [ISK]</OPTION>");
document.write("<OPTION VALUE='0.145076843052315' SELECTED>Norway Kroner [NOK]</OPTION>");
document.write("<OPTION VALUE='0.115807811136884'>Sweden Kronor [SEK]</OPTION>");
document.write("<OPTION VALUE='1'>US Dollar [USD]</OPTION>");
document.write("<OPTION VALUE='1.60669354387297'>Britain Pound [GBP]</OPTION>");
document.write("</SELECT><BR>");
document.write("<INPUT TYPE='text' size='10' NAME='val2' Value='Klikk for svar?' onClick='valuta()' READONLY style='cursor:hand;' CLASS='formx' />");
document.write("<SELECT NAME='cur2' onChange='valuta();' CLASS='formx'>");
document.write("<OPTION VALUE='0.143314306310045' SELECTED>Denmark Krone [DKK]</OPTION>");
document.write("<OPTION VALUE='1.0652998701648'>Europe Euro [EUR]</OPTION>");
document.write("<OPTION VALUE='0.0125928676650279'>Iceland Krona [ISK]</OPTION>");
document.write("<OPTION VALUE='0.145076843052315' >Norway Kroner [NOK]</OPTION>");
document.write("<OPTION VALUE='0.115807811136884'>Sweden Kronor [SEK]</OPTION>");
document.write("<OPTION VALUE='1'>US Dollar [USD]</OPTION>");
document.write("<OPTION VALUE='1.60669354387297'>Britain Pound [GBP]</OPTION>");
document.write("</SELECT>");
document.write("</SELECT>");
document.write("&nbsp; <INPUT TYPE='button' VALUE='visk ut' onClick='viskut()' CLASS='formx' />");
//-->
