
///////////////////////////////////////////////////////////////////////////////
// определяем картинки кнопок
// (firstimage - обычный вид,
//  secondimage - при наведении мышкой,
//  choiseimage - если кнопка выбрана (активна))

firstimage_about=new Image()
firstimage_about.src="IMG/about2.jpg"
secondimage_about=new Image()
secondimage_about.src="IMG/about1.jpg"
choiseimage_about=new Image()
choiseimage_about.src="IMG/about1.jpg"

firstimage_services=new Image()
firstimage_services.src="IMG/services2.jpg"
secondimage_services=new Image()
secondimage_services.src="IMG/services1.jpg"
choiseimage_services=new Image()
choiseimage_services.src="IMG/services1.jpg"

firstimage_news=new Image()
firstimage_news.src="IMG/news2.jpg"
secondimage_news=new Image()
secondimage_news.src="IMG/news1.jpg"
choiseimage_news=new Image()
choiseimage_news.src="IMG/news1.jpg"

firstimage_contacts=new Image()
firstimage_contacts.src="IMG/contacts2.jpg"
secondimage_contacts=new Image()
secondimage_contacts.src="IMG/contacts1.jpg"
choiseimage_contacts=new Image()
choiseimage_contacts.src="IMG/contacts1.jpg"

firstimage_consult=new Image()
firstimage_consult.src="IMG/consult2.jpg"
secondimage_consult=new Image()
secondimage_consult.src="IMG/consult1.jpg"
choiseimage_consult=new Image()
choiseimage_consult.src="IMG/consult1.jpg"


///////////////////////////////////////////////////////////////////////////////
// функция смены изображений (кнопок) в зависимости от наведения мышкой

function filter( imagename, objectsrc)
{
 if( document.images)
   document.images[imagename].src = eval( objectsrc+".src");

}

///////////////////////////////////////////////////////////////////////////////



