function swapImage( me )
{
	var mString = new String(me);
	mString = mString.replace(/img/g, '');
	
	document.getElementById(me).src = 'images/lnksTopRight_' + mString + '_over.png';
}
function swapImageBack(me)
{
	var mString = new String(me)
	mString = mString.replace(/img/g, '');
	
	document.getElementById(me).src = 'images/lnksTopRight_' + mString + '.png';
}

function swapImageOther( me, task )
{
	/* this function shoould be rewritten with arrays if it needs to scale much more */
	
	// First Box (Training)
	if( task == 'show' && me == 'imgTraining' )
	{
		document.getElementById(me).src = 'images/boxes_training_over.png';
	}
	if( task == 'hide' && me == 'imgTraining' )
	{
		document.getElementById(me).src = 'images/boxes_training.png';
	}
	
	// Second box (Success Stories)
	if( task == 'show' && me == 'imgSuccess' )
	{
		document.getElementById(me).src = 'images/boxes_success_over.png';
	}
	if( task == 'hide' && me == 'imgSuccess' )
	{
		document.getElementById(me).src = 'images/boxes_success.png';
	}
	
	// Third Box (Mission)
	if( task == 'show' && me == 'imgMission' )
	{
		document.getElementById(me).src = 'images/boxes_mission_over.png';
	}
	if( task == 'hide' && me == 'imgMission' )
	{
		document.getElementById(me).src = 'images/boxes_mission.png';
	}
	
	
	
}

function test() {
	alert('test!');		
}
