
function bodytag()
{
	document.write('<body bgcolor=\"#01274e\">');
}

function indexbg()
{
	document.write('<table id=\"Table_01\" width=\"1000\" height=\"608\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">');
		document.write('<tr>');
			document.write('<td><img src=\"images/index-splash_01.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
			document.write('<td><img src=\"images/index-splash_02.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
		document.write('</tr>');
		document.write('<tr>');
			document.write('<td><img src=\"images/index-splash_03.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
			document.write('<td><img src=\"images/index-splash_04.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
		document.write('</tr>');
	document.write('</table>');
}
function genbg()
{
	document.write('<table id=\"Table_01\" width=\"1000\" height=\"608\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">');
		document.write('<tr>');
			document.write('<td><img src=\"images/splash_01.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
			document.write('<td><img src=\"images/splash_02.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
		document.write('</tr>');
		document.write('<tr>');
			document.write('<td><img src=\"images/splash_03.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
			document.write('<td><img src=\"images/splash_04.jpg\" width=\"500\" height=\"304\" alt=\"\"></td>');
		document.write('</tr>');
	document.write('</table>');
}

function fonts()
{
	document.write('<div style=\"position: absolute; top: 195px; left: 111px; width: 150px; text-align: center;	border-style: solid; border-color: #ffffff; border-width: 0px;\">');
		document.write('<img src=\"images/fontsizer.jpg\" width=\"117\" height=\"38\" alt=\"\" usemap=\"#map\" border=0>');		
		document.write('<map name=\"map\">');
			document.write('<area shape=\"rect\" coords=\"-2,-2,58,42\" href=\"#\" onclick=\"fontSizer(-1,\'px\')\">');
			document.write('<area shape=\"rect\" coords=\"57,-6,122,43\" href=\"#\" onclick=\"fontSizer(1,\'px\')\">');
		document.write('</map>');

	document.write('</div>');
}

function links()
{
	document.write('<div style=\"position: absolute; top: 235px; left: 117px; width: 150px; text-align: center;	border-style: solid; border-color: #ffffff; border-width: 0px;\">');
		document.write('<font color=\"#000\">');
			document.write('<b>Quick Links...</b><br><br>');
			document.write('<a href=\"index.php\"><font color=\"#000\">Home / Calendar</a><br>');
			document.write('<a href=\"docs/2009-2010_StudentHandbook.doc\"><font color=\"#000\">2009/10 High School Handbook</a><br>');
			document.write('<a href=\"docs/2009-2010_Grade9StudentHandbook.doc\"><font color=\"#000\">2009/10 Grade 9 Handbook</a><br>');
			document.write('<a href=\"generator.php?page=wikis\"><font color=\"#000\">Teacher Wiki Websites</a><br>');
			document.write('<a href=\"http://www3.telus.net/coldlakegrad2010/index.htm\" target=new><font color=\"#000\">2010 Grad Website</a><br>');
		document.write('</font>');		
	document.write('</div>');
}

function contactus()
{
	document.write('<div style=\"position: absolute; top: 580px; left: 70px; width: 330px; text-align: left; border-style: solid; border-color: #C2C2C2; border-width: 0px;\">');
		document.write('<font color=\"#131a0b\">');
		document.write('<b>Contact Us...<br><br>');
		document.write('Cold Lake High School<br>#103, 7825 - 51st Street<br>Cold Lake, T9M 0B6<br>Phone: (780) 639-0039<br>Fax: (780) 639-0040');		
	document.write('</div>');
}

function mission()
{
	document.write('<div style=\"position: absolute; top: 580px; left: 50%; margin-left: -550px; width: 1100px;');
	document.write('text-align: center; border-style: solid; border-color: #C2C2C2; border-width: 0px;\">');
		document.write('<font size=2 color=\"#9c9ba9\"><b>Our mission as a learning community is to guide students and build on their strengths<br> ');
			document.write('and potential by following our core values in our relationships with one another so that <br>');
			document.write('our students will act as contributing members of our school - Local and global community.');
		document.write('<Br><br><font size=1><b>All contents &copy; 2009/2010 Cold Lake High School');
		document.write('<br><Br>');
		document.write('<a href=\"http://www.kentmedia.ca/\" target=\"new\"><font color=\"#9c9ba9\">A KentMedia Web Design</a></font>');
	document.write('</div>');
}

function phone()
{
	document.write('<div style=\"position: absolute; top: 610px; left: 5px; width: 105px;	text-align: right; border-style: solid; border-color: #C2C2C2; border-width: 0px;\">');
		document.write('<img src=\"images/phone.jpg\" width=364 height=22 border=0><br>');		
	document.write('</div>');
}

// Copyright 2003 Eddie Traversa
// http://www.dhtmlnirvana.com/
var tags = new Array( 'div','td','tr','p','b','table','strong','emphasis','a','h1','h2','h3','pre','sub','sup','i','th','cp','ul','ol','li','dt','dd');
var pixelArray =  new Array('10','11','12','13','14');
var emArray =  new Array('0.7','0.9','1.0','1.5','2.0','2.5','3');
var initSize = 1;
function fontSizer(inc,unit)
{
	if (!document.getElementById)
		return;
	var size = initSize;
	size += inc;
	if (size < 0 )
		size = 0;
	if (size > 4 )
		size = 4;

	initSize = size;
	//alert(size);
	getBody = document.getElementsByTagName('body')[0];
	for (i = 0 ; i < tags.length ; i++ )
	{
		getallTags = getBody.getElementsByTagName(tags[i]);
		for (k = 0 ; k < getallTags.length ; k++)
			getallTags[k].style.fontSize = (unit=='px') ? pixelArray[size]+unit: emArray[size]+unit;
	}
}

defaultStatus="STAR Helicopters || 2009/2010"
