function MenuVisibility(objLink, strID)
{
	var objBox;
	objBox = document.getElementById(strID);
	if (objBox.style.visibility == "hidden") {
		objLink.src = "/sites/PublicInfo/images/Box_Hide.gif";
		objBox.style.visibility = "visible";
		objBox.style.display = "block";
	} else {
		objLink.src = "/sites/PublicInfo/images/Box_Show.gif";
		objBox.style.visibility = "hidden";
		objBox.style.display = "none";
	}
}

function ClickToSubmit()
{
	return confirm("I intend to use the information ONLY for either:\n\nA) A commonly recognized business use whereby the business for which I seek the information has a pre-existing business relationship with the subject of the inquiry;\n\nB) A use which will clearly cause no emotional or physical harm to a reasonable person who is a subject of the inquiry;\n\nC) A use that is relevant to the subject matter of a documented civil or criminal action;\n\nD) A legitimate business purpose in the ordinary course of business.  \n\nFURTHERMORE, I will not, either personally or through my company, employer or anyone else, use this information for credit granting, credit monitoring, account review, insurance underwriting or any other purpose covered by the Fair Credit Reporting Act, 15 U.S.C. Sec. 1681 et seq, state statutes.")
}

//for opening help windows

function openhelpwindow(elurl)
{
  elnombro=window.open(elurl,"help","'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,location=no,status=no,width=530,height=400'");
}

// Standard mouseover
function Plug(In)
{
 window.status=In;
}
browserName = navigator.appName;

browserVer = parseInt(navigator.appVersion);

       if (browserVer >= 3) version = "n3";
       else version = "n2";

       if (version == "n3") {

	// Begin Main Site nav
       about1 = new Image;
       about1.src = "/Sites/PublicInfo/images/TopMenu/about-1.gif";
       about2on = new Image;
       about2on.src = "/Sites/PublicInfo/images/TopMenu/about-2.gif";

       search1 = new Image;
       search1.src = "/Sites/PublicInfo/images/TopMenu/search-1.gif";
       search2on = new Image;
       search2on.src = "/Sites/PublicInfo/images/TopMenu/search-2.gif";

       login1 = new Image;
       login1.src = "/Sites/PublicInfo/images/TopMenu/login-1.gif";
       login2on = new Image;
       login2on.src = "/Sites/PublicInfo/images/TopMenu/login-2.gif";

       register1 = new Image;
       register1.src = "/Sites/PublicInfo/images/TopMenu/register-1.gif";
       register2on = new Image;
       register2on.src = "/Sites/PublicInfo/images/TopMenu/register-2.gif";

       links1 = new Image;
       links1.src = "/Sites/PublicInfo/images/TopMenu/links-1.gif";
       links2on = new Image;
       links2on.src = "/Sites/PublicInfo/images/TopMenu/links-2.gif";

	// Begin home nav
       assets1 = new Image;
       assets1.src = "/Sites/PublicInfo/images/HomePage/local_assets-1.gif";
       assets2on = new Image;
       assets2on.src = "/Sites/PublicInfo/images/HomePage/local_assets-2.gif";

       findppl1 = new Image;
       findppl1.src = "/Sites/PublicInfo/images/HomePage/find_people-1.gif";
       findppl2on = new Image;
       findppl2on.src = "/Sites/PublicInfo/images/HomePage/find_people-2.gif";

       criminalrecord1 = new Image;
       criminalrecord1.src = "/Sites/PublicInfo/images/HomePage/criminal_record-1.gif";
       criminalrecord2on = new Image;
       criminalrecord2on.src = "/Sites/PublicInfo/images/HomePage/criminal_record-2.gif";

       bgchecks1 = new Image;
       bgchecks1.src = "/Sites/PublicInfo/images/HomePage/bg_checks-1.gif";
       bgchecks2on = new Image;
       bgchecks2on.src = "/Sites/PublicInfo/images/HomePage/bg_checks-2.gif";
}

function img_act(imgName) {

       if (version == "n3") {
       imgOn = eval(imgName + "2on.src");
       document [imgName].src = imgOn;
       }
}

function img_inact(imgName) {

       if (version == "n3") {
       imgOff = eval(imgName + "1.src");
       document [imgName].src = imgOff;
       }
}
