//  Image Swap
function swapImage(name, over, out) {
  this.name   = name;
  this.over   = new Image();
  this.out    = new Image();
  this.over.src   = over;
  this.out.src    = out;
  return this;
}

var swapImgs = new Array(
  new swapImage("hus",           "img/utlit/hus_on.gif",       "img/utlit/hus_off.gif"),
  new swapImage("prentari",      "img/utlit/prentari_on.gif",  "img/utlit/prentari_off.gif")
);


function si_over(nr) {
  document.images[swapImgs[nr].name].src = swapImgs[nr].over.src;
}

function si_out(nr) {
  document.images[swapImgs[nr].name].src = swapImgs[nr].out.src;
}
//  Image Swap Endar

//  Window popup
function popup(url,width,height) {
    menuWindow=window.open(url,"edit","toolbar=0,scrollbars=yes,location=0,status=0,menubar=0,width=" + width + ",height=" + height)
    setTimeout("menuWindow.focus();", 100);
    }
//  Window popup Endar

