	function initializePulldown () {
		var domUl = document.getElementById('header');
		var domLi = domUl.getElementsByTagName('li');
		for (var i = 1, l = domLi.length ; i < l; i++) {
			var sId = domLi[i].className;
			var domDiv = document.getElementById(sId) || false;
			domLi[i]._domDiv = domDiv;
			domDiv._domLi = domLi[i];
			domLi[i]._i = i-1;
			domLi[i].onmouseover = function() {
				jsddOver(this._i);
			}
			domDiv.onmouseover = function () {
				jsddOver(this._domLi._i);
			}
			domLi[i].onmouseout = function() {
				jsddOut(this._i);
			}
			domDiv.onmouseout = function () {
				jsddOut(this._domLi._i);
			}
		}
		
	}
	function highlightMenu(id) {
		var ul = document.getElementById(id);
		var li = ul.getElementsByTagName('li');
		for (var i = 0, l = li.length; i < l; i++) {
			var a = li[i].getElementsByTagName('a');
			if (a.length > 0) {
				li[i]._normal = li[i].className;
				li[i]._href = a[0].href;
				li[i].onmouseover = function() {
					this.className = 'on';
				}
				li[i].onmouseout = function() {
					this.className = this._normal;
				}
				li[i].onclick = function() {
					window.location.href = this._href;
				}
			}
		}
	}
	/* General function for Popup windows */
	function popupCenter(url, name, attributes, width, height) {
		topx = (screen.height - height) / 2;
		leftx = (screen.width - width) / 2;
		if (attributes.length > 0)
			if (attributes.substr(attributes.length-1,1) != ',')
				attributes += ','
		var w = window.open(url, name, attributes + 'width='+width+',height='+height+',screenx='+leftx+',screeny='+topx+',top='+topx+',left='+leftx+',status=yes,resizable=yes,scrollbars=auto');
		w.focus();
	}
	function popupwunschprodukte(url, width, height) {
		popupCenter(url, 'popupwunschprodukte', '', width, height);
		return false;
	}
