rendered paste bodyfunction loadPageAttributes(pagename) {
// attributes for menu items.
account_verification ="hidden";
execute_search ="hidden";
clear_search_form ="hidden";
followup_tool ="hidden";
my_faves ="hidden";
check_for_followup ="hidden";
search_results ="active";
savetools ="active";
customer_lookup ="active";
//ramesh
change_password ="hidden";
//subprime project
manage_prepay_coupon ="hidden";
prepaycoupon_lookup_results = "hidden";
update_prepay_coupon = "hidden";
apply_coupon_status = "hidden";
if (pagename == "customer_lookup") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
customer_lookup ="highlighted";
execute_search ="active";
clear_search_form ="active";
followup_tool ="active";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="active";
manage_prepay_coupon="active";
prepaycoupon_lookup_results="hidden";
update_prepay_coupon ="hidden";
manage_pia_bucket = "hidden";
store_id_change = "active";
} else if (pagename == "followup_tool"){
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
customer_lookup ="active";
execute_search ="inactive";
clear_search_form ="inactive";
followup_tool ="highlighted";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
manage_prepay_coupon="hidden";
prepaycoupon_lookup_results="hidden";
update_prepay_coupon ="hidden";
manage_pia_bucket = "hidden";
//Subprime project
} else if (pagename == "manage_prepay_coupon") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
customer_lookup ="active";
execute_search ="active";
clear_search_form ="active";
followup_tool ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="hidden";
manage_prepay_coupon="hidden";
prepaycoupon_lookup_results="hidden";
update_prepay_coupon ="hidden";
apply_coupon_status ="hidden";
manage_pia_bucket = "hidden";
}else if (pagename == "prepaycoupon_lookup_results") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
execute_search ="hidden";
clear_search_form ="hidden";
followup_tool ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="hidden";
manage_prepay_coupon ="hidden";
update_prepay_coupon ="active";
apply_coupon_status ="active";
customer_lookup ="active";
prepaycoupon_lookup_results="hidden";
manage_pia_bucket = "hidden";
}else if (pagename == "update_prepay_coupon") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
execute_search ="hidden";
clear_search_form ="hidden";
update_prepay_coupon ="highlighted";
customer_lookup ="active";
followup_tool ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="hidden";
manage_prepay_coupon="hidden";
prepaycoupon_lookup_results="hidden";
apply_coupon_status ="hidden";
manage_pia_bucket = "hidden";
}else if (pagename == "apply_coupon_status") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
execute_search ="hidden";
clear_search_form ="hidden";
customer_lookup ="active";
followup_tool ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="hidden";
manage_prepay_coupon ="hidden";
prepaycoupon_lookup_results="hidden";
update_prepay_coupon ="hidden";
apply_coupon_status ="highlighted";
manage_pia_bucket = "hidden";
}else if (pagename == "manage_pia_bucket") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
execute_search ="hidden";
clear_search_form ="hidden";
customer_lookup ="active";
followup_tool ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="hidden";
manage_prepay_coupon ="hidden";
prepaycoupon_lookup_results="hidden";
update_prepay_coupon ="hidden";
apply_coupon_status ="hidden";
manage_pia_bucket = "highlighted";
} else if (pagename == "search_results") {
account_info ="hidden";
account_verification ="active";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="highlighted";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
manage_pia_bucket = "hidden";
} else if (pagename == "account_verification") {
account_verification ="highlighted";
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
manage_pia_bucket = "hidden";
} else if (pagename == "account_info") {
account_info ="highlighted";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="active";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "account_info_special") {
account_info ="highlighted";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="inactive";
courtesy_credit_view ="inactive";
easy_pay ="active";
account_status_history ="active";
credit_information ="inactive";
manage_pia_bucket = "hidden";
} else if (pagename == "account_info_basic") {
account_info ="highlighted";
account_status_history ="hidden";
bill_summary ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
courtesy_credits ="hidden";
memo ="hidden";
memo_write ="hidden";
price_plan ="hidden";
update_address ="hidden";
savetools ="hidden";
credit_information ="hidden";
manage_pia_bucket = "hidden";
} else if (pagename == "price_plan") {
account_info ="active";
price_plan ="highlighted";
my_faves ="hidden";
check_for_followup ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
account_status_history ="active";
credit_information ="active";
easy_pay ="active";
manage_pia_bucket ="active";
} else if (pagename == "savetools") {
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="active";
credit_information ="active";
savetools ="highlighted";
manage_pia_bucket = "hidden";
} else if (pagename == "bill_summary") {
account_info ="active";
price_plan ="active";
bill_summary ="highlighted";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="active";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "memo") {
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="highlighted";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="active";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "courtesy_credit_view") {
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="highlighted";
easy_pay ="active";
account_status_history ="active";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "easy_pay") {
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="highlighted";
account_status_history ="active";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "account_status_history") {
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="highlighted";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "memo_write") {
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="highlighted";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="active";
credit_information ="active";
manage_pia_bucket = "hidden";
} else if (pagename == "update_address") {
account_info ="inactive";
price_plan ="inactive";
bill_summary ="inactive";
memo ="inactive";
memo_write ="inactive";
update_address ="highlighted";
courtesy_credits ="inactive";
courtesy_credit_view ="inactive";
easy_pay ="inactive";
account_status_history ="inactive";
savetools ="inactive";
credit_information ="hidden";
manage_pia_bucket = "hidden";
} else if (pagename == "courtesy_credits") {
account_info ="inactive";
price_plan ="inactive";
bill_summary ="inactive";
memo ="inactive";
memo_write ="inactive";
update_address ="inactive";
courtesy_credits ="highlighted";
courtesy_credit_view ="inactive";
easy_pay ="inactive";
account_status_history ="inactive";
savetools ="inactive";
credit_information ="inactive";
manage_pia_bucket = "hidden";
}
else if (pagename == "credit_information")
{
account_info ="active";
price_plan ="active";
bill_summary ="active";
memo ="active";
memo_write ="active";
update_address ="active";
courtesy_credits ="active";
courtesy_credit_view ="active";
easy_pay ="active";
account_status_history ="active";
savetools ="active";
credit_information ="highlighted";
manage_pia_bucket = "hidden";
} else if (pagename == "no_services") {
account_info ="highlighted";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
manage_pia_bucket = "hidden";
} else if (pagename == "change_password") {
account_info ="hidden";
price_plan ="hidden";
bill_summary ="hidden";
memo ="hidden";
memo_write ="hidden";
update_address ="hidden";
courtesy_credits ="hidden";
search_results ="hidden";
customer_lookup ="active";
execute_search ="hidden";
clear_search_form ="hidden";
followup_tool ="hidden";
courtesy_credit_view ="hidden";
easy_pay ="hidden";
account_status_history ="hidden";
credit_information ="hidden";
savetools ="hidden";
change_password ="hidden";
manage_prepay_coupon="hidden";
manage_pia_bucket = "hidden";
/* if (changePasswordVar == 'FALSE') {
change_password ="highlighted";
} else{
change_password ="hidden";
}*/
} else {
account_info ="inactive";
price_plan ="inactive";
bill_summary ="inactive";
memo ="inactive";
memo_write ="inactive";
update_address ="inactive";
courtesy_credits ="inactive";
savetools ="inactive";
courtesy_credit_view ="inactive";
easy_pay ="inactive";
account_status_history ="inactive";
credit_information ="hidden";
manage_pia_bucket = "hidden";
}
// If it's an MTR session, hide the newSearch and SearchResults button
// also change logout to exit