function PC_visibility( selectVisibility ) {

	for ( var i = 0; i < document.forms.length; i++ ) {

		for ( var j = 0; j < document.forms[i].elements.length; j++ ) {

			if ( document.forms[i].elements[j].type.indexOf( "select" ) != -1 ) {

				document.forms[i].elements[j].style.visibility = selectVisibility;

			}

		}

	}

}



function PC_vdropdown(PC_subnav){



	var PC_nav;

	var PC_complete;



	PC_imgOver(PC_subnav);



	if(document.getElementById){

		PC_complete = "document.getElementById('" + PC_subnav + "Menu')";

	}

	else if(document.all){

		PC_complete = "document.all['" + PC_subnav + "Menu']";

	}



	PC_nav = eval(PC_complete);



	//Shows the visibility of the navigation SubNav menu

	if (PC_nav){

		PC_nav.style.visibility = 'visible';

	}

	PC_visibility( 'hidden' );

}



function PC_nvdropdown(PC_subnav){



	var PC_nav;

	var PC_complete;



	PC_imgOut(PC_subnav);



	if(document.getElementById){

		PC_complete = "document.getElementById('" + PC_subnav + "Menu')";

	}

	else if(document.all){

		PC_complete = "document.all['" + PC_subnav + "Menu']";

	}



	PC_nav = eval(PC_complete);



	if (PC_nav)
	{

		PC_nav.style.visibility = 'hidden';

	}



	PC_visibility( 'visible' );

}





if (document.images) 
{



	DiscForOn = new Image();	DiscForOn.src="DiscForOn.jpg";

	LearnCentOn = new Image();	LearnCentOn.src="LearnCentOn.jpg";

	CredRepOn = new Image();	CredRepOn.src="CredRepOn.jpg";

	AboutUsOn = new Image();	AboutUsOn.src="AboutUsOn.jpg";



	DiscForOff = new Image();	DiscForOff.src="DiscForOff.jpg";

	LearnCentOff = new Image();	LearnCentOff.src="LearnCentOff.jpg";

	CredRepOff = new Image();	CredRepOff.src="CredRepOff.jpg";

	AboutUsOff = new Image();	AboutUsOff.src="AboutUsOff.jpg";



}


function PC_imgOver(iname) 
{

	if (document.images) 
	{

		document[iname].src = eval(iname + "On.src");

	}

}



function PC_imgOut(iname) 
{

	if (document.images) 
	{

		document[iname].src = eval(iname + "Off.src");

	}

}



var PC_DropdownMenu = new Array();



	PC_DropdownMenu[0] = new Array(

		"DiscFor",

		350,		// pixels from left

		116,	// width of menu

		"Post A Question","PostAQuestion.html",

		"Email Us","mailto:ContactUs@propertycure.com"

		);



	PC_DropdownMenu[1] = new Array(

		"LearnCent",

		458, // pixels from left

		116, // width of menu
		"FREE Private Invester Seminar","freeseminar.html",
		"Get 12% on your Investment","greatreturn.html",
		"Get Paid to Find Houses!","findmehouses.html",

		"Closing Costs","closingcosthelp.html",
		"Renter's Insurance","renterinshelp.html",
		"RE Glossary","reglossaryNUM.html",
		"The HOME Store","HomeStore.html"

		);



	PC_DropdownMenu[2] = new Array(

		"CredRep",

		566, // pixels from left

		106, // width of menu
		"What's a FICA Score","FICAhelp.html",

		"FREE Report","http://www.frbsf.org/publications/consumer/creditreport.pdf",
		"Equifax","http://service.bfast.com/bfast/click?bfmid=9439958&amp;siteid=41338744&amp;bfpage=166x44logo",
		"TransUnion","http://service.bfast.com/bfast/click?bfmid=33292112&siteid=41338744&bfpage=transunion_links",
		"Experian","http://service.bfast.com/bfast/click?bfmid=37922849&siteid=41338744&bfpage=credit",

		"MyFICA.com","http://service.bfast.com/bfast/click?bfmid=37925169&siteid=41338744&bfpage=88x33"

		);



	PC_DropdownMenu[3] = new Array(

		"AboutUs",

		674, // pixels from left

		106, // width of menu
		"Our History","ourhistory.html",
		"Testimonials","testimonials_17.html",
		"Contact Us","contactus.html",

		"RentalCure.com","RCindex.html",
		"PropertyCure.com","index.html"

		);





function PC_setUpMenus(PC_backcolor, PC_overcolor, PC_textcolor, PC_overtextcolor, PC_linecolor)
{


if ((document.all) || (document.getElementById))
{



	var this_PC_DropdownMenu = new Array();

	if( document.topmenubar == 'dropdown' ) 
	{

		this_PC_DropdownMenu = PC_DropdownMenu;

	} 
	else 
	{

		this_PC_DropdownMenu = PC_DropdownMenu;

	}



	var PC_subnav = "";



	for (j = 0; j < this_PC_DropdownMenu.length; j++)
	{

		PC_subnav += "<div id=\"" + this_PC_DropdownMenu[j][0] + "Menu\" style=\"z-index:999;position: absolute; left: " + this_PC_DropdownMenu[j][1] + "; width: " + this_PC_DropdownMenu[j][2] + "; visibility: hidden\" onmouseover=\"PC_vdropdown('" + this_PC_DropdownMenu[j][0] + "');\" onmouseout=\"PC_nvdropdown('" + this_PC_DropdownMenu[j][0] + "');\">";


		PC_subnav += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"" + this_PC_DropdownMenu[j][2] + "\">";
		PC_subnav += "<tr>";

		PC_subnav += "<td colspan=\"4\" bgcolor=\"" + PC_linecolor + "\" height=\"1\"></td>";

		PC_subnav += "</tr>";



		for (i=3; i < this_PC_DropdownMenu[j].length-1; i=i+2)
		{
			PC_subnav += "<tr>";
			PC_subnav += "<td width=\"1\" bgcolor=\"#121766\"></td>";

			PC_subnav += "<td width=\"108\" bgcolor=\"" + PC_backcolor + "\" class=\"pcstyle\" onClick=\"document.location.href='" + this_PC_DropdownMenu[j][i+1] + "'\" onmouseover=\"this.bgColor='" + PC_overcolor + "';this.style.color='" + PC_overtextcolor+ "';\" onmouseout=\"this.bgColor='" + PC_backcolor + "';this.style.color='" + PC_textcolor + "'\" style=\"color: " + PC_textcolor + "\"><div style=\"padding-left:12px;\">" + this_PC_DropdownMenu[j][i] + "</a></div></td>";

			PC_subnav += "<td width=\"1\" bgcolor=\"#121766\"></td>";

			PC_subnav += "</tr>";

			PC_subnav += "<tr>";

			PC_subnav += "<td colspan=\"4\" bgcolor=\"" + PC_linecolor + "\" height=\"1\"></td>";

			PC_subnav += "</tr>";
		}



		PC_subnav += "</table>";

		PC_subnav += "</div>";

	}



document.write(PC_subnav);

}
}

function ImageSwapper(imageURL,title,width,height)
{
	document.image_main.src = eval(imageURL + ".src");;
	document.image_main.width = width;
	document.image_main.height = height;
}


if( document.images )
{
but1 = new Image(150,24); but1.src = "HomeownersOff.jpg";
but2 = new Image(150,24); but2.src = "HomeownersOn.jpg"; 
but3 = new Image(150,24); but3.src = "PropertyForSaleOff.jpg"; 
but4 = new Image(150,24); but4.src = "PropertyForSaleOn.jpg"; 
but5 = new Image(150,24); but5.src = "ResourcesOff.jpg";
but6 = new Image(150,24); but6.src = "ResourcesOn.jpg";
but7 = new Image(150,24); but7.src = "HowtoMakeOff.jpg";
but8 = new Image(150,24); but8.src = "HowtoMakeOn.jpg";
tlon = new Image(195,195); tlon.src = "TL2.gif";
tloff= new Image(195,195); tloff.src= "TL1.gif";
tmon = new Image(195,195); tmon.src = "TM2.gif";
tmoff= new Image(195,195); tmoff.src= "TM1.gif";
tron = new Image(195,195); tron.src = "TR2.gif";
troff= new Image(195,195); troff.src= "TR1.gif";
mlon = new Image(195,195); mlon.src = "ML2.gif";
mloff= new Image(195,195); mloff.src= "ML1.gif";
mron = new Image(195,195); mron.src = "MR2.gif";
mroff= new Image(195,195); mroff.src= "MR1.gif";
blon = new Image(195,195); blon.src = "BL2.gif";
bloff= new Image(195,195); bloff.src= "BL1.gif";
bmon = new Image(195,195); bmon.src = "BM2.gif";
bmoff= new Image(195,195); bmoff.src= "BM1.gif";
bron = new Image(195,195); bron.src = "BR2.gif";
broff= new Image(195,195); broff.src= "BR1.gif";
lcon = new Image(195,195); lcon.src = "LC_blue.gif";
lcoff= new Image(195,195); lcoff.src= "LC_grey.gif";
dwon = new Image(195,195); dwon.src = "DW_blue.gif";
dwoff= new Image(195,195); dwoff.src= "DW_grey.gif";
dbon = new Image(195,195); dbon.src = "DB_blue.gif";
dboff= new Image(195,195); dboff.src= "DB_grey.gif";
}

function chkVer(imagename,objectsrc)
{
	var n=navigator.appName
	var v=parseInt(navigator.appVersion)
	var browsok=((n=="Netscape")&&(v>=3))
	var browsok2=((n=="Microsoft Internet Explorer")&&(v>=4))
	
	if ((browsok)||(browsok2))
		document.images[imagename].src=eval(objectsrc+".src")
}

