// JavaScript Document

if (document.images) {
	
	var imgHeaderPath = "http://strawberriesandcream.magento.xtrahost.co.uk/skin/frontend/default/default/images/menubtns/";
	
    homebuttonup       = new Image();
    homebuttonup.src   = imgHeaderPath +"menu-1.png";
    homebuttondown     = new Image() ;
    homebuttondown.src = imgHeaderPath +"menu-1-on.png";
	
	aboutbuttonup       = new Image();
    aboutbuttonup.src   = imgHeaderPath +"menu-2.png";
    aboutbuttondown     = new Image() ;
    aboutbuttondown.src = imgHeaderPath +"menu-2-on.png";
	
	neonbuttonup       = new Image();
    neonbuttonup.src   = imgHeaderPath +"menu-3.png";
    neonbuttondown     = new Image() ;
    neonbuttondown.src = imgHeaderPath +"menu-3-on.png";
	
	gossipbuttonup       = new Image();
    gossipbuttonup.src   = imgHeaderPath +"menu-4.png";
    gossipbuttondown     = new Image() ;
    gossipbuttondown.src = imgHeaderPath +"menu-4-on.png";
	
	aveabuttonup       = new Image();
    aveabuttonup.src   = imgHeaderPath +"menu-5.png";
    aveabuttondown     = new Image() ;
    aveabuttondown.src = imgHeaderPath +"menu-5-on.png";
	
	securebuttonup       = new Image();
    securebuttonup.src   = imgHeaderPath +"footer-1.png";
    securebuttondown     = new Image() ;
    securebuttondown.src = imgHeaderPath +"footer-1-on.png";
	
	tacbuttonup       = new Image();
    tacbuttonup.src   = imgHeaderPath +"footer-2.png";
    tacbuttondown     = new Image() ;
    tacbuttondown.src = imgHeaderPath +"footer-2-on.png";
	
	delibuttonup       = new Image();
    delibuttonup.src   = imgHeaderPath +"footer-3.png";
    delibuttondown     = new Image() ;
    delibuttondown.src = imgHeaderPath +"footer-3-on.png";
	
	tradebuttonup       = new Image();
    tradebuttonup.src   = imgHeaderPath +"footer-4.png";
    tradebuttondown     = new Image() ;
    tradebuttondown.src = imgHeaderPath +"footer-4-on.png";
	
	contactbuttonup       = new Image();
    contactbuttonup.src   = imgHeaderPath +"footer-5.png";
    contactbuttondown     = new Image() ;
    contactbuttondown.src = imgHeaderPath +"footer-5-on.png";
	
	avearumbuttonup       = new Image();
    avearumbuttonup.src   = imgHeaderPath +"but_another.gif";
   avearumbuttondown     = new Image() ;
    avearumbuttondown.src = imgHeaderPath +"but_another_on.gif";
}
function buttondown( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "down.src" );
    }
}
function buttonup ( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "up.src" );
    }
}
