var course = 39;
function ruble(euro)
{
result = "";
rub=euro*course;
result = "" + rub + " руб.*/" + euro +" euro";
return result;
}
function fromruble(euro)
{
result = "";
rub=euro*course;
result = "от " +rub + " руб.*/" + euro +" euro";
return result;
}
function maxruble(mineuro, maxeuro)
{
result = "";
rub=mineuro*course;
result = "от " + rub + " руб.*(" + mineuro + "-" + maxeuro + " euro)";
return result;
}