// JavaScript Document

//HIDE INTRO AND SHOW FULL

function showFull(thisID) {
	// display a div
	var token = 'playerFull' + thisID;
	thisObj = document.getElementById(token);
	thisObj.style.display = "block";
	hideIntro(thisID);
}

function hideIntro(thisID) {
	// hide a div
	var token = 'playerIntro' + thisID;
	thisObj = document.getElementById(token);
	thisObj.style.display = "none";
}

//HIDE FULL AND SHOW INTRO

function hideFull(thisID) {
	// display a div
	var token = 'playerFull' + thisID;
	thisObj = document.getElementById(token);
	thisObj.style.display = "none";
}

function showIntro(thisID) {
	// hide a div
	var token = 'playerIntro' + thisID;
	thisObj = document.getElementById(token);
	thisObj.style.display = "block";
	hideFull(thisID);
}

// SHOW FULL PROFILE


// FUNCTION: show player 1's full profile
function showFull1(thisID) {
	// 1. hide player 1's intro text
	hideThis('playerIntro1'); // <- this function has necessitated the repeat of this script
							  // i.e. we only wish to hide the one player's intro each time???
	// 2. show player 1's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 2's full profile
function showFull2(thisID) {
	// 1. hide player 2's intro text
	hideThis('playerIntro2');
	// 2. show player 2's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 3's full profile
function showFull3(thisID) {
	// 1. hide player 3's intro text
	hideThis('playerIntro3');
	// 2. show player 3's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 4's full profile
function showFull4(thisID) {
	// 1. hide player 4's intro text
	hideThis('playerIntro4');
	// 2. show player 4's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 5's full profile
function showFull5(thisID) {
	// 1. hide player 5's intro text
	hideThis('playerIntro5');
	// 2. show player 5's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 6's full profile
function showFull6(thisID) {
	// 1. hide player 6's intro text
	hideThis('playerIntro6');
	// 2. show player 6's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 7's full profile
function showFull7(thisID) {
	// 1. hide player 7's intro text
	hideThis('playerIntro7');
	// 2. show player 7's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 8's full profile
function showFull8(thisID) {
	// 1. hide player 8's intro text
	hideThis('playerIntro8');
	// 2. show player 8's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 9's full profile
function showFull9(thisID) {
	// 1. hide player 9's intro text
	hideThis('playerIntro9');
	// 2. show player 9's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 10's full profile
function showFull10(thisID) {
	// 1. hide player 10's intro text
	hideThis('playerIntro10');
	// 2. show player 10's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 11's full profile
function showFull11(thisID) {
	// 1. hide player 11's intro text
	hideThis('playerIntro11');
	// 2. show player 11's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 12's full profile
function showFull12(thisID) {
	// 1. hide player 12's intro text
	hideThis('playerIntro12');
	// 2. show player 12's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 13's full profile
function showFull13(thisID) {
	// 1. hide player 13's intro text
	hideThis('playerIntro13');
	// 2. show player 13's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 14's full profile
function showFull14(thisID) {
	// 1. hide player 14's intro text
	hideThis('playerIntro14');
	// 2. show player 14's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 15's full profile
function showFull15(thisID) {
	// 1. hide player 15's intro text
	hideThis('playerIntro15');
	// 2. show player 15's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 16's full profile
function showFull16(thisID) {
	// 1. hide player 16's intro text
	hideThis('playerIntro16');
	// 2. show player 16's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 17's full profile
function showFull17(thisID) {
	// 1. hide player 17's intro text
	hideThis('playerIntro17');
	// 2. show player 17's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 18's full profile
function showFull18(thisID) {
	// 1. hide player 18's intro text
	hideThis('playerIntro18');
	// 2. show player 18's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 19's full profile
function showFull19(thisID) {
	// 1. hide player 19's intro text
	hideThis('playerIntro19');
	// 2. show player 19's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: show player 20's full profile
function showFull20(thisID) {
	// 1. hide player 20's intro text
	hideThis('playerIntro20');
	// 2. show player 20's full profile text
	showThis(thisID);
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}



// REVERT TO INTRO TEXT



// FUNCTION: revert to a player 1's intro text
function showIntro1(thisID) {
	// 1. hide player 1's full profile
	hideThis('playerFull1');
	// 2. show player 1's intro text
	showThis('player_intro1');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 2's intro text
function showIntro2(thisID) {
	// 1. hide player 2's full profile
	hideThis('playerFull2');
	// 2. show player 2's intro text
	showThis('player_intro2');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 3's intro text
function showIntro3(thisID) {
	// 1. hide player 3's full profile
	hideThis('playerFull3');
	// 2. show player 3's intro text
	showThis('playerIntro3');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 4's intro text
function showIntro4(thisID) {
	// 1. hide player 4's full profile
	hideThis('playerFull4');
	// 2. show player 4's intro text
	showThis('playerIntro4');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 5's intro text
function showIntro5(thisID) {
	// 1. hide player 5's full profile
	hideThis('playerFull5');
	// 2. show player 5's intro text
	showThis('playerIntro5');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 6's intro text
function showIntro6(thisID) {
	// 1. hide player 6's full profile
	hideThis('playerFull6');
	// 2. show player 6's intro text
	showThis('playerIntro6');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 7's intro text
function showIntro7(thisID) {
	// 1. hide player 7's full profile
	hideThis('playerFull7');
	// 2. show player 7's intro text
	showThis('playerIntro7');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 8's intro text
function showIntro8(thisID) {
	// 1. hide player 8's full profile
	hideThis('playerFull8');
	// 2. show player 8's intro text
	showThis('playerIntro8');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 9's intro text
function showIntro9(thisID) {
	// 1. hide player 9's full profile
	hideThis('playerFull9');
	// 2. show player 9's intro text
	showThis('playerIntro9');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 10's intro text
function showIntro10(thisID) {
	// 1. hide player 10's full profile
	hideThis('playerFull10');
	// 2. show player 10's intro text
	showThis('playerIntro10');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 11's intro text
function showIntro11(thisID) {
	// 1. hide player 11's full profile
	hideThis('playerFull11');
	// 2. show player 11's intro text
	showThis('playerIntro11');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 12's intro text
function showIntro12(thisID) {
	// 1. hide player 12's full profile
	hideThis('playerFull12');
	// 2. show player 12's intro text
	showThis('playerIntro12');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 13's intro text
function showIntro13(thisID) {
	// 1. hide player 13's full profile
	hideThis('playerFull13');
	// 2. show player 13's intro text
	showThis('playerIntro13');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 14's intro text
function showIntro14(thisID) {
	// 1. hide player 14's full profile
	hideThis('playerFull14');
	// 2. show player 14's intro text
	showThis('playerIntro14');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 15's intro text
function showIntro15(thisID) {
	// 1. hide player 15's full profile
	hideThis('playerFull15');
	// 2. show player 15's intro text
	showThis('playerIntro15');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 16's intro text
function showIntro16(thisID) {
	// 1. hide player 16's full profile
	hideThis('playerFull16');
	// 2. show player 16's intro text
	showThis('playerIntro16');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 17's intro text
function showIntro17(thisID) {
	// 1. hide player 17's full profile
	hideThis('playerFull17');
	// 2. show player 17's intro text
	showThis('playerIntro17');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 18's intro text
function showIntro18(thisID) {
	// 1. hide player 18's full profile
	hideThis('playerFull18');
	// 2. show player 18's intro text
	showThis('playerIntro18');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 19's intro text
function showIntro19(thisID) {
	// 1. hide player 19's full profile
	hideThis('playerFull19');
	// 2. show player 19's intro text
	showThis('playerIntro19');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}

// FUNCTION: revert to a player 20's intro text
function showIntro20(thisID) {
	// 1. hide player 20's full profile
	hideThis('playerFull20');
	// 2. show player 20's intro text
	showThis('playerIntro20');
	// 3. relocate to head of this player's profile
	document.location.href = "#"+(thisID);
}
