var domain = 'loanpage.com';
var form_path = '/context_form/articles/';
//Configure Keyword Array
var context_vals = {
	'keywords':{
		'homeeq':["equity", "home equity", "home equity articles", "heloc loans", "how does a home equity loan work"],
		'newhome':["new home", "80/15", "uniform residential loan application", "what are closing costs when buying a home", "80/10", "80-15", "manufactured home closing costs", "80/10 loan", "purchase"],
		'debtcon':["consolidation", "debt consolidation", "debt consolidation companies", "debt consolidation company", "massachusetts debt consolidation loan", "debt consolidation lenders", "debt consolidation loans"],
		'refi':["mortgage refinancing", "refinance", "refinancing", "how does refinancing work", "refinance companies", "fannie mae refinance", "how does refinancing work?", "what does refinancing mean?"]
	 },
	 'scores':{'homeeq':0, 'newhome':0, 'debtcon':0, 'refi':0}
};
var myObject = eval(context_vals);
//Configure actions to take once score has been calculated
function loadContext(context){
	if(context == '') context = 'default';
	$.ajax({
		url: form_path+context+'.html',
		cache: false,
		success: function(html){
			$("#context_form").fadeOut('fast', function(){$('#context_form').html(html); $('#context_form').fadeIn('fast');});
		}
	});
}