$(document).ready(
	function (){
		initLoch();
	}
);

var loch, text;

function initLoch(){
	var pfad = "/0_start/media/";
	loch = new Array(2);
	loch[0] = new Image(); loch[0].src = pfad + "loch_0.gif";
	loch[1] = new Image(); loch[1].src = pfad + "loch_1.gif";
	text = new Image(); text.src = pfad + "text_unten.gif"
}

function spotLoch(zustand){
	document.images["loch"].src = loch[zustand].src;
	if (document.images["text_unten"].src != text.src){
		document.images["text_unten"].src = text.src;
	}
}
