function email (login, sc)
{
var serv = new Array;
serv[0] = "nedelskaya.com.ua";
serv[1] = "";
serv[2] = "bx.com.ua";
eml = login +  "@" + serv[sc];
return eml;
}

function mylo (login, sc)
{
document.write (email(login, sc));
}

function namylo (login, sc, sub)
{
eml = "mailto:" + email(login, sc);
if (sub != "") eml += "?subject=" + sub;
window.location.href = eml;
}

//Прописывается в боди для убирания рамок на ссылках onload="blurIt()"
function blurIt() {
  arr = document.getElementsByTagName("a");
  for (i = 0; i < arr.length; i++) {
    if (!arr[i].blur)
      return;
    arr[i].onfocus = function() {
      this.blur();
    }
  }
}


function preloadImg(file){
  var image = new Image();
  image.src = "/img_n2/1.gif";
  image.src = "/img_n2/2.gif";
  image.src = "/img_n2/1s.gif";
  image.src = "/img_n2/2s.gif";
}

function screener(URL){
screenerWindow=open("","screenerWindow",
"toolbar=no,directories=no,menubar=no, scrollbars=no, resizable=yes, width=200, height=400")
if (screenerWindow.opener == null){
screenerWindow.opener = self}
if (URL != null){
screenerWindow.location.href=URL};
screenerWindow.focus();
} 

