﻿/***********search bar mouse over change image**************/
function checkimageout(id,a)
{
    if(document.getElementById('hiddenlowerbuttonlastimgclicked').value!=id)
    {
       document.getElementById(id).style.backgroundImage='url(Images/menu--bar1.gif)'; 
       document.getElementById(id).style.backgroundRepeat="repeat-x";  
       document.getElementById(a).style.color="white";
    }
}
function checkimage(id,a)
{
    if(document.getElementById('hiddenlowerbuttonlastimgclicked').value!=id)
    {
      document.getElementById(id).style.backgroundImage='url(Images/menu-overlay.png)'; 
      document.getElementById(id).style.backgroundRepeat="repeat-x";
      document.getElementById(a).style.color="white"; 
    }
}
/*******City Bar Mouse Over change Image************/

 function checkimagecity(id,a)
    {
            document.getElementById(id).style.backgroundImage='url(Images/city-bar-btn-bg-24-px.gif)'; 
            document.getElementById(id).style.backgroundRepeat="repeat-x";
            document.getElementById(a).style.color="white"; 
    }
    function setcolorofcities(tdid,aid)
    {
           document.getElementById(tdid).style.backgroundImage='url(Images/city-bar-btn-bg-24-px.gif)';
           document.getElementById(tdid).style.backgroundRepeat="repeat-x";
           document.getElementById(aid).style.color="white";
    }
    
    function checkimageoutcity(id,a)
   {
            document.getElementById(id).style.backgroundImage='url(Images/gray-bg.jpg)'; 
            document.getElementById(id).style.backgroundRepeat="repeat-x";  
            document.getElementById(a).style.color="#256db1";
   }
   /***************************/
