// Ñìåíà êàðòèíêè ïðè íàâåäåíèè ìûøêè íà çíà÷¸ê ÏÎ×ÒÛ è "êàðòû ñàéòà"
if (document.images)
{
/* preload image */
buttonoff = new Image();
buttonoff.src = prefix + "img/mailoff.png";
buttonon = new Image();
buttonon.src = prefix + "img/mailon.png";
button2off = new Image();
button2off.src = prefix + "img/mapoff.gif";
button2on = new Image();
button2on.src = prefix + "img/mapon.gif";
}

/* function to set image on state */
function On(imageName)
{
if (document.images)
{
document[imageName].src = eval(imageName+"on.src");
}
}

/* function to reset image back to off state */
function Off(imageName)
{
 if (document.images)
{
document[imageName].src = eval(imageName+"off.src");
}
}

