<!--
var objectDef = false;

var isIMG, isCSS, isW3C, isIE4, isIE6CSS, isNN4, isMac, isOPERA;
	
function sniffIt(){

	isIMG = (document.images) ? true : false;
	
	if (isIMG){
		
        isCSS = (document.body && document.body.style) ? true : false;
        isW3C = (isCSS && document.getElementById) ? true : false;
        isIE4 = (isCSS && document.all) ? true : false;
        isNN4 = (document.layers) ? true : false;
		isOPERA = (navigator.userAgent.indexOf("Opera")>-1) ? true : false;
        isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0) ? true : false;
		isMac = (navigator.userAgent.indexOf("Mac")>-1) ? true : false;

			if (isNN4 || !isCSS){
				wrongBrowserAlert();
			}
		
		
	}else{
		wrongBrowserAlert();
	}
}

window.onload = sniffIt; 

function ieQuickCheck(){
	var browserVer=navigator.appVersion;
	var browserAgent=navigator.userAgent;
	//alert (browserVer+", "+browserAgent);
	
	if (browserAgent.indexOf("Opera")>-1 || browserAgent.indexOf("Mac")>-1){return false;}
	
	if (browserVer.indexOf("MSIE 5")>-1 || browserVer.indexOf("MSIE 6")>-1 || browserVer.indexOf("MSIE 7")>-1 || browserVer.indexOf("MSIE 8")>-1){
	return true;
	} else {
	return false;
	}
}

function iePageTools(){

	if (ieQuickCheck){
		var thisObj = getRawObject("ieOnlyContent");
		thisObj.innerHTML = '<a href="javascript:makeFavourite()"><img src="images/tool-bookmark.gif" width="27" height="32" border="0" align="absmiddle" alt="Bookmark this page" />Bookmark this page</a><br />';
	}

}

function doAlert(){
	alert("isCSS="+isCSS+", isW3C="+isW3C+", isIE4="+isIE4+", isNN4="+isNN4+", isIE6CSS="+isIE6CSS+", isMac="+isMac);
}

function wrongBrowserAlert(){
alert("This is best viewed on one of these browsers\R\N IE5+,Netscape7+,Opera7+,Mozilla Firefox1+\R\NGo to our downloads page in the about us section\R\N to download the latest versions.");
	}

function getRawObject(obj){
	var theObj;
	if (typeof obj == "string"){

		if (isW3C){
			theObj = document.getElementById(obj);
		} else if (isIE4) {
			theObj = document.all(obj);
		}
	
	} else {
	
		theObj = obj;
		
	}
	
	return theObj;
	
	
}

function printPage(){
	top.print();
	}

function makeHome(){
	
		if (bw.ie){
			oHomePage.setHomePage('http://www.mandershifi.co.uk');
			returnValue = false;
		}
	}
	
function makeFavourite(){
if (document.all){
	window.external.addfavorite('http://www.mandershifi.co.uk/','Manders Hifi - Providing you with the very best in entertainment technology, backed by outstanding after sales care and service.')
}
	}
	

	
function checkSelect(url){
	if (url != "*" && url != "#" && url != ""){newWindow = window.open(url,"newWindow"); newWindow.focus();}
}

function glossarySelect(url){
	if (url != "*" && url != "#" && url != ""){

		url = "glossary.html#"+url
		window.location.href = url;}
}

function glossaryPageJump(url){
	if (url != "*" && url != "#" && url != ""){
		window.location.href = url;}
}

function drawGlossaryLinks(pageAnchor,linkTitle){
	var firstBit = '<option value="';
	var middleBit = '">';
	var endBit = '</option>';

	document.write(firstBit+pageAnchor+middleBit+linkTitle+endBit);
	
}
	
	function maxWindow(){

		window.moveTo(0,0);

		if (document.all){
		
			top.window.resizeTo(screen.availWidth,screen.availHeight);
			
		}else if (document.layers||document.getElementById){

			if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
			
				top.window.outerHeight = screen.availHeight;
				top.window.outerWidth = screen.availWidth;
			}
		}
	}

	
//-->