function Display() {
	t1 = "<table>";
	img = "<td><div class='img'><a href='" + this.pic + "'<img src='" + this.pic + "' /></a></div></td><br />";
	info1 = "<td><div class='info1'><a href='http://www.gametracker.com/server_info/208.100.25.30:27015/top_players/'><b>[KFC] " + this.name + "</b></a><br /><b>Class: </b>" + this.clss + "<br /><b>Map: </b>" + this.map + "</div></td>";
	info2 = "<td><div class='info2'><b>Info: </b>" + this.info + "</div></td>";
	t2 = "</table>";
	document.write(t1,img,info1,info2,t2);
}

function Player(name,pic,clss,map,info) {
	this.name = name;
	this.pic = pic;
	this.clss = clss;
	this.map = map;
	this.info = info;
	this.Display = Display;
}

tk1 = new Player("tk1",			  "images/players/tk1.jpg",	"Multi/Pyro", 	"pl_goldrush", 		"Wacky Waving Inflatable Arm Flailing Tube Men and Crudley Painted Not-So-Funny Plywood Cut-Out Folk Art Warehouse and Emporium Manager");
nkb = new Player("Never Knows Best", 	  "images/players/nkb.jpg",	"Multi/Spy", 	"pl_goldrush", 		"Ar Mar Mar Mar Mar Mar");
lms = new Player("LiftMySkirtMakeItHurt", "images/players/lms.jpg",	"Demoman", 	"ctf_therock", 		"He drives the van.");
der = new Player("DerMetzgrMeistr",	  "images/players/der.jpg",	"Soldier", 	"pl_badwater", 		"I'm a man of simple tastes. I enjoy rocket launchers, shovels, and caffeine. And you know what they have in common? They all taste great with chikinz.");
can = new Player("Lord Canti",		  "images/players/can.jpg",	"M/Sc/P", 	"cp_dustbowl", 		"Somtimes I suck terribly, somtimes Im not too bad. I can play on a team, and follow instructions. I like to eat ice cream, and really enjoy a nice pair of slacks.");
dem = new Player("D3m0nzz", 		  "images/players/dem.jpg",	"Multi/Engi", 	"arena_lumberyard", 	"I play everything damn well. I like to use my self as an autobalancer. My sentries will almost ALWAYS be level one and ALWAYS where you wont expect them. And I enjoy...... doing...... BAAAAAAATTTTTLLLEEEE!!!!!");
kur = new Player("I AM THE KURE", 	  "images/players/kur.jpg",	"Medic", 	"n/a", 			"n/a");
sat = new Player("Satanist", 		  "images/players/sat.jpg",	"Heavy", 	"n/a", 			"n/a");
blk = new Player("Blackcat", 		  "images/players/blk.jpg",	"Medic", 	"ctf_2fort", 		"n/a");
fnk = new Player("FuzzyNeko", 		  "images/colonel.jpg",		"n/a", 		"n/a", 			"n/a");
col = new Player("The Colonel", 	  "images/players/col.jpg",	"n/a", 		"n/a", 			"n/a");
xd  = new Player("xD", 			  "images/players/xd.jpg",	"Medic", 	"pl_badwater", 		"'I r caught them allz'!");
xnl = new Player("xenonlight321",	  "images/colonel.jpg",		"n/a", 		"n/a", 			"n/a");
nbl = new Player("Noble",		  "images/players/nbl.jpg",	"Medic", 	"tc_hydro", 		"Through virtue of founding the KFC group, he maintains a vice-grip on the reins of power despite contributing little-to-none to the group itself.");
cmc = new Player("CampinCarl",		  "images/players/cmc.jpg", 	"n/a", 		"n/a", 			"n/a");
nwf = new Player("Nightwolf",		  "images/players/nwf.jpg", 	"n/a", 		"n/a", 			"n/a");
apl = new Player("Applz",		  "images/players/apl.jpg", 	"n/a", 		"n/a", 			"n/a");
vld = new Player("virLudens",		  "images/players/vld.jpg", 	"n/a", 		"n/a",			"n/a");

players = [tk1,nkb,lms,der,can,dem,kur,sat,col,apl,vld,nbl,cmc,blk,fnk,xd,xnl,nwf];

a = "http://thephraseoftheday.com/kfc/index.html";
b = "http://www.thephraseoftheday.com/kfc/index.html";
c = "http://thephraseoftheday.com/kfc";
d = "http://www.thephraseoftheday.com/kfc";
e = "http://thephraseoftheday.com/kfc/";
f = "http://www.thephraseoftheday.com/kfc/";

if (window.location== a || window.location== b || window.location==  c || window.location== d || window.location== e || window.location== f ) {
	num = Math.floor(Math.random() * players.length);
	x = players[num];
	x.Display();
}
else {
for(i=0; i<players.length; i++){
	x = players[i];
	x.Display();
	}
}