//emotional intelligence institute

function displaySubs(num)
{
	switch (num){
		case 1: 
			window.document.getElementById('1_subs').style.display = "inline";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;
		case 2: 
			window.document.getElementById('2_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;
		case 3: 
			window.document.getElementById('3_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;	
		case 4: 
			window.document.getElementById('4_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;
		case 5: 
			window.document.getElementById('5_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;	
		case 6: 
			window.document.getElementById('6_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;
		case 7: 
			window.document.getElementById('7_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			window.document.getElementById('8_subs').style.display = "none";
			break;
		case 8: 
			window.document.getElementById('8_subs').style.display = "inline";
			window.document.getElementById('1_subs').style.display = "none";
			window.document.getElementById('2_subs').style.display = "none";
			window.document.getElementById('4_subs').style.display = "none";
			window.document.getElementById('5_subs').style.display = "none";
			window.document.getElementById('6_subs').style.display = "none";
			window.document.getElementById('7_subs').style.display = "none";
			window.document.getElementById('3_subs').style.display = "none";
			break;
	}
}

/*function emailFriend()
{
	var newWin=window.open("email_friend.asp", "newWnd", "width=379,height=400,left=400,top=300,menubar=no,location=no,resizable=no,scrollbars=no,status=no");
}
*/

function emailFriend() {
    var newWin = window.open("EmailFriend.aspx", "newWnd", "width=379,height=400,left=400,top=300,menubar=no,location=no,resizable=no,scrollbars=no,status=no");
}

