var effect_flag = false;
var sc_project=1665620;
var sc_invisible=0;
var sc_partition=11;
var sc_security="6ff8820a";
// *****
function OnResize()
{
if (top.GetId("TopFrame").style.marginLeft == "0px")
	top.GetId("TopFrame").style.marginLeft = ((screen.width / 2)-(800 / 2)) + "px";
  else
	top.GetId("TopFrame").style.marginLeft = "0px";
return;
}
// *****
function GetId(idx)
{
return(document.getElementById(idx));
}
// *****
function GetIdIx(id, ix) {
return(document.getElementsByName(id)(ix));
}
// *****
function GetObjIx(obj, id, ix) {
return(obj.getElementsByName(id)(ix));
}
// ***
// *****
function GetObj(obj, id) {
return(obj.getElementById(id));
}
// *****
function GetEventId(e) {
	e = (e) ? e : ((event) ? event : null);
return(((e.target) ? e.target : ((e.srcElement) ? e.srcElement : null)).id);
}
// *****
function QueryURL(sKey) {
// Xlert("QueryURL sKey="+sKey);
return(QueryStr(sKey, document.location));
}
// *****
function QueryStr(sKey, str) {
	var p1, p2, k = new String(sKey), s = new String(str);
//	k = k.toUpperCase();
//	s = s.toUpperCase();
	p1 = s.indexOf(k) + k.length + 1;
	p2 = s.indexOf("&", p1);
	if (p2 == -1)
		p2 = s.length;
return(s.substring(p1, p2));
}
// *****
function Wr(str) {
//  	alert(str);
	document.write(str);
}
// *****
function DoFooter(pleft)
{
var titlex = "PC Consultants - (603) 878-2588";
var d = new Date;

Wr("<table border='0' cellpadding='0' cellspacing='0' style='width: 100%;align: center;font-family: Arial;font-size: 12px;padding-top: 4px;'>");
	Wr("<tr>");
		Wr("<td style='width: 100%;text-align: center;'>");
//			Wr("<br>");
			Wr("<span style='align: center;font-family: Arial;font-size: 7pt;color: #AAAAAA;'>");
				Wr("&copy;" + d.getFullYear() + " - John Stanek Custom Builders, Inc.");
				Wr(" | ");
				Wr("Page Date: " + document.lastModified);
				Wr(" | ");
//				Wr("<a href='http://www.gopcc.com' title='" + titlex + "' target='_blank' style='color: #AAAAAA;'>");
				Wr("<a href='mailto:Bob@GoPCC.com' title='" + titlex + "' target='_blank' style='color: #AAAAAA;'>");
					Wr("Web Site by PC Consultants");
				Wr("</a>");
			Wr("</span>");
		Wr("</td>");
	Wr("</tr>");
Wr("</table>");
//DoStatCounter(pleft);
return;
}
// *****
/*
function DoStatCounter(pleft)
{
//Wr("var sc_project=1665620");
//Wr("var sc_invisible=0");
//Wr("var sc_partition=11");
//Wr("var sc_security='6ff8820a'");
// Wr("<script type='text/javascript' language='javascript' src='http://www.statcounter.com/counter/frames.js'></script>");
//Wr("<table border='1' width='554px' align='center' cellpadding='0' cellspacing='0' style='font-family: Arial;font-size: 12px;padding-top: 8px;'>");
//	Wr("<tr>");
//		Wr("<td width='100%' align='center'>");
		//Wr("<div align='center'>");
//			Wr("<noscript>");
//			Wr("<center>");
				Wr("<a href='http://www.statcounter.com/' target='_blank' style='align: center;height: 10px; width: 30px;padding-left:" + pleft + "px;'>");
					Wr("<img height='10px' width='20px' src='http://c12.statcounter.com/counter.php?sc_project=1665620&amp;java=0&amp;security=6ff8820a&amp;invisible=0' border='0' style='display: none;'>");
				Wr("</a>");
//			Wr("</center>");
//			Wr("</noscript>");
//			Wr("<script type='text/javascript' language='javascript' src='http://www.statcounter.com/counter/frames.js'></script>");
//			Wr("<br>");
			//<p>
//				Wr("<a href='http://validator.w3.org/check?uri=referer'>
//					Wr("<img src='http://www.w3.org/Icons/valid-html401' alt='Valid HTML 4.01 Strict' height='31' width='88'>");
//				Wr("</a>");
//			</p>


//		Wr("</div>");
// Wr("<a href='http://my.statcounter.com/project/standard/stats.php?project_id=1665620&amp;guest=1'>View My Stats</a>");
//		Wr("</td>");
//	Wr("</tr>");
 //Wr("</table>");
return;
}
*/
// *****
function DoFooterLink(link, target, text, sep, evt)
{
Wr("<a href='" + link + "' target='" + target + "'>" + text + "</a>");
Wr("<span style='font-size: 12pt;color: black;font-weight: normal;'>&nbsp;" + sep +"&nbsp;</span>");
return;
}
// *****
function ShowObj(obj, id) {
	GetObj(obj, id).style.display = "";
return(0);
}
// *****
function HideObj(obj, id) {
 	GetObj(obj, id).style.display = "none";
return(0);
}

