function show_hide_subnav(subnav_id) {
	var element = document.getElementById(subnav_id);
	if (element.style.display == 'none') element.style.display = 'block';
	else element.style.display = 'none';
	return false;
}

function toggle_2_year_warranty_popup(blnToggle) {
	objPopup = document.getElementById('does-a-2-year-warranty-matter');
	if (blnToggle) objPopup.style.display = 'block';
	else objPopup.style.display = 'none';
	return false;
}


function toggle_3_year_warranty_popup(blnToggle) {
	objPopup = document.getElementById('does-a-3-year-warranty-matter');
	if (blnToggle) objPopup.style.display = 'block';
	else objPopup.style.display = 'none';
	return false;
}



function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

function popup(url, name, width, height) {
	settings= "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height; 
	MyNewWindow=window.open("http://"+url,name,settings); 
}

function show(idLayer) {
	cLayer=bVer.dom?document.getElementById(idLayer).style:bVer.ie4?document.all[idLayer].style:bVer.ns4?idParent?document[idParent].document[idLayer]:document[idLayer]:0;
	cLayer.display='block';
}

function hide(idLayer) {
	cLayer=bVer.dom?document.getElementById(idLayer).style:bVer.ie4?document.all[idLayer].style:bVer.ns4?idParent?document[idParent].document[idLayer]:document[idLayer]:0;
	cLayer.display='none';
}

function chkBrowser() {
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bVer=(this.ie5 || this.ie4 || this.ns4 || this.ns5);
	return this;
}

bVer = new chkBrowser();
ns4 = (document.layers)? true:false;
ie4 = (document.all)? true:false;
bVerOK = ((document.all)? true:false)