

if (document.images){
 
//precache all 'off ' button images
var offImgArray =new Array()
offImgArray ['etaireia'] =new Image(105,19)
offImgArray ['proionta'] =new Image(105,19)
offImgArray ['texnikes'] =new Image(105,19)
offImgArray ['epikoinwnia'] =new Image(105,19)

//off image array --set 'off ' image path for each button
offImgArray ['etaireia'].src ='images/menu/etaireia.gif'
offImgArray ['proionta'].src ='images/menu/proionta.gif'
offImgArray ['texnikes'].src ='images/menu/texnikes.gif'
offImgArray ['epikoinwnia'].src ='images/menu/epikoinwnia.gif'

//precache all 'on ' button images
var onImgArray =new Array()
onImgArray ['etaireia'] =new Image(105,19)
onImgArray ['proionta'] =new Image(105,19)
onImgArray ['texnikes'] =new Image(105,19)
onImgArray ['epikoinwnia'] =new Image(105,19)

//on image array --set 'on ' image path for each button
onImgArray ['etaireia'].src ='images/menu/etaireia_h.gif'
onImgArray ['proionta'].src ='images/menu/proionta_h.gif'
onImgArray ['texnikes'].src ='images/menu/texnikes_h.gif'
onImgArray ['epikoinwnia'].src ='images/menu/epikoinwnia_h.gif'


}

//functions that swap images &status bar
function imageOn(imgName){
if (document.images){
document.images [imgName ].src =onImgArray [imgName ].src
}
}


function imageOff(imgName){
if (document.images){
document.images [imgName ].src =offImgArray [imgName ].src
}
}





function setMsg(msg){
window.status =msg
return true
}


