var ANGEBOT_POPUP_BG = 'assets/images/ebuero/layer/angebot_popup.png';

function openAngebotPopup() {
	scroll(0, 0);
	showOverlay();
	showAngebotPopup();
}
function closeAngebotPopup() {
	hideAngebotPopup();	
	hideOverlay();
}
function showAngebotPopup() {
	var angebot_popup = document.getElementById('angebot_popup');
	angebot_popup.style.backgroundImage = 'url(' + this.BASE_URL + this.ANGEBOT_POPUP_BG + ')';
	if(typeof(window.XMLHttpRequest) == 'undefined') {
		DD_belatedPNG.fix('#angebot_popup');
		angebot_popup.style.position = 'absolute';
		angebot_popup.style.top = (document.documentElement.scrollTop + 50) + 'px';
	}
	angebot_popup.style.display = 'block';
}
function hideAngebotPopup() {
	document.getElementById('angebot_popup').style.display = 'none';
}

addLoadEvent(function() { document.angebotImageBg = new Image; document.angebotImageBg.src = this.BASE_URL + this.ANGEBOT_POPUP_BG;});