<!--
var MyTeam = 'TSG Wiesloch';
var MyTeamDesc = 'TSG Wiesloch - Abteilung Volleyball';
var curSeason = '1112';
var Array_Teams_Current = new Array('D1','D2','D3','D4','H1','M1','F1','U20w','U20m','U18w','U16m','U14w'); // Feld aktuelle Teams
var myStyle = "hell";
//var myStyle = "dunkel";
startAll();
function wrt(text){
	document.write(text);
}
function addSpace() {
	wrt('&nbsp;&nbsp;&nbsp;');
}
function startAll() {
	wrt('<meta http-equiv="imagetoolbar" content="no">');
	wrt('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">');
//	denyRight();
	selectCss("",myStyle);
	wrt('</head>');
//alert(getSize());
}
function denyRight() {
	var info="";
	function denyIE() {
		if (document.all) {
			(info);
			return false;
		}
	}
	if (!document.layers)
		document.oncontextmenu=denyIE;
	document.oncontextmenu=new Function("return false")
}
function getSize() {
	var height=screen.height;
	var width=screen.width;
	if(height>=1024 && width>=1280)
		return "large";
	if(height>=768 && width>=1024)
		return "medium";
	if(height<768 && width<1024)
		return "small";
}
function selectCss(path,style){
	wrt('<link rel="stylesheet" type="text/css" href="' + path + 'css/all.css">');
	wrt('<link rel="stylesheet" type="text/css" href="' + path + 'css/' + style + '.css">');
	wrt('<link rel="stylesheet" type="text/css" href="' + path + 'css/custom_' + getSize() + '.css">');
}
function getPara(para) {
	var loc = window.location.href;
	var pos = loc.indexOf(para+"=");
	if(pos >= 0) {
		pos = pos + para.length + 1;
		var len = loc.indexOf("&", pos);
		if(len < 0)
			len = loc.length;
		var value = loc.substring(pos, len);
		for(pos = 0; pos < value.length; pos++) {
			if(value.charAt(pos) == '+') {
				value = value.substring(0, pos) + " " + value.substring(pos + 1,value.length);
			}
		}
		value = unescape(value);
		return value;
	}
	return "";
}
function checkFrameset() {
	if(!parent.mainContent)
		location.href="http://www.volleyball-wiesloch.de/index.htm?" + location.pathname;
}
function getCurrentJSFile(file) {
	var aktuell= new Date();
	wrt('<SCRIPT LANGUAGE="JavaScript" SRC="libs/'+file+'.js?version='+aktuell.getTime()+'"></SCRIPT>');
}
function getGoogleAnalyticsTracker() {
	wrt(unescape("%3Cscript src='http://www.google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
}
function trackGoogleAnalytics() {
	try {
		var pageTracker = _gat._getTracker("UA-10535269-1");
		pageTracker._trackPageview();
		if(this.location.href.indexOf("news_history") > -1)
			wrt("<br><br>Tracking Success");
	} catch(err) {
		if(this.location.href.indexOf("news_history") > -1)
			wrt("<br><br>Tracking Error");
	}
	wrt("</body></html>");
}
-->
