function sb(draw)
{
  var sW = screen.width;
  var sH = screen.height;
  sW = (sW/100)*60;
  sH = (sH/100)*60;
  options="toolbar=1, status=1, menubar=1, location=1, scrollbars=1, resizable=1, top=10, left=0, width=" + sW + ", height=" + sH;
  OpenWindow=open("", draw, options);
  OpenWindow.focus();
  self.name="main";
}				 
function ssb(draw,sW,sH)
{
  options="toolbar=0, status=0, menubar=1, location=0, scrollbars=1, resizable=1, top=40, left=0, width=" + sW + ", height=" + sH;
  OpenWindow=open("", draw, options);
  OpenWindow.focus();
  self.name="main";
}	  
function wsb(draw)
{				  
  var sW = screen.width;
  var sH = screen.height;
  sW = (sW/100)*60;
  sH = (sH/100)*60;
  options="toolbar=0, status=0, menubar=1, location=0, scrollbars=1, resizable=1, top=10, left=0, width=" + sW + ", height=" + sH;
  OpenWindow=open("http://"+location.host+"/descriptions/18/"+draw+".html?banner=1", draw, options);
  OpenWindow.focus();
  self.name="main";
}

function opWin(trg, imWs, imHs)
{
  var shConst = 37;
  var wth = imWs + imWs/7;
  var hgt = imHs + imHs/7;
  var x = document.body.clientWidth - wth;
  var y = document.body.scrollTop+document.body.clientHeight/10;
  options="toolbar=0, status=0, menubar=0, location=0, scrollbars=0, resizable=1, top=" + y + ", left=" + x + ", width=" + wth + ", height=" + hgt;
  OpenWindow=open("", trg, options);
  OpenWindow.focus();
}
