function checkHeaders()	{
	for (i = 1; i <= 6; i++)
	{
	document.write("<h" + i + ">This is header " + i);
	document.write("</h" + i + ">");
	}
}
function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function eraseCookie(name) {
	createCookie(name,"",-1);
}
function printIndexPhotos() {
/* Enter the images in the order you want here, they will be placed properly down below */
var pw=pageWidth();
var img01="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-43.jpg\" width=\"80px\" alt=\"player 1 image\" /> "
var img02="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-36.jpg\" width=\"80px\" alt=\"player 2 image\" /> "
var img03="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-39.jpg\" width=\"80px\" alt=\"player 3 image\" /> "
var img04="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-33.jpg\" width=\"80px\" alt=\"player 4 image\" /> "
var img05="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-37.jpg\" width=\"80px\" alt=\"player 5 image\" /> "
var img06="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-32.jpg\" width=\"80px\" alt=\"player 6 image\" /> "
var img07="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-40.jpg\" width=\"80px\" alt=\"player 7 image\" /> "
var img08="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-41.jpg\" width=\"80px\" alt=\"player 8 image\" /> "
var img09="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-42.jpg\" width=\"80px\" alt=\"player 9 image\" /> "
var img10="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-34.jpg\" width=\"80px\" alt=\"player 10 image\" /> "
var img11="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-35.jpg\" width=\"80px\" alt=\"player 11 image\" /> "
var img12="<img src=\"http://oheatbb.com/graphics/roster/roster-2010-31.jpg\" width=\"80px\" alt=\"player 12 image\" /> "

	if(pw < 760)
	{
		document.write(img01);	
		document.write(img02);
		document.write('<br />');
		document.write(img03);
		document.write(img04);
		document.write('<br />');
		document.write(img05);
		document.write(img06);
		document.write('<br />');
		document.write(img07);
		document.write(img08);
		document.write('<br />');
		document.write(img09);
		document.write(img10);
		document.write('<br />');
		document.write(img11);
		document.write(img12);
	}
	if(pw>=760 && pw <= 850)
	{
		document.write(img01);	
		document.write(img02);
		document.write(img03);	
		document.write('<br />');
		document.write(img04);
		document.write(img05);
		document.write(img06);	
		document.write('<br />');
		document.write(img07);
		document.write(img08);
		document.write(img09);
		document.write('<br />');
		document.write(img10);
		document.write(img11);
		document.write(img12);
	}
	if(pw> 850 && pw < 1000)
	{
		document.write(img01);	
		document.write(img02);
		document.write(img03);	
		document.write(img04);
		document.write('<br />');
		document.write(img05);
		document.write(img06);	
		document.write(img07);
		document.write(img08);
		document.write('<br />');
		document.write(img09);
		document.write(img10);
		document.write(img11);
		document.write(img12);
	}
	if(pw>=1000 && pw <= 1600)
	{
		document.write(img01);	
		document.write(img02);
		document.write(img03);	
		document.write(img04);
		document.write(img05);
		document.write(img06);	
		document.write('<br />');
		document.write(img07);
		document.write(img08);
		document.write(img09);
		document.write(img10);
		document.write(img11);
		document.write(img12);
	}
	if(pw > 1600)
	{
		document.write(img01);	
		document.write(img02);
		document.write(img03);	
		document.write(img04);
		document.write(img05);
		document.write(img06);
		document.write(img07);
		document.write(img08);
		document.write(img09);
		document.write(img10);
		document.write(img11);
		document.write(img12);
	}

}
