function expand(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuHover";
  d.className = "menuHover";
}

function collapse(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuNormal";
  d.className = "menuNormal";
}

if (document.images) {

menu0on = new Image();
menu0on.src ="images/menu0on.jpg";
menu1on = new Image();
menu1on.src ="images/menu1on.jpg";
menu2on = new Image();
menu2on.src ="images/menu2on.jpg";
menu3on = new Image();
menu3on.src ="images/menu3on.jpg";
menu4on = new Image();
menu4on.src ="images/menu4on.jpg";
menu5on = new Image();
menu5on.src ="images/menu5on.jpg";
menu6on = new Image();
menu6on.src ="images/menu6on.jpg";
menu7on = new Image();
menu7on.src ="images/menu7on.gif";

menu0off = new Image();
menu0off.src ="images/menu0off.jpg";
menu1off = new Image();
menu1off.src ="images/menu1off.jpg";
menu2off = new Image();
menu2off.src ="images/menu2off.jpg";
menu3off = new Image();
menu3off.src ="images/menu3off.jpg";
menu4off = new Image();
menu4off.src ="images/menu4off.jpg";
menu5off = new Image();
menu5off.src ="images/menu5off.jpg";
menu6off = new Image();
menu6off.src ="images/menu6off.jpg";
menu7off = new Image();
menu7off.src ="images/menu7off.gif";
}

function imgOnl(imgName) {        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }}
                        
function imgOffl(imgName) {        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
		}}

function newWin() {
stats = 'toolbar=no,location=no,directories=no,status=no,menubar=no,'
stats = stats + 'scrollbars=yes,resizable=yes,width=590, top=0, left=0'
            newP = window.open("guncelleme.aspx","newWnd",stats)      }

