	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) {
if (document.getElementById(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,location=no');
		w.focus();
	}
	function popupCenterOptions(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=yes,menubar=yes,location=yes,toolbar=yes');
		w.focus();
	}
	function popupeventgallery(url, width, height) {
		popupCenter(url, 'popupevents', 'scrollbars=yes', width, height);
	}
	function popuptattoedeargallery(url, width, height) {
		popupCenter(url, 'popuptattoedeargallery', 'scrollbars=yes', width, height);
	}

	function popuptattoedeargalleryb(url, width, height) {
		popupCenter(url, 'popuptattoedeargalleryb', 'scrollbars=yes', width, height);
	}
	function popuptransfer(url, width, height) {
		popupCenter(url, 'popuptransfer', '', width, height);
		return false;
	}
	function popupcustomstore(url, width, height) {
		popupCenterOptions(url, 'popupcustomstore', '', 1024, 768);
		return false;
	}
