Rost_shat,
function fn(cur, val, met)
{ var objSize = {Classik : ["35","35.5"], eursize : ["36", "36 2/3"]}
var idx = objSize[cur].indexOf(val);
if(idx != -1 && objSize[met][idx]) return objSize[met][idx];
return false
}
var size = fn("Classik", "35", "eursize");
alert(size);
var size = fn("Classik", "100", "eursize")
alert(size);