   
function over(elem)
{
if (elem.id=="mainmenu") elem.style.color = 'darkgreen';
else
{if (elem.id=="prod"||elem.id=="moduls"||elem.id=="dev"||elem.id=="cans"||elem.id=="patch"||elem.id=="adapt"||elem.id=="modul"||elem.id=="modulktm") elem.style.color ='cyan';
else elem.style.color = 'maroon';}

if (elem.id=="mainvertmenu") {elem.style.backgroundColor='white';}

}


function out(elem) 
{
elem.style.color = '';
if (elem.id=="mainvertmenu") {elem.style.backgroundColor='';}
}


function fulltime ()
{
var time=new Date();
document.clock.full.value=time.toLocaleString();
setTimeout('fulltime()',500);
}

function sprut(val)
{

if (val.value=="0") location.href="contr.html"
if (val.value=="1") location.href="contrsp4603.html"
if (val.value=="2") location.href="contrsp4508.html"
if (val.value=="3") location.href="contrspe602.html"

}

function device(val)
{
if (val.value=="0") location.href="device.html"
if (val.value=="1") location.href="devicezpps.html"
if (val.value=="2") location.href="contrspkch.html"
}

function canmoduls(val)
{
if (val.value=="0") location.href="cando8p.html"
if (val.value=="1") location.href="can2.html"
}

function patch(val)
{
if (val.value=="0") location.href="patch.html"
if (val.value=="1") location.href="patch16kRJPCB.html"
if (val.value=="2") location.href="Patch16kRJ-PCB24v.html"
if (val.value=="3") location.href="Patch16kRJ-kl.html"
if (val.value=="4") location.href="Patch16kl-PCB24v.html"
if (val.value=="5") location.href="Patch16kkl-PCB24v.html"
}

function adaptors(val)
{
if (val.value=="0") location.href="adaptors.html"
if (val.value=="1") location.href="adpv202asp.html"
if (val.value=="2") location.href="2adpposlRS-2321-WireUSB.html"
if (val.value=="3") location.href="2adpposlRS-232485_422USBg.html"
if (val.value=="4") location.href="2adppRS-232USB.html"
if (val.value=="5") location.href="2adppRS-485_422USBg.html"
}

function moduls8bit(val)
{
if (val.value=="0") location.href="moduls8bit.html"
if (val.value=="1") location.href="moduls8bitmdio.html"
if (val.value=="2") location.href="modulsetc.html"
}

function modulsnoisa(val)
{
if (val.value=="0") location.href="modulsnisa.html"
if (val.value=="1") location.href="modulsnisaras.html"
}


function modulsktm(val)
{
if (val.value=="0") location.href="modulsktm.html"
if (val.value=="1") location.href="modulsopto.html"
if (val.value=="2") location.href="modulsrash.html"
if (val.value=="3") location.href="adaptors.html"
if (val.value=="4") location.href="patch.html"
if (val.value=="5") location.href="modulsbp.html"
}

function prodmilk(val)
{
if (val.value=="0") location.href="prodmilk.html"
if (val.value=="1") location.href="prodmilkraz.html"
if (val.value=="2") location.href="prodmilkdva.html"
}

function modulsopto(val)
{
if (val.value=="0") location.href="modulsopto.html"
if (val.value=="1") location.href="modulsopto32i.html"
if (val.value=="2") location.href="modulsoptout.html"
if (val.value=="3") location.href="modulsopto32o.html"


}

