function On_Open(LeftF){
 if (self.parent.frames.length == 0) {
 //if(confirm("Вы пытаетесь открыть  одну из  внутренних страниц.  Перейти на главную страницу?")){
  location .href="index.htm?"+location.pathname;}
 // }
  else{
  if (LeftF!="") {
 if (self.top.frames[1].location!="http://www.biolab-ltd.ru/"+LeftF) {
    self.top.frames[1].location=LeftF; }
  } 
  }
}

function point_to(){
self.parent.frames[2].focus();
}

function DateFormat(d){
DD = new Date(d);
s= DD.getDate()+"."+(DD.getMonth()+1)+".";
if (parseInt(DD.getYear())>2000){s=s+DD.getYear()} else {s=s+(DD.getYear()+2000)}
return s
}

function OnOpen2(LeftF){
  if (self.parent.frames.length == 0) {
  if(confirm("Вы пытаетесь открыть  одну из  внутренних страниц.  Перейти на главную страницу?")){
  window.location="index.htm"; }
  }
  else{
  if (LeftF!="") {
  //"file:///C:/Мои%20документы/www/new/"
//  "http://www.biolab-ltd.ru/"
    if (self.top.frames [1].location!="http://www.biolab-ltd.ru/"+LeftF) {
	//alert(self.top.frames [1].location);
    self.top.frames [1].location=LeftF}
  }
  self.parent.frames[2].focus();
  } 
}

function FF(){
alert(window.top.frames[1].location);
window.top.frames[1].location="index.htm";
window.top.frames[1].frames[0].location="seals.htm";
}

function LoadFS(LeftF,MainF){
alert(L+"  "+LeftF+"****"+MainF);
if (LeftF!=""){
   window.frames [1].location=LeftF;
}
if (MainF!=""){
   top.frames [2].location=MainF;
 } 
top.frames [2].focus();
//document.writeln(L);
//top.frames [1].writeln(document.lastModified) 
}

function op(m,l,r){
alert("Loaded:  "+document.location+Mainfr);
 window.frames [1].location=Mainfr;
}