function kuss(flip) {
	var nozene = getCookie('nozene', '0') == '1';
	if(flip) {
		nozene = !nozene;
		setCookie('nozene', nozene ? '1' : '0', 30);
	}
	
	document.getElementById(nozene ? 'stop' : 'play').style.display = 'none';
	document.getElementById(nozene ? 'play' : 'stop').style.display = '';

	if(window.parent.frames['bottomFrame'].document.location.href.indexOf(nozene ? '/nomusic.html' : '/music.html') == -1) {
		window.parent.frames['bottomFrame'].document.location.href = nozene ? 'nomusic.html' : 'music.html';
	}
}

jgtc.captureEvent(window, 'load', function() {
	kuss(false);

	function hh(img) {
		var src = img.getAttribute("src");
		var hsrc = img.getAttribute("ht:hoverSrc");

		jgtc.captureEvent(img, "mouseover", function() { img.src = hsrc; }, false);
		jgtc.captureEvent(img, "mouseout", function() { img.src = src; }, false);
	}

	var imgs = document.getElementsByTagName("img");
	for(var i = 0; i < imgs.length; i++) {
		if(imgs[i].getAttribute("ht:hoverSrc")) {
			hh(imgs[i]);
		}
	}
}, false);
