<!--
	// Set up the variables we need for the random URL selection using 4 arrays.

	var uc = 2;					// Number of URLs
	var u = new Array(uc);				// Array to hold URLs

	var uc1 = 2;					// Number of URLs
	var u1 = new Array(uc1);			// Array to hold URLs
	
	var uc2 = 2;					// Number of URLs
	var u2 = new Array(uc2);			// Array to hold URLs
	
	var uc3 = 2;					// Number of URLs
	var u3 = new Array(uc3);			// Array to hold URLs
	// point to URL
	
	
	// Pre-Qualify
	u[0] = "/fe/redirect.aspx?http%3A//service.bfast.com/bfast/click%3Fbfmid%3D115759%26sourceid%3D40662145%26categoryid%3Dmortgage_loans%26brand%3D40662145";
	u[1] = "/fe/redirect.aspx?http%3A//clk.atdmt.com/HLC/go/brgnchlc00300005hlc/direct/01/";
	
	// Get A Mortgage 
	u1[0] = "/fe/redirect.aspx?http%3A//service.bfast.com/bfast/click%3Fbfmid%3D115759%26sourceid%3D40662145%26categoryid%3Dmortgage_loans%26brand%3D40662145";
	u1[1] = "/fe/redirect.aspx?http%3A//clk.atdmt.com/HLC/go/brgnchlc00300006hlc/direct/01/";
	
	// Refinance
	u2[0] = "/fe/redirect.aspx?http%3A//service.bfast.com/bfast/click%3Fbfmid%3D115759%26sourceid%3D40662145%26categoryid%3Drefinance_loans%26brand%3D40662145";
	u2[1] = "/fe/redirect.aspx?http%3A//clk.atdmt.com/HLC/go/brgnchlc00300002hlc/direct/01/";
	
	// Home Equity Loan 
	u3[0] = "/fe/redirect.aspx?http%3A//service.bfast.com/bfast/click%3Fbfmid%3D115759%26sourceid%3D40662145%26categoryid%3Dhome_equity_loans%26brand%3D40662145";
	u3[1] = "/fe/redirect.aspx?http%3A//clk.atdmt.com/HLC/go/brgnchlc00300003hlc/direct/01/";


	// pickRandom - Return a random number in a given range. This
	// function is 'browser-proofed' to run correctly on older
	// browsers that don't implement 'Math.random'.
	
	function pickRandom(range) {
		if (Math.random)
			return Math.round(Math.random() * (range-1));
		else {
			var	now = new Date();
			return (now.getTime() / 1000) % range;
		}
	}

	// Function: pickRandomURL
	//
	// A very simple function that selects one of the URLs in the
	// 'u' array at random, and returns it as a string.

	function pickPreURL() {
		var choice = pickRandom(uc);
		return u[choice];
	}
	
	function pickMortgageURL() {
		var choice = pickRandom(uc1);
		return u1[choice];
	}
	
    function pickRefinanceURL() {
		var choice = pickRandom(uc2);
		return u2[choice];
	}
	
    function pickEquityURL() {
		var choice = pickRandom(uc3);
		return u3[choice];
	}
	
// -->