// tools.js - copyright 1998-2001 iService
// Requires  JavaScript 1.2
/*
you can use this script for non-commercial projects for free -
please leave a copyright-notice (www.iservice.at) in the head of the script
for commercial projects contact us - office@iservice.at
*/

var bwn,bwv,version;
var bwn = navigator.appName;
if(bwn == "Netscape"){
bwv = parseInt(navigator.appVersion);
if(bwv >= 5){version = "n6";}
if(bwv < 5){version = "n4";}
}
else if (bwn == "Microsoft Internet Explorer" )
{
var bw1=navigator.appVersion;
var bw2=bw1.indexOf('MSIE',0);
var bw3=bw1.substring(bw2 + 5,bw2 + 6)
bwv = parseInt(bw3);
if(bwv >= 6){version = "e6";}
if(bwv < 6){version = "e4";}
}
else {version = "xx";}


function checkns(){
if (navigator.appName =='Netscape'){
parent.frames[5].location.href='downlinens.html';
}
}

function fmain(URL1,F1,URL2,F2)
 {
  parent.frames[F1].location.href=URL1;
  parent.frames[F2].location.href=URL2;
  focus();

 }

var urlinh,headline;

function naviw(urlinh,headline)
{
  parent.frames[4].location.href=urlinh;
  if(document.all){
  hideie(headline);
  }
  else{
  hidens(headline);
  }
}


function hidens(headline){
for (i=0; i<10; i++){
menuname1 = 'm' + i + '1';
parent.frames[3].window.document[menuname1].visibility = "hidden";
}
parent.frames[3].document[headline].visibility = "visible";
}

function hideie(headline){
for (i=0; i<10; i++){
menuname1 = 'm' + i + '1';
parent.frames[3].document.all[menuname1].style.visibility = "hidden";
}
parent.frames[3].document.all[headline].style.visibility = "visible";
}


function fopenset(URL1)
 {
  window.open(URL1, "monz");
  window.focus(URL1, "monz");
 }

function fopenset2(URL1,F1,URL2,F2)
 {

  window.open("fset.html", "monz");
  window.focus("fset.html", "monz");
  frames[F1].location.href=URL1;
  frames[F2].location.href=URL2;
  focus();
 }


function fopen(xroot)
 {
window.open(xroot, "plus", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=770,height=560,top=0,left=0");
 }


function guestbook(href)
{
  window.open(href, "guestbook", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=390,height=600,top=20,left=20");
 }

function lead(){
window.setTimeout('lead2()',4000);
}

function lead2(){
if (bwn =='Microsoft Internet Explorer'){location.href='set.html';}
if (bwn =='Netscape')
{
if (version =='n6'){location.href='set.html';}
if (version =='n4'){location.href='setnet.html';}
}
else {location.href='set.html';}
}

function refresher() {
 parent.frames[2].location.href="navi.html";
}

function kill(a){
a.value="";
}


function a(txt) {
        self.status = txt;}
function b() {
        self.status = "";}

function ax() {
        window.status = "monz";}
function bx() {
        window.status = "";}




