function menu_over(mnuItem,color)
{
	mnuItem.style.background=color;
}

function enlarge(productID)
{
	popup=window.open("enlarge.asp?p="+productID,"","height=550,width=600,scrollbars=yes");
}



//******************** SUB MENUS FUNCTIONS ********************
var currentMenuTD;

function showSubmenu(curTD,ID)
{
	var tmp="sub_menu"+ID;
	var submenu=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;
	tmp="SPAN"+ID;
	var the_span=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;

	menu_over(curTD,'#CDC2B3');

	submenu.style.top=the_span.offsetTop;
	submenu.style.left=the_span.offsetLeft+173;
	submenu.style.display="";
	
	currentMenuTD=curTD;
}
function hideSubmenu(curTD,ID)
{
	var tmp="sub_menu"+ID;
	var submenu=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;
	tmp="SPAN"+ID;
	var the_span=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;

	menu_over(curTD,'#E4DCCA');
		
	submenu.style.display="none";
}

function onSubmenu(ID)
{
	var tmp="sub_menu"+ID;
	var submenu=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;
	tmp="SPAN"+ID;
	var the_span=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;
	
	menu_over(currentMenuTD,'#CDC2B3');
	
	submenu.style.top=the_span.offsetTop;
	submenu.style.left=the_span.offsetLeft+173;
	submenu.style.display="";
}
function offSubmenu(ID)
{
	var tmp="sub_menu"+ID;
	var submenu=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;
	tmp="SPAN"+ID;
	var the_span=document.getElementById?document.getElementById(tmp) : document.all? document.all.tmp : document.tmp;
	submenu.style.display="none";
	menu_over(currentMenuTD,'#E4DCCA');
}