/*
	Javascript Document
	Document Name: 
	
	Description :
	
	Client :
	Project:
	Date:	
	
	Author: Fuse Developments, Inc. Giancarlo Gomez
*/

function changeBio(chgTo){
	// Get All Anchor elements
	var aArray = $$('#magsaurs a');
	var bArray = $$('#magContent div');
	//console.log(chgTo);
	//console.log(aArray);
	//console.log(bArray);
	aArray.each(function(i,index){
		if (i == chgTo){
			//console.log(index);
			bArray[index].show();
			i.className='on';
		}else{
			i.className='';	
			bArray[index].hide();
		}
	});
	/*
	// Get All Div Elements with Page Class in calling Page
	var idArray = $$('div.page');
	idArray.each(function(i,index){
		if (index == theID){
			// Index matches the ID - set link to current and display page
			aArray[index].className='current';
			i.show();
		}else{
			// Not a match hide the page and remove any class from links
			aArray[index].className='';
			i.hide();
		}		
	});
	*/
}