var urls = Array();

//Experian-hosted pages
urls["welcome"] = Array();
urls["welcome"]["pageURL"] = "welcome.html";

urls["access"] = Array();
urls["access"]["pageURL"] = "access.html";

urls["feedback"] = Array();
urls["feedback"]["pageURL"] = "feedback.html";

urls["contact"] = Array();
urls["contact"]["pageURL"] = "contact.html";

urls["faq"] = Array();
urls["faq"]["pageURL"] = "faqstart.html";

urls["complaints"] = Array();
urls["complaints"]["pageURL"] = "complaints.html";

urls["anyquestions"] = Array();
//urls["anyquestions"]["pageURL"] = "faqstart_backout.html";
//urls["anyquestions"]["pageURL"] = "https://is-not-web01/experian/consumer/faq.aspx?c=1";
//urls["anyquestions"]["pageURL"] = "https://www.creditreporthelp.experian.co.uk/experian/consumer/faq.aspx?c=1";
urls["anyquestions"]["pageURL"] = "https://www.creditreporthelp.experian.co.uk/static/ycrhc/index.html";
//urls["anyquestions"]["pageURL"] = "http://www.experian.co.uk/consumer/faq_wiseconsumer.html";
//urls["anyquestions"]["pageURL"] = "http://www.google.co.uk";

// for testing
urls["creditreportchase"] = Array();
urls["creditreportchase"]["pageURL"] = "creditreportchase.html";
//for testing

urls["order_report"] = Array();
urls["order_report"]["pageURL"] = "viewOnlineReport.html";

urls["order_paper_report"] = Array();
urls["order_paper_report"]["pageURL"] = "orderPaperReport.html";

urls["queryreport"] = Array();
urls["queryreport"]["pageURL"] = "queryreport.html";

urls["askJill"] = Array();
urls["askJill"]["pageURL"] = "askjill.html";

urls["askjillform"] = Array();
urls["askjillform"]["pageURL"] = "askjillform.html";

urls["downloads"] = Array();
urls["downloads"]["pageURL"] = "downloads.html";

urls["contacts"] = Array();
urls["contacts"]["pageURL"] = "contacts.html";

urls["creditcrossroads"] = Array();
urls["creditcrossroads"]["pageURL"] = "creditcrossroads.html";

urls["learningzone"] = Array();
urls["learningzone"]["pageURL"] = "learningzone.html";

urls["glossary"] = Array();
urls["glossary"]["pageURL"] = "gloss_a_b.html";

urls["creditexpert"] = Array();
urls["creditexpert"]["pageURL"] = "creditexpert.html";

urls["victimsfraud"] = Array();
urls["victimsfraud"]["pageURL"] = "vof_home.html";

urls["newsite"] = Array();
urls["newsite"]["pageURL"] = "new_site.html";

urls["settledaccounts"] = Array();
urls["settledaccounts"]["pageURL"] = "settledAccounts.html";

//FAQ Subtabs
urls["faqtopten"] = Array();
urls["faqtopten"]["pageURL"] = "faq/TT1.html";

//Downloads Subtabs
urls["order_cc"] = Array();
urls["order_cc"]["pageURL"] = "order_credit_crossroads.html";

//Glossary Subtabs
urls["a_b"] = Array();
urls["a_b"]["pageURL"] = "gloss_a_b.html";

urls["c_d"] = Array();
urls["c_d"]["pageURL"] = "gloss_c_d.html";

urls["e_f"] = Array();
urls["e_f"]["pageURL"] = "gloss_e_f.html";

urls["g_h"] = Array();
urls["g_h"]["pageURL"] = "gloss_g_h.html";

urls["i_j"] = Array();
urls["i_j"]["pageURL"] = "gloss_i_j.html";

urls["k_l"] = Array();
urls["k_l"]["pageURL"] = "gloss_k_l.html";

urls["m_n"] = Array();
urls["m_n"]["pageURL"] = "gloss_m_n.html";

urls["o_p"] = Array();
urls["o_p"]["pageURL"] = "gloss_o_p.html";

urls["q_r"] = Array();
urls["q_r"]["pageURL"] = "gloss_q_r.html";

urls["s_t"] = Array();
urls["s_t"]["pageURL"] = "gloss_s_t.html";

urls["u_z"] = Array();
urls["u_z"]["pageURL"] = "gloss_u_z.html";

//used when loading content into ContentFrame
function loadIframe2(target)
	{
		var targetURL = urls[target]["pageURL"];
		parent.ContentFrame.location.href = targetURL;
		parent.frames['ContentFrame'].focus();
	}	
	
var ce_window = '';
function openCreditExpert()
{
	
	if (!ce_window.closed && ce_window.location)
	{
		ce_window.location.href = "/popunder/creditexpert.html";
		
	}
	else
	{
		ce_window = window.open("/popunder/creditexpert.html","ce_popunder","statusbar=no,location=no,scrollbars=no,resizable=no,width=536,height=450");
	}

	var x = (screen.availWidth / 2) - 268;
	var y = (screen.availHeight / 2) - 225;
			
	ce_window.moveTo(x, y);	

	this.window.focus();

	return false;
}

function closeCreditExpert()
{
	if (!ce_window.closed && ce_window.location)
	{
		ce_window.close();
	}
}

openCreditExpert();
			

