//
function MM_preloadImages() { //v3.0
var d=document; if(d.images) { if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0) { d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

// Pop-Ups...
function dietsong (url) {
   fenster = window.open(url, "dietsong", "width=655,height=564,status=yes,scrollbars=yes,resizable=yes");
   fenster.focus();
}
function youtube (url) {
   fenster = window.open(url, "youtube", "width=985,height=730,status=yes,scrollbars=yes,resizable=yes");
   fenster.focus();
}
function tarotevents (url) {
   fenster = window.open(url, "tarot", "width=940,height=1060,status=yes,scrollbars=yes,resizable=yes");
   fenster.focus();
}

//
$(document).ready(function(){
	
	$('#JavaScript_On').hide('', function() {
	});

// Die Schalter...
	// Schalter 1
	$('#shSSS').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showSSS').toggle('slow', function() {
	});
	});
	
	// Schalter 2
	$('#shHHH').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showHHH').toggle('slow', function() {
	});
	});
	
	// Schalter 3
	$('#shCar').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showCar').toggle('slow', function() {
	});
	});
	
	// Schalter 4
	$('#shIns').click(function() {
		
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showIns').toggle('slow', function() {
	});
	});
	
	// Schalter 5
	$('#shLin').click(function() {
	$('#showLin').toggle('slow', function() {
	});
	});
	
	// Schalter 6
	$('#shHerbie').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showHerbie').toggle('slow', function() {
	});
	});
	
	// Schalter 7
	$('#shIngrid').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showIngrid').toggle('slow', function() {
	});
	});
	
	// Schalter 8
	$('#shAxinia').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showAxinia').toggle('slow', function() {
	});
	});
	
	// Schalter 9
	$('#shGordon').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showGordon').toggle('slow', function() {
	});
	});
	
	// Schalter 10
	$('#shRias').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showRias').toggle('slow', function() {
	});
	});
	
	// Schalter 11
	$('#shSolo').click(function() {
	$('#showStart').hide('fast', function() {
	});
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').toggle('slow', function() {
	});
	});
	
	// Schalter 12
	$('#logo').click(function() {
	$('#showSSS').hide('fast', function() {
	});
	$('#showHHH').hide('fast', function() {
	});
	$('#showCar').hide('fast', function() {
	});
	$('#showIns').hide('fast', function() {
	});
	$('#showHerbie').hide('fast', function() {
	});
	$('#showAxinia').hide('fast', function() {
	});
	$('#showIngrid').hide('fast', function() {
	});
	$('#showGordon').hide('fast', function() {
	});
	$('#showRias').hide('fast', function() {
	});
	$('#showSolo').hide('fast', function() {
	});
	$('#showStart').fadeToggle("slow", "linear");
	});
	
	// Bildeffekte
	$('.navigation img').load(function() {
	$(this).wrap(function(){
	return '<span class="image-wrap ' + $(this).attr('class') + '" style="position:relative; display:inline-block; background:url(' + $(this).attr('src') + ') no-repeat center center; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;" />';
	});
	$(this).css("opacity","0");
	});
	$('.showLin img').load(function() {
	$(this).wrap(function(){
	return '<span class="image-wrap ' + $(this).attr('class') + '" style="position:relative; display:inline-block; background:url(' + $(this).attr('src') + ') no-repeat center center; width: ' + $(this).width() + 'px; height: ' + $(this).height() + 'px;" />';
	});
	$(this).css("opacity","0");
	});
	
	//<![CDATA[
	var myPlaylist = new jPlayerPlaylist({
		jPlayer: "#jquery_jplayer_N",
		cssSelectorAncestor: "#jp_container_N"
	}, [
		{
			
		}
	], {
		playlistOptions: {
			enableRemoveControls: false
		},
		swfPath: "js",
		supplied: "webmv, m4v, ogv, oga, mp3"
	});
	
	myPlaylist.setPlaylist([
			{
			title:"It's Alright Now",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/its_alright_now.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/its_alright_now.ogg",
			poster: "http://www.hhhart.de/flash/pics/flphricc2.png"
		},
		{
			title:"Amrit",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/amrit.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/amrit.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpingridarthur.png"
		},
		{
			title:"Hipie Hop",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/hipie.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/hipie.ogg",
			poster: "http://www.hhhart.de/flash/pics/flphiphop.png"
		},
		{
			title:"Funky Beat",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/funky.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/funky.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpfunky.png"
		},
		{
			title:"Rap Groove",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/rapgroove.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/rapgroove.ogg",
			poster: "http://www.hhhart.de/flash/pics/flprapgroove.png"
		},
		{
			title:"H. Dance - Song",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/h_hart_dance.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/h_hart_dance.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpaxinia.png"
		},
		{
			title:"Big Step",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/big_step.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/big_step.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpgordon.png"
		},
		{
			title:"Just 4 Fun",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/just_4_fun.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/just_4_fun.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpriashh1.png"
		},
		{
			title:"Eternal Love",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/eternal_love.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/eternal_love.ogg",
			poster: "http://www.hhhart.de/flash/pics/flp0280.png"
		},
		{
			title:"The Diet Song",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/the_diet_song.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/the_diet_song.ogg",
			poster: "http://www.hhhart.de/flash/pics/flp0714.png"
		},
		{
			title:"My Christina",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/my_christina.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/my_christina.ogg",
			poster: "http://www.hhhart.de/flash/pics/flphhs.png"
		},
		{
			title:"Dream",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/dream.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/dream.ogg",
			poster: "http://www.hhhart.de/flash/pics/flphblackwhitesmooth.png"
		},
		{
			title:"Six Right",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/six_right.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/six_right.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpunten.png"
		},
		{
			title:"I Loved You",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/i_loved_you.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/i_loved_you.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpherbiestudio.png"
		},
		{
			title:"You Look So Fine",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/you_look_so_fine.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/you_look_so_fine.ogg",
			poster: "http://www.hhhart.de/flash/pics/flpunten.png"
		},
		{
			title:"Never Give Up",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/never_give_up.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/never_give_up.ogg",
			poster: "http://www.hhhart.de/flash/pics/flp0714.png"
		},
		{
			title:"Where's My Money Sam?",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/wheres_my_money_sam.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/wheres_my_money_sam.ogg",
			poster: "http://www.hhhart.de/flash/pics/flphblackwhitesmooth.png"
		},
		{
			title:"The Diet Song (german)",
			artist:"Triple H. Productions",
			mp3: "http://www.hhhart.de/flash/mp3musik/the_diet_song_g.mp3",
			ogv: "http://www.hhhart.de/flash/mp3musik/the_diet_song_g.ogg",
			poster: "http://www.hhhart.de/flash/pics/flphmysp1.png"
		},
			{
			title:"Party With Herbie",
			artist:"Triple H. Productions",
			m4v: "http://www.hhhart.de/flash/videos/hhh.m4v",
			ogv: "http://www.hhhart.de/flash/videos/hhh.ogv",
			webmv: "http://www.hhhart.de/flash/videos/hhh.webm",
			poster: "http://www.hhhart.de/flash/pics/flphhh.png"

		}
		]);
		
		myPlaylist.option("autoPlay", true);
		myPlaylist.option("displayTime", 0);
	
	// The shuffle commands
	$("#playlist-shuffle").click(function() {
		myPlaylist.shuffle();
	});
	$("#playlist-shuffle-false").click(function() {
		myPlaylist.shuffle(false);
	});
	$("#playlist-shuffle-true").click(function() {
		myPlaylist.shuffle(true);
	});
	// The select commands
	$("#playlist-select--2").click(function() {
		myPlaylist.select(-2);
	});
	$("#playlist-select--1").click(function() {
		myPlaylist.select(-1);
	});
	$("#playlist-select-0").click(function() {
		myPlaylist.select(0);
	});
	$("#playlist-select-1").click(function() {
		myPlaylist.select(1);
	});
	$("#playlist-select-2").click(function() {
		myPlaylist.select(2);
	});
	// The next/previous commands
	$("#playlist-next").click(function() {
		myPlaylist.next();
	});
	$("#playlist-previous").click(function() {
		myPlaylist.previous();
	});
	// The play commands
	$("#playlist-play").click(function() {
		myPlaylist.play();
	});
	$("#playlist-play--2").click(function() {
		myPlaylist.play(-2);
	});
	$("#playlist-play--1").click(function() {
		myPlaylist.play(-1);
	});
	$("#playlist-play-0").click(function() {
		myPlaylist.play(0);
	});
	$("#playlist-play-1").click(function() {
		myPlaylist.play(1);
	});
	$("#playlist-play-2").click(function() {
		myPlaylist.play(2);
	});
	// The pause command
	$("#playlist-pause").click(function() {
		myPlaylist.pause();
	});
	// Changing the playlist options
	// Option: autoPlay
	$("#playlist-option-autoPlay-true").click(function() {
		myPlaylist.option("autoPlay", true);
	});
	$("#playlist-option-autoPlay-false").click(function() {
		myPlaylist.option("autoPlay", false);
	});
	// Option: shuffleTime
	$("#playlist-option-shuffleTime-0").click(function() {
		myPlaylist.option("shuffleTime", 0);
	});
	$("#playlist-option-shuffleTime-fast").click(function() {
		myPlaylist.option("shuffleTime", "fast");
	});
	$("#playlist-option-shuffleTime-slow").click(function() {
		myPlaylist.option("shuffleTime", "slow");
	});
	$("#playlist-option-shuffleTime-2000").click(function() {
		myPlaylist.option("shuffleTime", 2000);
	});

});
//]]>
