//  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 fmain(URL1,F1,URL2,F2)
 {
  parent.frames[F1].location.href=URL1;
  parent.frames[F2].location.href=URL2;
  focus();
 }

function fmain3(URL1,F1,URL2,F2,URL3,F3)
 {
  parent.frames[F1].location.href=URL1;
  parent.frames[F2].location.href=URL2;
  parent.frames[F3].location.href=URL3;
  focus();
 }

function fopenset(URL1)
 {
  window.open(URL1, "huettenberg");
  window.focus(URL1, "huettenberg");
 }

function fopenset2(URL1,F1,URL2,F2)
 {
  window.open("fset.html", "huettenberg");
  window.focus("fset.html", "huettenberg");
  frames[F1].location.href=URL1;
  frames[F2].location.href=URL2;
  focus();
 }

function a(txt) {
        self.status = txt;}
function b() {
        self.status = "";}

function ax() {
        window.status = "Museums- und Naturpark Huettenberg";}
function bx() {
        window.status = "";}


function lead(){
window.setTimeout('lead2()',2000);
}
function lead2(){
parent.frames[0].location.href='hg.html';
parent.frames[1].location.href='start.html';
parent.frames[2].location.href='hg.html';
}

function fopenveranstalt() {
    window.open("http://www.huettenberg.at/utils/provider/eventdiary/index.php?viewnsign&resize=focus&window_width=640&window_height=380&css=ci&caption=HÜTTENBERG - Veranstaltungskalender&image=veranstalt.gif", "guestbook", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=640,height=380,top=100,left=100");
 }

 function fopenforum() {
    window.open("http://www.huettenberg.at/utils/provider/forum/index.php?view&resize=focus&window_width=784&window_height=584&css=ci&caption=Tibet Forum", "guestbook", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=784,height=540,top=100,left=100");
 }

function guestbook(){
  window.open("http://www.huettenberg.at/utils/provider/guestbook/index.php?viewnsign&css=ci&image=logo.gif&resize=focus&title=HÜTTENBERG - Gästebuch"
, "guestbook", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=390,height=500,top=20,left=20");
 }
 
 function kondolenz(){
  window.open("http://www.huettenberg.at/utils/provider/kondolenz/index.php?viewnsign&limit=50&css=ci&image=kondolenz.gif&resize=focus&title=HEINRICH HARRER - Kondolenz"
, "guestbook", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=390,height=500,top=20,left=20");
 }

var urlx;
 function fopenplus(urlx){
  window.open(urlx, "guestbook", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0&Iacute;,copyhistory=0,width=420,height=500,top=20,left=20");
 }

var urllanguage;
 function fopenlanguage(urllanguage){
  window.open(urllanguage, "language", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0&Iacute;,copyhistory=0,width=690,height=500,top=20,left=20");
 }



function fopeninfo(xroot)
 {
window.open("downloadinfo.html", "plus", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=270,height=260,top=0,left=0");
 }