<!--	

	var g_productID = 1;
	var g_pgID = 1;

	function brandclick(id) {
		if (document.getElementById('product_list_' + id)) {
			if (document.getElementById('product_list_' + id).className == '') {
				document.getElementById('product_list_' + id).className='isShown';
				var blank;
				var myRequest = new ajaxObject(url+'products/_ajax/product_list.asp');
				var passBrand = encodeURIComponent(id);
				sendString = 'brand='+passBrand;
				myRequest.callback = function(responseText) {
					document.getElementById('product_list_' + id).innerHTML=responseText;
				}
				myRequest.loading = function() {
					document.getElementById("product_list_"+id).style.display = "none";
					document.getElementById("loading_list_"+id).style.display = "block";
				}
				myRequest.loadingend = function() {
					setTimeout("brandclickend("+id+");",250);
				}
				myRequest.update(sendString,'GET');
			}
			else {
				document.getElementById('product_list_' + id).innerHTML='';
				document.getElementById('product_list_' + id).className='';
			}
		}
	}
	function brandclickend(id) {
		document.getElementById("product_list_"+id).style.display = "block";
		document.getElementById("loading_list_"+id).style.display = "none";
		secondnavoff();
		secondnavon(g_productID, g_pgID);
	}
	
	function productclick(brandID,prodID) {
		pgclick(brandID,prodID,1)
	}
	function pgclick(brandID,prodID,page) {
		if (document.getElementById('prod_load_h2') && document.getElementById('prod_load_h4') && document.getElementById('prod_act_h2') && document.getElementById('prod_act_h4')) {
			document.getElementById('prod_load_h2').innerHTML = document.getElementById('prod_act_h2').innerHTML
			document.getElementById('prod_load_h4').innerHTML = document.getElementById('prod_act_h4').innerHTML
		}
		var blank;
		var myRequest = new ajaxObject(url+'products/_ajax/product_pane.asp');
		var passBrand = encodeURIComponent(brandID);
		var passProduct = encodeURIComponent(prodID);
		var passPage = encodeURIComponent(page);
		sendString = 'brand='+passBrand+'&prod='+passProduct+'&pg='+passPage;
		myRequest.callback = function(responseText) {
			if (document.getElementById('product_panel')) {
				document.getElementById('product_panel').innerHTML=responseText;
			}
		}
		myRequest.loading = function() {
			document.getElementById("product_panel").style.display = "none";
			document.getElementById("prod_loading_pane").style.display = "block";
		}
		myRequest.loadingend = function() {
			setTimeout("pgclickend("+prodID+","+page+");",250);
		}
		myRequest.update(sendString,'POST');
		g_productID = prodID;
		g_pgID = page;
	}
	function pgclickend(prodID, page) {
		document.getElementById("product_panel").style.display = "block";
		document.getElementById("prod_loading_pane").style.display = "none";
		document.title = 'Beyondis | Products | ' + document.getElementById('prod_act_h4').innerHTML;
		document.getElementById('main_image').src = "/_img/products/"+prodID+".jpg";
		secondnavoff();
		secondnavon(prodID, page);
	}
	
	function secondnavoff(){
		if (document.getElementById('main_prod_holder')) {
			var el = document.getElementById('main_prod_holder');
			var oColl = getElementsByClassName('subOn', 'a', el);
			for (var i = 0, j = oColl.length; i < j; i++) {
				oColl[i].className = '';
			}
			var oCollTwo = getElementsByClassName('tabon', 'a', el);
			for (var i = 0, j = oCollTwo.length; i < j; i++) {
				oCollTwo[i].className = '';
			}
		}
	}
	function secondnavon(prodID, pgID){
		if (document.getElementById('prod_listnav_' + prodID)) {
			document.getElementById('prod_listnav_' + prodID).className = 'subOn';
		} 
		if (document.getElementById('prod_panenav_' + pgID)) {
			document.getElementById('prod_panenav_' + pgID).className = 'tabon';
		} 
	}
	
	function getElementsByClassName(strClass, strTag, objContElm) {
		strTag = strTag || "*";
		objContElm = objContElm || document;
		var objColl = objContElm.getElementsByTagName(strTag);
		if (!objColl.length &&  strTag == "*" &&  objContElm.all) objColl = objContElm.all;
		var arr = new Array();
		var delim = strClass.indexOf('|') != -1  ? '|' : ' ';
		var arrClass = strClass.split(delim);
		for (var i = 0, j = objColl.length; i < j; i++) {
			var arrObjClass = objColl[i].className.split(' ');
			if (delim == ' ' && arrClass.length > arrObjClass.length) continue;
			var c = 0;
			comparisonLoop:
			for (var k = 0, l = arrObjClass.length; k < l; k++) {
			for (var m = 0, n = arrClass.length; m < n; m++) {
				if (arrClass[m] == arrObjClass[k]) c++;
				if (( delim == '|' && c == 1) || (delim == ' ' && c == arrClass.length)) {
				arr.push(objColl[i]);
				break comparisonLoop;
				}
			}
			}
		}
		return arr;
	}
	
//-->