// $Id: //techno293web/R4/code/wordpress/wp-content/plugins/Techno Calendar/script.js#1 $


function highlightExpander(id)
{
}
			
function imgclick(id)
{
	var div1 = document.getElementById('div-'+id);
	var div2 = document.getElementById('head-'+id);
	var div3 = document.getElementById('click-'+id);
	if (div1.style.display == 'none') {
		div1.style.display = 'block'
		div2.style.backgroundColor = '#9090C0'
		div2.style.color = '#ffffff'
		div2.style.fontWeight = 'bold'
		div3.style.backgroundImage = 'url(wp-content/themes/techno-common/images/contract.gif)'
	} else {
		div1.style.display = 'none'
		div2.style.backgroundColor = '#ffffff'
		div2.style.color = '#000000'
		div2.style.fontWeight = 'normal'
		div3.style.backgroundImage = 'url(wp-content/themes/techno-common/images/expand.gif)'
	}
}

function tgtSkillLevel(col, row)
{
	if (col==1)
	{
		if (row==3)
		{	
			document.getElementById('t15').style.backgroundColor='#d06060';
			document.getElementById('t15').style.color='#ffffff';
		}
		else if (row==2)
		{	
			document.getElementById('t15').style.backgroundColor='#f0f060';
			document.getElementById('t15').style.color='#000000';
		}
		else if (row==1)
		{	
			document.getElementById('t15').style.backgroundColor='#60d060';
			document.getElementById('t15').style.color='#000000';
		}
	}
	else
	if (col==2)
	{
		if (row==3)
		{	
			document.getElementById('t15z').style.backgroundColor='#d06060';
			document.getElementById('t15z').style.color='#ffffff';
		}
		else if (row==2)
		{	
			document.getElementById('t15z').style.backgroundColor='#f0f060';
			document.getElementById('t15z').style.color='#000000';
		}
		else if (row==1)
		{	
			document.getElementById('t15z').style.backgroundColor='#60d060';
			document.getElementById('t15z').style.color='#000000';
		}
	}
	else
	if (col==3)
	{
		if (row==3)
		{	
			document.getElementById('zone').style.backgroundColor='#d06060';
			document.getElementById('zone').style.color='#ffffff';
		}
		else if (row==2)
		{	
			document.getElementById('zone').style.backgroundColor='#f0f060';
			document.getElementById('zone').style.color='#000000';
		}
		else if (row==1)
		{	
			document.getElementById('zone').style.backgroundColor='#60d060';
			document.getElementById('zone').style.color='#000000';
		}
	}
	else
	if (col==4)
	{
		if (row==3)
		{	
			document.getElementById('znat').style.backgroundColor='#d06060';
			document.getElementById('znat').style.color='#ffffff';
		}
		else if (row==2)
		{	
			document.getElementById('znat').style.backgroundColor='#f0f060';
			document.getElementById('znat').style.color='#000000';
		}
		else if (row==1)
		{	
			document.getElementById('znat').style.backgroundColor='#60d060';
			document.getElementById('znat').style.color='#000000';
		}
	}
	else
	if (col==5)
	{
		if (row==3)
		{	
			document.getElementById('nat').style.backgroundColor='#d06060';
			document.getElementById('nat').style.color='#ffffff';
		}
		else if (row==2)
		{	
			document.getElementById('nat').style.backgroundColor='#f0f060';
			document.getElementById('nat').style.color='#000000';
		}
		else if (row==1)
		{	
			document.getElementById('nat').style.backgroundColor='#60d060';
			document.getElementById('nat').style.color='#000000';
		}
	}
	else
	if (col==6)
	{
		if (row==3)
		{	
			document.getElementById('rsx').style.backgroundColor='#d06060';
			document.getElementById('rsx').style.color='#ffffff';
		}
		else if (row==2)
		{	
			document.getElementById('rsx').style.backgroundColor='#f0f060';
			document.getElementById('rsx').style.color='#000000';
		}
		else if (row==1)
		{	
			document.getElementById('rsx').style.backgroundColor='#60d060';
			document.getElementById('rsx').style.color='#000000';
		}
	}
}

		
		

