
// If a argument is passed, use it as the relative address to access the image. Otherwise, assume the image is in the parent (../)directory.

function BuildTitleBlock(sourceDirectory) {  

if (!sourceDirectory) sourceDirectory = "../";

if (!printflag) {

document.write ("<div id=\"headerblock\">");
//<a href="http://www.altacal.org"><div style="width:50px; height: 50px; border:1px solid #333333;"> </div></a>
document.write ("<a id=\"headerpicturelink\" href=\"http://www.altacal.org\"> <img id=\"headerpicture\" src=\"" + sourceDirectory + "wtkl_small.png\"/></a>");
//document.write ("<a id=\"headerpicturelink\" href=\"http://www.altacal.org\"> <img id=\"headerpicture\" src=\"" + sourceDirectory + "wtkl_small.png\" onClick=\"recordOutboundLink(this, 'IndexToAltacal', 'altacal.org');return false;\"/></a>");

document.write ("<div id=\"headertextblock\">");
document.write ("<h1 class=\"maintitletext\" style=\"margin-bottom: 0px;\" align=\"center\">Birding Sites and Hikes</h1>");
document.write ("<h4 class=\"maintitletext\" style=\"margin-top: 0px;\" align=\"center\">Butte, Glenn and Tehama Counties</h4>");
document.write ("</div>");

document.write ("<div style=\"clear: left;\"></div>");
document.write ("</div>");
}
}
