//bild
function bild()
{print ("<image src=gfx/head-1.gif");}

//preload
loaded = preloadImages(); 
function preloadImages() { 
var arr_Images = new Array('gfx/leer.gif', 'gfx/bg_top.gif', 'gfx/head-1.gif', 'gfx/head-2.gif', 'gfx/head-3.gif', 'gfx/head-4.gif', 'gfx/head-5.gif', 'gfx/head-6.gif', 'gfx/bg_div_nav.gif', 'gfx/bg_h1.gif', 'gfx/links.jpg', 'gfx/bg_main.jpg','gfx/history.jpg', 'gfx/aufruf_fischer.jpg'); 
for(var i=0; i < arr_Images.length; i++) { 
var img = new Image(); 
img.src = arr_Images[i]; 
} 
return true; 
} 

//datum
function datum()
{var mydate=new Date()
        var year=mydate.getYear()

        if (year<2000)
                year=1900+year
       
        var day=mydate.getDay()
        var month=mydate.getMonth()
        var daym=mydate.getDate()

        if (daym<10)
                daym=""+daym

        var dayarray=new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag")
        var montharray=new Array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember")
        
		 document.write(""+dayarray[day]+", "+daym+". "+montharray[month]+" "+year+"")}



//austausch	
<!--
if(window != top) {
  top.location.href = location.href;
}

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

if (ns4) {
    layerRef="document.layers";
    styleRef="";
    imageRef="document.layers[\"menu\"].document.images";
} 
if (ie4) {
    layerRef="document.all";
    styleRef=".style";
    imageRef="document.images";
}       


function show(id) {
	if (ns4) document.layers[id].visibility = "show"
	else if (ie4) document.all[id].style.visibility = "visible"
}
function hide(id) {
	if (ns4) document.layers[id].visibility = "hide"
	else if (ie4) document.all[id].style.visibility = "hidden"
}
//updated
function updated()
{	var a;
	a=new Date(document.lastModified);
	lm_year=a.getYear();lm_year=((lm_year<1000)?((lm_year<70)?2000:1900):0)+lm_year;
	lm_month=a.getMonth()+1;lm_month=((lm_month<10)?'0':'')+lm_month;
	lm_day=a.getDate();lm_day=((lm_day<10)?'0':'')+lm_day;
	document.write("Updated " + lm_day+'.'+lm_month+'.'+lm_year);
}

//emails
function gunther()
{var nav="<a href=mailto:gunthervoss@yahoo.de class=impr>Gunther Voss</a>";
document.write (nav);}
function werner()
{var nav="<a href=mailto:wries@nexgo.de class=impr>Werner Ries</a>";
document.write (nav);}

//fenster
function impress() {window.open('http://www.svkoblenz.de/chess/impressum.html', 'EANITHING','toolbar=no,location=no,directories=no,innerHeight=350,innerWidth=350,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,screenX=1,screenY=1,width=370,height=140')} 
function plan() {window.open('http://www.koblenz.de/cityguide/html/de/800x600.html', 'EANITHING','toolbar=no,location=no,directories=no,innerHeight=540,innerWidth=780,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,screenX=1,screenY=1,width=780,height=540')} 
function aufruf() {window.open('http://www.svkoblenz.de/history/aufruf-zeit.htm', 'EANITHING','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,screenX=1,screenY=1,width=300,height=373')} 

//fenster allgemein
function newWindow(source,name,style) {
 window.open(source,name,style);
}
//Bilder popUp
function imagePopUp(image,width,height) {
 vspace=20;
 hspace=20;
 popUp = window.open("scripts/popUp.php?img="+image+"&width="+width+"&height="+height,"POPUP","width="+(width+hspace)+",height="+(height+vspace)+",scrollbars=no,resizeable=no");
 popUp.focus();
 
}

// Mannschafts-Navi
function openlink(url) {
    location.href = url;
  }
  
// Button-over-Effekt
function newImage(arg) {
 if (document.images) {
  rslt = new Image();
  rslt.src = arg;
  return rslt;
 }
}

function changeImages() {
 if (document.images && (preloadFlag == true)) {
  for (var i=0; i<changeImages.arguments.length; i+=2) {
   document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
  }
 }
}

var preloadFlag = false;
function preloadImages() {
 if (document.images) {
  schliessen_over = newImage("gfx/schliessen-over.gif");
  preloadFlag = true;
 }
}

