function gotoPage(selector){ var page = selector.options[selector.selectedIndex].value; var vReferer = top.location.href ; vReferer = vReferer.substring(vReferer.indexOf("?",0) + 1); var refUtility = ""; var refPromo = ""; var refHeader = ""; var refFooter = ""; var myArray = vReferer.split("&") ; for (var i=0 ; i < myArray.length; i++) { if(myArray[i].indexOf("u=",0) == 0 ) refUtility = myArray[i].substring(2); if(myArray[i].indexOf("p=",0) == 0 ) refPromo = myArray[i].substring(2) ; if(myArray[i].indexOf("h=",0) == 0 ) refHeader = myArray[i].substring(2) ; if(myArray[i].indexOf("f=",0) == 0 ) refFooter = myArray[i].substring(2) ; } if (page == 'home_contact'){ top.location.href = "/maia?h=home_head&f=home_footer&p=shared/champneys_tv&u=home_utility&n=shared/contact&t=contact_top&b=shared/contact/contact"; } if (page == 'home_findh'){ top.location.href = "/genesys/rb_pppshweb?source=Links"; } if (page == 'home_finds'){ top.location.href = "/genesys/rb_pppshweb?source=Links"; } if (page == 'fam_main'){ top.location.href = "/index.html"; } if (page == 'fam_products'){ top.location.href = "/body/html/consumer/products/products.jhtml"; } if (page == 'fam_cashback'){ top.location.href = "/body/html/consumer/products/cash-plan/index.jhtml"; } if (page == 'fam_retirement'){ top.location.href = "/body/html/consumer/products/budget/retirement/retirement.jhtml"; } if (page == 'fam_pmi'){ top.location.href = "/body/html/consumer/products/uk/private-medical-insurance.jhtml"; } if (page == 'fam_intl'){ top.location.href = "/body/html/consumer/products/international/international.jhtml"; } if (page == 'fam_channel'){ top.location.href = "/body/html/consumer/products/channel/channel.jhtml"; } if (page == 'fam_travel'){ top.location.href = "/body/html/consumer/products/travel_insure/travel_insure.jhtml"; } if (page == 'fam_guide'){ top.location.href = "/body/html/consumer/guide/guide.jhtml"; } if (page == 'fam_health'){ top.location.href = "/body/html/consumer/health/health_info.jhtml"; } if (page == 'fam_links'){ top.location.href = "/maia?h=fam_head&f=fam_footer&p=consumer/fam_dental_insomnia&u=fam_utility&n=consumer/links&t=links_top&b=consumer/links/links"; } if (page == 'fam_member'){ top.location.href = "/maia?h=fam_head&f=fam_footer&p=consumer/fam_dental_insomnia&u=fam_utility&n=consumer/memb&t=members_top&b=consumer/members/members"; } if (page == 'fam_contact'){ top.location.href = "https://www.axappphealthcare.co.uk/maia?h=fam_head&f=fam_footer&p=shared/champneys_tv&u=fam_utility&n=consumer/contact&t=contact_top&b=consumer/contact/contact"; } if (page == 'com_main'){ top.location.href = "/body/html/corporate/corporate.jhtml"; } if (page == 'com_products'){ top.location.href = "/body/html/corporate/products/products_corp.jhtml"; } if (page == 'com_uk'){ top.location.href = "/body/html/corporate/products/uk/products_uk.jhtml"; } if (page == 'com_intl'){ top.location.href = "/body/html/corporate/products/international/corp_index.jhtml"; } if (page == 'com_channel'){ top.location.href = "/body/html/corporate/products/channel/products_channel.jhtml"; } if (page == 'com_guide'){ top.location.href = "/maia?h=com_head&f=com_footer&p=corporate/faq_callback&u=com_utility&n=corporate/guide&t=guide_top&b=corporate/guide/guide"; } if (page == 'com_health'){ top.location.href = "/body/html/corporate/health/health_info.jhtml"; } if (page == 'com_scheme'){ top.location.href = "/body/html/corporate/scheme/scheme.jhtml"; } if (page == 'com_contact'){ top.location.href = "https://www.axappphealthcare.co.uk/maia?h=com_head&f=com_footer&p=corporate/faq_callback&u=com_utility&n=corporate/contact&t=contact_top&b=corporate/contact/contact"; } if (page == 'int_main'){ top.location.href = "/body/html/intermediary/intermediary.jhtml"; } if (page == 'int_products'){ top.location.href = "/maia?h=int_head_h1&f=int_footer&u=int_utility&p=intermediary/faq_gisc&n=intermediary/prod&t=products_top&b=intermediary/uk/products/products"; } if (page == 'int_indiv'){ top.location.href = "/maia?h=int_head&f=int_footer&p=intermediary/faq_callback&u=int_utility&n=intermediary/prod_indiv&t=ind_vol_top&b=intermediary/uk/products/individual/ind_vol"; } if (page == 'int_sme'){ top.location.href = "/maia?h=int_head&f=int_footer&p=intermediary/faq_callback&u=int_utility&n=intermediary/prod_sme&t=sme_top&b=intermediary/uk/products/sme/sme"; } if (page == 'int_large'){ top.location.href = "/maia?h=int_head&f=int_footer&p=intermediary/faq_callback&u=int_utility&n=intermediary/prod_large&t=chp_top&b=intermediary/uk/products/largecorp/chp/chp"; } if (page == 'int_news'){ top.location.href = "/maia?h=int_head&f=int_footer&p=intermediary/faq_callback&u=int_utility&n=intermediary/news&t=news_top&b=intermediary/uk/news/news"; } if (page == 'int_examiner'){ top.location.href = "/maia?h=int_head&f=int_footer&u=int_utility&n=intermediary/news_examiner&t=examiner_top&b=intermediary/uk/news/examiner/examiner"; } if (page == 'int_agency'){ top.location.href = "/maia?h=int_head&f=int_footer&p=intermediary/faq_callback&u=int_utility&n=intermediary/agency&t=agency_top&b=intermediary/agency/agency"; } if (page == 'int_contact'){ top.location.href = "https://www.axappphealthcare.co.uk/maia?h=int_head&f=int_footer&p=intermediary/faq_callback&u=int_utility&n=intermediary/contact&t=contact_top&b=intermediary/uk/contact/contact"; } } function startEq() { if (document.cookie == "" ){ top.location.replace("https://www.axappphealthcare.co.uk/genesys/rb_pppeqiweb"); return; } else { thisCookie = document.cookie.split("; "); for(i = 0; i < thisCookie.length; i++) { if (thisCookie[i].split("=")[0] == "JSESSIONID") { top.location.replace("https://www.axappphealthcare.co.uk/genesys/pppcontrolweb?ruleset=rb_pppeqiweb&existingSessionId=" + thisCookie[i].split("=")[1] + "&event=Resume"); return; } } top.location.replace("https://www.axappphealthcare.co.uk/genesys/rb_pppeqiweb"); return; } } function startIi() { if (document.cookie == "" ){ top.location.replace("https://www.axappphealthcare.co.uk/genesys/pppiiweb"); return; } else { thisCookie = document.cookie.split("; "); for(i = 0; i < thisCookie.length; i++) { if (thisCookie[i].split("=")[0] == "JSESSIONID") { top.location.replace("https://www.axappphealthcare.co.uk/genesys/pppcontrolweb?ruleset=pppiiweb&existingSessionId=" + thisCookie[i].split("=")[1] + "&event=Resume"); return; } } top.location.replace("https://www.axappphealthcare.co.uk/genesys/pppiiweb"); return; } } function gotoPage(source, selector){ var page = selector.options[selector.selectedIndex].value; var vReferer = top.location.href ; vReferer = vReferer.substring(vReferer.indexOf("?",0) + 1); var refUtility = ""; var refPromo = ""; var refHeader = ""; var refFooter = ""; var myArray = vReferer.split("&") ; for (var i=0 ; i < myArray.length; i++) { if(myArray[i].indexOf("u=",0) == 0 ) refUtility = myArray[i].substring(2); if(myArray[i].indexOf("p=",0) == 0 ) refPromo = myArray[i].substring(2) ; if(myArray[i].indexOf("h=",0) == 0 ) refHeader = myArray[i].substring(2) ; if(myArray[i].indexOf("f=",0) == 0 ) refFooter = myArray[i].substring(2) ; } if (source == 'prod_review'){ if (page == 'Individual'){ top.location.href = "/maia?h=int_head&f=int_footer&u=int_utility&n=intermediary/prod_review_individual&t=index_top&b=intermediary/uk/prod_review/indiv/index"; } if (page == 'SME'){ top.location.href = "/maia?h=int_head&f=int_footer&u=int_utility&n=intermediary/prod_review_sme&t=index_top&b=intermediary/uk/prod_review/sme_pr/index"; } if (page == 'Large corporate'){ top.location.href = "/maia?h=int_head&f=int_footer&u=int_utility&n=intermediary/prod_review_large&t=index_top&b=intermediary/uk/prod_review/large_corp/index"; } if (page == 'International'){ top.location.href = "/maia?h=int_head&f=int_footer&u=int_utility&n=intermediary/int_prod_review&t=index_top&b=intermediary/uk/prod_review/international/index"; } if (page == 'Travel'){ top.location.href = "/maia?h=int_head&f=int_footer&u=int_utility&n=intermediary/prod_review_travel&t=index_top&b=intermediary/uk/prod_review/travel/index"; } } }