
var ie=(document.all)?1:0
function showMenu(obj, displaySet) {
	obj.className="menuItemHover"
	if (displaySet) {
		temp=""
		for (x=0; x<displaySet.whatever.length; x++)  temp+="<div class=menuSubItem onclick=\"openHref('"+displaySet.whatever[x].target+"')\" onmouseover=\"this.style.backgroundColor='f1e219'; this.style.color='black'\" onmouseout=\"this.style.backgroundColor='#666666'; this.style.color='white'\">"+displaySet.whatever[x].text+"</div>"
		ddMenu.innerHTML=temp
		ddMenu.style.display="block"
		if (ie) {
			ddMenu.style.pixelLeft=(obj.offsetLeft+(document.body.clientWidth-770+44)/2)
			ddMenu.style.pixelTop=145
			ddMenu.style.width=120
		}
		else {
			ddMenu.style.left=(obj.offsetLeft+(document.body.clientWidth-770)/2)+"px"
			ddMenu.style.top=145+"px"
			ddMenu.style.width=120+"px"
		}
	}
	else ddMenu.style.display="none"
}

function hideMenu(obj) {
	obj.className="menuItem"
}

function openHref(page) {
	location.href=page
}


function menuSet() {
	this.whatever=new Array()
	var y=0;
	for (x=0; x<arguments.length; x+=2) { this.whatever[y]=new menuItem(arguments[x], arguments[x+1]); y++ }
}

function menuItem(text, target) {
	this.text=text
	this.target=target
}

var mProfile=new menuSet("Our Approach", "our-approach.htm", "Our People", "our-people.htm","Our Story", "our-story.htm")
var mSpecials=new menuSet("Specials", "specials.htm", "Home Cinema Packs", "specials-cinema-packs.htm", "Trade-Ins", "specials-tradeins.htm")
var mCulture=new menuSet("Intro", "audioculture-intro.htm", "Articles", "articles.htm", "Glossary", "glossary.htm")
var mContact=new menuSet("Contact Details", "contact-details.htm", "Email", "contact-email.htm", "Location Map", "map.htm")



