function getInnerWidth () {
	var width = 800;
	if (self.innerWidth) { // all except Explorer
		width = self.innerWidth;
	} else if (document.documentElement && document.documentElement.clientWidth) { // Explorer 6 Strict Mode
		width = document.documentElement.clientWidth;
	} else if (document.body) { // other Explorers
		width = document.body.clientWidth;
	}
	return width;
}

function getInnerHeight () {
	var height = 600;
	if (self.innerHeight) { // all except Explorer
		height = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		height = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		height = document.body.clientHeight;
	}
	return height;
}

function neuAufbau () {
	if (Weite != getInnerWidth() || Hoehe != getInnerHeight())
		location.href = location.href;
}

function getMainWidth () {
	var offset;
	if (self.innerWidth) { // all except Explorer
		offset = 162;
	} else if (document.documentElement && document.documentElement.clientWidth) { // Explorer 6 Strict Mode
		offset = 162;
	} else if (document.body) { // other Explorers
		offset = 162; // IE 5.5
	}
	return (getInnerWidth() - offset);
}

function getMainHeight () {
	var width;
	if (self.innerHeight) { // all except Explorer
		offset = 282;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		offset = 282;
	} else if (document.body) { // other Explorers
		offset = 282; // IE 5.5
	}
	return (getInnerHeight() - offset);
}

function getLyricsWidth () {
	var offset;
	if (self.innerWidth) { // all except Explorer
		offset = 162;
	} else if (document.documentElement && document.documentElement.clientWidth) { // Explorer 6 Strict Mode
		offset = 162;
	} else if (document.body) { // other Explorers
		offset = 162; // IE 5.5
	}
	return (getInnerWidth() - offset);
}

function getLyricsHeight () {
	var width;
	if (self.innerHeight) { // all except Explorer
		offset = 252;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		offset = 252;
	} else if (document.body) { // other Explorers
		offset = 252; // IE 5.5
	}
	return (getInnerHeight() - offset);
}

function getSongsWidth () {
	var offset;
	if (self.innerWidth) { // all except Explorer
		offset = 162;
	} else if (document.documentElement && document.documentElement.clientWidth) { // Explorer 6 Strict Mode
		offset = 162;
	} else if (document.body) { // other Explorers
		offset = 162; // IE 5.5
	}
	return (getInnerWidth() - offset);
}

function getSongsHeight () {
	var width;
	if (self.innerHeight) { // all except Explorer
		offset = 400;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		offset = 400;
	} else if (document.body) { // other Explorers
		offset = 400; // IE 5.5
	}
	return (getInnerHeight() - offset);
}

function getArtistsWidth () {
	var offset;
	if (self.innerWidth) { // all except Explorer
		offset = 162;
	} else if (document.documentElement && document.documentElement.clientWidth) { // Explorer 6 Strict Mode
		offset = 162;
	} else if (document.body) { // other Explorers
		offset = 162; // IE 5.5
	}
	return (getInnerWidth() - offset);
}

function getArtistsHeight () {
	var width;
	if (self.innerHeight) { // all except Explorer
		offset = 334;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		offset = 334;
	} else if (document.body) { // other Explorers
		offset = 334; // IE 5.5
	}
	return (getInnerHeight() - offset);
}

function getPlayerBackLeft () {
	var player;
	if (getInnerWidth() < 1024) {
		player = 700;
	} else {
		player = getInnerWidth() - 324;
	}
	return player;
}

function getPlayerBackTop () {
	return (getInnerHeight() - 304);
}

function getPlayerLeft () {
	var player;
	if (getInnerWidth() < 1024) {
		player = 874;
	} else {
		player = getInnerWidth() - 240;
	}
	return player;
}

function getPlayerTop () {
	return (getInnerHeight() - 50);
}

function getPixSize () {
	var PixSize;
	if (getInnerHeight() < 680) { 
		PixSize = 450;
	} else if (getInnerHeight() < 960) {
		PixSize = 600;
	} else {
		PixSize = 886;
	}
	return PixSize;
}
	
