
function header(page_name) {
	//document.write('<link href="logo_print.css" rel="stylesheet" type="text/css" media="print">');
	//document.write('<link href="logo_screen.css" rel="stylesheet" type="text/css" media="screen">');
	document.write('<div class="outline">');
	document.write('<div class="header_wrapper" id="header_wrapper" align="center">');
	document.write('<div class="header" id="header">');
	document.write('  <div class="logo">');

	if (self.innerWidth) { x = self.innerHeight; }
	else if (document.documentElement && document.documentElement.clientWidth) { x = document.documentElement.clientHeight; }
	else if (document.body) { x = document.body.clientHeight; }

	var h = x*0.18;
	var w = h*(1005/357);
	if (w > (357/3)) { h = (332/3); w = (1005/3); }
	document.write('  <img class="logo" src="images/CameronLogo_hq.jpg" height="'+h+'px" width="'+w+'px"></div>');
	document.write('  <div class="tagline">Experience...The Difference</div>');
	document.write('  <div class="menu"><table class="menu" id="menu"><tr>');
	document.write('    <td id="About Us"><a href="about_us.html">About Us</a></td>');
	document.write('    <td id="Services"><a href="services.html">Services</a></td>');
	document.write('    <td id="Our Team"><a href="our_team.html">Our Team</a></td>');
	//document.write('    <td id="Clients"><a href="clients.html">Clients</a></td>');
	document.write('    <td id="Articles"><a href="articles.html">Articles</a></td>');
	document.write('    <td id="Careers"><a href="careers.html">Careers</a></td>');
	document.write('    <td id="Contact"><a href="contact.html">Contact</a></td>');
	document.write('  </tr></table></div>');
	//document.write('  <div class="page_logo"><img class="page_logo" src="images/' + page_logo + '"></div>');
	//document.write('  <div class="page_logo2"><h1><span></span>' + page_name + '</h1></div>');
	//document.write('  <div class="right_white"></div>');
	document.write('</div></div>');
	document.write('<div class="document" id="document">');
	document.write('<div class="dots"></div><br><br>');

	h_m = document.getElementById("menu").clientHeight;
	//if (hand_m.innerWidth) { h_m = hand_m.innerHeight; }
	//else if (document.documentElement && document.documentElement.clientWidth) { h_m = hand_m.clientHeight; }
	//else if (document.body) { h_m = hand_.clientHeight; }

	//h_h = document.getElementById("header").clientHeight;

	//document.getElementById("cameronlogo").style.height = h;
	//document.getElementById("cameronlogo").style.width = w;


	document.getElementById("header_wrapper").style.height = h + h_m*1.6;
	document.getElementById("header").style.height = h + h_m*1.5;

	//document.getElementById(page_name).className = "cur";
}


function footer(page_name) {
	for (k=0; k < 3; k++) { document.write('<br>'); }
	document.write('</div>');	// close document div
	/*document.write('<div class="footer">');
	document.write('  <div class="menuf_outline">');
	document.write('    <div class="menuf"><table class="menu"><tr>');
	document.write('    <td id="About Us"><a href="about_us.html">About Us</a></td>');
	document.write('    <td id="Services"><a href="services.html">Services</a></td>');
	document.write('    <td id="Our Staff"><a href="our_staff.html">Our Staff</a></td>');
	document.write('    <td id="Clients"><a href="clients.html">Clients</a></td>');
	document.write('    <td id="Articles"><a href="articles.html">Articles</a></td>');
	document.write('    <td id="Careers"><a href="careers.html">Careers</a></td>');
	document.write('    <td id="Contact"><a href="contact.html">Contact</a></td>');
	document.write('    </tr></table></div>');
	document.write('  </div>');
	document.write('  <div class="copyright">');
	document.write('    Copyright Cameron &amp; Associates Ltd. 2001-2008<br>');
	document.write('    <strong><a href="Privacy%20Policy_files/Privacy%20Policy.htm">Privacy Policy</a></strong>');
	document.write('  </div>');
	document.write('</div>');*/
	document.write('</div>'); 	// close outline div

	x = document.getElementsByTagName("td")
	for (i = 0; i < x.length; i++)
		if (x[i].id == page_name)
			x[i].className = "cur";

}

document.write("<link rel='shortcut icon' href='cameronassociates.ico'>");
