// JavaScript Document

function activeProduct(id, menuSel)
{
	var div = document.getElementById('tp_menu');
	if(id=='1')
	{
	div.innerHTML = '<ul><li style="width:50px;"><a href=index.shtml><span class=red>Home</span></li><li style="width:70px;"><a href=products.shtml>Products</li><li style="width:70px;"><a href=services.shtml>Services</a></li><li style="width:50px;"><a href=news.shtml>News</a></li><li><a href=contact.shtml>Contact</a></li></ul>';	
	}
	
	if(id=='2')
	{
	div.innerHTML = '<ul><li style="width:50px;"><a href=index.shtml>Home</li><li style="width:70px;"><a href=products.shtml><span class=red>Products</span></li><li style="width:70px;"><a href=services.shtml>Services</a></li><li style="width:50px;"><a href=news.shtml>News</a></li><li><a href=contact.shtml>Contact</a></li></ul>';	
	}
	
	if(id=='3')
	{
	div.innerHTML = '<ul><li style="width:50px;"><a href=index.shtml>Home</li><li style="width:70px;"><a href=products.shtml>Products</li><li style="width:70px;"><a href=services.shtml><span class=red>Services</span></a></li><li style="width:50px;"><a href=news.shtml>News</a></li><li><a href=contact.shtml>Contact</a></li></ul>';	
	}
	
		if(id=='4')
	{
	div.innerHTML =  '<ul><li style="width:50px;"><a href=index.shtml>Home</li><li style="width:70px;"><a href=products.shtml>Products</li><li style="width:70px;"><a href=services.shtml>Services</a></li><li style="width:50px;"><a href=news.shtml><span class=red>News</span></a></li><li><a href=contact.shtml>Contact</a></li></ul>';	
	}
	
		if(id=='5')
	{
	div.innerHTML = '<ul><li style="width:50px;"><a href=index.shtml>Home</li><li style="width:70px;"><a href=products.shtml>Products</li><li style="width:70px;"><a href=services.shtml>Services</a></li><li style="width:50px;"><a href=news.shtml>News</a></li><li><a href=contact.shtml><span class=red>Contact</span></a></li></ul>';	
	}
	
		if(id=='6')
	{
	div.innerHTML = '<ul><li style="width:50px;"><a href=index.shtml>Home</li><li style="width:70px;"><a href=products.shtml>Products</li><li style="width:70px;"><a href=services.shtml>Services</a></li><li style="width:50px;"><a href=news.shtml>News</a></li><li><a href=contact.shtml>Contact</a></li></ul>';	
	}

	if(menuSel == 11){
		document.getElementById('printer').focus();
		document.getElementById('printer').onmouseover = function(){};
		document.getElementById('printer').style.color = '#FF0000';
		setTimeout('document.getElementById("print310anchor").style.color = "#7A7A7A";',300);
	}else if(menuSel == 12){
		document.getElementById('printer').focus();
		document.getElementById('printer').onmouseover = function(){};
		document.getElementById('printer').style.color = '#FF0000';
		setTimeout('document.getElementById("print450anchor").style.color = "#7A7A7A";',300);
	}else if(menuSel == 13){
		document.getElementById('printer').focus();
		document.getElementById('printer').onmouseover = function(){};
		document.getElementById('printer').style.color = '#FF0000';
		setTimeout('document.getElementById("print510anchor").style.color = "#7A7A7A";',300);
	}else if(menuSel == 21){
		document.getElementById('scanner').focus();
		document.getElementById('scanner').onmouseover = function(){};
		document.getElementById('scanner').style.color = '#FF0000';
		setTimeout('document.getElementById("scanner700").style.color = "#7A7A7A";',300);
	}else if(menuSel == 22){
		document.getElementById('scanner').focus();
		document.getElementById('scanner').onmouseover = function(){};
		document.getElementById('scanner').style.color = '#FF0000';
		setTimeout('document.getElementById("scanner800").style.color = "#7A7A7A";',300);
	}else if(menuSel == 31){
		document.getElementById('sanasable').focus();
		document.getElementById('sanasable').onmouseover = function(){};
		document.getElementById('sanasable').style.color = '#FF0000';
		setTimeout('document.getElementById("claytool").style.color = "#7A7A7A";',300);
	}else if(menuSel == 32){
		document.getElementById('sanasable').focus();
		document.getElementById('sanasable').onmouseover = function(){};
		document.getElementById('sanasable').style.color = '#FF0000';
		setTimeout('document.getElementById("freeform").style.color = "#7A7A7A";',300);
	}else if(menuSel == 41){
		document.getElementById('software').focus();
		document.getElementById('software').onmouseover = function(){};
		document.getElementById('software').style.color = '#FF0000';
		setTimeout('document.getElementById("geomagic").style.color = "#7A7A7A";',300);
	}else if(menuSel == 42){
		document.getElementById('software').focus();
		document.getElementById('software').onmouseover = function(){};
		document.getElementById('software').style.color = '#FF0000';
		setTimeout('document.getElementById("magicrp").style.color = "#7A7A7A";',300);
	}else if(menuSel == 43){
		document.getElementById('software').focus();
		document.getElementById('software').onmouseover = function(){};
		document.getElementById('software').style.color = '#FF0000';
		setTimeout('document.getElementById("mimics").style.color = "#7A7A7A";',300);
	}else if(menuSel == 44){
		document.getElementById('software').focus();
		document.getElementById('software').onmouseover = function(){};
		document.getElementById('software').style.color = '#FF0000';
		setTimeout('document.getElementById("rapidform").style.color = "#7A7A7A";',300);
	}
}