function buildPageHeader(sPageTitle,sPageInstructions,sImage)
{
buildTitleHTML(sPageTitle);
if(!sPageInstructions)sPageInstructions="";
buildInstructions(sPageInstructions);
if(!sImage)sImage="";
BuildHeaderImage(sImage);
}
function buildTitleHTML(lsBuf){if(document.layers)lsBuf='<span class="pagetitleboldleft">' + lsBuf + '</span>';ApplyNewHTML("divTitle",lsBuf,"PageHeader");}
function buildInstructions(lsBuf){ApplyNewHTML("divInstructions",lsBuf,"PageHeader");}
function BuildHeaderImage(lsBuf){ApplyNewHTML("divImage",lsBuf,"PageHeader");}
function BuildSubTitle(aLines)
{
var lsBuf="";
for(var index=0;index<aLines.length;index++)
{
lsBuf+="<br/>" + aLines[index];
}
lsBuf+="";
return(lsBuf);
}
var ChildWind;
function oc(p,h,w,bResize)
{
var r="no";
if(!w)w="650";
if(!h)h="350";
if(bResize)r="yes";
if(ChildWind&&!ChildWind.closed)
{
ChildWind.name=GetServerPath("NonSecureHTTP","motor/"+p);
ChildWind.focus();
}
else
ChildWind=window.open(GetServerPath("NonSecureHTTP","motor/"+p),"","menubar=no,toolbar=no,resizable="+r+",scrollbars=yes,status=no,width="+w+",height="+h);
}
function login(){var lsRef=GetServerPath("SecureHTTP","") + "motor/secure_index.html";top.location.href=lsRef;}


