function roundit(which){
return Math.round(which*100)/100
}

function euconvert(){
with (document.convert){
lv.value = roundit(eu.value/0.51129);
usd.value = roundit(eu.value/0.67902);
}
}

function lvconvert(){
with (document.convert){
eu.value = roundit(lv.value/1.95583);
usd.value=roundit(lv.value/1.32806);
}
}

function usdconvert(){
with (document.convert){
eu.value=roundit(usd.value/1.47269);
lv.value=roundit(usd.value/0.75297);
}
}
function calc_sq(){
with (document.publish_offer){
p22.value=Math.round(p5.value/p4.value);
}
}