var id;
function c_start() {
  d = new Date();
  window.status = 'www.aquatron.ru';
  id = setTimeout("c_start();",100);
 }
function vverch() {for (I=500; I>=1; I--) {self.scroll(1,I)}}
function nw (name) {
window.open(name, '_blank', '');
}
function ow (name) {
win1=window.open(name, 'aquatron', '');
if (win1.closed) alert("Не могу открыть новое окно");
}
function prz (name) {
win1=window.open(name, 'pricez', '');
if (win1.closed) alert("Не могу открыть новое окно");
}
function prt() {
printer=window.open("","printer","width=300,height=200,top=0,left=0,hotkeys=no,scrollbars=no,resizable=no,status=no,toolbar=no,menubar=no,locacion=no,directories=no,titlebar=no,personalbar=no");
printer.document.open();
printer.document.write("<body onLoad='window.focus()'><center><br><br><br>Ждите, идет загрузка");
printer.document.close();
document.sr_printer.submit();
}
function zakladka() { 
window.external.addFavorite('http://aquatron.ru', 'Акватрон - гидроизоляция без проблем!') 
}
function maxWindow() {
window.moveTo(0,0);
if (document.all) {
  top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
  if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
  {
    top.window.outerHeight = screen.availHeight;
    top.window.outerWidth = screen.availWidth;
  }
}
window.focus();
}
