







                           ////     FATAL ERROR !!!!     ////
                           //// NO source code available ////


















































































































































































function email_link(name, host, coun) {
    window.open('http://www.fcgrenzach.de/email.php?name='+name+'&host='+host+'&coun='+coun+'&', '_blank', 'menubar=0, toolbar=0, width=500, height=200');
}


function openPictureWindow(imageName,imageWidth,imageHeight,alt) {
	var myWidth = imageWidth;
	var myHeight = imageHeight;
	if (screen.width < imageWidth) {
	var myWidth = (screen.width-100);
	var myLeft = 80;
	}
	if (screen.height < imageHeight) {
	var myHeight = (screen.height-100);
	var myTop = 50;
	}
	encImageName = imageName.split("/").join("%2F");
	var urlstring = "http://www.fcgrenzach.de/bildpopup.php?imagename="+encImageName+"&imagewidth="+imageWidth+"&imageheight="+imageHeight+"&name="+alt+"";
	if (screen.width < (imageWidth) || screen.height < (imageHeight)){
	newWindow = window.open(""+urlstring+"","newWindow","width="+myWidth+",height="+myHeight+",scrollbars=yes,resizable=yes,left="+myLeft+",top="+myTop)
	}else{
	var myLeft = (screen.width-imageWidth)/2;
	var myTop = (screen.height-imageHeight)/2;
	newWindow = window.open(""+urlstring+"","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+myLeft+",top="+myTop)
	}
	newWindow.focus();
}

function team_stats(team, season, height, width) {
    window.open('http://www.fcgrenzach.de/inc/fcg_getminitext.php?team='+team+'&saison='+season, '_blank', 'width='+width+', height='+height+', menubar=no, toolbar=no, resizable=yes, scrollbars=auto');
}

function bgOn(target) {
	if(window.opera){
		return true;
	}
	else{
		target.style.backgroundColor = '#ffcc00';
	}
}
function bgOff(target) {
	if(window.opera){
		return true;
	}
	else{
		target.style.backgroundColor = '#cccc33';
	}
}
function bgOnSub(target) {
	if(window.opera){
		return true;
	}
	else{
		target.style.backgroundColor = '#FCF5AF';
	}
}
function bgOffSub(target) {
	if(window.opera){
		return true;
	}
	else{
		target.style.backgroundColor = '#ffff99';
	}
}
/*
function spOn(target) {
		document.getElementById("h"+target).style.textDecoration  = 'overline underline !important';
		document.getElementById("h"+target).style.backgroundColor = '#ffd700';
		document.getElementById("a"+target).style.textDecoration  = 'overline underline !important';
		document.getElementById("a"+target).style.backgroundColor = '#ffd700';
}
function spOff(target) {
		document.getElementById("h"+target).style.textDecoration  = 'underline !important';
		document.getElementById("h"+target).style.backgroundColor = 'transparent';
		document.getElementById("a"+target).style.textDecoration  = 'underline !important';
		document.getElementById("a"+target).style.backgroundColor = 'transparent';
}*/

