// JavaScript Document
function Tabs(tabs,cons)
{
	if(!(tabs&&cons)) return false
	var getLength=tabs.length>cons.length?cons.length:tabs.length
	for(i=0;i<getLength;i++)
	{
		tabs[i].onmouseover=getShow
		tabs[i].indexId=i
	}
	function getShow()
	{
		for(i=0;i<getLength;i++)
		{
			tabs[i].className=tabs[i].className.toLowerCase()
			cons[i].className=cons[i].className.toLowerCase()
		}
		this.className=this.className.toUpperCase()
		cons[this.indexId].className=cons[this.indexId].className.toUpperCase()
		
	}
}