/* Constants */
var rootDirectory = "/titlecorp/California";
var defaultFileList = "index.htm";
PINT_BrowserDetection("browserupgrade.htm");
function init() {
	var fileName  = PINT_GetCurrentFileName();
	var directory = PINT_GetCurrentDirectory();
	// This function is needed for Form Validation
	//PINT_FormValidator();
	
	PINT_CSSMenus("nav");
	if (document.getElementById('about_demo')) PINT_CSSMenus("about_demo");
		

	for (var i = 1; i < 10; i++) {
		if(document.getElementById('offices'+i))	{	    PINT_CSSMenus("offices"+i);	}
	}

//	detailsDisplay("tabletitle", "Details of this title policy.");
//	detailsDisplay("tableescrow", "Details of this escrow service.");
//	detailsDisplay("tabletotal", "Total details of this combined offering.");

//	detailsDisplay("stewartTitle", "Details of this title policy.");
//	detailsDisplay("stewartEscrow", "Details of this escrow service.");
//	detailsDisplay("stewartTotal", "Total details of this combined offering.");

//	
//	detailsDisplay("OldTitle", "Details of this title policy.");
//	detailsDisplay("OldEscrow", "Details of this escrow service.");
//	detailsDisplay("OldTotal", "Total details of this combined offering.");

//	
//	detailsDisplay("FidelityTitle", "Details of this title policy.");
//	detailsDisplay("FidelityEscrow", "Details of this escrow service.");
//	detailsDisplay("FidelityTotal", "Total details of this combined offering.");
//	
//	detailsDisplay("CaliforniaTitle", "Details of this title policy.");
//	detailsDisplay("CaliforniaEscrow", "Details of this escrow service.");
//	detailsDisplay("CaliforniaTotal", "Total details of this combined offering.");

//	detailsDisplay("FirstAmericanTitle", "Details of this title policy.");
//	detailsDisplay("FirstAmericanEscrow", "Details of this escrow service.");
//	detailsDisplay("FirstAmericanTotal", "Total details of this combined offering.");
//	
//	detailsDisplay("PlacerTitle", "Details of this title policy.");
//	detailsDisplay("PlacerEscrow", "Details of this escrow service.");
//	detailsDisplay("PlacerTotal", "Total details of this combined offering.");
//	
//	detailsDisplay("OrangeCoastTitle", "Details of this title policy.");
//	detailsDisplay("OrangeCoastEscrow", "Details of this escrow service.");
//	detailsDisplay("OrangeCoastTotal", "Total details of this combined offering.");

//	detailsDisplay1("TransPurchase", "You or your client plans to buy this property.");
//	detailsDisplay1("TransSale", "You are selling or represent the seller of this property.");
//	detailsDisplay1("TransRefinance1", "You are refinancing this property.");
//	
//	detailsDisplay1("PurchaseBuyer", "You are buying the property in this transaction.");
//	detailsDisplay1("PurchaseAgent", "You are representing the buyer in this transaction.", "<!-- If you are a real estate agent, attorney, or other real estate professional, you may be eligible for other special rates and discounts.  Would you like to register as a professional?  It&#39;s free and it&#39;s easy. <br /><br /><a href=\"#\">Click here</a><br /><br /><a href=\"#\">Not Now</a> -->");
//	detailsDisplay1("PurchaseCloser", "You are performing closing services in this transaction.");
//	detailsDisplay1("PurchaseLender", "You are the buyer's lender in this transaction.");
//	detailsDisplay1("PurchaseOther", "You are involved in this transaction in another capacity.");

//	detailsDisplay1("SaleBuyer", "You are the seller in the transaction");
//	detailsDisplay1("SaleAgent", "You are representing the Seller in this transaction.", "<!-- If you are a real estate agent, attorney, or other real estate professional, you may be eligible for other special rates and discounts.  Would you like to register as a professional?  It&#39;s free and it&#39;s easy. <br /><br /><a href=\"#\">Click here</a><br /><br /><a href=\"#\">Not Now</a> -->");
//	detailsDisplay1("SaleCloser", "You are performing closing-related services in this transaction.", "<!-- If you are a closing agent, you may be eligible for other special rates and discounts.  Would you like to register as a professional?  It’s free and it’s easy. <br /><br /><a href=\"#\">Click here</a><br /><br /><a href=\"#\">Not Now</a>-->");
//	detailsDisplay1("SaleOther", "You are involved in this transaction in another capacity.");

//	detailsDisplay1("OwnerBuyer", "You are the owner or the borrower in this transaction.");
//	detailsDisplay1("OwnerAgent", "You are representing the owner in some capacity.", "<!-- If you are a real estate agent, attorney, or other real estate professional, you may be eligible for other special rates and discounts.  Would you like to register as a professional?  It&#39;s free and it&#39;s easy. <br /><br /><a href=\"#\">Click here</a><br /><br /><a href=\"#\">Not Now</a> -->");
//	detailsDisplay1("OwnerCloser", "You are performing closing-related services in this transaction.", "<!-- If you are a closing agent, you may be eligible for other special rates and discounts.  Would you like to register as a professional?  It’s free and it’s easy. <br /><br /><a href=\"#\">Click here</a><br /><br /><a href=\"#\">Not Now</a> -->");
//	detailsDisplay1("OwnerLender", "You are representing the buyer as the lender or mortgage broker in this transaction.", "<!-- If you are a lender or mortgage broker, you may be eligible for other special rates and discounts.  Would you like to register as a professional?  It’s free and it’s easy. <br /><br /><a href=\"#\">Click here</a><br /><br /><a href=\"#\">Not Now</a> -->");
//	detailsDisplay1("OwnerOther", "You are involved in this transaction in another capacity.");

//	detailsDisplay1("TransactionAmount", "Check this box if you estimated the transaction amount you entered.");
//	detailsDisplay1("TransactionAmountB", "This is the amount the buyer will pay the seller for the property. If you're not sure, enter an estimate.");	
//	detailsDisplay1("TransactionAmountD", "Check this box if you estimated the transaction amount you entered.");
//	detailsDisplay1("TransactionAmountC", "This is the amount the buyer will pay the seller for the property. If you're not sure, enter an estimate.");	
//	detailsDisplay1("LoanAmount", "Check this box if you estimated the loan amount you entered.");
//	detailsDisplay1("LoanAmountC", "This is the amount the owner will be borrowing in connection with a new mortgage. Use an estimate if you are unsure.");
//	detailsDisplay1("LoanAmountD", "Check this box if you estimated the loan amount you entered.");
//	detailsDisplay1("LoanAmountE", "This is the amount the owner will be borrowing in connection with a new mortgage. Use an estimate if you are unsure.");

//	detailsDisplay1("PropertyResidential", "Non-commercial property used as a dwelling unit.");
//    detailsDisplay1("PropertyCommercial", "Press 'Continue' to view title companies in your area that may offer commercial title insurance.");
//    
//    detailsDisplay1("ResidentialLot", "A vacant lot without a habitable dwelling.");
//	detailsDisplay1("ResidentialHome", "An unattached home (i.e., not connected to another home that you don't own).");
//	detailsDisplay1("ResidentialDuplex", "Two dwelling units on a single lot or three dwelling units on a single property.");
//	detailsDisplay1("ResidentialTriplex", "Three dwelling units on a single property.");
//	detailsDisplay1("ResidentialTownhouse", "A home that is part of a homeowners association that does not have other owners on separate floors.");
//	detailsDisplay1("ResidentialCondo4", "A condominium unit that is part of a multi-unit condominium complex with four or fewer stories.");
//	detailsDisplay1("ResidentialCondo5", "A condominium unit that is part of multi-unit condominium complex with five or more stories.");
//	detailsDisplay1("ResidentialCoop", "A multi-unit housing complex in which residents own shares of the corporation that owns the property.");
//	detailsDisplay1("ResidentialMobile", "A mobile home or 'manufactured home' which was constructed or installed as a permanent dwelling.");
//	detailsDisplay1("ResidentialNotSure", "You are not sure what type of residential unit this is.");
//	
//	detailsDisplay1("InformationNotSure", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	detailsDisplay1("InformationNotSure1", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	detailsDisplay1("InformationNotSure2", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	detailsDisplay1("InformationNotSure3", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	detailsDisplay1("InformationNotSure4", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	detailsDisplay1("InformationNotSure5", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	detailsDisplay1("InformationNotSure6", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select Not sure");
//	
//	detailsDisplay1("InformationNotSure7", "If you are not able to enter an estimate, check the Not sure box, then select Continue.");
//	detailsDisplay1("DwellingAge", "Enter the approximate year the structure was built. If you can't make an approximate estimate, select Not sure.");
//	
//	


////	detailsDisplay("ButtonBuyer", "You are buying the property in this transaction.");
////	detailsDisplay("ButtonAgent", "If you are a real estate professional or attorney, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now.");
////	detailsDisplay("ButtonCloser", "If you are a closing attorney or agent, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now. ");
////	detailsDisplay("ButtonLender", "If you are a lender or mortgage broker, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now. ");
////	detailsDisplay("ButtonOther", "You are involved in this transaction in another capacity.");
////		
////	detailsDisplay("SaleSeller", "You are selling the property in this transaction.");
////	detailsDisplay("SaleAgent", "You are representing the seller in this transaction.");
////	detailsDisplay("SaleCloser", "You are performing closing services in this transaction.");
////	detailsDisplay("SaleOther", "You are involved in this transaction in another capacity.");
////	
////	detailsDisplay("ButtonSaleBuyer", "You are selling the property in this transaction.");
////	detailsDisplay("ButtonSaleAgent", "If you are a real estate professional or attorney, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now.");
////	detailsDisplay("ButtonSaleCloser", "If you are a closing attorney or agent, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now. ");
////	detailsDisplay("ButtonSaleOther", "You are involved in this transaction in another capacity.");

////	detailsDisplay("RefinanceOwner", "You own the property in this transaction.");
////	detailsDisplay("RefinanceAgent", "You are representing the owner in this transaction.");
////	detailsDisplay("RefinanceCloser", "You are performing closing services in this transaction.");
////	detailsDisplay("RefinanceLender", "You are the buyer's lender in this transaction.");
////	detailsDisplay("RefinanceOther", "You are involved in this transaction in another capacity.");
////	
////	detailsDisplay("ButtonRefinanceOwner", "You are the owner or borrower in this transaction.");
////	detailsDisplay("ButtonRefinanceAgent", "If you are a real estate professional or attorney, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now.");
////	detailsDisplay("ButtonRefinanceCloser", "If you are a closing attorney or agent, you may be eligible for special rates or discounts. <br /> Click here to register as a professional. It's free. <br /> Not now. ");

////	detailsDisplay("ButtonRefinanceOther", "You are involved in this transaction in another capacity. ");

////	detailsDisplay("RefinanceLoanAmount", "This is the amount the owner plans to borrow for the new mortgage. If you're not sure, enter an estimate.");

////	
////	
////	
////	detailsDisplay("DwellingType", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select 'Not sure.'");
////	detailsDisplay("DwellingNotSure", "If you are not able to enter an estimate, check the Not sure box, then select Continue.");

////	detailsDisplay("DwellingSize", "Enter the approximate square footage of the livable space, excluding the garage. If you can't make an approximate estimate, select 'Not sure.'");
////	detailsDisplay("DwellingResultsDefault", "Roll your mouse over any company name in the first column for more specifics about fees and services.");
////	
////	detailsDisplay("TitleInsurance", "Shop for Title Insurance and compare prices based on your transaction information.<br /><br /> See what companies offer package deals.<br /> <br />The Closing Wizard makes it fast and easy to place an order for title insurance. It's part of our one-stop shop for closing services online.");
////	detailsDisplay("HomeWarranty", "Shop for the Home Warranty policy that's best for you and compare prices based on your transaction information. See what companies offer package deals.
////<br /><br />Then submit your policy order online. The Closing Wizard makes it fast and easy to order a home warranty policy. It's part of our one-stop shop for closing services online.");
////	detailsDisplay("AdditionalCoverage", "You can add any of the following to your coverage plan for an additional fee.");
////	detailsDisplay("OtherCoverage", "Generally, you will be charged a small, additional fee above the cost of a basic home warranty policy to include coverage for the systems, services and appliances on this list. <br /><br />Some companies offer three or four different levels of coverage; others may give you a special rate if you buy Title Insurance and Escrow services as a package.");
////	
////	detailsDisplay("EscrowAgents", "Shop for a closing agent (also referred to as an escrow agent, closing attorney or settlement service) that's right for you. Compare prices based on your transaction information. <br /><br />Learn about package deals and signup for service online. <br /><br />The Closing Wizard makes it fast and easy to order an escrow or closing service. It's part of our one-stop shop for closing services online.");
////	detailsDisplay("Appraisals", "Shop for an Appraisal Service that's right for you and compare prices based on your transaction information. <br /><br />The Closing Wizard makes it fast and easy to order an appraisal service. It's part of our one-stop shop for closing services online.");
	
}
function cleanup(){}
window.onload = init;
window.onunload = cleanup;