
//var isNetscape = navigator.appName=="Netscape";
//var brw_version=parseInt(navigator.appVersion.substring(0,1));
//var brw_name=navigator.appName;


function showSubnav(lay)
{
	for (i=1;i<=5;i++)
		if (get_style('cont'+i)!='none')
			set_style('cont'+i,'none');
	if (get_style(lay)=='none')
		set_style(lay,'');
}

function showHideContent(lay)
{
	if (get_style(lay)=='none')
		set_style(lay,'');
	else
		set_style(lay,'none');	
}

function set_style(lay,myValue)
{
   if(!isNetscape)
     eval('document.all.'+lay+'.style.display="'+myValue+'"');
   else if (brw_version<=4)  
        eval('document.all.'+lay+'.display="'+myValue+'"');
   else 
     eval('document.getElementById("'+lay+'").style.display="'+myValue+'"');   
}

function get_style(lay)
{
   var tmp='';
   if(!isNetscape)
     eval('tmp=document.all.'+lay+'.style.display');
   else if (brw_version<=4)  
        eval('tmp=document.all.'+lay+'.display');
   else 
     eval('tmp=document.getElementById("'+lay+'").style.display'); 
	return tmp;  
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  f1=open(theURL,winName,features);
  if(window.focus) f1.focus();
}






function popup(url, name, height, width, scrollbars)
{
  var popwin;
  var opts = "toolbar=no,status=no,location=no,menubar=no,resizable=no"; opts += ",height=" + height + ",width=" + width + ",scrollbars=" + scrollbars;
 
  popwin = window.open(url, name, opts);
  popwin.focus();
}

function popshut(){
	if(popwin && !popwin.closed) popwin.close();
}

function pic1(){
	f1 = open("/t_html/chronik/big/pic1.htm", "p1", "width=385,height=280,resizeable=no,scrollbars=no");
	if(window.focus) f1.focus();	
}
function pic2(){
	f2 = open("/t_html/chronik/big/pic2.htm", "p1", "width=383,height=303,resizeable=no,scrollbars=no");
	if(window.focus) f2.focus();
}
function pic3(){
	f3 = open("/t_html/chronik/big/pic3.htm", "p1", "width=384,height=262,resizeable=no,scrollbars=no");
	if(window.focus) f3.focus();
}
function pic4(){
	f4 = open("/t_html/chronik/big/pic4.htm", "p1", "width=153,height=230,resizeable=no,scrollbars=no");
	if(window.focus) f4.focus();
}
function pic5(){
	f5 = open("/t_html/chronik/big/pic5.htm", "p1", "width=184,height=286,resizeable=no,scrollbars=no");
	if(window.focus) f5.focus();
}
function pic6(){
	f6 = open("/t_html/chronik/big/pic6.htm", "p1", "width=308,height=174,resizeable=no,scrollbars=no");
	if(window.focus) f6.focus();
}
function pic7(){
	f7 = open("/t_html/chronik/big/pic7.htm", "p1", "width=278,height=166,resizeable=no,scrollbars=no");
	if(window.focus) f7.focus();
}
function pic8(){
	f8 = open("/t_html/chronik/big/pic8.htm", "p1", "width=365,height=276,resizeable=no,scrollbars=no");
	if(window.focus) f8.focus();
}

function galerie(){
	f1 = open("gallery.php", "gal", "width=680,height=487,resizeable=no,scrollbars=no");
	if(window.focus) f1.focus();	
}
function galerie_bbt(){
	f1 = open("gallery_bbt.php", "gal_bbt", "width=700,height=650,resizeable=no,scrollbars=no");
	if(window.focus) f1.focus();	
}
function video(){
	f1 = open("video.php", "vid", "width=680,height=487,resizeable=no,scrollbars=no");
	if(window.focus) f1.focus();	
}

//<!--

var isNetscape = navigator.appName=="Netscape";
var brw_version=parseInt(navigator.appVersion.substring(0,1));
var brw_name=navigator.appName;

//showhidecontentvonjürgen

function showHideContent(lay)
{
	if (get_style(lay)=='none')
		set_style(lay,'');
	else
		set_style(lay,'none');	
}

function set_style(lay,myValue)
{
   if(!isNetscape)
     eval('document.all.'+lay+'.style.display="'+myValue+'"');
   else if (brw_version<=4)  
        eval('document.all.'+lay+'.display="'+myValue+'"');
   else 
     eval('document.getElementById("'+lay+'").style.display="'+myValue+'"');   
}

function get_style(lay)
{
   var tmp='';
   if(!isNetscape)
     eval('tmp=document.all.'+lay+'.style.display');
   else if (brw_version<=4)  
        eval('tmp=document.all.'+lay+'.display');
   else 
     eval('tmp=document.getElementById("'+lay+'").style.display'); 
	return tmp;  
}

