function loadDoc(){
   var a = location.search.split('&');
   var page = a[0].substr(1);
   var frame = a[1];
   if(page && frame){
    var s = "top." + frame + ".location.replace('" + page + "')";
    eval(s);
   }
   return;
  }



function frameMe(){
  var frameset = "index.html"; 
  var frame = "body"; 
  page = new String(self.document.location);
  var pos = page.lastIndexOf("/") + 1;
  var file = page.substr(pos);
  if(window.name != frame){
  var s = frameset + "?" + file + "&" + frame;
  top.location.replace(s);
 }
 return;
}



function frameProducts(){
  var frameset = "productsmain.htm"; 
  var frame = "body"; 
  page = new String(self.document.location);
  var pos = page.lastIndexOf("/") + 1;
  var file = page.substr(pos);
  if(window.name != frame){
  var s = frameset + "?" + file + "&" + frame;
  top.location.replace(s);
 }
 return;
}



function frameProducts2(){
  var frameset = "productsmain2.htm"; 
  var frame = "body"; 
  page = new String(self.document.location);
  var pos = page.lastIndexOf("/") + 1;
  var file = page.substr(pos);
  if(window.name != frame){
  var s = frameset + "?" + file + "&" + frame;
  top.location.replace(s);
 }
 return;
}