browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);
if(browserVer >=3)
        version="3";
else
        version="2";
		
if (version=="3")
{

x1_on=new Image(20,70);
x1_on.src="icons/natisni_on.gif";
x1_off=new Image(20,70);
x1_off.src="icons/natisni_off.gif";

x2_on=new Image(20,70);
x2_on.src="icons/poslji_on.gif";
x2_off=new Image(20,70);
x2_off.src="icons/poslji_off.gif";

x3_on=new Image(20,70);
x3_on.src="icons/natisni2_on.gif";
x3_off=new Image(20,70);
x3_off.src="icons/natisni2_off.gif";

x4_on=new Image(20,70);
x4_on.src="icons/poslji2_on.gif";
x4_off=new Image(20,70);
x4_off.src="icons/poslji2_off.gif";

x5_on=new Image(30,25);
x5_on.src="icons/foto_nazaj_on.gif";
x5_off=new Image(30,25);
x5_off.src="icons/foto_nazaj_off.gif";

x6_on=new Image(30,25);
x6_on.src="icons/foto_naprej_on.gif";
x6_off=new Image(30,25);
x6_off.src="icons/foto_naprej_off.gif";

}
function rollIn(imgName)
{
        if (version=="3")
        {
                document[imgName].src=eval(imgName + "on.src");
        }
}
function rollOut(imgName)
{
        if (version=="3")
        {
                document[imgName].src=eval(imgName + "off.src");
        }
}
