d				= document
nUA				= navigator.userAgent
buggyIEWin		= (nUA.indexOf('MSIE') != -1 && nUA.indexOf('Windows') != -1)
buggyIEMac		= (nUA.indexOf('MSIE') != -1 && nUA.indexOf('Mac') != -1)
buggySafari		= (nUA.indexOf('afari') != -1)
winModifier		= 'dakugel'

function swap(which, evt, lay, stText) {
	eval(((d.layers && lay != null) ? 'd.layers.' + lay + '.' : '') + 'd.images.' + which + '.src = ' + which + ((evt.type == 'mouseover') ? 'H' : 'P') + '.src')
	st((arguments.length > 3 && evt.type == 'mouseover') ? stText : ' ')
}

function st(what) {
	window.status = what
}

function startkugel() {
	var offX	= 0
	var offY	= -38
	switch (true) {
		case (buggyIEMac):
			offY = -86
			break
		case (buggyIEWin):
			offX = -11
			break
	}
	wWidth		= screen.availWidth  + offX
	wHeight		= screen.availHeight + offY
	paramStr	= "dependent=no,location=no,menubar=no,resizable=yes,scrollbars=no,fullscreen=no,status=no,toolbar=no,left=0,top=0,screenX=0,screenY=0,width=" + wWidth + ",height=" + wHeight + ",outerWidth=" + wWidth
	daChioWin	= window.open("popindex.html?nocache=" + Math.round(Math.random()*100000), "kugelWin", paramStr)
	if (!buggyIEMac && dakugelWin != null)
		dakugelWin.focus()
}
