

var c = new Image(1,1);
c.src = "http://xcounter.de/php/counter_mrch.php3?id=3136&art=unsichtbar&breite=" + screen.width + "&seite=platin&hoehe=" + screen.height + "&ref=" + document.referrer;









c = 0;

function finished() {

	window.setTimeout('ffinished()', 1000);

}


function ffinished() {

	$('loading-progress').innerHTML = parseInt($('loading-progress').innerHTML) + 10;

	c++;

	if(c == 10) {

		$('loading-progress').innerHTML = '100';
		window.setTimeout('initialize()', 1000);

	}

}




function initialize() {

	new Effect.Fade('loading');

	Element.setStyle('sl_promo', { display:'block' });

	new Effect.Appear('credits');
	
	
			$('music').innerHTML = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="190" height="40" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="/mp3player.swf?mp3url=http://no-response.org/releases/2007-06-20_-_p.laoss_-_get_back_ep_-_nore012/03_-_p.laoss_-_get_back_ep_-_get_back.mp3&amp;loop=true" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="/mp3player.swf?mp3url=http://no-response.org/releases/2007-06-20_-_p.laoss_-_get_back_ep_-_nore012/03_-_p.laoss_-_get_back_ep_-_get_back.mp3&amp;loop=true" quality="high" bgcolor="#000000" width="190" height="40" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';


	goTo = 0;

	if(locID = getLocationIdentifier()) {

		if(!isNaN(locID) && locID > 0 && locID < 10) {
			goTo = (locID-1);
		}

	}


	showImg(goTo);

}





function showImg(which) {

	var oldImg = which;
	var newImg = which+1;


	if(oldImg == 10) { newImg = 1; }



	if($('img'+oldImg)) {
		$('img'+oldImg).blur();
		new Effect.Fade('img'+oldImg, { duration:0.3, afterFinish:function() { $('img'+oldImg).style.zIndex = '1'; }});
	}

	if($('img'+newImg)) {
		$('img'+newImg).style.zIndex = '100'+newImg;
		window.setTimeout('new Effect.Appear(\'img'+newImg+'\', { duration:0.3 });',500);
		window.location.href = getLocation() + '#' + newImg;
		thisLocation = getLocation() + '#' + newImg;
	}



	return false;

}










function getLocation() {

	return window.location.href.replace(/\#.+/,"");

}



function getLocationIdentifier() {

	var locID;

	loc = window.location.href;
	hashPos = loc.indexOf('#');

	if(hashPos != -1) {

		tmpLocID = loc.substring((hashPos+1));
		if(!isNaN(tmpLocID)) { locID = tmpLocID; }

	}


	if(locID == '') { return false; }
	else { return locID; }

}

