function hoverontab(section) {
	if (document.getElementById('left' + section).style.backgroundPosition != "0% -84px") {
	document.getElementById('left' + section).style.backgroundPosition = "0% -42px";
	document.getElementById('right' + section).style.backgroundPosition = "100% -42px";
} }

function hoverofftab(section) {
	if (document.getElementById('left' + section).style.backgroundPosition != "0% -84px") {
	document.getElementById('left' + section).style.backgroundPosition = "0% 0px";
	document.getElementById('right' + section).style.backgroundPosition = "100% 0px";
	}
}

function showhidetabs(section) {
window.location.hash = section;
section = "product" + section;
document.getElementById('productoverview').style.display = "none";
document.getElementById('productmodels').style.display = "none";
document.getElementById('productspecs').style.display = "none";
document.getElementById('productdocs').style.display = "none";
document.getElementById('productdemo').style.display = "none";
document.getElementById('productrelated').style.display = "none";
document.getElementById('productmore').style.display = "none";
document.getElementById('leftproductoverview').style.backgroundPosition = "0% 0px";
document.getElementById('rightproductoverview').style.backgroundPosition = "100% 0px";
document.getElementById('leftproductmodels').style.backgroundPosition = "0% 0px";
document.getElementById('rightproductmodels').style.backgroundPosition = "100% 0px";
if (document.getElementById("leftproductspecs")) {
	document.getElementById('leftproductspecs').style.backgroundPosition = "0% 0px";
	document.getElementById('rightproductspecs').style.backgroundPosition = "100% 0px";
}
if (document.getElementById("leftproductdocs")) {
	document.getElementById('leftproductdocs').style.backgroundPosition = "0% 0px";
	document.getElementById('rightproductdocs').style.backgroundPosition = "100% 0px";
}
if (document.getElementById("leftproductdemo")) {
	document.getElementById('leftproductdemo').style.backgroundPosition = "0% 0px";
	document.getElementById('rightproductdemo').style.backgroundPosition = "100% 0px";
}
if (document.getElementById("leftproductrelated")) {
	document.getElementById('leftproductrelated').style.backgroundPosition = "0% 0px";
	document.getElementById('rightproductrelated').style.backgroundPosition = "100% 0px";
}
if (document.getElementById("leftproductmore")) {
	document.getElementById('leftproductmore').style.backgroundPosition = "0% 0px";
	document.getElementById('rightproductmore').style.backgroundPosition = "100% 0px";
}

document.getElementById(section).style.display = "";
document.getElementById("left"+section).style.backgroundPosition = "0% -84px";
document.getElementById("right"+section).style.backgroundPosition = "100% -84px";

return false;
}

function resettabs() {
document.getElementById('productmodels').style.display = "none";
document.getElementById('productspecs').style.display = "none";
document.getElementById('productdocs').style.display = "none";
document.getElementById('productdemo').style.display = "none";
document.getElementById('productrelated').style.display = "none";
document.getElementById('productmore').style.display = "none";

document.getElementById('leftproductoverview').style.backgroundPosition = "0% -84px";
document.getElementById('rightproductoverview').style.backgroundPosition = "100% -84px"
}

function polltabs() {
	pollsection = window.location.hash;
	if ((pollsection == "") || (pollsection == "#")) {
		pollsection = "#overview";
	}
	pollsection = pollsection.substring(1,pollsection.length);
	pollsection = "product" + pollsection;
	if (pollsection != temppollsection) {
		document.getElementById('productoverview').style.display = "none";
		document.getElementById('productmodels').style.display = "none";
		document.getElementById('productspecs').style.display = "none";
		document.getElementById('productdocs').style.display = "none";
		document.getElementById('productdemo').style.display = "none";
		document.getElementById('productrelated').style.display = "none";
		document.getElementById('productmore').style.display = "none";
		document.getElementById('leftproductoverview').style.backgroundPosition = "0% 0px";
		document.getElementById('rightproductoverview').style.backgroundPosition = "100% 0px";
		document.getElementById('leftproductmodels').style.backgroundPosition = "0% 0px";
		document.getElementById('rightproductmodels').style.backgroundPosition = "100% 0px";
		if (document.getElementById("leftproductspecs")) {
			document.getElementById('leftproductspecs').style.backgroundPosition = "0% 0px";
			document.getElementById('rightproductspecs').style.backgroundPosition = "100% 0px";
		}
		if (document.getElementById("leftproductdocs")) {
			document.getElementById('leftproductdocs').style.backgroundPosition = "0% 0px";
			document.getElementById('rightproductdocs').style.backgroundPosition = "100% 0px";
		}
		if (document.getElementById("leftproductdemo")) {
			document.getElementById('leftproductdemo').style.backgroundPosition = "0% 0px";
			document.getElementById('rightproductdemo').style.backgroundPosition = "100% 0px";
		}
		if (document.getElementById("leftproductrelated")) {
			document.getElementById('leftproductrelated').style.backgroundPosition = "0% 0px";
			document.getElementById('rightproductrelated').style.backgroundPosition = "100% 0px";
		}
		if (document.getElementById("leftproductmore")) {
			document.getElementById('leftproductmore').style.backgroundPosition = "0% 0px";
			document.getElementById('rightproductmore').style.backgroundPosition = "100% 0px";
		}

		document.getElementById(pollsection).style.display = "";
		document.getElementById("left"+pollsection).style.backgroundPosition = "0% -84px";
		document.getElementById("right"+pollsection).style.backgroundPosition = "100% -84px";
		temppollsection = pollsection;
	}
}