/*
Name			: menu_creation_mcs.js
Project			: 
Description		: displays the information about payment options
Author			: Govinda rajulu
Created			: 02/13/2006
Called by URL			 Direction
--------------------------------------------------------------------------

Calls URL			            Direction
--------------------------------------------------------------------------

name of called page		 direction of call (forward/backward)
						
Modified By				 HD Number   		Date		Description
--------------------------------------------------------------------------
Vidya Chand Gupta        200415      	   21/9/2006   	Added menu item for insurance.
Vidya Chand Gupta        HD212667 		   28/11/2006   Changes for Make a Payment page on the web changed the link Make a Payment to Make a Payment
Vidya Chand Gupta       HD216710           1/12/2006    Replaced em.cfm page with timely payment.pdf
Masthan 				RFS 2496			2/9/2007	Replaced Lower Your Payments with Refinance Options for Refinance Web pages
Vidya Chand Gupta	 HD0000000351679    07/August/2008  Redesign the home header image and move the Links to free some space on home page.In addition removed the Understanding servicing banner and linked it under Educational material dropdown.
Yatender Takshak       HD367404           4/09/2008     Removal of Employment opportunities link from VA tab and added to company info tab.
Yatender Takshak	   HD369578			  19/9/2008		Removal of account login link from customer service center tab once the customer is in secure login.
* */
function ocn_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
var	strRootURL = "http://www.ocwencustomers.com/";
var	strRootURLsecure = "https://www.ocwencustomers.com/";
function setGlobalVariables(strRootURLIn){

	strRootURL = strRootURLIn;
	}

function fwLoadMenus() {
  if (window.fw_menu_0) return;
   window.fw_menu_0 = new Menu("root",190,17,"Arial",8,"#ffffff","#ffffff","#003366","#838384");
  //Below if condition is added to remove account login link from customer service center tab once customer is in secure login.
  if(loginMenuEnable){
  fw_menu_0.addMenuItem("Account Log In","window.open(strRootURLsecure+'home.cfm','_parent');");
  } 
  fw_menu_0.addMenuItem("Payment Options","window.open(strRootURL+'csc_payment.cfm?make=1','_parent');");
  
  //Below code is commented and added Refinance Options link for RFS 2496 refinance web pages
  //fw_menu_0.addMenuItem("Lower Your Payments","window.open(strRootURL+'csc_refi.cfm','_parent');");
  //fw_menu_0.addMenuItem("Refinance Options","window.open(strRootURL+'csc_refi.cfm','_parent');");
  
  fw_menu_0.addMenuItem("Frequently Asked Questions","window.open(strRootURL+'csc_FAQ_paymentprocessing.cfm?faqs=1','_parent');");
  fw_menu_0.addMenuItem("Foreclosure Alternatives","ocn_openBrWindow(strRootURL+'csc_fa_popup.cfm','Alternatives','width=350,height=110,top=257,left=200')");
  //fw_menu_0.addMenuItem("Fee Schedule","window.open(strRootURL+'csc_fee_sched.cfm?faqs=1','_parent');");	
  fw_menu_0.addMenuItem("Insurance, Warranties and More","window.open(strRootURL+'more.cfm?insu=1','_parent');");
  fw_menu_0.addMenuItem("Contact Us","window.open(strRootURL+'ci_contact.cfm?cont=1', '_parent');");
  //fw_menu_0.addMenuItem("Commercial Mortgages","window.open(strRootURL+'commercial/csc_com.cfm','_parent');");
  fw_menu_0.fontWeight="normal";
  fw_menu_0.hideOnMouseOut=true;
 
  window.fw_menu_1 = new Menu("root",180,17,"Arial",8,"#ffffff","#ffffff","#003366","#838384");
  fw_menu_1.addMenuItem("Contract Information","window.open(strRootURL+'va_info.cfm','_parent');");
  fw_menu_1.addMenuItem("VA Properties for Sale","window.open('http://www.ocwen.com/reo/VA/va_reofindbystate.cfm','_parent');");
  //fw_menu_1.addMenuItem("FEMA Rental Properties","window.open('http://www.ocwen.com/reo/FEMA/fema_reofindbystate.cfm','_parent');");
  fw_menu_1.addMenuItem("VA Vendee Financing Program","window.open(strRootURL+'va_vfp.cfm','_parent');");
  fw_menu_1.addMenuItem("VA Financing Forms","window.open(strRootURL+'va_ff.cfm','_parent');");
  fw_menu_1.addMenuItem("VA Broker/Agent Info","window.open(strRootURL+'va_bai.cfm','_parent');");
  fw_menu_1.addMenuItem("VA Broker Forms","window.open(strRootURL+'va_bf.cfm','_parent');");
  //commented to remove this link from veteran affairs.
 // fw_menu_1.addMenuItem("Employment Opportunities","window.open('http://ocwen.recruitmax.com/eng/careerportal/default.cfm?szCareerPortalID=2','_parent');");
  fw_menu_1.fontWeight="normal";
   fw_menu_1.hideOnMouseOut=true;

 window.fw_menu_2 = new Menu("root",170,17,"Arial",8,"#ffffff","#ffffff","#003366","#838384");
  fw_menu_2.addMenuItem("Consumer Ombudsman","window.open(strRootURL+'cp_omb.cfm', '_parent');");
  fw_menu_2.addMenuItem("Customer Commitment","window.open(strRootURL+'cp_cc.cfm', '_parent');");  
  fw_menu_2.addMenuItem("Ocwen Supports NFHA","window.open(strRootURL+'cp_nfha.cfm', '_parent');");
  fw_menu_2.addMenuItem("Social Performance","window.open(strRootURL+'cp_sp.cfm', '_parent');");
  fw_menu_2.addMenuItem("Community Involvement","window.open(strRootURL+'cp_ci.cfm', '_parent');");
  //fw_menu_2.addMenuItem("Customer Testimonials","window.open(strRootURL+'cp_cust_testimonials.cfm', '_parent');");
  fw_menu_2.addMenuItem("Email Fraud Alert","window.open(strRootURL+'cp_efa.cfm', '_parent');");
   fw_menu_2.fontWeight="normal";
   fw_menu_2.hideOnMouseOut=true;
       		
 window.fw_menu_3 = new Menu("root",210,17,"Arial",8,"#ffffff","#ffffff","#003366","#838384");
  fw_menu_3.addMenuItem("Understanding Mortgage Servicing","window.open(strRootURL+'documents/pdf/Servicing_Brochure.pdf', '_blank');");
  fw_menu_3.addMenuItem("Money Management 101","window.open(strRootURL+'documents/pdf/UandM_Credit.pdf', '_blank');");
  fw_menu_3.addMenuItem("Making Timely Payments","window.open(strRootURL+'documents/pdf/Timely_Payments.pdf', '_blank');");
  fw_menu_3.addMenuItem("Understanding Your Credit Score","window.open(strRootURL+'em_credit_score.cfm', '_parent');");
  
   fw_menu_3.fontWeight="normal";
   fw_menu_3.hideOnMouseOut=true;

 window.fw_menu_4 = new Menu("root",170,17,"Arial",8,"#ffffff","#ffffff","#003366","#838384");
  fw_menu_4.addMenuItem("Overview","window.open(strRootURL+'ci.cfm', '_parent');");
  fw_menu_4.addMenuItem("Debanking Updates","window.open(strRootURL+'debanking.cfm', '_parent');");
  //fw_menu_4.addMenuItem("Contact Us","window.open(strRootURL+'ci_contact.cfm', '_parent');");
   fw_menu_4.addMenuItem("Employment Opportunities","window.open('http://ocwen.recruitmax.com/eng/careerportal/default.cfm?szCareerPortalID=2','_parent');");
   fw_menu_4.fontWeight="normal";
  fw_menu_4.hideOnMouseOut=true;
  
  window.fw_menu_5 = new Menu("root",120,15,"Arial",8,"#ffffff","#ffffff","#003366","#838384");
    fw_menu_5.addMenuItem("Ocwen in the News","window.open('http://news.ocwen.com/news/in_the_news/index', '_blank');");
    fw_menu_5.addMenuItem("Press Releases","window.open('http://www.cfonews.com/ocn/press.htm', '_blank');");  
    fw_menu_5.addMenuItem("Testimonials","window.open('http://news.ocwen.com/news/testimonials/community_groups/index', '_blank');");
    fw_menu_5.fontWeight="normal";
    fw_menu_5.hideOnMouseOut=true;

 fw_menu_1.writeMenus();
} 