var flashTeaser = "";
function showHeads() {
	tb_show(null, "fileadmin/templates/flash/flash.new.html?KeepThis=true&TB_iframe=true&height=438&width=842", false);
	tb_showIframe();
	
	// replacing flash with image (safari bug onmouseover)
	// see thickbox.js line 266
	var flashSmall = document.getElementById("flash_teaser");
	flashSmall.innerHTML = '<img src="fileadmin/templates/img/flash_teaser.gif" />';
	
	window.scrollTo(0, 0);
}

function setCursor(cursor) {
	document.body.style.cursor = cursor;
}

function floatLayerAd() {
if (document.all) {
document.getElementById("TB_window").style.pixelTop = document.body.scrollTop + document.all.TB_window.offsetHeight - 100;
}
else if (document.layers) {
document.TB_window.top = window.pageYOffset;
}
else if (document.getElementById) {
document.getElementById('TB_window').style.top = window.pageYOffset + 'px';
}
}
if (document.all)
window.onscroll = floatLayerAd;