    var skwidth   = screen.width;
    var skheight  = screen.height;
    var winheight = skheight - 115;
    var winwidth  = skwidth;
    if (winwidth >= 880)
       winwidth = 880;
    if (winheight >= 920)
       winheight = 920;
    var winleft = (skwidth - winwidth) / 2;
    var wintop  = (skheight - 115 - winheight) / 2;    


    function out() {
      window.status=' ';
      return true;
    }
    
    function won() {
       window.status='Žś hefur įšur skošaš žessa eign';return true;
    }
      
  
    function GoWin(houseid) {
       img = eval('document.sj'+houseid);
       img.src='http://www.habil.is/habilis/new/skodad.gif';
       img.onmouseover=won;
       img.onmouseout=out;        
       //window.open('http://www.habil.is/php/linux?/jalta?HabilView=80511&Shop&Habilis&&HouseId='+houseid+'&Fast&0&',houseid,'scrollbars=1,status=1,menubar=1,resizable=1,top=' + wintop + ',left=' + winleft + ',width=' + winwidth + ',innerwidth=' + winwidth + ',height=' + winheight + ',innerheight=' + winheight);       
       window.open('http://www.habil.is/lix/adjalta?HabilView=80511&Shop&Habilis&&HouseId='+houseid+'&Fast&0&',houseid,'scrollbars=1,status=1,menubar=1,resizable=1,top=' + wintop + ',left=' + winleft + ',width=' + winwidth + ',innerwidth=' + winwidth + ',height=' + winheight + ',innerheight=' + winheight);       
       return false;
    }
    
    function GoWinENG(houseid) {
       img = eval('document.sj'+houseid);
       img.src='http://www.habil.is/habilis/new/skodad.gif';
       img.onmouseover=won;
       img.onmouseout=out;        
       window.open('http://www.habil.is/php/linux?/jalta?HabilView=80511&Devo&english&HouseId='+houseid+'&Fast&0&',houseid,'scrollbars=1,status=1,menubar=1,resizable=1,top=' + wintop + ',left=' + winleft + ',width=' + winwidth + ',innerwidth=' + winwidth + ',height=' + winheight + ',innerheight=' + winheight);       
       return false;
    }                      
    function GoWinNoImg(houseid) {	
       //window.open('http://www.habil.is/php/linux?/jalta?HabilView=80511&Shop&Habilis&HouseId='+houseid+'&Fast&0&',houseid,'scrollbars=1,status=1,menubar=1,resizable=1,top=' + wintop + ',left=' + winleft + ',width=' + winwidth + ',innerwidth=' + winwidth + ',height=' + winheight + ',innerheight=' + winheight);       
       window.open('http://www.habil.is/lix/adjalta?HabilView=80511&Shop&Habilis&HouseId='+houseid+'&Fast&0&',houseid,'scrollbars=1,status=1,menubar=1,resizable=1,top=' + wintop + ',left=' + winleft + ',width=' + winwidth + ',innerwidth=' + winwidth + ',height=' + winheight + ',innerheight=' + winheight);       
       return false;
    }
    function GoItm(houseid) {
        window.open('/lix/adjalta?PurseItm=&Fast&0&HouseId='+houseid,'PurseItm'+houseid,'scrollbars=1,status=1,resizable=1,width=660,height=500');
    }
    function lon(txt) {
       window.status="Skoša sķšu nśmer "+txt;
       return true;
    }
    function hon() {
       window.status="Skoša žessa eign nįnar";
       return true;
    }
    function son() {
      window.status="Žessi eign er ķ skjóšunni žinni";            
      return true;
    }
