function chkFormSubmit(frm){
			if (VerifyFields(frm)){
					return true;
			} else {
					return false;
			}
	}
	function toUnicode(elmnt,content,nextField) {
			if (content.length==elmnt.maxLength) {
					document.getElementById(nextField).focus()
			}
	}
	function getArgs() { 
			var args = new Object(); 
			var query = location.search.substring(1); 
			var pairs = query.split("&"); 
			for(var i = 0; i < pairs.length; i++) { 
					var pos = pairs[i].indexOf('='); 
					if (pos == -1) continue; 
					var argname = pairs[i].substring(0,pos); 
					var value = pairs[i].substring(pos+1); 
					args[argname] = unescape(value); 
			} 
			return args; 
	}
	var q = getArgs(); 
	function nextElemenet( field, limit, nextField )
		{
			if( field.value.length == limit )
			{
				document.form1.elements[nextField].focus();
			}
		}
	function setText(textSet) {
		if (textSet=='Loss') { 
			changeText='We provide help in negotiating mortgage terms for you, the homeowner, that will prevent foreclosure. At StopBadLoans.com, our experts will analyze your situation for <strong>FREE</strong> and provide you with options.';
		} else if (textSet=='Foreclosure') {
			changeText='Are you looking at a possible foreclosure? We can help! At StopBadLoans.com, our experts will analyze your situation for <strong>FREE</strong> and provide you with options. Act fast, and we still may be able to save your home!';
		} else if (textSet=='Loan') {
			changeText='Are you falling behind on your monthly home loan payments? We can help! At StopBadLoans.com, our experts will analyze your mortgage loan for <strong>FREE</strong> and provide you with mortgage modification options and programs that can cut your rate in half!';
		}
		document.getElementById('left').innerHTML=changeText;
	}
