//THIS IS THE INFORMATION FILE WHICH DUMPS STANDARD
//INFO INTO EACH PAGE SO THEY ARE ALL UNIFORM.
//BE XTRA CAREFUL IN HERE BECAUSE ONE MISTAKE WILL
//MAKE THE ENTIRE WEBSITE NOT WORK!


//NEXT PRACTICE
pracdate = "Daily";
praccst = "TBD";
pracmap = "TBD";
pracserv = "Not Public";
function practice(){
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Date:</b><br>  '+ pracdate +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Time:</b><br>  '+ praccst +' cst</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Map:</b><br>  '+ pracmap +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Server:</b><br>  '+ pracserv +'</td>');
	document.write('				</tr>');
}

//NEXT MATCH
matchclan = "ESEA";
matchdate = "9-7-2010";
matchcst = "TBD";
matchmap = "de_dust2";
matchip = "68.64.157.105";
matchport = "27015";
pass = "Not Public";
function match(){
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Clan:</b><br>  '+ matchclan +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Date:</b><br>  '+ matchdate +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Time:</b><br>  '+ matchcst +' cst</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Map:</b><br>  '+ matchmap +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Server:</b><br>  '+ matchip +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Port:</b><br>  '+ matchport +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><b>Password:</b><br>  '+ pass +'</td>');
	document.write('				</tr>');
}

//STATUS 
memcount = "10/12";
wins = 38;
loss = 15;
draw = 2;
battles = wins + loss + draw;
function status(){
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%">Members: '+ memcount +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%">Battles: '+ battles +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%">Wins: '+ wins +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%">Losses: '+ loss +'</td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%">Draws: '+ draw +'</td>');
	document.write('				</tr>');
}


//SERVERBOX
name1 = "#clanor Server";
ip1 = "66.28.238.18:26003";
function server1(){
	document.write('				<tr>');
	document.write('					<td id=sidectt width="100%" align="center" colspan=2>'+ ip1 +'<hr size=1></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://clanorstats.preygrounds.com/" target="new"><b>Stats</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.clanor.com/downloads.htm" target="new"><b>Downloads</b></a></td>');
	document.write('				</tr>');
}



//LINKY LINKY
function links(){
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.strikevoice.com" target="new"><b>StrikeVoice.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.strikevoice.com" target="new"><img src="http://www.clanor.com/i/ads/StrikeVoice_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');



	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.ventrilo.com" target="new"><b>ventrilo.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.ventrilo.com" target="new"><img src="http://www.clanor.com/i/ads/ventrilo_88x31jpg.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');



	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.teamspeak.com" target="new"><b>TeamSpeak.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.teamspeak.com" target="new"><img src="http://www.clanor.com/i/ads/teamspeak_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.mohawkvoice.com" target="new"><b>MohawkVoice.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.mohawkvoice.com" target="new"><img src="http://www.clanor.com/i/ads/mohawk_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.esportsea.com" target="new"><b>ESEA.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.esportsea.com" target="new"><img src="http://www.clanor.com/i/ads/ESEA_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');



        document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.caleague.com" target="new"><b>Caleague.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.caleague.com" target="new"><img src="http://www.clanor.com/i/ads/cal.jpeg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');



	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.hlsw.org" target="new"><b>HLSW.org</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.hlsw.org" target="new"><img src="http://www.clanor.com/i/ads/HLSW_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.nationvoice.com" target="new"><b>.NationVoice.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.nationvoice.com" target="new"><img src="http://www.clanor.com/i/ads/NationVoice_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');



	document.write('				</tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.valvesoftware.com" target="new"><b>Valve.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.valvesoftware.com" target="new"><img src="http://www.clanor.com/i/ads/Valve_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.steampowered.com" target="new"><b>Steam.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.steampowered.com" target="new"><img src="http://www.clanor.com/i/ads/Steam_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.blizzard.com" target="new"><b>Blizzard.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.blizzard.com" target="new"><img src="http://www.clanor.com/i/ads/Blizzard_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt"><img src="i/file_dot.gif" width="9" height="11" border="0"></td><td id="sidectt" width="100%"><a href="http://www.activision.com" target="new"><b>Activision.com</b></a></td>');
	document.write('				</tr>');
	document.write('				<tr>');
	document.write('					<td id="sidectt" valign="top" colspan=2 align="center"><a href="http://www.activision.com" target="new"><img src="http://www.clanor.com/i/ads/Activision_88x31.jpg" width="88" height="31" border="0" vspace="5"></a></td>');
	document.write('				</tr>');


}
	


//DATE AND TIME

toDate = new Date ();
var bdate = toDate.getDate();
var Day = "null";
var Month = "null";
var yr = toDate.getYear();
var fyr = (yr < 1900) ? 1900 + yr : yr;//    Year 2000 processing
	
switch (toDate.getDay()){

	case 0 :
		Day = "Sunday";
		break;	
	
	case 1 :
		Day = "Monday";
		break;
		
	case 2 :
		Day = "Tuesday";
		break;
				
	case 3 :
		Day = "Wednesday";
		break;
		
	case 4 :
		Day = "Thursday";
		break;
		
	case 5 :
		Day = "Friday";
		break;

	case 6 :
		Day = "Saturday";
		break;
}			
switch (toDate.getMonth()){

	case 0 :
		Month = "January";
		break;

	case 1 :
		Month = "February";
		break;
		
	case 2 :
		Month = "March";
		break;
		
	case 3 :
		Month = "April";
		break;
		
	case 4 :
		Month = "May";
		break;
		
	case 5 :
		Month = "June";
		break;

	case 6 :
		Month = "July";
		break;
				
	case 7 :
		Month = "August";
		break;	

	case 8 :
		Month = "September";
		break;	

	case 9 :
		Month = "October";
		break;	

	case 10 :
		Month = "November";
		break;

	case 11 :
		Month = "December";
		break;
}	

//CLOCK PROCESSING
var hrs = toDate.getHours();
var min = toDate.getMinutes();
var sec = toDate.getSeconds();
var ampm = "AM";
//12 hour clock
if (hrs >= 12) {
	hrs -= 12;
	ampm = "PM";
}
if (hrs == 0) {
	hrs = 12;
}
//6 digit clock
if (min < 10) {
	min = "0" +min;
}
if (sec < 10) {
	sec = "0" +sec;
}
if (hrs < 10) {
	hrs = "0" +hrs;
}


function date(){
	if (bdate == 26) {
		document.write('				<tr>');
		document.write('				<td id="sidectt" width="100%" align="center"><b>Date & Time</b><br>' + Day + '<br>' + Month + ' ' + toDate.getDate() + ', ' + fyr + '<br>' + hrs + ':' + min + ':' + sec + ' ' + ampm + '</td>');
		document.write('				</tr>');
	} else {
		document.write('				<tr>');
		document.write('				<td id="sidectt" width="100%" align="center">' + Day + '<br>' + Month + ' ' + toDate.getDate() + ', ' + fyr + '<br>' + hrs + ':' + min + ':' + sec + ' ' + ampm + '</td>');
		document.write('				</tr>');
	}
}


//BOTTOM OF RIGHT COLUMN
function botright(){
	document.write('				<tr>');
	document.write('					<td valign="top" id="sidectt" align="center"><img src="i/newcsman.gif" width=95 height=116></td>');
	document.write('				</tr>');
}



function ServPopUp(PageLoc){
	window.open(PageLoc, 'Page', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=640,height=480,resizable=no');
}

function change(Name,Imagechange,No){
	document [Name].src = eval(Imagechange + No + ".src");
}

news0 = new Image();
news0.src = "i/b/01.gif";
news1 = new Image();
news1.src = "i/b/01b.gif";

abou0 = new Image();
abou0.src = "i/b/02.gif";
abou1 = new Image();
abou1.src = "i/b/02b.gif";

rost0 = new Image();
rost0.src = "i/b/03.gif";
rost1 = new Image();
rost1.src = "i/b/03b.gif";

join0 = new Image();
join0.src = "i/b/04.gif";
join1 = new Image();
join1.src = "i/b/04b.gif";

figh0 = new Image();
figh0.src = "i/b/05.gif";
figh1 = new Image();
figh1.src = "i/b/05b.gif";

foru0 = new Image();
foru0.src = "i/b/06.gif";
foru1 = new Image();
foru1.src = "i/b/06b.gif";

chat0 = new Image();
chat0.src = "i/b/08.gif";
chat1 = new Image();
chat1.src = "i/b/08b.gif";

