var param_came_from = window.location + "";

    function affp_producer(mine,url)
    {
		var affp = '';
		re = /[&?]affp=([^&]+)/i;
		matches = re.exec(url);
		if (matches) affp = matches[1];

		var ssaid = '';
		re = /[&?]SSAID=([^&]+)/i;
		matches = re.exec(url);
		if (matches) ssaid = matches[1];
		if (ssaid && affp=='') affp = 'sas';

	    if(affp == 'sas') return 'lDWT7s';
if(affp == 'cxc') return 'Ushi4p';
if(affp == 'autosas') return 'EvF18R';
if(affp == 'studentsas') return 'mOvb1b';


	    if(affp != '') return affp;

    	return mine;
    }
var base_url = "https://www.leadpile.com/";
var doc_root = '/san0/metadata/web/leadpile/www/leadpile/scripts01/';
var BrowserDetect = {
init: function () {
this.browser = this.searchString(this.dataBrowser) || "";
},
searchString: function (data) {
for (var i=0;i<data.length;i++)	{
var dataString = data[i].string;
var dataProp = data[i].prop;
this.versionSearchString = data[i].versionSearch || data[i].identity;
if (dataString) {
if (dataString.indexOf(data[i].subString) != -1)
return data[i].identity;
}
else if (dataProp)
return data[i].identity;
}
},
searchVersion: function (dataString) {
var index = dataString.indexOf(this.versionSearchString);
if (index == -1) return;
return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
},
dataBrowser: [
{
string: navigator.userAgent,
subString: "MSIE",
identity: "Explorer",
versionSearch: "MSIE"
}
]
};
BrowserDetect.init();/*  Prototype JavaScript framework, version 1.5.0_rc0
*  (c) 2005 Sam Stephenson <sam@conio.net>
*
*  Prototype is freely distributable under the terms of an MIT-style license.
*  For details, see the Prototype web site: http://prototype.conio.net/
*
/*--------------------------------------------------------------------------*/
var Prototype = {
Version: '1.5.0_rc0',
ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',
emptyFunction: function() {},
K: function(x) {return x}
}
var Class = {
create: function() {
return function() {
this.initialize.apply(this, arguments);
}
}
}
var Abstract = new Object();
Object.extend = function(destination, source) {
for (var property in source) {
destination[property] = source[property];
}
return destination;
}
Object.inspect = function(object) {
try {
if (object == undefined) return 'undefined';
if (object == null) return 'null';
return object.inspect ? object.inspect() : object.toString();
} catch (e) {
if (e instanceof RangeError) return '...';
throw e;
}
}
Function.prototype.bind = function() {
var __method = this, args = $A(arguments), object = args.shift();
return function() {
return __method.apply(object, args.concat($A(arguments)));
}
}
Function.prototype.bindAsEventListener = function(object) {
var __method = this;
return function(event) {
return __method.call(object, event || window.event);
}
}
Object.extend(Number.prototype, {
toColorPart: function() {
var digits = this.toString(16);
if (this < 16) return '0' + digits;
return digits;
},
succ: function() {
return this + 1;
},
times: function(iterator) {
$R(0, this, true).each(iterator);
return this;
}
});
var Try = {
these: function() {
var returnValue;
for (var i = 0; i < arguments.length; i++) {
var lambda = arguments[i];
try {
returnValue = lambda();
break;
} catch (e) {}
}
return returnValue;
}
}
/*--------------------------------------------------------------------------*/
var PeriodicalExecuter = Class.create();
PeriodicalExecuter.prototype = {
initialize: function(callback, frequency) {
this.callback = callback;
this.frequency = frequency;
this.currentlyExecuting = false;
this.registerCallback();
},
registerCallback: function() {
setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
},
onTimerEvent: function() {
if (!this.currentlyExecuting) {
try {
this.currentlyExecuting = true;
this.callback();
} finally {
this.currentlyExecuting = false;
}
}
}
}
Object.extend(String.prototype, {
gsub: function(pattern, replacement) {
var result = '', source = this, match;
replacement = arguments.callee.prepareReplacement(replacement);
while (source.length > 0) {
if (match = source.match(pattern)) {
result += source.slice(0, match.index);
result += (replacement(match) || '').toString();
source  = source.slice(match.index + match[0].length);
} else {
result += source, source = '';
}
}
return result;
},
sub: function(pattern, replacement, count) {
replacement = this.gsub.prepareReplacement(replacement);
count = count === undefined ? 1 : count;
return this.gsub(pattern, function(match) {
if (--count < 0) return match[0];
return replacement(match);
});
},
scan: function(pattern, iterator) {
this.gsub(pattern, iterator);
return this;
},
truncate: function(length, truncation) {
length = length || 30;
truncation = truncation === undefined ? '...' : truncation;
return this.length > length ?
this.slice(0, length - truncation.length) + truncation : this;
},
strip: function() {
return this.replace(/^\s+/, '').replace(/\s+$/, '');
},
stripTags: function() {
return this.replace(/<\/?[^>]+>/gi, '');
},
stripScripts: function() {
return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
},
extractScripts: function() {
var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
return (this.match(matchAll) || []).map(function(scriptTag) {
return (scriptTag.match(matchOne) || ['', ''])[1];
});
},
evalScripts: function() {
return this.extractScripts().map(function(script) { return eval(script) });
},
escapeHTML: function() {
var div = document.createElement('div');
var text = document.createTextNode(this);
div.appendChild(text);
return div.innerHTML;
},
unescapeHTML: function() {
var div = document.createElement('div');
div.innerHTML = this.stripTags();
return div.childNodes[0] ? div.childNodes[0].nodeValue : '';
},
toQueryParams: function() {
var pairs = this.match(/^\??(.*)$/)[1].split('&');
return pairs.inject({}, function(params, pairString) {
var pair = pairString.split('=');
params[pair[0]] = pair[1];
return params;
});
},
toArray: function() {
return this.split('');
},
camelize: function() {
var oStringList = this.split('-');
if (oStringList.length == 1) return oStringList[0];
var camelizedString = this.indexOf('-') == 0
? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1)
: oStringList[0];
for (var i = 1, len = oStringList.length; i < len; i++) {
var s = oStringList[i];
camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
}
return camelizedString;
},
inspect: function() {
return "'" + this.replace(/\\/g, '\\\\').replace(/'/g, '\\\'') + "'";
}
});
String.prototype.gsub.prepareReplacement = function(replacement) {
if (typeof replacement == 'function') return replacement;
var template = new Template(replacement);
return function(match) { return template.evaluate(match) };
}
String.prototype.parseQuery = String.prototype.toQueryParams;
var Template = Class.create();
Template.Pattern = /(^|.|\r|\n)(#\{(.*?)\})/;
Template.prototype = {
initialize: function(template, pattern) {
this.template = template.toString();
this.pattern  = pattern || Template.Pattern;
},
evaluate: function(object) {
return this.template.gsub(this.pattern, function(match) {
var before = match[1];
if (before == '\\') return match[2];
return before + (object[match[3]] || '').toString();
});
}
}
var $break    = new Object();
var $continue = new Object();
var Enumerable = {
each: function(iterator) {
var index = 0;
try {
this._each(function(value) {
try {
iterator(value, index++);
} catch (e) {
if (e != $continue) throw e;
}
});
} catch (e) {
if (e != $break) throw e;
}
},
all: function(iterator) {
var result = true;
this.each(function(value, index) {
result = result && !!(iterator || Prototype.K)(value, index);
if (!result) throw $break;
});
return result;
},
any: function(iterator) {
var result = true;
this.each(function(value, index) {
if (result = !!(iterator || Prototype.K)(value, index))
throw $break;
});
return result;
},
collect: function(iterator) {
var results = [];
this.each(function(value, index) {
results.push(iterator(value, index));
});
return results;
},
detect: function (iterator) {
var result;
this.each(function(value, index) {
if (iterator(value, index)) {
result = value;
throw $break;
}
});
return result;
},
findAll: function(iterator) {
var results = [];
this.each(function(value, index) {
if (iterator(value, index))
results.push(value);
});
return results;
},
grep: function(pattern, iterator) {
var results = [];
this.each(function(value, index) {
var stringValue = value.toString();
if (stringValue.match(pattern))
results.push((iterator || Prototype.K)(value, index));
})
return results;
},
include: function(object) {
var found = false;
this.each(function(value) {
if (value == object) {
found = true;
throw $break;
}
});
return found;
},
inject: function(memo, iterator) {
this.each(function(value, index) {
memo = iterator(memo, value, index);
});
return memo;
},
invoke: function(method) {
var args = $A(arguments).slice(1);
return this.collect(function(value) {
return value[method].apply(value, args);
});
},
max: function(iterator) {
var result;
this.each(function(value, index) {
value = (iterator || Prototype.K)(value, index);
if (result == undefined || value >= result)
result = value;
});
return result;
},
min: function(iterator) {
var result;
this.each(function(value, index) {
value = (iterator || Prototype.K)(value, index);
if (result == undefined || value < result)
result = value;
});
return result;
},
partition: function(iterator) {
var trues = [], falses = [];
this.each(function(value, index) {
((iterator || Prototype.K)(value, index) ?
trues : falses).push(value);
});
return [trues, falses];
},
pluck: function(property) {
var results = [];
this.each(function(value, index) {
results.push(value[property]);
});
return results;
},
reject: function(iterator) {
var results = [];
this.each(function(value, index) {
if (!iterator(value, index))
results.push(value);
});
return results;
},
sortBy: function(iterator) {
return this.collect(function(value, index) {
return {value: value, criteria: iterator(value, index)};
}).sort(function(left, right) {
var a = left.criteria, b = right.criteria;
return a < b ? -1 : a > b ? 1 : 0;
}).pluck('value');
},
toArray: function() {
return this.collect(Prototype.K);
},
zip: function() {
var iterator = Prototype.K, args = $A(arguments);
if (typeof args.last() == 'function')
iterator = args.pop();
var collections = [this].concat(args).map($A);
return this.map(function(value, index) {
return iterator(collections.pluck(index));
});
},
inspect: function() {
return '#<Enumerable:' + this.toArray().inspect() + '>';
}
}
Object.extend(Enumerable, {
map:     Enumerable.collect,
find:    Enumerable.detect,
select:  Enumerable.findAll,
member:  Enumerable.include,
entries: Enumerable.toArray
});
var $A = Array.from = function(iterable) {
if (!iterable) return [];
if (iterable.toArray) {
return iterable.toArray();
} else {
var results = [];
for (var i = 0; i < iterable.length; i++)
results.push(iterable[i]);
return results;
}
}
Object.extend(Array.prototype, Enumerable);
if (!Array.prototype._reverse)
Array.prototype._reverse = Array.prototype.reverse;
Object.extend(Array.prototype, {
_each: function(iterator) {
for (var i = 0; i < this.length; i++)
iterator(this[i]);
},
clear: function() {
this.length = 0;
return this;
},
first: function() {
return this[0];
},
last: function() {
return this[this.length - 1];
},
compact: function() {
return this.select(function(value) {
return value != undefined || value != null;
});
},
flatten: function() {
return this.inject([], function(array, value) {
return array.concat(value && value.constructor == Array ?
value.flatten() : [value]);
});
},
without: function() {
var values = $A(arguments);
return this.select(function(value) {
return !values.include(value);
});
},
indexOf: function(object) {
for (var i = 0; i < this.length; i++)
if (this[i] == object) return i;
return -1;
},
reverse: function(inline) {
return (inline !== false ? this : this.toArray())._reverse();
},
inspect: function() {
return '[' + this.map(Object.inspect).join(', ') + ']';
}
});
var Hash = {
_each: function(iterator) {
for (var key in this) {
var value = this[key];
if (typeof value == 'function') continue;
var pair = [key, value];
pair.key = key;
pair.value = value;
iterator(pair);
}
},
keys: function() {
return this.pluck('key');
},
values: function() {
return this.pluck('value');
},
merge: function(hash) {
return $H(hash).inject($H(this), function(mergedHash, pair) {
mergedHash[pair.key] = pair.value;
return mergedHash;
});
},
toQueryString: function() {
return this.map(function(pair) {
return pair.map(encodeURIComponent).join('=');
}).join('&');
},
inspect: function() {
return '#<Hash:{' + this.map(function(pair) {
return pair.map(Object.inspect).join(': ');
}).join(', ') + '}>';
}
}
function $H(object) {
var hash = Object.extend({}, object || {});
Object.extend(hash, Enumerable);
Object.extend(hash, Hash);
return hash;
}
ObjectRange = Class.create();
Object.extend(ObjectRange.prototype, Enumerable);
Object.extend(ObjectRange.prototype, {
initialize: function(start, end, exclusive) {
this.start = start;
this.end = end;
this.exclusive = exclusive;
},
_each: function(iterator) {
var value = this.start;
do {
iterator(value);
value = value.succ();
} while (this.include(value));
},
include: function(value) {
if (value < this.start)
return false;
if (this.exclusive)
return value < this.end;
return value <= this.end;
}
});
var $R = function(start, end, exclusive) {
return new ObjectRange(start, end, exclusive);
}
var Ajax = {
getTransport: function() {
return Try.these(
function() {return new XMLHttpRequest()},
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
function() {return new ActiveXObject('Microsoft.XMLHTTP')}
) || false;
},
activeRequestCount: 0
}
Ajax.Responders = {
responders: [],
_each: function(iterator) {
this.responders._each(iterator);
},
register: function(responderToAdd) {
if (!this.include(responderToAdd))
this.responders.push(responderToAdd);
},
unregister: function(responderToRemove) {
this.responders = this.responders.without(responderToRemove);
},
dispatch: function(callback, request, transport, json) {
this.each(function(responder) {
if (responder[callback] && typeof responder[callback] == 'function') {
try {
responder[callback].apply(responder, [request, transport, json]);
} catch (e) {}
}
});
}
};
Object.extend(Ajax.Responders, Enumerable);
Ajax.Responders.register({
onCreate: function() {
Ajax.activeRequestCount++;
},
onComplete: function() {
Ajax.activeRequestCount--;
}
});
Ajax.Base = function() {};
Ajax.Base.prototype = {
setOptions: function(options) {
this.options = {
method:       'post',
asynchronous: true,
contentType:  'application/x-www-form-urlencoded',
parameters:   ''
}
Object.extend(this.options, options || {});
},
responseIsSuccess: function() {
return this.transport.status == undefined
|| this.transport.status == 0
|| (this.transport.status >= 200 && this.transport.status < 300);
},
responseIsFailure: function() {
return !this.responseIsSuccess();
}
}
Ajax.Request = Class.create();
Ajax.Request.Events =
['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
initialize: function(url, options) {
this.transport = Ajax.getTransport();
this.setOptions(options);
this.request(url);
},
request: function(url) {
var parameters = this.options.parameters || '';
if (parameters.length > 0) parameters += '&_=';
try {
this.url = url;
if (this.options.method == 'get' && parameters.length > 0)
this.url += (this.url.match(/\?/) ? '&' : '?') + parameters;
Ajax.Responders.dispatch('onCreate', this, this.transport);
this.transport.open(this.options.method, this.url,
this.options.asynchronous);
if (this.options.asynchronous) {
this.transport.onreadystatechange = this.onStateChange.bind(this);
setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10);
}
this.setRequestHeaders();
var body = this.options.postBody ? this.options.postBody : parameters;
this.transport.send(this.options.method == 'post' ? body : null);
} catch (e) {
this.dispatchException(e);
}
},
setRequestHeaders: function() {
var requestHeaders =
['X-Requested-With', 'XMLHttpRequest',
'X-Prototype-Version', Prototype.Version,
'Accept', 'text/javascript, text/html, application/xml, text/xml, */*'];
if (this.options.method == 'post') {
requestHeaders.push('Content-type', this.options.contentType);
/* Force "Connection: close" for Mozilla browsers to work around
* a bug where XMLHttpReqeuest sends an incorrect Content-length
* header. See Mozilla Bugzilla #246651.
*/
if (this.transport.overrideMimeType)
requestHeaders.push('Connection', 'close');
}
if (this.options.requestHeaders)
requestHeaders.push.apply(requestHeaders, this.options.requestHeaders);
for (var i = 0; i < requestHeaders.length; i += 2)
this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]);
},
onStateChange: function() {
var readyState = this.transport.readyState;
if (readyState != 1)
this.respondToReadyState(this.transport.readyState);
},
header: function(name) {
try {
return this.transport.getResponseHeader(name);
} catch (e) {}
},
evalJSON: function() {
try {
return eval('(' + this.header('X-JSON') + ')');
} catch (e) {}
},
evalResponse: function() {
try {
return eval(this.transport.responseText);
} catch (e) {
this.dispatchException(e);
}
},
respondToReadyState: function(readyState) {
var event = Ajax.Request.Events[readyState];
var transport = this.transport, json = this.evalJSON();
if (event == 'Complete') {
try {
(this.options['on' + this.transport.status]
|| this.options['on' + (this.responseIsSuccess() ? 'Success' : 'Failure')]
|| Prototype.emptyFunction)(transport, json);
} catch (e) {
this.dispatchException(e);
}
if ((this.header('Content-type') || '').match(/^text\/javascript/i))
this.evalResponse();
}
try {
(this.options['on' + event] || Prototype.emptyFunction)(transport, json);
Ajax.Responders.dispatch('on' + event, this, transport, json);
} catch (e) {
this.dispatchException(e);
}
/* Avoid memory leak in MSIE: clean up the oncomplete event handler */
if (event == 'Complete')
this.transport.onreadystatechange = Prototype.emptyFunction;
},
dispatchException: function(exception) {
(this.options.onException || Prototype.emptyFunction)(this, exception);
Ajax.Responders.dispatch('onException', this, exception);
}
});
Ajax.Updater = Class.create();
Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), {
initialize: function(container, url, options) {
this.containers = {
success: container.success ? $(container.success) : $(container),
failure: container.failure ? $(container.failure) :
(container.success ? null : $(container))
}
this.transport = Ajax.getTransport();
this.setOptions(options);
var onComplete = this.options.onComplete || Prototype.emptyFunction;
this.options.onComplete = (function(transport, object) {
this.updateContent();
onComplete(transport, object);
}).bind(this);
this.request(url);
},
updateContent: function() {
var receiver = this.responseIsSuccess() ?
this.containers.success : this.containers.failure;
var response = this.transport.responseText;
if (!this.options.evalScripts)
response = response.stripScripts();
if (receiver) {
if (this.options.insertion) {
new this.options.insertion(receiver, response);
} else {
Element.update(receiver, response);
}
}
if (this.responseIsSuccess()) {
if (this.onComplete)
setTimeout(this.onComplete.bind(this), 10);
}
}
});
Ajax.PeriodicalUpdater = Class.create();
Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), {
initialize: function(container, url, options) {
this.setOptions(options);
this.onComplete = this.options.onComplete;
this.frequency = (this.options.frequency || 2);
this.decay = (this.options.decay || 1);
this.updater = {};
this.container = container;
this.url = url;
this.start();
},
start: function() {
this.options.onComplete = this.updateComplete.bind(this);
this.onTimerEvent();
},
stop: function() {
this.updater.onComplete = undefined;
clearTimeout(this.timer);
(this.onComplete || Prototype.emptyFunction).apply(this, arguments);
},
updateComplete: function(request) {
if (this.options.decay) {
this.decay = (request.responseText == this.lastText ?
this.decay * this.options.decay : 1);
this.lastText = request.responseText;
}
this.timer = setTimeout(this.onTimerEvent.bind(this),
this.decay * this.frequency * 1000);
},
onTimerEvent: function() {
this.updater = new Ajax.Updater(this.container, this.url, this.options);
}
});
function $() {
var results = [], element;
for (var i = 0; i < arguments.length; i++) {
element = arguments[i];
if (typeof element == 'string')
element = document.getElementById(element);
results.push(Element.extend(element));
}
return results.length < 2 ? results[0] : results;
}
document.getElementsByClassName = function(className, parentElement) {
var children = ($(parentElement) || document.body).getElementsByTagName('*');
return $A(children).inject([], function(elements, child) {
if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))
elements.push(Element.extend(child));
return elements;
});
}
/*--------------------------------------------------------------------------*/
if (!window.Element)
var Element = new Object();
Element.extend = function(element) {
if (!element) return;
if (_nativeExtensions) return element;
if (!element._extended && element.tagName && element != window) {
var methods = Element.Methods, cache = Element.extend.cache;
for (property in methods) {
var value = methods[property];
if (typeof value == 'function')
element[property] = cache.findOrStore(value);
}
}
element._extended = true;
return element;
}
Element.extend.cache = {
findOrStore: function(value) {
return this[value] = this[value] || function() {
return value.apply(null, [this].concat($A(arguments)));
}
}
}
Element.Methods = {
visible: function(element) {
return $(element).style.display != 'none';
},
toggle: function() {
for (var i = 0; i < arguments.length; i++) {
var element = $(arguments[i]);
Element[Element.visible(element) ? 'hide' : 'show'](element);
}
},
hide: function() {
for (var i = 0; i < arguments.length; i++) {
var element = $(arguments[i]);
element.style.display = 'none';
}
},
show: function() {
for (var i = 0; i < arguments.length; i++) {
var element = $(arguments[i]);
element.style.display = '';
}
},
remove: function(element) {
element = $(element);
element.parentNode.removeChild(element);
},
update: function(element, html) {
$(element).innerHTML = html.stripScripts();
setTimeout(function() {html.evalScripts()}, 10);
},
replace: function(element, html) {
element = $(element);
if (element.outerHTML) {
element.outerHTML = html.stripScripts();
} else {
var range = element.ownerDocument.createRange();
range.selectNodeContents(element);
element.parentNode.replaceChild(
range.createContextualFragment(html.stripScripts()), element);
}
setTimeout(function() {html.evalScripts()}, 10);
},
getHeight: function(element) {
element = $(element);
return element.offsetHeight;
},
classNames: function(element) {
return new Element.ClassNames(element);
},
hasClassName: function(element, className) {
if (!(element = $(element))) return;
return Element.classNames(element).include(className);
},
addClassName: function(element, className) {
if (!(element = $(element))) return;
return Element.classNames(element).add(className);
},
removeClassName: function(element, className) {
if (!(element = $(element))) return;
return Element.classNames(element).remove(className);
},
cleanWhitespace: function(element) {
element = $(element);
for (var i = 0; i < element.childNodes.length; i++) {
var node = element.childNodes[i];
if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
Element.remove(node);
}
},
empty: function(element) {
return $(element).innerHTML.match(/^\s*$/);
},
childOf: function(element, ancestor) {
element = $(element), ancestor = $(ancestor);
while (element = element.parentNode)
if (element == ancestor) return true;
return false;
},
scrollTo: function(element) {
element = $(element);
var x = element.x ? element.x : element.offsetLeft,
y = element.y ? element.y : element.offsetTop;
window.scrollTo(x, y);
},
getStyle: function(element, style) {
element = $(element);
var value = element.style[style.camelize()];
if (!value) {
if (document.defaultView && document.defaultView.getComputedStyle) {
var css = document.defaultView.getComputedStyle(element, null);
value = css ? css.getPropertyValue(style) : null;
} else if (element.currentStyle) {
value = element.currentStyle[style.camelize()];
}
}
if (window.opera && ['left', 'top', 'right', 'bottom'].include(style))
if (Element.getStyle(element, 'position') == 'static') value = 'auto';
return value == 'auto' ? null : value;
},
setStyle: function(element, style) {
element = $(element);
for (var name in style)
element.style[name.camelize()] = style[name];
}
}
Object.extend(Element, Element.Methods);
var _nativeExtensions = false;
if(!HTMLElement && /Konqueror|Safari|KHTML/.test(navigator.userAgent)) {
var HTMLElement = {}
HTMLElement.prototype = document.createElement('div').__proto__;
}
Element.addMethods = function(methods) {
Object.extend(Element.Methods, methods || {});
if(typeof HTMLElement != 'undefined') {
var methods = Element.Methods, cache = Element.extend.cache;
for (property in methods) {
var value = methods[property];
if (typeof value == 'function')
HTMLElement.prototype[property] = cache.findOrStore(value);
}
_nativeExtensions = true;
}
}
Element.addMethods();
var Toggle = new Object();
Toggle.display = Element.toggle;
/*--------------------------------------------------------------------------*/
Abstract.Insertion = function(adjacency) {
this.adjacency = adjacency;
}
Abstract.Insertion.prototype = {
initialize: function(element, content) {
this.element = $(element);
this.content = content.stripScripts();
if (this.adjacency && this.element.insertAdjacentHTML) {
try {
this.element.insertAdjacentHTML(this.adjacency, this.content);
} catch (e) {
var tagName = this.element.tagName.toLowerCase();
if (tagName == 'tbody' || tagName == 'tr') {
this.insertContent(this.contentFromAnonymousTable());
} else {
throw e;
}
}
} else {
this.range = this.element.ownerDocument.createRange();
if (this.initializeRange) this.initializeRange();
this.insertContent([this.range.createContextualFragment(this.content)]);
}
setTimeout(function() {content.evalScripts()}, 10);
},
contentFromAnonymousTable: function() {
var div = document.createElement('div');
div.innerHTML = '<table><tbody>' + this.content + '</tbody></table>';
return $A(div.childNodes[0].childNodes[0].childNodes);
}
}
var Insertion = new Object();
Insertion.Before = Class.create();
Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), {
initializeRange: function() {
this.range.setStartBefore(this.element);
},
insertContent: function(fragments) {
fragments.each((function(fragment) {
this.element.parentNode.insertBefore(fragment, this.element);
}).bind(this));
}
});
Insertion.Top = Class.create();
Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), {
initializeRange: function() {
this.range.selectNodeContents(this.element);
this.range.collapse(true);
},
insertContent: function(fragments) {
fragments.reverse(false).each((function(fragment) {
this.element.insertBefore(fragment, this.element.firstChild);
}).bind(this));
}
});
Insertion.Bottom = Class.create();
Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), {
initializeRange: function() {
this.range.selectNodeContents(this.element);
this.range.collapse(this.element);
},
insertContent: function(fragments) {
fragments.each((function(fragment) {
this.element.appendChild(fragment);
}).bind(this));
}
});
Insertion.After = Class.create();
Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), {
initializeRange: function() {
this.range.setStartAfter(this.element);
},
insertContent: function(fragments) {
fragments.each((function(fragment) {
this.element.parentNode.insertBefore(fragment,
this.element.nextSibling);
}).bind(this));
}
});
/*--------------------------------------------------------------------------*/
Element.ClassNames = Class.create();
Element.ClassNames.prototype = {
initialize: function(element) {
this.element = $(element);
},
_each: function(iterator) {
this.element.className.split(/\s+/).select(function(name) {
return name.length > 0;
})._each(iterator);
},
set: function(className) {
this.element.className = className;
},
add: function(classNameToAdd) {
if (this.include(classNameToAdd)) return;
this.set(this.toArray().concat(classNameToAdd).join(' '));
},
remove: function(classNameToRemove) {
if (!this.include(classNameToRemove)) return;
this.set(this.select(function(className) {
return className != classNameToRemove;
}).join(' '));
},
toString: function() {
return this.toArray().join(' ');
}
}
Object.extend(Element.ClassNames.prototype, Enumerable);
function $$() {
return $A(arguments).map(function(expression) {
return expression.strip().split(/\s+/).inject([null], function(results, expr) {
var selector = new Selector(expr);
return results.map(selector.findElements.bind(selector)).flatten();
});
}).flatten();
}
var Field = {
clear: function() {
for (var i = 0; i < arguments.length; i++)
$(arguments[i]).value = '';
},
focus: function(element) {
$(element).focus();
},
present: function() {
for (var i = 0; i < arguments.length; i++)
if ($(arguments[i]).value == '') return false;
return true;
},
select: function(element) {
$(element).select();
},
activate: function(element) {
element = $(element);
element.focus();
if (element.select)
element.select();
}
}
/*--------------------------------------------------------------------------*/
var Form = {
serialize: function(form) {
var elements = Form.getElements($(form));
var queryComponents = new Array();
for (var i = 0; i < elements.length; i++) {
var queryComponent = Form.Element.serialize(elements[i]);
if (queryComponent)
queryComponents.push(queryComponent);
}
return queryComponents.join('&');
},
getElements: function(form) {
form = $(form);
var elements = new Array();
for (var tagName in Form.Element.Serializers) {
var tagElements = form.getElementsByTagName(tagName);
for (var j = 0; j < tagElements.length; j++)
elements.push(tagElements[j]);
}
return elements;
},
getInputs: function(form, typeName, name) {
form = $(form);
var inputs = form.getElementsByTagName('input');
if (!typeName && !name)
return inputs;
var matchingInputs = new Array();
for (var i = 0; i < inputs.length; i++) {
var input = inputs[i];
if ((typeName && input.type != typeName) ||
(name && input.name != name))
continue;
matchingInputs.push(input);
}
return matchingInputs;
},
disable: function(form) {
var elements = Form.getElements(form);
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
element.blur();
element.disabled = 'true';
}
},
enable: function(form) {
var elements = Form.getElements(form);
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
element.disabled = '';
}
},
findFirstElement: function(form) {
return Form.getElements(form).find(function(element) {
return element.type != 'hidden' && !element.disabled &&
['input', 'select', 'textarea'].include(element.tagName.toLowerCase());
});
},
focusFirstElement: function(form) {
Field.activate(Form.findFirstElement(form));
},
reset: function(form) {
$(form).reset();
}
}
Form.Element = {
serialize: function(element) {
element = $(element);
var method = element.tagName.toLowerCase();
var parameter = Form.Element.Serializers[method](element);
if (parameter) {
var key = encodeURIComponent(parameter[0]);
if (key.length == 0) return;
if (parameter[1].constructor != Array)
parameter[1] = [parameter[1]];
return parameter[1].map(function(value) {
return key + '=' + encodeURIComponent(value);
}).join('&');
}
},
getValue: function(element) {
element = $(element);
var method = element.tagName.toLowerCase();
var parameter = Form.Element.Serializers[method](element);
if (parameter)
return parameter[1];
}
}
Form.Element.Serializers = {
input: function(element) {
switch (element.type.toLowerCase()) {
case 'submit':
case 'hidden':
case 'password':
case 'text':
return Form.Element.Serializers.textarea(element);
case 'checkbox':
case 'radio':
return Form.Element.Serializers.inputSelector(element);
}
return false;
},
inputSelector: function(element) {
if (element.checked)
return [element.name, element.value];
},
textarea: function(element) {
return [element.name, element.value];
},
select: function(element) {
return Form.Element.Serializers[element.type == 'select-one' ?
'selectOne' : 'selectMany'](element);
},
selectOne: function(element) {
var value = '', opt, index = element.selectedIndex;
if (index >= 0) {
opt = element.options[index];
value = opt.value || opt.text;
}
return [element.name, value];
},
selectMany: function(element) {
var value = [];
for (var i = 0; i < element.length; i++) {
var opt = element.options[i];
if (opt.selected)
value.push(opt.value || opt.text);
}
return [element.name, value];
}
}
/*--------------------------------------------------------------------------*/
var $F = Form.Element.getValue;
/*--------------------------------------------------------------------------*/
Abstract.TimedObserver = function() {}
Abstract.TimedObserver.prototype = {
initialize: function(element, frequency, callback) {
this.frequency = frequency;
this.element   = $(element);
this.callback  = callback;
this.lastValue = this.getValue();
this.registerCallback();
},
registerCallback: function() {
setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
},
onTimerEvent: function() {
var value = this.getValue();
if (this.lastValue != value) {
this.callback(this.element, value);
this.lastValue = value;
}
}
}
Form.Element.Observer = Class.create();
Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
getValue: function() {
return Form.Element.getValue(this.element);
}
});
Form.Observer = Class.create();
Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
getValue: function() {
return Form.serialize(this.element);
}
});
/*--------------------------------------------------------------------------*/
Abstract.EventObserver = function() {}
Abstract.EventObserver.prototype = {
initialize: function(element, callback) {
this.element  = $(element);
this.callback = callback;
this.lastValue = this.getValue();
if (this.element.tagName.toLowerCase() == 'form')
this.registerFormCallbacks();
else
this.registerCallback(this.element);
},
onElementEvent: function() {
var value = this.getValue();
if (this.lastValue != value) {
this.callback(this.element, value);
this.lastValue = value;
}
},
registerFormCallbacks: function() {
var elements = Form.getElements(this.element);
for (var i = 0; i < elements.length; i++)
this.registerCallback(elements[i]);
},
registerCallback: function(element) {
if (element.type) {
switch (element.type.toLowerCase()) {
case 'checkbox':
case 'radio':
Event.observe(element, 'click', this.onElementEvent.bind(this));
break;
case 'password':
case 'text':
case 'textarea':
case 'select-one':
case 'select-multiple':
Event.observe(element, 'change', this.onElementEvent.bind(this));
break;
}
}
}
}
Form.Element.EventObserver = Class.create();
Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
getValue: function() {
return Form.Element.getValue(this.element);
}
});
Form.EventObserver = Class.create();
Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
getValue: function() {
return Form.serialize(this.element);
}
});
if (!window.Event) {
var Event = new Object();
}
Object.extend(Event, {
KEY_BACKSPACE: 8,
KEY_TAB:       9,
KEY_RETURN:   13,
KEY_ESC:      27,
KEY_LEFT:     37,
KEY_UP:       38,
KEY_RIGHT:    39,
KEY_DOWN:     40,
KEY_DELETE:   46,
element: function(event) {
return event.target || event.srcElement;
},
isLeftClick: function(event) {
return (((event.which) && (event.which == 1)) ||
((event.button) && (event.button == 1)));
},
pointerX: function(event) {
return event.pageX || (event.clientX +
(document.documentElement.scrollLeft || document.body.scrollLeft));
},
pointerY: function(event) {
return event.pageY || (event.clientY +
(document.documentElement.scrollTop || document.body.scrollTop));
},
stop: function(event) {
if (event.preventDefault) {
event.preventDefault();
event.stopPropagation();
} else {
event.returnValue = false;
event.cancelBubble = true;
}
},
findElement: function(event, tagName) {
var element = Event.element(event);
while (element.parentNode && (!element.tagName ||
(element.tagName.toUpperCase() != tagName.toUpperCase())))
element = element.parentNode;
return element;
},
observers: false,
_observeAndCache: function(element, name, observer, useCapture) {
if (!this.observers) this.observers = [];
if (element.addEventListener) {
this.observers.push([element, name, observer, useCapture]);
element.addEventListener(name, observer, useCapture);
} else if (element.attachEvent) {
this.observers.push([element, name, observer, useCapture]);
element.attachEvent('on' + name, observer);
}
},
unloadCache: function() {
if (!Event.observers) return;
for (var i = 0; i < Event.observers.length; i++) {
Event.stopObserving.apply(this, Event.observers[i]);
Event.observers[i][0] = null;
}
Event.observers = false;
},
observe: function(element, name, observer, useCapture) {
var element = $(element);
useCapture = useCapture || false;
if (name == 'keypress' &&
(navigator.appVersion.match(/Konqueror|Safari|KHTML/)
|| element.attachEvent))
name = 'keydown';
this._observeAndCache(element, name, observer, useCapture);
},
stopObserving: function(element, name, observer, useCapture) {
var element = $(element);
useCapture = useCapture || false;
if (name == 'keypress' &&
(navigator.appVersion.match(/Konqueror|Safari|KHTML/)
|| element.detachEvent))
name = 'keydown';
if (element.removeEventListener) {
element.removeEventListener(name, observer, useCapture);
} else if (element.detachEvent) {
element.detachEvent('on' + name, observer);
}
}
});
/* prevent memory leaks in IE */
if (navigator.appVersion.match(/\bMSIE\b/))
Event.observe(window, 'unload', Event.unloadCache, false);
var Position = {
includeScrollOffsets: false,
prepare: function() {
this.deltaX =  window.pageXOffset
|| document.documentElement.scrollLeft
|| document.body.scrollLeft
|| 0;
this.deltaY =  window.pageYOffset
|| document.documentElement.scrollTop
|| document.body.scrollTop
|| 0;
},
realOffset: function(element) {
var valueT = 0, valueL = 0;
do {
valueT += element.scrollTop  || 0;
valueL += element.scrollLeft || 0;
element = element.parentNode;
} while (element);
return [valueL, valueT];
},
cumulativeOffset: function(element) {
var valueT = 0, valueL = 0;
do {
valueT += element.offsetTop  || 0;
valueL += element.offsetLeft || 0;
element = element.offsetParent;
} while (element);
return [valueL, valueT];
},
positionedOffset: function(element) {
var valueT = 0, valueL = 0;
do {
valueT += element.offsetTop  || 0;
valueL += element.offsetLeft || 0;
element = element.offsetParent;
if (element) {
p = Element.getStyle(element, 'position');
if (p == 'relative' || p == 'absolute') break;
}
} while (element);
return [valueL, valueT];
},
offsetParent: function(element) {
if (element.offsetParent) return element.offsetParent;
if (element == document.body) return element;
while ((element = element.parentNode) && element != document.body)
if (Element.getStyle(element, 'position') != 'static')
return element;
return document.body;
},
within: function(element, x, y) {
if (this.includeScrollOffsets)
return this.withinIncludingScrolloffsets(element, x, y);
this.xcomp = x;
this.ycomp = y;
this.offset = this.cumulativeOffset(element);
return (y >= this.offset[1] &&
y <  this.offset[1] + element.offsetHeight &&
x >= this.offset[0] &&
x <  this.offset[0] + element.offsetWidth);
},
withinIncludingScrolloffsets: function(element, x, y) {
var offsetcache = this.realOffset(element);
this.xcomp = x + offsetcache[0] - this.deltaX;
this.ycomp = y + offsetcache[1] - this.deltaY;
this.offset = this.cumulativeOffset(element);
return (this.ycomp >= this.offset[1] &&
this.ycomp <  this.offset[1] + element.offsetHeight &&
this.xcomp >= this.offset[0] &&
this.xcomp <  this.offset[0] + element.offsetWidth);
},
overlap: function(mode, element) {
if (!mode) return 0;
if (mode == 'vertical')
return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
element.offsetHeight;
if (mode == 'horizontal')
return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
element.offsetWidth;
},
clone: function(source, target) {
source = $(source);
target = $(target);
target.style.position = 'absolute';
var offsets = this.cumulativeOffset(source);
target.style.top    = offsets[1] + 'px';
target.style.left   = offsets[0] + 'px';
target.style.width  = source.offsetWidth + 'px';
target.style.height = source.offsetHeight + 'px';
},
page: function(forElement) {
var valueT = 0, valueL = 0;
var element = forElement;
do {
valueT += element.offsetTop  || 0;
valueL += element.offsetLeft || 0;
if (element.offsetParent==document.body)
if (Element.getStyle(element,'position')=='absolute') break;
} while (element = element.offsetParent);
element = forElement;
do {
valueT -= element.scrollTop  || 0;
valueL -= element.scrollLeft || 0;
} while (element = element.parentNode);
return [valueL, valueT];
},
clone: function(source, target) {
var options = Object.extend({
setLeft:    true,
setTop:     true,
setWidth:   true,
setHeight:  true,
offsetTop:  0,
offsetLeft: 0
}, arguments[2] || {})
source = $(source);
var p = Position.page(source);
target = $(target);
var delta = [0, 0];
var parent = null;
if (Element.getStyle(target,'position') == 'absolute') {
parent = Position.offsetParent(target);
delta = Position.page(parent);
}
if (parent == document.body) {
delta[0] -= document.body.offsetLeft;
delta[1] -= document.body.offsetTop;
}
if(options.setLeft)   target.style.left  = (p[0] - delta[0] + options.offsetLeft) + 'px';
if(options.setTop)    target.style.top   = (p[1] - delta[1] + options.offsetTop) + 'px';
if(options.setWidth)  target.style.width = source.offsetWidth + 'px';
if(options.setHeight) target.style.height = source.offsetHeight + 'px';
},
absolutize: function(element) {
element = $(element);
if (element.style.position == 'absolute') return;
Position.prepare();
var offsets = Position.positionedOffset(element);
var top     = offsets[1];
var left    = offsets[0];
var width   = element.clientWidth;
var height  = element.clientHeight;
element._originalLeft   = left - parseFloat(element.style.left  || 0);
element._originalTop    = top  - parseFloat(element.style.top || 0);
element._originalWidth  = element.style.width;
element._originalHeight = element.style.height;
element.style.position = 'absolute';
element.style.top    = top + 'px';;
element.style.left   = left + 'px';;
element.style.width  = width + 'px';;
element.style.height = height + 'px';;
},
relativize: function(element) {
element = $(element);
if (element.style.position == 'relative') return;
Position.prepare();
element.style.position = 'relative';
var top  = parseFloat(element.style.top  || 0) - (element._originalTop || 0);
var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);
element.style.top    = top + 'px';
element.style.left   = left + 'px';
element.style.height = element._originalHeight;
element.style.width  = element._originalWidth;
}
}
if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) {
Position.cumulativeOffset = function(element) {
var valueT = 0, valueL = 0;
do {
valueT += element.offsetTop  || 0;
valueL += element.offsetLeft || 0;
if (element.offsetParent == document.body)
if (Element.getStyle(element, 'position') == 'absolute') break;
element = element.offsetParent;
} while (element);
return [valueL, valueT];
}
}
Object.extend(Event, {
_domReady : function() {
if (arguments.callee.done) return;
arguments.callee.done = true;
if (this._timer)  clearInterval(this._timer);
this._readyCallbacks.each(function(f) { f() });
this._readyCallbacks = null;
},
onDOMReady : function(f) {
if (!this._readyCallbacks) {
var domReady = this._domReady.bind(this);
if (document.addEventListener)
document.addEventListener("DOMContentLoaded", domReady, false);
/*@cc_on @*/
/*@if (@_win32)
document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
document.getElementById("__ie_onload").onreadystatechange = function() {
if (this.readyState == "complete") domReady();
};
/*@end @*/
if (/WebKit/i.test(navigator.userAgent)) {
this._timer = setInterval(function() {
if (/loaded|complete/.test(document.readyState)) domReady();
}, 10);
}
Event.observe(window, 'load', domReady);
Event._readyCallbacks =  [];
}
Event._readyCallbacks.push(f);
}
});
var SelectorLiteAddon=Class.create();SelectorLiteAddon.prototype={initialize:function(stack){this.r=[];this.s=[];this.i=0;for(var i=stack.length-1;i>=0;i--){var s=["*","",[]];var t=stack[i];var cursor=t.length-1;do{var d=t.lastIndexOf("#");var p=t.lastIndexOf(".");cursor=Math.max(d,p);if(cursor==-1){s[0]=t.toUpperCase();}else if(d==-1||p==cursor){s[2].push(t.substring(p+1));}else if(!s[1]){s[1]=t.substring(d+1);}
t=t.substring(0,cursor);}while(cursor>0);this.s[i]=s;}
},get:function(root){this.explore(root||document,this.i==(this.s.length-1));return this.r;},explore:function(elt,leaf){var s=this.s[this.i];var r=[];if(s[1]){e=$(s[1]);if(e&&(s[0]=="*"||e.tagName==s[0])&&e.childOf(elt)){r=[e];}
}else{r=$A(elt.getElementsByTagName(s[0]));}
if(s[2].length==1){r=r.findAll(function(o){if(o.className.indexOf(" ")==-1){return o.className==s[2][0];}else{return o.className.split(/\s+/).include(s[2][0]);}
});}else if(s[2].length>0){r=r.findAll(function(o){if(o.className.indexOf(" ")==-1){return false;}else{var q=o.className.split(/\s+/);return s[2].all(function(c){return q.include(c);});}
});}
if(leaf){this.r=this.r.concat(r);}else{++this.i;r.each(function(o){this.explore(o,this.i==(this.s.length-1));}.bind(this));}
}
}
var $$old=$$;var $$=function(a,b){if(b||a.indexOf("[")>=0)return $$old.apply(this,arguments);return new SelectorLiteAddon(a.split(/\s+/)).get();}
String.prototype.trim =      function() {
return (this.replace(/^[\s\xA0]+/, "").replace(/[\s\xA0]+$/, ""));
}
function getCookie(name){
cname = name + "=";
dc = document.cookie;
if (dc.length > 0) {
begin = dc.indexOf(cname);
if (begin != -1) {
begin += cname.length;
end = dc.indexOf(";", begin);
if (end == -1) end = dc.length;
return unescape(dc.substring(begin, end));
}
}
return null;
}
function checkNumber(val) {
var strPass = val.value;
var strLength = strPass.length;
var lchar = val.value.charAt((strLength) - 1);
var cCode = CalcKeyCode(lchar);
/* Check if the keyed in character is a number
do you want alphabetic UPPERCASE only ?
or lower case only just check their respective
codes and replace the 48 and 57 */
if (cCode < 48 || cCode > 57 ) {
var myNumber = val.value.substring(0, (strLength) - 1);
val.value = myNumber;
}
return false;
}
function CalcKeyCode(aChar) 
{
var character = aChar.substring(0,1);
var code = aChar.charCodeAt(0);
return code;
}
function setCookie(name, value, expires, path, domain, secure) {
document.cookie = name + "=" + escape(value) +
((expires == null) ? "" : "; expires=" + expires.toGMTString()) +
((path == null) ? "" : "; path=" + path) +
((domain == null) ? "" : "; domain=" + domain) +
((secure == null) ? "" : "; secure");
}
function filter(field, regex) {
if (! field.value) return true;
re = new RegExp(regex);
if (re.test(field.value)) return true;
alert("Invalid entry!");
field.value = "";
field.focus();
field.select();
return false;
}
function checkABA(field) {
var value = $F(field);
if (value == '') return true;
if (value.length != 9) {
field.value = '';
return false;
}
n = 0;
for (i = 0; i < value.length; i += 3) {
n += parseInt(value.substr(i + 0, 1)) * 3;
n += parseInt(value.substr(i + 1, 1)) * 7;
n += parseInt(value.substr(i + 2, 1)) * 1;
}
if (n == 0 || n % 10) {
field.value = '';
return false;
}
return true;
}
function checkZipCode(zip, state) {
if ($w('ab bc mb nb nl nt ns nu on pe qc sk yt').include(state)) {
if (zip.match(/^[0-9a-z]{6}$/i)) return true;
alert('The postal code you entered is not valid. Please don\'t enter any spaces or dashes.');
return false;
}
if (zip.match(/^[0-9]{5}$/i)) return true;
alert('The zip code you entered is not valid. Please enter only the 5-digit zip code.');
return false;
}
function checkIncome(income, payday) {
limit = 99999;
if (payday == 'primary') { limit = 9999; }
if (income > limit) {
alert('Please enter your monthly income, not your annual income');
return false;
}
return true;
}
function checkEmployed(unused,employed) {
if (employed) { return true; }
alert('You must be employed for at least 1 month.');
return false;
}
function numJoin(field) {
target = field.name.substr(1);
value = '';
for (i = 0; i < field.form.elements.length; i++) {
elem = field.form.elements[i];
if (elem.name == 'x' + target) value = '' + value + '' + elem.value;
if (elem.name == 'm' + target) value =	1 * value +  1 * elem.value;
if (elem.name == 'y' + target) value =	1 * value + 12 * elem.value;
}
elem = field.form.elements[target];
if (elem) { elem.value = value; }
}
function numSplit(field) {
start = 0;
elems = Form.getElements(field.form);
for (i = 0; i < elems.length; i++) {
elem = elems[i];
if (elem.name == 'x' + field.name) {
elem.value = field.value.substr(start, elem.size);
start = start*1 + elem.size*1;
} else if (elem.name == 'm' + field.name) {
elem.value = field.value % 12;
} else if (elem.name == 'y' + field.name) {
elem.value = Math.floor(field.value / 12);
}
}
}
document.write("<div id=\"calendar\" style=\"z-index: 100000; position: absolute; display: none; width: 200px; background-color: white;\"></div>");
document.write("<style> td.cal { border-top: 1px solid black; border-left: 1px solid black; font-size: xx-small; } table.cal { border-right: 1px solid black; border-bottom: 1px solid black; } </style>\n");
var dateField = new Object();
var months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
var days = new Array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
var year = month = day = 0;
function zeroPad(num, pad) {
tgt = "" + num;
while (tgt.length < pad) {
tgt = "0" + tgt;
}
return tgt;
}
function findPosX(obj) {
var curleft = 0;
if (obj.offsetParent) {
while (obj.offsetParent) {
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
} else if (obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj) {
curtop = 0;
if (obj.offsetParent) {
while (obj.offsetParent) {
curtop += obj.offsetTop
obj = obj.offsetParent;
}
} else if (obj.y)
curtop += obj.y;
return curtop;
}
function calOpen(field, fmt,field_2,pp)
{
dateField = field;
dateField2 = null;
if(field_2 != null)
{
dateField2 = $(field.id.replace(field.name,field_2));
date_pp = field.id.replace(field.name,pp);
date_pp = $(date_pp.replace("_d","_h"));
}
if(typeof(dateField2) == "undefined" || typeof(date_pp) == "undefined") 
dateField2 = null;
theCal = document.getElementById('calendar');
theCal.style.top = findPosY(dateField) + 20;
theCal.style.left = findPosX(dateField);
theCal.style.display = 'block';
year = month = day = 0;
calInit(fmt);
}
function calHoliday(value)
{
var date 	= value.split("/");
if(date == value)
date 	= value.split("-");
var month 	= parseInt(date[0], 10);
var day 	= parseInt(date[1], 10);
var year 	= parseInt(date[2], 10);
switch(month)
{
case 1: if(day == 1 || day == 16) return true;	break;
case 2:	if(day == 20) return true;	break;
case 3:	break;
case 4:	break;
case 5:	break;
case 6:	break;
case 7:	if(day == 4) return true;	break;
case 8:	break;
case 9:	break;
case 10: break;
case 11: if(day == 11 || day == 23) return true; break;
case 12: if(day == 25) return true; break;
}
return false;
}
function calInit(fmt) {
if (!year && !month && !day) {
if (dateField.value) {
value 	= dateField.value;
date 	= value.split("/");
if(date == value)
date 	= value.split("-");
var day_pos = 0;
var mon_pos = 0;
var yer_pos = 0;
var pos = fmt.split("-");
for(var j=0;j<3;j++)
{
if(pos[j]=='dd')
day_pos = j;
if(pos[j]=='mm')
mon_pos = j;
if(pos[j]=='yyyy')
yer_pos = j;
}
month 	= parseInt(date[mon_pos], 10) - 1;
day 	= parseInt(date[day_pos], 10);
year 	= parseInt(date[yer_pos], 10);
}
if (isNaN(day) || isNaN(month) || isNaN(year) || day == 0) {
  today = new Date();
dt 	= new Date(today.getFullYear(), today.getMonth(), today.getDate()+1);
day 	= dt.getDate();
month	= dt.getMonth();
year 	= dt.getFullYear();
}
} else {
if (month > 11) {
month = 0;
year++;
} else if (month < 0) {
month = 11;
year--;
}
}
this_dt 	= new Date();
this_day 	= this_dt.getDate();
this_month	= this_dt.getMonth();
this_year 	= this_dt.getFullYear();
var displayMonths = [new Date(year, month, 1), new Date(year, month+1, 1)];
str = "";
for (m=0; m < displayMonths.length; m++) {
str += "<table class=cal cellspacing=0 width=100%>";
str += "<tr><td class=cal align=center width=50%>";
str += " <a name='' style='cursor:pointer;'  onClick=\"javascript:month--; calInit('" + fmt + "');\">&laquo;</a> ";
str += months[displayMonths[m].getMonth()];
str += " <a name='' style='cursor:pointer;'  onClick=\"javascript:month++; calInit('" + fmt + "');\">&raquo;</a> ";
str += "</td><td class=cal align=center width=50%>\n";
str += " <a name='' style='cursor:pointer;'  onClick=\"javascript:year--; calInit('" + fmt + "');\">&laquo;</a> ";
str += displayMonths[m].getFullYear();
str += " <a name='' style='cursor:pointer;'  onClick=\"javascript:year++; calInit('" + fmt + "');\">&raquo;</a> ";
str += "</td></tr>";
str += "</table>";
str += "<table class=cal cellspacing=0 width=100% style=\"border-top: 0px;\">";
str += "<tr>";
for (var i = 0; i < 7; i++) {
str += "<td class=cal align=center width=14%>" + days[i] + "</th>";
}
str += "</tr>";
firstDay = displayMonths[m].getDay();
lastDay = new Date(displayMonths[m].getFullYear(), displayMonths[m].getMonth() + 1, 0).getDate();
weekDay = 0;
str += "<tr>";
for (i = 0; i < firstDay; i++) {
str += "<td class=cal style=\"background-color: LightSlateGray;\">&nbsp;</td>";
weekDay++;
}
for (i = 1; i <= lastDay; i++) {
if (weekDay == 7) {
str += "</tr><tr>";
weekDay = 0;
}
if (i == displayMonths[m].getDate() && displayMonths[m].getMonth() == this_month && displayMonths[m].getFullYear() == this_year) {
str += "<td class=cal style=\"background-color: silver;\">";
} else {
str += "<td class=cal>";
}
val = fmt.replace(/yyyy/i, zeroPad(displayMonths[m].getFullYear(), 4));
val = val.replace(/mm/i, zeroPad(displayMonths[m].getMonth() + 1, 2));
val = val.replace(/dd/i, zeroPad(i, 2));
if(weekDay != 0 && weekDay != 6 && !calHoliday(val) && (i + displayMonths[m].getMonth() * 100 + displayMonths[m].getFullYear() * 10000 >= this_day + 1 + this_month * 100 + this_year * 10000))
str += "<a name='' style='cursor:pointer;'  onClick=\"javascript:calReturn('" + val + "');\"><font color='#0000FF'><u>" + i + "</font></u></a>";
else
str += "" + i + "";
str += "</td>";
weekDay++;
}
for (i = weekDay; i < 7; i++) {
str += "<td class=cal style=\"background-color: LightSlateGray;\">&nbsp;</td>";
}
str += "</tr></table>";
val = fmt.replace(/yyyy/i, '0000').replace(/mm/i, '00').replace(/dd/i, '00');
}
str += "<table class=cal cellspacing=0 width=100%>";
str += "<tr><td class=cal align=center width=50%>";
str += " <a name='' style='cursor:pointer;'  onClick=\"javascript:calReturn('');\">Close</a> ";
str += "</td></tr>";
str += "</table>";
document.getElementById('calendar').innerHTML = str;
}
function calReturn(val) 
{
if (val) 
{ 
dateField.value = val; 
if(dateField.onchange) dateField.onchange();
if(dateField2) 
calcPayDate2(dateField2,dateField.value,date_pp.value); 
}
document.getElementById('calendar').style.display = 'none';
}
var do_autotab_onload = false;
var autotab = {
uid: null, i: 0, elems: [],
next_element: function() { return this.elems[this.i]; }
}
function autoTab(event) {
elem = Event.element(event);
if (!elem || elem.size < 1) { return; }
if (!filter(elem, '^([0-9]*|dd|mm|yyyy)$')) { return false; }
if (autotab.uid != elem.id) {
autotab.uid   = elem.id;
autotab.i     = autotab.elems.indexOf(elem) + 1;
while ((autotab.elems[autotab.i].type == 'hidden') ||
       (autotab.elems[autotab.i].type == 'button')) {  autotab.i++; }
}
if ((autotab.elems[autotab.i].type == 'hidden' && autotab.elems[autotab.elems.indexOf(elem) + 2].type == 'text') || (autotab.elems[autotab.i].type == 'text'))
{
if (![9,16].include(event.keyCode) && elem.value.length >= elem.size) {
Field.activate(autotab.next_element());
elem.value = elem.value.substr(0, elem.size);
}
}
numJoin(elem);
}
function $w(string) {
string = string.strip();
return $A(string ? string.split(/\s+/) : []);
}
function popUp(URL, w,h)
{
day = new Date();
id = day.getTime();
eval("producer_window = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=" + w + ",height=" + h + ",left = 340,top = 362');");
}
function SIN_validation(number)
{	
var digit = number.split("");
var sum = 0;
if (number.length != 9 || number == '000000000' ) {		
return false;
}
for (var i=digit.length -1; i >= 0 ; i--)
{
if (i % 2 == 1)
{							
digit[i] = digit[i] * 2				
if (digit[i] >= 10)
{
digit[i] = parseInt(digit[i]) - 9 
}
}			
sum = sum + parseInt(digit[i])						
}
if (sum % 10 != 0)
{
alert('Invalid SIN number');		
return false;
}	
return true;
}
function NINO_validation (myNINO) 
{    
if (checkNINO (myNINO)) {      
return true;
} 
else 
{
alert ("National Insurance Number has invalid format");
return false;
}
}
function checkNINO (toCheck) {
var exp1 = /^[A-CEGHJ-NOPR-TW-Z]{1}[A-CEGHJ-NPR-TW-Z]{1}[0-9]{6}[A-D\s]{1}/i;
var exp2 = /(^GB)|(^BG)|(^NK)|(^KN)|(^TN)|(^NT)|(^ZZ).+/i;
if (toCheck.match(exp1) && !toCheck.match(exp2)) 
  return toCheck.toUpperCase() 
else
  return false;
}var FormChanges = Class.create();
FormChanges.prototype = {
initialize: function(form) {
this.form   = form;
this.fields = $H({});
eval(
""
+ "function bind_checkLTV() "
+ "{ "
+ " if(typeof($(" + form.form_index + "  + '_additional_cash_d')) == 'undefined') "
+ "   return; "
+ " loan_amount = $(" + form.form_index + " + '_loan_amount_d'); "
+ " property_value = $(" + form.form_index + " + '_property_value_d'); "
+ " second_mortgage = $(" + form.form_index + "  + '_second_mortgage_d'); "
+ " mortgage_balance = $(" + form.form_index + "  + '_mortgage_balance_d'); "
+ " additional_cash = $(" + form.form_index + "  + '_additional_cash_d');"
+ " pv = parseInt($F(property_value)); "
+ " sm = parseInt($F(second_mortgage)); "
+ " mb = parseInt($F(mortgage_balance)); "
+ " loan_amount.value = sm+mb; "
+ " ac = parseInt($F(additional_cash));"
+ " if (pv == 0) "
+ " { "
+ "   alert('You must specify the estimated value of your property.'); "
+ "   property_value.value = ''; "
+ " } "
+ " else "
+ "   if (ac && !mb) "
+ "   { "
+ "     alert('You must specify the balance of your mortgage.'); "
+ "     additional_cash.value = ''; "
+ "   } "
+ "   else "
+ "     if (mb && !ac) "
+ "     { "
+ "       req = pv - loan_amount.value; "
+ "       if(!additional_cash.value || additional_cash.value == 0) "
+ "         additional_cash.value = req > 0 ? req : 0;"
+ "     }"
+ "     else"
+ "     { "
+ "       if(!pv || loan_amount.value == 'NaN') return; ltv = loan_amount.value / pv; "
+ "       $(" + form.form_index + "  + '_loan_to_value_h').value = ltv*100; "
+ "       if (ltv > 1) "
+ "       { "
+ "         alert('You cannot request more money than the value of your home. Please lower the additional cash you would like to receive.'); "
+ "         additional_cash.value = ''; "
+ "       } "
+ "       else "
+ "         if (ltv > .80) "
+ "         { "
+ "           property_value.value = Math.floor(pv * 1.1);"
+ "         }"
+ "       }"
+ "     }"
+ "");
eval("function bind_checkEmploy() { if($("+form.form_index + " + '_months_employed_d').value == 0) alert('You must be employed at least 1 month.');}");
['tax_type','tax_filed','tax_debt_amount','property_listed_with_realtor','time_to_sell','business_turned_down','business_loan_amount','credit_card_volume','time_in_business','buying_business','divorce_uncontested','uk_accept_privacy_policy','graduated','pay_period','pay_period_uk','requested_loan_amount','best_time_to_call','direct_deposit','active_military','degree_area','degree_type','degree_school','has_bank_account'].each(function(name) { this.fields[name] = this.proceed; }.bind(this));
['property_value','mortgage_balance','additional_cash','second_mortgage'].each(function(name) { this.fields[name] = bind_checkLTV; }.bind(this));
['mmonths_employed','ymonths_employed'].each(function(name) { this.fields[name] = bind_checkEmploy; }.bind(this));
this.fields['accept_credit_cards'] = function(elem, form)
{
if($F(elem) == "no")
{
$(form.form_index + '_credit_card_volume_h').value = '0';
form.eraseFields(form.form_index,field_to_id['credit_card_volume']);
}
else
if(typeof $(form.form_index + '_credit_card_volume_d') == "undefined")
this.form.addAfter(this.form.form_index,field_to_id['credit_card_volume'], this.form.form_index + '_accept_credit_cards_h');
return form.nextStep();
}.bind(this);
this.fields['housing'] = function(elem, form)
{
if(elem.value != '')
{
if($F(elem) == "own")
form.eraseFields(form.form_index,field_to_id['home_purchase_bonus']);
if($F(elem) == "rent")
{
if (typeof $(form.form_index + '_homeowner_bonus_d') != "undefined") 
form.eraseFields(form.form_index,field_to_id['homeowner_bonus']);
if (typeof $(form.form_index + 'loan_modification_bonus_d') != "undefined")
form.eraseFields(form.form_index,field_to_id['loan_modification_bonus']);
}
return form.nextStep();
}
}.bind(this);
this.fields['working_in_us'] = function(elem,form)
{
if(elem.value != '')
return form.nextStep();
}.bind(this);
this.fields['monthly_income'] = function(elem,form)
{
if(!filter(elem, '^[0-9.]+$')) {elem.value=""; return;}
if(generated_types[form.form_type] != "Payday") return form.nextStep();
else if(elem.value >= 700) return form.nextStep();
alert("You must be making at least $700 per month to qualify.");
}.bind(this);
this.fields['state_selection'] = function(elem,form)
{
  if ((form.form_type == 1 || form.form_type == 904) && (($F(elem) == 'ab') || ($F(elem) == 'bc') || ($F(elem) == 'mb') || ($F(elem) == 'nb') || ($F(elem) == 'nl') || ($F(elem) == 'nt') || ($F(elem) == 'ns') || ($F(elem) == 'nu') || ($F(elem) == 'on') ||  ($F(elem) == 'pe') || ($F(elem) == 'qc') || ($F(elem) == 'sk') || ($F(elem) == 'yt')))
  {			  	 	
  forwardTo("http://www.canadacheckadvance.com/?affp=" + $F('1_producer_h') + "&source=" + $F('1_source_h') + "&canada_province=" + elem.value)
  elem.value = 'null';
  
  }
  else if ((form.form_type == 1 || form.form_type == 904) && $F(elem) == 'az')
  {			  	 	
  forwardToAZ("https://www.leadpile.com/cgi-bin/manage_leads/shared/track.pl?action=click&campaign=374&affp=" + $F('1_producer_h') + "&source=" + $F('1_source_h') + "&ad=");		  
  elem.value = 'null';
  
  }	  
  else if (form.form_type == 2 && (($F(elem) == 'ab') || ($F(elem) == 'bc') || ($F(elem) == 'mb') || ($F(elem) == 'nb') || ($F(elem) == 'nl') || ($F(elem) == 'nt') || ($F(elem) == 'ns') || ($F(elem) == 'nu') || ($F(elem) == 'on') ||  ($F(elem) == 'pe') || ($F(elem) == 'qc') || ($F(elem) == 'sk') || ($F(elem) == 'yt')))
  {
  forwardTo("http://www.redleafautoloan.com/?affp=" + $F('1_producer_h') + "&source=" + $F('1_source_h') + "&canada_province=" + elem.value)
  elem.value = 'null';
  }
  else
  {
return form.nextStep();
  }
}.bind(this);
this.fields['canada_province'] = function(elem,form)
{
  if (form.form_type == 1 || form.form_type == 904 || form.form_type == 954)
  {
  	forwardTo("http://www.canadacheckadvance.com/?affp=" + $F('1_producer_h') + "&source=" + $F('1_source_h') + "&canada_province=" + elem.value)	  
  	elem.value = 'null';
  }
  else
  {
  	return form.nextStep();
  }
}.bind(this);
this.fields['military_status'] = function(elem,form)
{
if ($F(elem) == 'national_guard')
{
var message = 
'Thank you for your inquiry, however at this time we are unable to provide services to Guard/Reserve personnel.<br>';
niceAlert('', message); 	  
  	elem.value = 'null';
  //return form.nextStep();
}
}.bind(this);
this.fields['county_uk'] = function(elem,form)
{
  return form.nextStep();
}.bind(this);
this.fields['postal_code_ca'] = function(elem,form)
{
var regexp = /^[a-z]\d[a-z]\d[a-z]\d$/i;	
result = elem.value.match(regexp); 
if (result == null) 
{		
alert('Invalid Canada postal code');
elem.value="";
} 	
    	
}.bind(this);
this.fields['postal_code_uk'] = function(elem,form)
{
var regexp = /^[a-z]{2}\d[a-z]\d[a-z]{2}$/i;	
result = elem.value.match(regexp); 
if (result == null) 
{		
alert('Invalid UK postal code');
elem.value="";
} 	
    	
}.bind(this);
this.fields['unsecured_debt'] = function(elem,form)
{
return form.nextStep();
}.bind(this);
this.fields['creditor_checkbox'] = function(elem,form)
{
if(elem.checked == true)
if($(form.form_index + '_creditors_d').value == "")
$(form.form_index + '_creditors_d').value = 'Will provide later';
}.bind(this);
this.fields['nmb_terms'] = function(elem,form)
{
if ($F(elem) == 'no')
{
    alert('In order to be approved for the Secured Card, you need to agree to its Terms and Conditions');
    elem.value = 'null';
}
}.bind(this);
this.fields['has_bank_account'] = function(elem,form)
{  
if(generated_types[form.form_type] != "Nmb Secured Credit Card" )
{
if (($F(elem) == 'no'))
{
try
{
niceCustomAlert('', 'You have selected "I do not have a Bank Account":<br>&nbsp;&nbsp;&nbsp;&nbsp;Please confirm your selection and click "CONTINUE"', 380, 160, 'I DO NOT have a Bank Account', 'I ONLY a Savings Account', 'I DO have a Checking Account');
} catch (err) {}
    //window.open("http://affiliate.lsclicks.com/rd/r.php?sid=8&pub=200025&c1=" + $F('1_producer_h') + "&c2=&c3=&firstName=" + $F('1_first_name_h') + "&lastName=" + $F('1_last_name_h') + "&line1=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&zip=" + $F('1_postal_code_h'));
    	//window.open("http://affiliate.acntracker.com/rd/r.php?affid=620710&sid=16&c1=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&Email=" + $F('1_email_h'));         	      
    	//window.open("http://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&email=" + $F('1_email_h') + "&url=" + window.location.href);
    	//document.getElementById("no_bank").innerHTML = "<br>Setup a <a href='#' onClick=window.open('http://affiliate.acntracker.com/rd/r.php?affid=620710&sid=16&c1=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&Email=" + $F('1_email_h') + "')>New Bank Account</a><br>Everyone Approved: <a href='#' onClick=window.open('http://affiliate.acntracker.com/rd/r.php?affid=620710&sid=16&c1=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&Email=" + $F('1_email_h') + "')>click here</a>";	    	
var s = 0;
var e = 0;
var orig_fields = fields_per_type[this.form.form_type].replace(/\+/g,",").split(",");
for(var j = 0; j < orig_fields.length; j++)
if(id_to_field[orig_fields[j]] == "has_bank_account")
s = j+1;
else
if(id_to_field[orig_fields[j]] == "title_bonus")
e = j;
var coreg_fields = "";
for(var sec in secondary_types)
if(secondary_types[sec] == 'yes')
coreg_fields += "," + fields_per_type[sec].replace(/\+/g,",");
coreg_fields = coreg_fields.split(",");
var to_erase = new Array();
var reg = new RegExp("_bonus","i");
var x=0;
for(var j = s; j< e;j++)
{
var found = 0;
for(var l=0;l<coreg_fields.length;l++)
if(orig_fields[j] == coreg_fields[l])
found=1;
if(found == 0)
if(!reg.exec(id_to_field[orig_fields[j]]))
to_erase[x++] = orig_fields[j];
else
{
var bonus = id_to_field[orig_fields[j]].replace("_bonus","");
bonus = bonus.replace("_"," ");
if(typeof(inv_generated_types[bonus]) != "undefined")
{
var bonus_type = inv_generated_types[bonus];
var new_fields = fields_per_type[bonus_type].replace(/\+/g,",").split(",");
var bad = field_to_id['bank_name'];
for(var k = 0; k<new_fields.length;k++)
if(new_fields[k] == bad)
{
k = new_fields.length;
to_erase[x++] = orig_fields[j];
}
}
}
}
form.eraseFields(form.form_index,to_erase);
}
else
{
no_checking = 0;
return form.nextStep();
  }
}
else //for Nmb Secured Credit Card lead type only
{
  if (($F(elem) == 'no'))
  {
if (confirm('You have indicated that you\ndo NOT have a bank account.\n\nClick Ok if your selection is accurate.'))
    {
    home_phone = $F("1_producer_h") + '&first_name=' + $F("1_first_name_h") + '&last_name=' + $F("1_last_name_h") + '&address=' + $F("1_address_h") + '&city=' + $F("1_city_h") + '&state=' + $F("1_state_selection_h").toUpperCase() + '&postal_code=' + $F("1_postal_code_h") + '&home_phone=' + $F("1_home_phone_h") + '&Email=' + $F("1_email_h");
    
    	//window.open("http://affiliate.lsclicks.com/rd/r.php?sid=8&pub=200025&c1=" + $F('1_producer_h') + "&c2=&c3=&firstName=" + $F('1_first_name_h') + "&lastName=" + $F('1_last_name_h') + "&line1=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&zip=" + $F('1_postal_code_h'));         	      
    	window.open("https://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&email=" + $F('1_email_h') + "&url=" + window.location.href);
    	document.getElementById("no_bank").innerHTML = "<br>Setup a <a href='#' onClick=window.open('https://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&Email=" + $F('1_email_h') + "')>New Bank Account</a><br>Everyone Approved: <a href='#' onClick=window.open('https://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&email=" + $F('1_email_h') + "')>click here</a>";
form.eraseFields(form.form_index,field_to_id['nmb_bank_name']);
form.eraseFields(form.form_index,field_to_id['account_number']);
form.eraseFields(form.form_index,field_to_id['routing_number']);
}
else
{ elem.value = 'null'; }  
  	
  }
  else
  {
    return form.nextStep();
}
  	
}
}.bind(this);
this.fields['income_type'] = function(elem, form)
{
if(generated_types[form.form_type] == "Payday UK")
fields = field_to_id['occupation'] + "+" + field_to_id['employer'] + "+" + field_to_id['company_department'] + "+"  + field_to_id['supervisor_name'] + "+" + field_to_id['supervisor_phone_uk'] + "+" + field_to_id['work_phone_uk'] + "+" + field_to_id['months_employed'];
else
fields = field_to_id['occupation'] + "+" + field_to_id['employer'] + "+" + field_to_id['supervisor_name'] + "+" + field_to_id['supervisor_phone'] + "+" + field_to_id['work_phone'] + "+" + field_to_id['months_employed'];
if ($F(elem) == 'employment') form.addAfter(form.form_index,fields, form.form_index + '_income_type_h');
else form.eraseFields(form.form_index,fields);
return form.nextStep();
}.bind(this);
this.fields['income_type_ca'] = function(elem, form)
{
return form.nextStep();
}.bind(this)
this.fields['income_type_uk'] = function(elem, form)
{
return form.nextStep();
}.bind(this)
this.fields['debt_relief_confirm'] = function(elem, form)
{
if (($F(elem) == 'yes'))
return form.nextStep();
else
{			
    var message = 'Thank you for your interest. Unfortunately this program is <br />designed for Debt Relief, and is NOT A LOAN program.';
niceAlert('', message, 500, '', 'Yes, I need Debt Relief', 'No, I need a Loan'); 
elem.value = 'null';
}
}.bind(this)
this.fields['credit_check'] = function(elem, form)
{
if(elem.value != '')
{
if (($F(elem) == 'yes'))
$(form.form_index + '_credit_check_h').value = 'yes';
else
{
$(form.form_index + '_credit_check_h').value = 'no';
var bonus = $(form.form_index + '_auto_financing_bonus_h');
if (bonus) bonus.value = '';
}
return form.nextStep();
}
}.bind(this);
this.fields['sms_agree'] = function(elem, form)
{
if(elem.value != '')
{
if (($F(elem) != 'yes'))
{
$(form.form_index + '_sms_phone_part1').value = '000';
$(form.form_index + '_sms_phone_part2').value = '000';
$(form.form_index + '_sms_phone_part3').value = '0000';
$(form.form_index + '_sms_provider_d').selectedIndex = $(form.form_index + '_sms_provider_d').length-1;
}
}
}.bind(this);
this.fields['routing_number'] = function(elem, form)
{
if(!checkABA(elem))
{
alert("The Bank Routing Number you have entered appears to be incorrect.\n\nYou may find the 9 digits Bank Routing Number\nat the bottom of your checks,\nto the LEFT of your bank account number.\n\nPlease try again.\n\nCANADIAN accounts: please type in 123123123 to continue.");
Field.activate(elem);
}
}.bind(this);
this.fields['eclub_premier_agree'] = function(elem, form)
{
if($F(elem) == "no")
{
alert("Please agree to the terms and conditions below:");
}
else
return form.nextStep();
}.bind(this);
this.fields['homeowner_bonus'] = function(elem,form)
{
if(elem.value != '')
{
this.add_bonus_fields("Homeowner",elem);
return form.nextStep();
}
}.bind(this);
this.fields['credit_repair_bonus'] = function(elem,form) { this.add_bonus_fields("credit repair",elem); }.bind(this);
this.fields['car_insurance_bonus'] = function(elem,form) { this.add_bonus_fields("car insurance",elem); }.bind(this);
this.fields['life_insurance_bonus'] = function(elem,form) { this.add_bonus_fields("life insurance",elem); }.bind(this);
this.fields['student_loan_consolidation_bonus'] = function(elem,form) { this.add_bonus_fields("student loans consolidation",elem); }.bind(this);
this.fields['home_based_business_bonus'] = function(elem,form) { this.add_bonus_fields("home based business",elem); }.bind(this);
this.fields['health_insurance_bonus'] = function(elem,form) { this.add_bonus_fields("health insurance",elem); }.bind(this);
this.fields['home_improvement_bonus'] = function(elem,form) { this.add_bonus_fields("home improvement",elem); }.bind(this);
this.fields['home_security_system_bonus'] = function(elem,form) { this.add_bonus_fields("security systems",elem); }.bind(this);
this.fields['car_warranty_bonus'] = function(elem,form) { this.add_bonus_fields("car warranty",elem); }.bind(this);
this.fields['equipment_leasing_bonus'] = function(elem,form) { this.add_bonus_fields("equipment leasing",elem); }.bind(this);
this.fields['security_systems_bonus'] = function(elem,form) { this.add_bonus_fields("security systems",elem); }.bind(this);
this.fields['business_opportunities_bonus'] = function(elem,form) { this.add_bonus_fields("business opportunities",elem); }.bind(this);
this.fields['credit_card_processing_bonus'] = function(elem,form) { this.add_bonus_fields("credit card processing",elem); }.bind(this);
this.fields['internet_marketing_services_bonus'] = function(elem,form) { this.add_bonus_fields("internet marketing services",elem); }.bind(this);
this.fields['it_consultant_bonus'] = function(elem,form) { this.add_bonus_fields("it consultant",elem); }.bind(this);
this.fields['outsourcing_bonus'] = function(elem,form) { this.add_bonus_fields("outsourcing",elem); }.bind(this);
this.fields['voip_bonus'] = function(elem,form) { this.add_bonus_fields("voip",elem); }.bind(this);
this.fields['web_developers_bonus'] = function(elem,form) { this.add_bonus_fields("web developers",elem); }.bind(this);
this.fields['web_design_bonus'] = function(elem,form) { this.add_bonus_fields("web design",elem); }.bind(this);
this.fields['web_hosting_bonus'] = function(elem,form) { this.add_bonus_fields("web hosting",elem); }.bind(this);
this.fields['home_warranty_bonus'] = function(elem,form) { this.add_bonus_fields("home warranty",elem); }.bind(this);
this.fields['bankruptcy_or_foreclosure'] = function(elem,form) { if(elem.value != ''){ return form.nextStep();} }.bind(this);
this.fields['bankruptcy_bonus'] = function(elem,form)
{
if(elem.value != '')
{
if ($F(elem) == 'yes')
{
alert('You have selected to be contacted by a Bankruptcy Attorney\nwho can answer your questions and assist you with your financial concerns.\n\nPlease expect a call from a live agent in less than 30 minutes!');
this.add_bonus_fields("Bankruptcy",elem);
}
else
{
if ($F(elem) == 'yes_call_later')
{
elem.value='yes';
this.add_bonus_fields("Bankruptcy",elem,'You have selected to be contacted by a Bankruptcy Attorney\nwho can answer your questions and assist you with your financial concerns.\n\nPlease CLICK OK to confirm or Cancel to void this selection.');
elem.value='yes_call_later';
}
}
return form.nextStep();
}
}.bind(this);
this.fields['medical_debt_bonus'] = function(elem,form)
{
if(elem.value != '')
{
if ($F(elem) == 'yes')
{        
   	alert('"You have selected to be contacted by a Medical Debt Specialist who can answer your questions and help you saving on your Health Care Costs". \n\nPlease expect a call from a specialist shortly');
this.add_bonus_fields("Medical Debt",elem);
}
return form.nextStep();
}
}.bind(this);
this.fields['debt_consolidation_bonus'] = function(elem,form)
{
if(elem.value != '')
{
this.add_bonus_fields("Debt Consolidation",elem);
return form.nextStep();
}
}.bind(this);
this.fields['debt_settlement_bonus'] = function(elem,form)
{
if (elem.value != '')
{
this.add_bonus_fields("Debt Settlement",elem);
return form.nextStep();
}
}.bind(this);
this.fields['save_your_identity_now_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes')
{
alert('You have selected to receive the "Save My Identity Now" service.\n\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT ');
this.add_bonus_fields("SYIN",elem);
} else {
return form.nextStep();
}
}
}.bind(this);
this.fields['eclubusa_bonus'] = function(elem,form)
{
if (elem.value != '')
{
this.add_bonus_fields("Eclubusa",elem);     
    if ($F(elem) == 'yes') {        
document.getElementById('1_eClubUsaAgreement').style.height='180px';        
  document.getElementById('1_accountNumber').innerHTML = $F("1_account_number_h");
alert('You have selected to receive the "eClubUSA" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');		  
document.getElementById('1_eClubUsaAgreement').focus();  
} else {
      document.getElementById('1_eClubUsaAgreement').style.height='1px';
}
}
}.bind(this);
this.fields['eclubusa_nmb_bonus'] = function(elem,form)
{
if (elem.value != '')
{
this.add_bonus_fields("Eclubusa Nmb",elem);     
    if ($F(elem) == 'yes') {        
document.getElementById('1_eClubUsaAgreement').style.height='180px';        
alert('You have selected to receive the "eClubUSA" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');
document.getElementById('1_eClubUsaAgreement').focus();  
} else {
      document.getElementById('1_eClubUsaAgreement').style.height='1px';
}
}
}.bind(this);
this.fields['platinumclub_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes')
{
alert('You have selected to receive the "Platinum Club" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');
this.add_bonus_fields("Platinumclub",elem);
} else {
return form.nextStep();
}
}
}.bind(this);
this.fields['credit_report_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes')
{
alert('You have selected to receive the "Credit Report" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');
this.add_bonus_fields("Credit Report",elem);
} else {
return form.nextStep();
}
}
}.bind(this);
this.fields['cashforgold_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes') {
this.add_bonus_fields("CashForGold",elem);
}
return form.nextStep();
}
}.bind(this);
this.fields['startercredit_bonus'] = function(elem,form)
{
if (elem.value != '')
{
this.add_bonus_fields("StarterCredit",elem);
if ($F(elem) == 'yes')
{         
document.getElementById('1_starterCreditAgreement').style.height='180px';        
alert('You have selected to receive the "Starter Credit Direct" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');       
document.getElementById('1_starterCreditAgreement').focus();
if (typeof $(form.form_index + '_startercreditcard_bonus_d') != "undefined") 
form.eraseFields(form.form_index,field_to_id['startercreditcard_bonus']);
}
else
{
      document.getElementById('1_starterCreditAgreement').style.height='1px';
} 
}
}.bind(this);
this.fields['startercreditcard_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes')
{
alert('You have selected to receive the "Starter Credit Direct" service. PLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');
this.add_bonus_fields("StarterCredit",elem);
} else {
return form.nextStep();
}
}
}.bind(this);
this.fields['websavers_club_bonus'] = function(elem,form)
{
if (elem.value != '')
{
this.add_bonus_fields("Websavers Club",elem);
if ($F(elem) == 'yes')
{         	      
document.getElementById('1_websaverClubAgreement').style.height='180px';
alert('You have selected to receive the "Websavers Club" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');
document.getElementById('1_websaverClubAgreement').focus();
}
else
{
document.getElementById('1_websaverClubAgreement').style.height='1px';		
} 
}
}.bind(this);
this.fields['eplatinum_bonus'] = function(elem,form)
{
if (elem.value != '')
{
this.add_bonus_fields("Eplatinum",elem);
if ($F(elem) == 'yes')
{         
document.getElementById('1_ePlatinumAgreement').style.height='180px';        
alert('You have selected to receive the "ePlatinum" service.\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');       
document.getElementById('1_ePlatinumAgreement').focus();
}
else
{
      document.getElementById('1_ePlatinumAgreement').style.height='1px';
} 
}
}.bind(this);
this.fields['loan_modification_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes')
{
this.add_bonus_fields("Loan Modification",elem);
}
return form.nextStep();
}
}.bind(this);
this.fields['1st_credit_now_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if ($F(elem) == 'yes')
{
alert('You have selected to receive the "First Credit Now" service.\n\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT ');
this.add_bonus_fields("FCN",elem);
} else {
return form.nextStep();
}
}
}.bind(this);
this.fields['cashpass_bonus'] = function(elem,form)
{
if (elem.value != '')
{
if (($F(elem) == 'yes'))
{
alert('You have selected to receive the CashPass card.\n\nPLEASE REVIEW AGREEMENT LOCATED BELOW AND CLICK NEXT');
this.add_bonus_fields("Cashpass",elem);
}
else
{
this.add_bonus_fields("Cashpass",elem);
return form.nextStep();
}
}
}.bind(this);
this.fields['car_purchase_bonus'] = function(elem,form)
{
if(elem.value != '')
{
this.add_bonus_fields("Car Purchase",elem);
return form.nextStep();
}
}.bind(this);
this.fields['rate_type'] = function(elem,form)
{
if(elem.value != '')
{
return form.nextStep();
}
}.bind(this);
this.fields['currently_in_bankruptcy'] = function(elem,form)
{
if(elem.value != '')
{
return form.nextStep();
}
}.bind(this);
this.fields['past_due_months'] = function(elem,form)
{
if(elem.value != '')
{
return form.nextStep();
}
}.bind(this);
this.fields['home_purchase_bonus'] = function(elem, form)
{
if(elem.value != '')
{
this.add_bonus_fields("Home Purchase",elem);
return form.nextStep();
}
}.bind(this);
this.fields['pre_paid_credit_card_bonus'] = function(elem, form)
{
if(elem.value != '')
{
if (($F(elem) == 'yes'))
{
alert('You have selected to receive the SterlingVIP card.\n\nPLEASE SCROLL DOWN, REVIEW AGREEMENT AND CLICK NEXT');
this.add_bonus_fields("Prepaid Credit Card",elem);
}
else
{
this.add_bonus_fields("Prepaid Credit Card",elem);
return form.nextStep();
}
}
}.bind(this);
this.fields['pre_auto_financing_bonus'] = function(elem, form)
{
if(elem.value != '')
{
if(this.add_bonus_fields("Auto Financing",elem,"Thank you! Click OK to confirm your selection for a Free - No Obligation auto financing quote.\n\n(bad or no credit OK with a free credit check)"))
{
this.form.eraseFields(this.form.form_index,field_to_id['auto_financing_bonus']);
this.form.eraseFields(this.form.form_index,field_to_id['car_purchase_bonus']);
}
return form.nextStep();
}
}.bind(this);
this.fields['auto_financing_bonus'] = function(elem, form)
{
if(elem.value != '')
{
if(!this.add_bonus_fields("Auto Financing",elem,"Thank you! Click OK to confirm your selection for a Free - No Obligation auto financing quote.\n\n(bad or no credit OK with a free credit check"))
this.form.eraseFields(this.form.form_index,field_to_id['car_purchase_bonus']);
else
this.form.eraseFields(this.form.form_index,field_to_id['car_purchase_bonus']);
return form.nextStep();
}
}.bind(this);
},
clear_bonus_fields: function(fields,orig_fields,secondary)
{
var x=0;
var newfields = new Array();
var found = 0;
for(j=0;j<fields.length;j++)
{
found = 0;
for(k=0;k<orig_fields.length && !found;k++)
if(orig_fields[k] == fields[j])
found = 1;
if(found == 0)
newfields[x++] = fields[j];
}
if($(secondary).value != 'yes')
$(secondary).value = 'no';
this.form.eraseFields(this.form.form_index,newfields);
},
add_bonus_fields: function(key,elem,confirm_msg)
{
if(elem.value == '') return;
var y = 0;
var bonus_type = inv_generated_types[key.toLowerCase()];
var newfields = new Array();
var secondary = this.form.form_index + '_' + bonus_type + '_h';
var fields = fields_per_type[bonus_type].split(",");
var new_fields = fields_per_type[bonus_type].replace(/\+/g,",").split(",");
var orig_fields = fields_per_type[this.form.form_type].replace(/\+/g,",");
for(var sec in secondary_types)
if(secondary_types[sec] == 'yes' && sec != key)
orig_fields += "," + fields_per_type[sec].replace(/\+/g,",");
orig_fields = orig_fields.split(",");
if ($F(elem) == 'yes' || $F(elem) == 'own' || $F(elem) >= 1000 || $F(elem) == 'rent')
{
if(confirm_msg != "" && typeof(confirm_msg) != "undefined")
if(!confirm(confirm_msg))
{
this.clear_bonus_fields(new_fields,orig_fields,secondary);
secondary_types[bonus_type] = 'no';
return false;
}
for(j=0;j<fields.length;j++)
{
field_ids = fields[j].split("+");
x=0;
temp = new Array();
for(k=0;k<field_ids.length;k++)
{
if(typeof($(this.form.form_index + '_' + id_to_field[field_ids[k]] + '_h')) == "undefined")
{
if(id_to_field[field_ids[k]].match("_bonus") == null)
{
temp[x] = field_ids[k];
x++;
}
}
}
temp = temp.join("+");
if(temp)
{
newfields[y] = temp;
y++;
}
}
newfields = newfields.join();
if($(secondary).value != 'yes')
$(secondary).value = 'secondary';
secondary_types[bonus_type] = 'yes';
if(newfields.length != 0)
this.form.addAfter(this.form.form_index,newfields, this.form.form_index + '_'+elem.name+'_h');
}
else
{
if(new_fields.length != 0) {
this.clear_bonus_fields(new_fields,orig_fields,secondary);
} else {
if ($(secondary).value != 'yes')
$(secondary).value = 'no';
}
return false;
}
return true;
},
proceed: function(elem, form) { form.nextStep(); },
setup: function() { this.form.visible_form_elements.each(function(elem) { if (elem.name && this.fields[elem.name] && !elem.id.match(/_part/)) Event.observe(elem, 'change', this.call_onchange.bindAsEventListener(this)); }.bind(this)); },
call_onchange: function(event) { elem = Event.element(event);if (method = this.fields[elem.name]) if(method(elem, this.form) === false) Event.stop(event); }
};
var active_lead_forms = 0;
var page_count = 1;
var max_page_count = 1;
var inv_generated_types = {};
var secondary_types = {};
var field_to_id = {};
var compiled_form = {};
var property_value, mortgage_balance, second_mortgage, additional_cash;
var no_checking = 0;
function image_with_trans(src)
{
if (navigator.appVersion.match(/\bMSIE 6\b/))
return '<img style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + src + '\', sizingMethod=\'scale\')" src="' + base_url + 'leadpile/images01/spacer.gif" />';
return '<img src="' + src + '" />';
}
function openNewWindow(url,w,h) {
var newWin = Math.floor(Math.random()*100);
if(!w) w = 350;
if(!h) h = 450;
window.open(url,newWin,'width=' + w + ',height=' + h + ',scrollbars=1,toolbar=0,menubar=0,resizable=1');
return false;
}
var url = '';
function forwardTo(thisUrl){
if(thisUrl){
url = thisUrl;
var message =
'You have selected a Canadian Province.<br><br>' +
'<div align=\'center\'><img src=\'https://www.leadpile.com/leadpile/images01/progress_bar.gif\'></div><br><br>' +
'Please wait a few seconds while the Online Request for Canada loads.<br>';
niceAlert('', message, '', '', ':: Continue ::');
setTimeout(function(){document.location.href=url;},5000);
}
}
function customCommandAccept() {
if(url) document.location.href=url;
} // END: customCommandAccept
function customCommandDecline(){
window.onbeforeunload = null;window.onunload = null;
window.open("https://www.leadpile.com/leadpile/debt_transition.html", "_parent");
} // END: customCommandDecline
function forwardToAZ(thisUrl){
if(thisUrl){
url = thisUrl;
var message =
'Congratulations! Based on your State selection,<br>you have been matched with our preferred provider.<br><b>$250 up to $2500</b> with no paperwork and no hassle!<br><br>' +
'<div align=\'center\'><img src=\'https://www.leadpile.com/leadpile/images01/progress_bar.gif\'></div><br>' +
'<div align=\'center\'>Please wait a few seconds.</div>';
niceAlert('', message, 420, '', ':: Continue ::');
setTimeout(function(){document.location.href=url;},3000);
}
}
function customCommand(){  
if(url) document.location.href=url;
}
function check_domain() {
var domain = window.location.host;
var hash = hex_md5(domain);
if (hash == '60d2ad874ff8efb2d494701e997e39bc') return false;
if (hash == '49d22f3f943bca6876a5afcb375ffc54') return false;
if (hash == '6932a2a47ecc5d64e4aaddc82f14fd05') return false;
if (hash == '052e6fb1938426de34f11255180c162d') return false;
if (hash == '392eaf8a75007121d79daef8c21e70f8') return false;
if (hash == '8be44f6ae9d391c9fc3b4b7cbf597ffd') return false;
return true;
}
var LeadForm = Class.create();
LeadForm.prototype = {
initialize: function(hash)
{
if (!check_domain()) return false;
if(typeof(param_style) == "undefined") param_style = null;
if(typeof(param_site) == "undefined") param_site = null;
if(typeof(param_producer) == "undefined") param_producer = null;
if(typeof(param_ajax_submit) == "undefined") param_ajax_submit = null;
if(typeof(param_div) == "undefined") param_div = null;
if(typeof(param_type) == "undefined") param_type = null;
if(typeof(param_links) == "undefined") param_links = null;
if(typeof(param_autosave) == "undefined") param_autosave = null;
if(typeof(param_confpage) == "undefined") param_confpage = null;
if(typeof(param_nowait) == "undefined") param_nowait = null;
if(typeof(param_telemarketing) == "undefined") param_telemarketing = 'no';
if(typeof(param_display_info) == "undefined") param_display_info = 'yes';
if(typeof(hash) == "undefined")
var hash = {};
hash.style = hash.style || param_style;
hash.site = hash.site || param_site;
hash.producer = hash.producer || param_producer;
hash.ajax_submit = hash.ajax_submit || param_ajax_submit;
hash.div =  hash.div || param_div;
hash.types = hash.types || param_type;
hash.links =  hash.links || param_links;
hash.autosave =  hash.autosave || param_autosave;
hash.confpage =  hash.confpage || param_confpage;
hash.telemarketing =  hash.telemarketing || param_telemarketing;
hash.display_info =  hash.display_info || param_display_info;
if((typeof(hash.nowait)=="undefined" || hash.nowait == null) && param_nowait != null)
hash.nowait = param_nowait;
else
{
re = /https/i;
matches = re.exec(window.location);
if (matches)
hash.nowait = 1;
}
active_lead_forms += 1;
this.form_index  = active_lead_forms;
this.consumer_id = hash.consumer_id || null;
this.consumer_key = hash.consumer_key || null;
this.form_type    = hash.form_type || 0;
this.types      = $H(generated_types);
this.fields     = $H(fields_per_type);
this.posturl    = posturl;
this.style      = hash.style || null;
this.site     = hash.site || '';
this.instance_name  = hash.instance_name || '';
this.links      = hash.links || '';
this.producer   = hash.producer || '';
this.ajax_submit  = hash.ajax_submit || false;
this.came_from    = param_came_from || '';
this.div      = hash.div || '';
this.auto_save    = hash.auto_save || 1;
this.confpage     = hash.confpage || "";
this.nowait     = hash.nowait || "";
this.telemarketing  = hash.telemarketing || "no";
this.display_info = hash.display_info || "yes";
if(this.telemarketing  != 'yes') this.telemarketing = 'no';
if(this.display_info  != 'yes') this.display_info = 'no';
info_link = '<a name="pop" style="cursor:pointer;" onclick="popUp(\'' + base_url + 'leadpile/i-savenow/index.php?source=form&lead_type=' + generated_types[this.form_type] + '\',400,300);"><img src="' + base_url + 'leadpile/images01/info.gif" width=15 height=15 border=0 alt="Click for details on this Online Request."></a>';
if (hash.types == '1')
{
this.show_terms   = '';
}
else if (hash.types == '904')
{
this.show_terms   = '';
}
else
{
this.show_terms   = '';
}
if(this.instance_name != '')
this.instance_name = this.instance_name + "_" + this.form_index;
valid_types = $A(hash.types || []);
if (valid_types.length > 0)
{
for(j=0;j<valid_types.length;j++)
if (group_map[valid_types[j]])
valid_types[j] = group_map[valid_types[j]];
this.types.keys().each(function(key)
{
if (valid_types.include(key)) { throw $continue; }
delete this.types[key];
}.bind(this));
}
this.onchanges = new FormChanges(this);
if(this.nowait == "")
{
Event.onDOMReady(function()
{
if((this.div != '' && $(this.div).innerHTML == '') || !this.recentlySubmitted())
{
this.createFormHTML();
if (this.recentlySubmitted())
{
this.visible_form_elem.update('We have received your information within the past 10 minutes; there is no need to resubmit.');
}
else if (!this.populateFromServer())
{
this.producer = affp_producer(this.producer,this.came_from);
this.createhiddenForm();
}
}
}.bindAsEventListener(this));
}
else
{
if((this.div != '' && $(this.div).innerHTML == '') || !this.recentlySubmitted())
{
this.createFormHTML();
if (this.recentlySubmitted())
{
this.visible_form_elem.update('We have received your information within the past 10 minutes; there is no need to resubmit.');
}
else if (!this.populateFromServer())
{
this.producer = affp_producer(this.producer,this.came_from);
this.createhiddenForm();
}
}
}
},
populateFromServer: function() {
email = null;
string = (document.baseURI || document.URL).split('?');
if (string[1]) {
string[1].split('&').each(
function(pair) {
parts = pair.split('=');
if (parts[0] == 'email') {
email = parts[1];
}
}
);
}
if (!email && !this.consumer_id) { return false; }
if (email != null) {
Element.update(this.visible_form_elem,
'Retrieve my previous submission:<br />' +
'Email: <input type="text" id="' + this.form_index + '_email_d" value="' + email + '" /><br />' +
'Phone Number: <input type="text" id="' + this.form_index + '_phone_d" /><br />' +
'<input type="button" id="' + this.form_index + '_find_button" value="Find my submission" />');
Event.observe(this.form_index + '_find_button', 'click', function(event) {
var uri = location.href;
uri = uri.split("//");
var proto = uri[0];
uri = uri[1];
uri = uri.split("/");
uri = uri[0];
new Ajax.Request(
'lead_bridge.php',
{
parameters: "email=" + $F(this.form_index + '_email_d') + "&phone=" + $F(this.form_index + '_phone_d'),
onComplete: function(t, json) {
this.json = $H(json || {});
this.createhiddenForm();
}.bind(this)
}
);
}.bindAsEventListener(this));
} else if (this.consumer_id != null) {
var request_url = "/lead_bridge.php";
var test_str = "";
if (base_url.match(/alan/)) {
request_url = 'http://alan.test.leadpile.com/leadpile/lead_bridge.php';
test_str = "&test=1"
}
new Ajax.Request(
request_url,
{
parameters: "consumer_id=" + this.consumer_id + "&consumer_key=" + this.consumer_key + test_str,
onComplete: function(t, json) {
this.json = $H(json || {});
this.createhiddenForm();
}.bind(this)
}
);
}
return true;
},
createFormHTML: function() {
this.visible_form = 'lead_form_' + this.form_index;
form  = '<center>';
//form += '<div id="progress_bar" style="display:none;">';
//form += '<div id="form_info"></div>';
//form += 'Progress: <div id="progress_bar_out"><div id="progress_bar_in"></div></div>';
//form += '</div>';
form += '<form id="' + this.visible_form + '" class="lead_form"></form>';
form += '</center>';
if(BrowserDetect.browser == 'Explorer')
{
dcss = base_url + 'leadpile/styles/default.css';
if (document.createStyleSheet)
document.createStyleSheet(dcss);
else
new Insertion.After(document.getElementsByTagName("head")[0],'<link href="' + dcss +'" media="screen" rel="Stylesheet" type="text/css" />');
}
if (this.style && !this.style.match(/[^a-zA-Z0-9_\-\/]+/))
{
css = base_url + 'leadpile/styles/' + this.style + '/style.css'
if (document.createStyleSheet)
document.createStyleSheet(css);
else
new Insertion.After(document.getElementsByTagName("head")[0],'<link href="' + css +'" media="screen" rel="Stylesheet" type="text/css" />');
var header = image_with_trans(base_url + "leadpile/styles/" + this.style + "/top.png");
var footer = image_with_trans(base_url + "leadpile/styles/" + this.style + "/footer.png");
if (navigator.appVersion.match(/\bMSIE 6\b/))
middle = '  <tr><td style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + base_url + 'leadpile/styles/' + this.style + '/middle.l.png\', sizingMethod=\'scale\' class="d_left_spacer left_spacer")"><img src="'+base_url+'leadpile/images01/spacer.gif" class="d_left_spacer left_spacer" height="1" /></td><td class="form_container d_middle_spacer middle_spacer" style="background-image:url(' + base_url + 'leadpile/styles/' + this.style + '/middle.m.png);text-align:center;"><div class="d_middle_spacer middle_spacer" style="padding:0 0 0 0;">' + form + '</div></td><td style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + base_url + 'leadpile/styles/' + this.style + '/middle.r.png\', sizingMethod=\'scale\')" class="d_right_spacer right_spacer"><img src="'+base_url+'leadpile/images01/spacer.gif" class="d_right_spacer right_spacer" height="1" /></td></tr>';
else
middle = '  <tr><td style="background:url(' + base_url + 'leadpile/styles/' + this.style + '/middle.l.png) top left repeat-y;"><img src="'+base_url+'leadpile/images01/spacer.gif" class="d_left_spacer left_spacer" height="1" /></td><td class="form_container d_middle_spacer middle_spacer" style="background:url(' + base_url + 'leadpile/styles/' + this.style + '/middle.m.png) top left repeat-y;"><div class="d_middle_spacer middle_spacer" style="text-align: center;padding: 0 0 0 0;">' + form + '</div></td><td style="background:url(' + base_url + 'leadpile/styles/' + this.style + '/middle.r.png)" class="d_right_spacer right_spacer"><img src="'+base_url+'leadpile/images01/spacer.gif" class="d_right_spacer right_spacer" height="1" /></td></tr>';
form = '<table class="form_table" border=0 cellspacing="0" cellpadding="0">' +
'  <tr><td colspan=3 class="form_table_header">' + header + '</td></tr>' +
middle +
'  <tr><td colspan=3 class="form_table_footer">' + footer + '</td></tr>' +
'</table>';
}
if(BrowserDetect.browser != 'Explorer')
{
dcss = base_url + 'leadpile/styles/default.css';
if (document.createStyleSheet)
document.createStyleSheet(dcss);
else
new Insertion.After(document.getElementsByTagName("head")[0],'<link href="' + dcss +'" media="screen" rel="Stylesheet" type="text/css" />');
}
script_tags = $$('script').map(function(e) {return e.innerHTML.match(/new LeadForm/) ? e : undefined}).compact();
if(this.div == '')
new Insertion.After(script_tags[(this.form_index - 1)], form);
else
$(this.div).innerHTML = form;
this.visible_form_elem = $(this.visible_form);
},
createhiddenForm: function(producer) {
this.hidden_form = 'hidden_form_' + this.form_index;
Event.observe(this.visible_form_elem, 'submit', Event.stop);
typeOptions = '';
hiddenForm  = '<form style="display:none;" id="' + this.hidden_form + '" name="' + this.hidden_form + '" method="post" action="' + this.posturl + '" target="_top">';
$H(generated_types).each(function(pair)
{
inv_generated_types[pair.value.toLowerCase()] = pair.key;
hiddenForm  += '  <input type="hidden" id="' + this.form_index + '_' + pair.key + '_h" name="' + pair.key + '" />';
}.bind(this));
$H(formField).each(function(pair)
{
var t;
while(t = formField[pair.key].match(/<(\d+)>/))
formField[pair.key] = formField[pair.key].replace("<" + t[1] + ">",id_to_field[t[1]]);
}.bind(this));
$H(id_to_field).each(function(pair)
{
field_to_id[pair.value] = pair.key;
}.bind(this));
this.types.each(function(pair)
{
typeOptions += '  <option id="' + this.form_index + '_request_option_value_' + pair.key + '" value="' + pair.key + '">' + pair.value + '</option>';
}.bind(this));
hiddenForm += '  <input type="hidden" class="ignore" id="' + this.form_index + '_site_h" name="site" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_links_h" name="links" value="' + this.links + '"/>' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_rpt_h" name="rpt" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_came_from_h" name="came_from" value="' + this.came_from + '"/>' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_confpage_h" name="confpage" value="' + this.confpage + '"/>' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_source_h" name="source" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_lead_language_h" name="lead_language" value="' + lead_language + '"/>' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_campaign_h" name="campaign" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_action_tracking_id_h" name="action_tracking_id" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_captcha_ignore_h" name="captcha_ignore" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_ad_h" name="ad" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_telemarketing_h" name="telemarketing" value="' + this.telemarketing + '" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_referrer_h" name="referrer" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_producer_h" name="producer" value="' + this.producer + '" />' +
"</form>";
/*   '  <input type="hidden" class="ignore" id="' + this.form_index + '_reference_2_first_name_h" name="reference_2_first_name" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_reference_2_last_name_h" name="reference_2_last_name" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_reference_2_relationship_h" name="reference_2_relationship" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_reference_2_phone_h" name="reference_2_phone" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_mother_maiden_name_h" name="mother_maiden_name" value="Unknown" />' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_supervisor_name_d" name="supervisor_name" value="employer"/>' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_supervisor_phone_h" name="supervisor_phone" value="8778888888"/>' +
'  <input type="hidden" class="ignore" id="' + this.form_index + '_best_time_to_call_d" name="best_time_to_call" value="anytime" />' +
*/
new Insertion.After(this.visible_form, hiddenForm);
this.hidden_form_elem  = $(this.hidden_form);
trackLead(this.site,this.form_index);
if (this.types.keys().length == 1)
this.createVisibleForm(this.types.keys().last(), true);
else
{
Element.update(this.visible_form_elem,
'Select a service type:<br />' +
'<select id="' + this.form_index + '_request_d">' +
'  <option class="head">Choose one...</option>' +
'  <option class="head">----------</option>' +
typeOptions +
'</select>' + this.show_terms);
Event.observe(this.form_index + '_request_d', 'change', function(event)
{
elem = Event.element(event);
if (elem.selectedIndex > 1)
{
this.show_terms = false;
this.createVisibleForm($F(elem), true);
}
}.bindAsEventListener(this));
}
},
createVisibleForm: function(type, focus) {
if (!type) { return; }
this.form_type = type;
this.form_page = this.fields[type].split(",");
this._addFields(this.form_index,this.fields[type], this.form_index + '_' + type + '_h', 'before', false);
this.hidden_form_elements = Form.getElements(this.hidden_form_elem);
$(this.form_index + '_' + type + '_h').value = 'yes';
this.showFirstField(focus);
this.show_terms = false;
},
total_fields: function() {
count = 0;
this.hidden_form_elements.each(function(elem) {if (compiled_form[elem.name]) { count++; };}.bind(this));
return count;
},
completed_fields: function() {
completed = 0;
this.hidden_form_elements.each(function(elem) {
if (compiled_form[elem.name] && $F(this.form_index + '_' + elem.name + '_h')) { completed++; }}.bind(this));
return completed;
},
showFirstField: function(focus) {
elem = this.hidden_form_elements.find(function(felem) { return compiled_form[felem.name];});
if(typeof(elem)!="undefined") this.showField(elem, focus && elem.type != 'hidden');
},
saveTohiddenForm: function() {
this.visible_form_elements.each(function(elem)
{
if (elem.id.match(/_part1$/))
this.numJoin(elem);
if (hidden = $(this.form_index + '_' + elem.name + '_h'))
if(elem.type != "radio")
{
if (elem.name == 'property_value' || elem.name == 'mortgage_balance' || elem.name == 'second_mortgage' || elem.name == 'additional_cash')
{
if (elem.name == 'property_value')
{
property_value = $F(elem);
}
else if (elem.name == 'mortgage_balance')
{
mortgage_balance = $F(elem);
}
else if (elem.name == 'second_mortgage')
{
second_mortgage = $F(elem);
}
else if (elem.name == 'additional_cash')
{
additional_cash = $F(elem);
}
hidden.value = $F(elem) + '000';
}
else
hidden.value = $F(elem);
}
else
hidden.value = this.radio_value(elem);
}.bind(this));
},
radio_value: function(elem)
{
var all_elems = document.getElementsByName(elem.name);
for(var j=0;j<all_elems.length;j++)
if(all_elems[j].id.split("_")[0] == this.form_index)
if(all_elems[j].checked)
return all_elems[j].value;
return "";
},
numJoin: function(field) {
target = field.name.substr(1);
value = '';
this.visible_form_elements.each(function(elem)
{
if (elem.type != 'text' && elem.type != 'select-one') { throw $continue; }
if (elem.name == 'x' + target) { value = '' + value + '' + $F(elem); }
else if (elem.name == 'm' + target) { value = 1 * value +  1 * $F(elem); }
else if (elem.name == 'y' + target) { value = 1 * value + 12 * $F(elem); }
});
if (elem = $(this.form_index + '_' + target + '_h')) { elem.value = value; }
},
buildProgressBar: function(hash) {

if(type_info[this.form_type] != "")
if(this.display_info == "yes")
{
$('form_info').innerHTML = type_info[this.form_type];
$('form_info').style.display = "";
}
},
showField: function(elem, focus) {
if(max_page_count > 2)
{
if(BrowserDetect.browser == 'Explorer' && this.auto_save == 1)
{
window.onunload = function()
{
if($(this.form_index + '_email_h').value != "" && max_page_count > 2)
{
window.onbeforeunload = null;
$(this.form_index + '_captcha_ignore_h').value="ignore";
this.hidden_form_elem.submit();
window.onunload = null;
}
}.bind(this);
}
window.onbeforeunload = function (e)
{
var message = 'Your application is incomplete.  Please click CANCEL to complete the form.';
return message;
}.bind(this);
}
elem = $(elem);
if(typeof(elem) == 'undefined') return;
temp_form = compiled_form[elem.name].replace(/(type=\"text\")/gi, "$1 autocomplete=\"OFF\"");
temp_form = temp_form.replace(/id=\"/gi, "id=\"" + this.form_index + "_");
info_link = '';
if(max_page_count < 3)
lock_track = '';
else
lock_track = '';
error1=0;
next_click = '<input type="submit" class="button" id="' + this.form_index + '_next_button" value="Next &rarr;" onclick="if (no_checking==1) {window.open(\'https://www.leadpile.com/leadpile/no_acc_transition.html?';
try { $F("1_producer_h"); } catch(err)  { error1 = 1; next_click += '&producer='; }
if (error1==0) { next_click += '&producer=' + $F("1_producer_h"); } else { error1 = 0; }
try { $F("1_first_name_h"); } catch(err)  { error1 = 1; next_click += '&first_name='; }
if (error1==0) { next_click += '&first_name=' + $F("1_first_name_h"); } else { error1 = 0; }
try { $F("1_last_name_h");  } catch(err)  { error1 = 1; next_click += '&last_name=';}
if (error1==0) { next_click += '&last_name=' + $F("1_last_name_h"); } else { error1 = 0; }
try { $F("1_address_h"); }  catch(err)  { error1 = 1; next_click += '&address='; }
if (error1==0) { next_click += '&address=' + $F("1_address_h"); } else { error1 = 0; }
try { $F("1_city_h"); } catch(err) { error1 = 1; next_click += '&city='; }
if (error1==0) { next_click += '&city=' + $F("1_city_h"); } else { error1 = 0;  }
try { $F("1_state_selection_h"); }  catch(err)  { error1 = 1; next_click += '&state='; }
if (error1==0) { next_click += '&state=' + $F("1_state_selection_h").toUpperCase(); } else { error1 = 0; }
try { $F("1_postal_code_h"); }  catch(err)  { error1 = 1; next_click += '&postal_code='; }
if (error1==0) { next_click += '&postal_code=' + $F("1_postal_code_h"); } else { error1 = 0; }
try { $F("1_home_phone_h"); } catch(err)  { error1 = 1; next_click += '&home_phone='; }
if (error1==0) { next_click += '&home_phone=' + $F("1_home_phone_h"); } else { error1 = 0;}
try { $F("1_email_h"); } catch(err) { error1 = 1; next_click += '&email='; }
if (error1==0) { next_click += '&email=' + $F("1_email_h"); } else { error1 = 0; }
next_click += '&url=' + window.location.href;
if (error1==0) { next_click +=  '\');no_checking=0;window.onbeforeunload = null;window.onunload = null;$(\'hidden_form_1\').submit();}">&nbsp;'; }
form_items = temp_form + '  <div id="no_bank"></div> ' +
'' + lock_track + '&nbsp;' +
'<input type="button" class="button" id="' + this.form_index + '_back_button" value="&larr; Back">&nbsp;' + next_click +
info_link;
if (this.show_terms) form_items += this.show_terms;
Element.update(this.visible_form_elem, form_items);
Event.observe(this.form_index + '_back_button', 'click', function() { this.backStep(true); }.bindAsEventListener(this));
Event.observe(this.form_index + '_next_button', 'click', function() { this.nextStep(true); }.bindAsEventListener(this));
this.visible_form_elements = Form.getElements(this.visible_form_elem);
this.visible_form_elements.each(function(felem)
{
hidden = this.form_index + '_' + felem.name + '_h';
if (typeof($(hidden)) != 'undefined' && $F(hidden))
{
if(felem.type != 'radio')
{
if (felem.name == 'property_value' || felem.name == 'mortgage_balance' || felem.name == 'second_mortgage' || felem.name == 'additional_cash')
{
if (felem.name == 'property_value')
{
felem.value = property_value;
}
else if (felem.name == 'mortgage_balance')
{
felem.value = mortgage_balance;
}
else if (felem.name == 'second_mortgage')
{
felem.value = second_mortgage;
}
else if (felem.name == 'additional_cash')
{
felem.value = additional_cash;
}
}
else
felem.value = $F(hidden);
if (felem.type == 'hidden') { numSplit(felem); }
}
else
if(felem.id == this.form_index + "_" + $(hidden).value + "_" + felem.name + "_d")
felem.checked=true;
}
}.bind(this));
if(typeof(this.onchanges) != "undefined")
this.onchanges.setup();
this.setupAutotabHandlers();
if (focus && (felem = this.first_form_field()) && (felem.type != 'hidden')) {Field.focus(felem);}
this.buildProgressBar();
},
setupAutotabHandlers: function () {
autotab.elems = this.visible_form_elements;
$$('.autotab').each(function(elem) { Event.observe(elem, 'keyup', autoTab); });
},
recentlySubmitted: function()
{
return false; // eugen doesn't like this any more
if ((document.baseURI || document.URL).match(/test_mode/))  return false;
return getCookie('submitted_form') ? true : false;
},
nextStep: function(focus) {
page_count = page_count + 1;
if(page_count > max_page_count) max_page_count = page_count;
is_valid = true;
this.visible_form_elements.each(function(elem)
{
if (elem.type == 'button' || elem.type == 'submit') { throw $continue; }
if ((elem.name == 'second_pay_date' && !checkPayDate2(elem, $F(this.form_index + '_next_pay_date_d'), $F(this.form_index + '_pay_period_h'))) ||
(elem.name == 'postal_code'     && !checkZipCode($F(elem), $F(this.form_index + '_state_selection_h'))) ||
(elem.name == 'months_employed' && !checkEmployed($F(elem), $F(this.form_index + '_months_employed_d'))) ||
(elem.name == 'monthly_income'  && !checkIncome($F(elem), $F(this.form_index + '_monthly_income_d'))) ||
(elem.name == 'degree_program'  && !checkDegree($F(elem))))
{
is_valid = false;
throw $break;
}
else
if (elem.type == 'text' && elem.id.match(/_part\d+$/) && $F(elem).length != elem.size)
{
var elemname = elem.name;
if(elem.id.match(/_part\d+$/)) elemname = elem.name.substring(1);
alert('There are not enough digits!');
Field.focus(elem);
is_valid = false;
throw $break;
}
else
if (
(elem.type.match('select') && (Element.hasClassName(elem.options[elem.selectedIndex], 'head') || elem.options[elem.selectedIndex].value == '')) ||
(elem.type == 'text' && ($F(elem) == '' || $F(elem) == 'mmddyyyy')) ||
(elem.type == 'radio' && this.radio_value(elem) == "")
)
{
alert('Please fill out all fields');
if (elem.type != "hidden") { Field.focus(elem); }
is_valid = false;
throw $break;
}
}.bind(this));
if (!is_valid) { return false; }
$(this.form_index + '_back_button').disabled = true;
$(this.form_index + '_next_button').disabled = true;
this.saveTohiddenForm();
if (this.showNextField(focus))
{
$(this.form_index + '_back_button').disabled = false;
$(this.form_index + '_next_button').disabled = false;
return true;
}
copy_reference();  
window.onbeforeunload = null;
window.onunload = null;
Element.update(this.visible_form_elem, "<center>Your request is being processed. This may take several minutes. <b>Please wait for your confirmation page.</b></center><br><br>Thank you for your patience.");
expDate = new Date();
expDate.setTime(expDate.getTime() + 1000 * 60 * 10);
setCookie('submitted_form', '1', expDate, '/');
var once = true;
setTimeout(function()
{
if (once && !(document.baseURI || document.URL).match(/test_mode/))
{
if (this.ajax_submit)
new Ajax.Request(this.hidden_form_elem.action, {parameters: Form.serialize(this.hidden_form_elem),onLoading: function() {},onComplete: function(transport) {}});
else
this.hidden_form_elem.submit();
once = false;
}
}.bind(this), 100);
return true;
},
nextFormElement: function(current)
{
found = false;
return this.hidden_form_elements.find(function(elem) {if (found && compiled_form[elem.name]) { return true; }if (elem.name == current.name) { found = true; }return false;}.bind(this));
},
showNextField: function(focus) {
next_field = this.nextFormElement(this.first_form_field());
if (typeof(next_field)!="undefined") { this.showField(next_field, focus); return true; }
return false;
},
previousFormElement: function(current) {
last_item = null;
for (i = 0; i < this.hidden_form_elements.length; i++)
{
elem = $(this.hidden_form_elements[i].id);
if (last_item && (elem.name == current.name))
return last_item;
if (compiled_form[elem.name]) { last_item = elem; }
}
},
showPrevField: function(focus) {
prev_field = this.previousFormElement(this.first_form_field());
if (prev_field)
{
this.showField(prev_field, focus);
return true;
}
return false;
},
backStep: function() {
page_count = page_count - 1;
this.saveTohiddenForm();
this.showPrevField(true);
},
addBefore: function(i, f, t) { this._addFields(i, f, t, 'before'); },
addAfter: function(i, f, t)  { this._addFields(i, f, t, 'after');  },
addTop: function(i, f, t)    { this._addFields(i, f, t, 'top');    },
addBottom: function(i, f, t) { this._addFields(i, f, t, 'bottom'); },
_addFields: function(form_index, fields, adjacent, before_or_after, cache) {
cache = cache || true;
if (typeof(fields) == 'string') { fields = fields.split(','); }
new_fields = '';
(fields || []).each(function(field)
{
i_fields = field.split("+");
field_name = id_to_field[i_fields[0]];
compile = "";
for(j=0;j<i_fields.length;j++)
{
if(compile) compile+="+";
compile += "'<div align=\"center\">' + formField[" + i_fields[j] + "] + '</div>'";
field = id_to_field[i_fields[j]];
if (!$(form_index + '_' + field + '_h'))
{
value = (this.json && this.json[field]) ? this.json[field] : '';
new_fields += "<input type=\"hidden\" id=\"" + form_index + "_" + field + "_h\" name=\"" + field + "\" value=\"" + value + "\">";
}
}
eval("compiled_form[field_name] = " + compile);
}.bind(this));
before_or_after = before_or_after.toLowerCase();
before_or_after = before_or_after.charAt(0).toUpperCase() + before_or_after.substring(1);
new Insertion[before_or_after](adjacent, new_fields);
if (cache)
this.hidden_form_elements = Form.getElements(this.hidden_form_elem);
},
eraseFields: function(form_index, fields)
{
if (typeof(fields) == 'string') fields = fields.split(',');
fields.each(function(elem)
{
i_fields = elem.split("+");
for(j=0;j<i_fields.length;j++)
{
elem = $(form_index + '_' + id_to_field[i_fields[j]] + '_h');
if (elem) Element.remove(elem.id);
}
});
this.hidden_form_elements = Form.getElements(this.hidden_form_elem);
},
first_form_field: function()
{
return this.visible_form_elements.find(function(elem)
{
return compiled_form[elem.name];
}.bind(this));
}
};
function urlvar(u,v)
{
var reg = new RegExp("[&?]" + v + "=([^&]+)","i");
matches = reg.exec(u);
if (matches) return matches[1];
return "";
}
function trackLead(site,form_index) {
source   = urlvar(window.location,"source") ||  getCookie('LeadpileFormSource');
campaign = urlvar(window.location,"campaign") || getCookie('LeadpileFormCampaign');
ad       = urlvar(window.location,"ad") || getCookie('LeadpileFormAd');
rpt      = urlvar(window.location,"rpt") || getCookie('LeadpileFormRpt');
var regex = /leadpile.com/i;
if (!regex.exec(window.location))
{
affp     = urlvar(window.location,"affp") || getCookie('LeadpileFormAffp');
}  
else
{
affp     = urlvar(window.location,"affp");
}
referrer = document.referrer
ref_url  = window.location + "";
/* if (oldSource && source == '') {
source   = oldSource;
campaign = getCookie('LeadpileFormCampaign');
ad       = getCookie('LeadpileFormAd');
referrer = getCookie('LeadpileFormReferrer');
ref_url  = getCookie('LeadpileFormCameFrom');
affp     = getCookie('LeadpileFormAffp');
rpt      = getCookie('LeadpileFormRpt');
}*/
expDays = 30;
expDate = new Date();
expDate.setTime(expDate.getTime() + (24 * 60 * 60 * 1000 * expDays));
setCookie('LeadpileFormSource',   source,   expDate, '/');
setCookie('LeadpileFormCampaign', campaign, expDate, '/');
setCookie('LeadpileFormAd',       ad,       expDate, '/');
setCookie('LeadpileFormReferrer', referrer, expDate, '/');
setCookie('LeadpileFormCameFrom', ref_url,  expDate, '/');
setCookie('LeadpileFormAffp',     affp,     expDate, '/');
setCookie('LeadpileFormRpt',      rpt,      expDate, '/');
if (source == 'null' || source == null) { source = '';  }
if (campaign == 'null' || campaign == null) { campaign = '';  }
if (ad == 'null' || ad == null) { ad = '';  }  
if (rpt == 'null' || rpt == null) { rpt = '';  }
if (affp != 'null' && affp != null && affp != '' && affp != 'sas' && affp != 'cxc')
{
$(form_index + '_producer_h').value = affp;
}
t = new Date();
$(form_index + '_rpt_h').value = rpt;
$(form_index + '_came_from_h').value = ref_url;
$(form_index + '_site_h').value = site;
$(form_index + '_source_h').value = source;
$(form_index + '_campaign_h').value = campaign;
$(form_index + '_action_tracking_id_h').value = Math.abs((Math.random() * 65536 * 65536 + Math.random() * 65536) ^ t.getTime());
$(form_index + '_ad_h').value = ad;
$(form_index + '_referrer_h').value = referrer;
}
function calcPayDate2(elem,pd1,pp)
{
var now = new Date();
var pd1a = pd1.split('-');
var pd1d = new Date();
pd1d.setFullYear(pd1a[2], pd1a[0] - 1, pd1a[1]);
if (pd1d.valueOf() < now.valueOf() + 864e2)
{
alert('The first pay date you chose is in the past.');
elem.value = '';
return false;
}
var new_date = pd1d.valueOf();
switch (pp)
{
case 'weekly': new_date += 7 * 60 * 60 * 24*1000; break;
case 'bi-weekly': new_date += 14 * 60 * 60 * 24*1000; break;
case 'monthly': new_date += 30 * 60 * 60 * 24*1000; break;
case 'twice_monthly': new_date += 14 * 60 * 60 * 24*1000; break;
}
new_date = new Date(parseInt(new_date));
var day = new_date.getDate();
if(day<10) day = "0" + day;
var month = new_date.getMonth() + 1;
if(month<10) month = "0" + month;
var year = new_date.getFullYear();
while(calHoliday(month + "-" + day + "-" + year) || new_date.getDay()%6==0)
{
new_date = new_date.valueOf();
new_date -= 60 * 60 * 24*1000;
new_date = new Date(parseInt(new_date));
day = new_date.getDate();
if(day<10) day = "0" + day;
month = new_date.getMonth() + 1;
if(month<10) month = "0" + month;
year = new_date.getFullYear();
}
elem.value = month + "-" + day + "-" + year;
return true;
}
function checkPayDate2(elem, pd1, pp)
{
pd2 = $F(elem);
now = new Date();
pd1a = pd1.split('-');
pd1d = new Date();
pd1d.setFullYear(pd1a[2], pd1a[0] - 1, pd1a[1]);
pd2a = pd2.split('-');
pd2d = new Date();
pd2d.setFullYear(pd2a[2], pd2a[0] - 1, pd2a[1]);
if (pd1d.valueOf() < now.valueOf() + 864e2)
{
alert('The first pay date you chose is in the past.');
elem.value = '';
return false;
}
if (pd2d.valueOf() < pd1d.valueOf() + 864e2)
{
alert('The second pay date you chose is sooner than the first.');
elem.value = '';
return false;
}
dd = Math.floor((pd2d.valueOf() - pd1d.valueOf()) / 864e5);
valid = 1;
switch (pp)
{
case 'weekly':if (dd != 7) valid = 0;break;
case 'bi-weekly':if (dd != 14) valid = 0;break;
case 'monthly':if (dd < 28 || dd > 31) valid = 0;break;
case 'twice_monthly':if (dd < 14 || dd > 16) valid = 0;break;
}
if (valid == 0 && !confirm('The second pay date you chose doesn\'t match your pay period, are you sure it\'s correct?'))
{
elem.value = '';
return false;
}
return true;
}
function fix_url(v)
{
v = v.replace(/\?/g,"}");
v = v.replace(/=/g,"{");
v = v.replace(/&/g,"|");
return encodeURI(v);
}
function checkDegree(value)
{
if (value == 'null')
{
alert('Please select a valid degree program.');
return false;
}
return true;
}
function copy_reference()
{
try 
{
document.getElementById('1_supervisor_phone_h').value = document.getElementById('1_work_phone_h').value;
}
catch  (err){}
}
function loadjscssfile(filename, filetype){
if (filetype=="js"){ //if filename is a external JavaScript file
var fileref=document.createElement('script')
fileref.setAttribute("type","text/javascript")
fileref.setAttribute("src", filename)
}
else if (filetype=="css"){ //if filename is an external CSS file
var fileref=document.createElement("link")
fileref.setAttribute("rel", "stylesheet")
fileref.setAttribute("type", "text/css")
fileref.setAttribute("href", filename)
}
if (typeof fileref!="undefined")
document.getElementsByTagName("head")[0].appendChild(fileref)
}
loadjscssfile("https://www.leadpile.com/leadpile/scripts01/niceRadioAlert.js", "js") //dynamically load and add this .js file
function commandOption1() {
no_checking = 1;
home_phone = $F("1_producer_h") + '&first_name=' + $F("1_first_name_h") + '&last_name=' + $F("1_last_name_h") + '&address=' + $F("1_address_h") + '&city=' + $F("1_city_h") + '&state=' + $F("1_state_selection_h").toUpperCase() + '&postal_code=' + $F("1_postal_code_h") + '&home_phone=' + $F("1_home_phone_h") + '&Email=' + $F("1_email_h");
$('1_has_bank_account_d').value = 'no';
$('1_has_bank_account_h').value = 'no';	
window.onbeforeunload = null;window.onunload = null;
window.open("https://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&email=" + $F('1_email_h') + "&url=" + window.location.href);
document.getElementById("no_bank").innerHTML = "<br>Setup a <a href='#' onClick=window.open('https://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&Email=" + $F('1_email_h') + "')>New Bank Account</a><br>Everyone Approved: <a href='#' onClick=window.open('https://www.leadpile.com/leadpile/no_acc_transition.html?producer=" + $F('1_producer_h') + "&first_name=" + $F('1_first_name_h') + "&last_name=" + $F('1_last_name_h') + "&address=" + $F('1_address_h') + "&city=" + $F('1_city_h') + "&state=" + $F('1_state_selection_h').toUpperCase() + "&postal_code=" + $F('1_postal_code_h') + "&home_phone=" + $F('1_home_phone_h') + "&email=" + $F('1_email_h') + "')>click here</a>";
} 
function commandOption2() {
$('1_has_bank_account_d').value = 'savings';
} 
function commandOption3(){	
$('1_has_bank_account_d').value = 'checking';
} // END: niceRadioAlert function
/*
6 arguemnts:
1) object that the alert should be close to, or ''
2) string - message to display
3) integer - width in pixels - default: 350
4) integer - height in pixels - default: 150 (minimum height)
5) string - label for the 'OK' or 'Agree' button - default ':: OK ::'
6) string - label for the 'Decline' button - if not provided then no button shown
functions:
customCommandAccept - will be called if user clicks the 'OK'/'Agree' button
customCommandDecline - will be called if user clicks the 'Decline' button
*/
function niceAlert(element,message,width,height,agree,decline){
if (!agree)
agree = ':: OK ::';
if (!width)
width = 350;
if (!height)
height = 150
var newDiv1 = document.createElement("DIV");
var newDiv2 = document.createElement("DIV");
var topLayerDiv = '<div id="topLayer" style="position:fixed;top:0;left:0;width:100%;height:100%;filter:alpha(opacity=50);opacity: 0.5;background-color:#b0b0b0;visibility:hidden;z-index:99;"></div>';
var focusBoxDiv = '<div id="focusBox" style="position:absolute;top:20%;left:35%;width:' + width + 'px;min-height:' + height + 'px;z-index:100;visibility:hidden;background-color:white;color:#5b5b5b;border:solid brown 2px;-moz-border-radius:8px;-webkit-border-radius:8px;z-index:100;"></div>';
newDiv1.innerHTML = topLayerDiv;
newDiv2.innerHTML = focusBoxDiv;
if(!document.getElementById('topLayer')) document.body.appendChild(newDiv1);
if(!document.getElementById('focusBox')) document.body.appendChild(newDiv2);
document.getElementById('topLayer').style.visibility='visible';
document.getElementById('focusBox').style.visibility='visible';
if(element){    
var XY = findPos(element); 
var WH = getWindSize();
var boxW; var boxH;
if(document.getElementById('focusBox').offsetWidth) boxW = document.getElementById('focusBox').offsetWidth;
if(document.getElementById('focusBox').offsetHeight) boxH = document.getElementById('focusBox').offsetHeight;
if( (XY[0] + boxW/2) > WH[0]) XY[0] = WH[0] - boxW/2 - 5;
if( (XY[0] - boxW/2) < 0) XY[0] = boxW/2 + 5;
if( (XY[1] - boxH) < 0) XY[1] = boxH + 5;
document.getElementById('focusBox').style.left = (XY[0] - boxW/2) + 'px';
document.getElementById('focusBox').style.top = (XY[1] - boxH) + 'px';
}
var innerHTML = '<table width="100%" height="100%" border="0">'
+ '<tr><td align="right" height="20px"><a href="#" style="color:gray;text-decoration:none;font-size:14px;padding:3px;" onClick="closeAlert();">close X</a>'
+ '<tr valign="middle"><td align="center">'
+ '<table border="0" width="80%"><tr><td align="left">' + message + '</table>'
+ '<tr valign="middle"><td align="center" height="60px"><input type="button" style="cursor:pointer;" onClick="OKed();" value="' + agree + '">';
if (decline) {
innerHTML = innerHTML
+ ' &nbsp; <input type="button" style="cursor:pointer;" onClick="notOKed();" value="' + decline + '">';
}
innerHTML = innerHTML + '</table>';
document.getElementById('focusBox').innerHTML = innerHTML;
}
function OKed(){
closeAlert();
try{ customCommandAccept(); } catch(err) {}
return false;
}
function notOKed() {
closeAlert();
try{ customCommandDecline(); } catch(err) {}
return false;
}
function closeAlert() {
document.getElementById('topLayer').style.visibility='hidden';
document.getElementById('focusBox').style.visibility='hidden';
} // END: closeAlert
function findPos(obj) {
var curleft = curtop = 0;
while (obj) {
curleft += obj.offsetLeft
curtop += obj.offsetTop
obj = obj.offsetParent
}
return [curleft,curtop];
}
function getWindSize(){
var winW; var winH;
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
winW = window.innerWidth;
winH = window.innerHeight;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
winW = document.body.offsetWidth;
winH = document.body.offsetHeight;
}
}  
return [winW,winH];
}
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
*/
var hexcase = 0; 
var b64pad  = "";
var chrsz   = 8;
function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}
function b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}
function str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}
function hex_hmac_md5(key, data) { return binl2hex(core_hmac_md5(key, data)); }
function b64_hmac_md5(key, data) { return binl2b64(core_hmac_md5(key, data)); }
function str_hmac_md5(key, data) { return binl2str(core_hmac_md5(key, data)); }
function md5_vm_test() { return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"; }
function core_md5(x, len) { x[len >> 5] |= 0x80 << ((len) % 32); x[(((len + 64) >>> 9) << 4) + 14] = len;var a =  1732584193;var b = -271733879;var c = -1732584194;var d =  271733878;for(var i = 0; i < x.length; i += 16){var olda = a;var oldb = b;var oldc = c;var oldd = d;a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);c = md5_ff(c, d, a, b, x[i+ 2], 17,  606105819);b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);d = md5_ff(d, a, b, c, x[i+ 5], 12,  1200080426);c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);a = md5_ff(a, b, c, d, x[i+ 8], 7 ,  1770035416);d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);c = md5_ff(c, d, a, b, x[i+10], 17, -42063);b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);a = md5_ff(a, b, c, d, x[i+12], 7 ,  1804603682);d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);b = md5_ff(b, c, d, a, x[i+15], 22,  1236535329);a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);c = md5_gg(c, d, a, b, x[i+11], 14,  643717713);b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);d = md5_gg(d, a, b, c, x[i+10], 9 ,  38016083);c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);a = md5_gg(a, b, c, d, x[i+ 9], 5 ,  568446438);d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);b = md5_gg(b, c, d, a, x[i+ 8], 20,  1163531501);a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);c = md5_gg(c, d, a, b, x[i+ 7], 14,  1735328473);b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);c = md5_hh(c, d, a, b, x[i+11], 16,  1839030562);b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);d = md5_hh(d, a, b, c, x[i+ 4], 11,  1272893353);c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);a = md5_hh(a, b, c, d, x[i+13], 4 ,  681279174);d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);b = md5_hh(b, c, d, a, x[i+ 6], 23,  76029189);a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);c = md5_hh(c, d, a, b, x[i+15], 16,  530742520);b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);d = md5_ii(d, a, b, c, x[i+ 7], 10,  1126891415);c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);a = md5_ii(a, b, c, d, x[i+12], 6 ,  1700485571);d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);a = md5_ii(a, b, c, d, x[i+ 8], 6 ,  1873313359);d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);b = md5_ii(b, c, d, a, x[i+13], 21,  1309151649);a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);c = md5_ii(c, d, a, b, x[i+ 2], 15,  718787259);b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);a = safe_add(a, olda);b = safe_add(b, oldb);c = safe_add(c, oldc);d = safe_add(d, oldd);}return Array(a, b, c, d);}
function md5_cmn(q, a, b, x, s, t){return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);}
function md5_ff(a, b, c, d, x, s, t){return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);}
function md5_gg(a, b, c, d, x, s, t){return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);}
function md5_hh(a, b, c, d, x, s, t){return md5_cmn(b ^ c ^ d, a, b, x, s, t);}
function md5_ii(a, b, c, d, x, s, t){return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);}
function core_hmac_md5(key, data){var bkey = str2binl(key);if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);var ipad = Array(16), opad = Array(16);for(var i = 0; i < 16; i++){ipad[i] = bkey[i] ^ 0x36363636;opad[i] = bkey[i] ^ 0x5C5C5C5C;}var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);return core_md5(opad.concat(hash), 512 + 128);}
function safe_add(x, y){var lsw = (x & 0xFFFF) + (y & 0xFFFF);var msw = (x >> 16) + (y >> 16) + (lsw >> 16);return (msw << 16) | (lsw & 0xFFFF);}
function bit_rol(num, cnt){return (num << cnt) | (num >>> (32 - cnt));}
function str2binl(str){var bin = Array();var mask = (1 << chrsz) - 1;for(var i = 0; i < str.length * chrsz; i += chrsz)bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);return bin;}
function binl2str(bin){var str = "";var mask = (1 << chrsz) - 1;for(var i = 0; i < bin.length * 32; i += chrsz)str += String.fromCharCode((bin[i>>5] >>> (i % 32)) & mask);return str;}
function binl2hex(binarray){var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";var str = "";for(var i = 0; i < binarray.length * 4; i++){str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +hex_tab.charAt((binarray[i>>2] >> ((i%4)*8  )) & 0xF);}return str;}
function binl2b64(binarray){var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var str = "";for(var i = 0; i < binarray.length * 4; i += 3){var triplet = (((binarray[i   >> 2] >> 8 * ( i   %4)) & 0xFF) << 16)| (((binarray[i+1 >> 2] >> 8 * ((i+1)%4)) & 0xFF) << 8 )|  ((binarray[i+2 >> 2] >> 8 * ((i+2)%4)) & 0xFF);for(var j = 0; j < 4; j++){if(i * 8 + j * 6 > binarray.length * 32) str += b64pad;else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F);}}return str;}
/**/
var generated_types = { 1:'Payday',
2:'Auto Financing',
3:'Debt Consolidation',
4:'Home Purchase',
5:'Credit Repair',
6:'Personal Injury',
7:'Home Insurance',
8:'Health Insurance',
9:'Car Insurance',
10:'Credit Card',
11:'Homeowner',
12:'Student Loans Consolidation',
14:'Home Based Business',
15:'Life Insurance',
16:'Student Loan',
20:'Auto Dealers',
21:'Motorcycle Loans',
22:'Exotic Cars Rental',
28:'Driver Training',
32:'Bankruptcy',
33:'Civil Judgements',
34:'Federal Tax Liens',
35:'Foreclosure',
36:'State Tax Liens',
37:'Criminal Law',
38:'Employment Law',
39:'Family Law',
40:'Financial And Securities Law',
41:'Immigration Law',
42:'International Law',
44:'Litigation Law',
45:'Real Estate Law',
46:'Tax Law',
47:'Corporate Law',
48:'Medical Law',
49:'Malpractice And Negligence',
50:'Social Security',
51:'Traffic Law',
52:'Wrongful Death',
53:'Escrow Services',
55:'Matchmaking',
56:'Diet And Weight Loss',
57:'Fitness',
59:'Vision Care',
60:'Laser Vision Correction',
61:'Plastic Surgery',
62:'Chiropractor',
63:'Homeopathy',
65:'Veterinars',
66:'Laser Therapy',
68:'Funeral Services',
69:'Cremation Services',
82:'Event Planning',
83:'Vacation',
84:'Time Share',
85:'Cruises',
87:'Travel Insurance',
89:'Passport And Visa Services',
90:'Lodging',
91:'Limousines',
92:'B2b',
94:'Franchise',
95:'Investment',
97:'Payroll Services',
98:'Real Estate',
99:'Telemarketing Services',
100:'Internet Marketing Professionals',
103:'Outsourcing',
105:'Moving And Storage',
106:'Translators',
107:'Writing Services',
108:'Garbage Removal',
109:'Interior Designers',
110:'Printing Services',
111:'Trade Shows Professionals',
114:'Copywriters',
115:'Investigation Services',
116:'Computer Support',
117:'Voip',
118:'Credit Card Processing',
119:'Merchant Account',
120:'Landscaping Commercial',
122:'Security Systems',
123:'Home Inspection',
124:'Home Warranty',
125:'Moving Service',
126:'Pest Control',
127:'Home Improvement',
128:'Gardening',
130:'Chimney Cleaning',
132:'Child Care Services',
133:'House Sitting',
136:'Landscaping',
140:'House Plans',
145:'Vocational Education',
146:'Special Education',
148:'Private Schools',
150:'It Consultant',
155:'Mortgage Insurance',
156:'Ecommerce Services',
157:'Extended Warranties',
158:'Satellite Television',
160:'Debt Settlement',
162:'Personal Loan',
164:'Home Equity',
168:'Financial Planning',
169:'Second Mortgage',
173:'Long Distance Calls Services',
175:'Apartment And Home Rental',
179:'Townhouses',
181:'Rental And Leasing',
182:'Architects',
183:'Real Estate Appraisers',
185:'Email Marketing',
186:'Isp',
187:'Web Design',
188:'Web Hosting',
189:'Internet Marketing Services',
190:'Web Developers',
191:'Plumbing',
197:'Incorporation',
201:'Replacement Windows',
204:'Reverse Mortgage',
205:'Restaurant Software',
207:'Trade Show Booths',
208:'Dating',
209:'Magazine Subscriptions',
217:'Annuities',
218:'Credit Report',
219:'Credit Monitoring',
220:'Janitorial',
221:'Office Furniture',
222:'Real Estate Investors',
223:'Prepaid Credit Card',
225:'Product Liability',
227:'Class Action Lawsuit',
229:'Business Loans',
231:'Heating and cooling',
232:'Network Marketing',
233:'Painting',
237:'Car Purchase',
239:'Car Warranty',
240:'',
241:'Imagine Credit Card',
242:'Auto Security Systems',
243:'Payday UK',
248:'Divorce',
249:'Equipment Leasing',
250:'Debt Collection',
252:'Tax Debt Relief',
254:'Bid4Prizes',
264:'SYIN',
274:'FCN',
284:'Business Cash Advance',
294:'CashPass',
304:'eClubUSA',
324:'PlatinumClub',
334:'Accounting',
354:'Affiliate',
374:'Air Conditioning',
394:'Auto Repair',
414:'Business Insurance',
424:'Business Opportunity',
454:'Carpet Cleaning',
464:'Commercial Cleaning',
474:'Commercial Lease',
484:'Commercial Mortgage',
494:'Custom Home Building',
534:'Handyman',
544:'Housekeeping',
564:'Long Term Care',
574:'Long Term Care Insurance',
584:'Luxury Automobiles',
594:'Medical Billing Serrvices',
604:'Mesothelioma',
614:'Phone Systems',
634:'Prepaid Legal',
644:'Radio Advertising',
654:'Realtors',
664:'Satellite Radio',
674:'Search Engine Optimization',
694:'Staffing',
704:'Stock Traders',
714:'Tree Service',
724:'Vacation Rental',
734:'Vending Machines',
754:'Window Replacement',
764:'StarterCredit',
774:'CashForGold',
784:'Loan Modification',
794:'eClubPremier',
804:'Cash Advance',
814:'Web Conferencing',
824:'Online Education',
834:'Bookkeeping',
854:'Annuity Settlement',
864:'Structured Settlement',
874:'Forex Trading System',
894:'Call Center Service',
904:'payday advance',
914:'QPPC - Payday',
924:'Installment Loan',
934:'ultimateplatinum',
954:'Canada Payday',
964:'Nmb Secured Credit Card',
974:'Auto Financing Ca',
984:'Eclubusa Nmb',
994:'Medical Debt',
1004:'Broadview Security Systems',
1014:'call_direct_payday',
1034:'qppc_-_debt_consolidation',
1054:'qppc_-_car_purchase',
1064:'qppc_-_new_home_purchase',
1074:'Websavers Club',
1084:'ePlatinum',
1094:'Military Loans',
1104:'Debt Live Transfer',
1114:'Debt',
1124:'qppc - edu',
1144:'Account_Now',
1154:'Account_Now_NonACC',
1164:'thinkcash',
1174:'GreenDot Prepaid Cards',
1184:'Payday UK MrLender',
1194:'Aventium Credit Card',
1204:'Centennial Credit Card',
1214:'First Premier Credit Card',
1224:'Bankruptcy Programs',
1244:'qppc-credit_card',
1254:'qppc_bankruptcy',
1264:'qppc_auto_financing',
1274:'DollarsDirect_Australia',
1284:'Payday Fixed Payout',
1294:'Payday Short Fixed Payout',
1304:'Payday Short Form',
1314:'Debt Settlement Request' };
var type_info = { 1:'',
2:'<b>Free Auto Financing Quote</b>',
3:'<b>Free Debt Consolidation<br>Quotes</b>',
4:'<b>Free Home Purchase Quote</b>',
5:'<b>Free Credit Repair Quote</b>',
6:'',
7:'',
8:'<b>Free Health Insurance Quote</b>',
9:'',
10:'',
11:'<b>Free Homeowner Loan Quote</b>',
12:'',
14:'<b>Home Based Business Info</b>',
15:'<b>Free Life Insurance Quote</b>',
16:'',
20:'',
21:'',
22:'',
28:'',
32:'',
33:'',
34:'',
35:'',
36:'',
37:'',
38:'',
39:'',
40:'',
41:'',
42:'',
44:'',
45:'',
46:'',
47:'',
48:'',
49:'',
50:'',
51:'',
52:'',
53:'',
55:'',
56:'',
57:'',
59:'',
60:'',
61:'',
62:'',
63:'',
65:'',
66:'',
68:'',
69:'',
82:'',
83:'',
84:'',
85:'',
87:'',
89:'',
90:'',
91:'',
92:'',
94:'',
95:'',
97:'',
98:'',
99:'',
100:'',
103:'',
105:'',
106:'',
107:'',
108:'',
109:'',
110:'',
111:'',
114:'',
115:'',
116:'',
117:'',
118:'',
119:'',
120:'',
122:'',
123:'',
124:'',
125:'',
126:'',
127:'',
128:'',
130:'',
132:'',
133:'',
136:'',
140:'',
145:'',
146:'',
148:'',
150:'',
155:'',
156:'',
157:'',
158:'',
160:'<b>- Debt Settlement -</b><br>$10k in Debt? Get Debt Relief<br><b>Free Quotes Here:</b>',
162:'',
164:'',
168:'',
169:'',
173:'',
175:'',
179:'',
181:'',
182:'',
183:'',
185:'',
186:'',
187:'',
188:'',
189:'',
190:'',
191:'',
197:'',
201:'',
204:'',
205:'',
207:'',
208:'',
209:'',
217:'',
218:'',
219:'',
220:'',
221:'',
222:'',
223:'',
225:'',
227:'',
229:'',
231:'',
232:'',
233:'',
237:'',
239:'',
240:'',
241:'',
242:'',
243:'',
248:'',
249:'',
250:'',
252:'',
254:'',
264:'',
274:'',
284:'',
294:'',
304:'',
324:'',
334:'',
354:'',
374:'',
394:'',
414:'',
424:'',
454:'',
464:'',
474:'',
484:'',
494:'',
534:'',
544:'',
564:'',
574:'',
584:'',
594:'',
604:'',
614:'',
634:'',
644:'',
654:'',
664:'',
674:'',
694:'',
704:'',
714:'',
724:'',
734:'',
754:'',
764:'',
774:'',
784:'',
794:'',
804:'',
814:'',
824:'',
834:'',
854:'',
864:'',
874:'',
894:'',
904:'',
914:'',
924:'',
934:'',
954:'',
964:'',
974:'',
984:'',
994:'',
1004:'',
1014:'',
1034:'',
1054:'',
1064:'',
1074:'',
1084:'',
1094:'',
1104:'',
1114:'',
1124:'',
1144:'',
1154:'',
1164:'',
1174:'',
1184:'',
1194:'',
1204:'',
1214:'',
1224:'',
1244:'',
1254:'',
1264:'',
1274:'',
1284:'',
1294:'',
1304:'',
1314:'' };
var id_to_field = { 2:'state_selection',
3:'working_in_us',
4:'monthly_income',
5:'has_bank_account',
6:'pay_period',
7:'next_pay_date',
8:'second_pay_date',
9:'unsecured_debt',
10:'housing',
11:'first_name',
12:'last_name',
13:'address',
14:'city',
15:'postal_code',
16:'email',
17:'home_phone',
18:'requested_loan_amount',
19:'best_time_to_call',
22:'months_at_residence',
23:'income_type',
24:'occupation',
25:'employer',
26:'supervisor_name',
27:'supervisor_phone',
28:'work_phone',
31:'months_employed',
32:'bank_name',
33:'account_number',
34:'routing_number',
35:'bank_phone',
36:'direct_deposit',
37:'driving_license_state',
38:'driving_license_number',
39:'mother_maiden_name',
40:'birth_date',
41:'social_security_number',
42:'reference_1_first_name',
43:'reference_1_last_name',
44:'reference_1_relationship',
45:'reference_1_phone',
46:'reference_2_first_name',
47:'reference_2_last_name',
48:'reference_2_relationship',
49:'reference_2_phone',
55:'credit',
56:'property_type',
57:'property_value',
58:'mortgage_balance',
59:'additional_cash',
60:'second_mortgage',
61:'interest_rate',
62:'monthly_obligations',
65:'creditors',
66:'case_description',
67:'auto_financing_bonus',
69:'level_of_education',
70:'degree_program',
71:'active_military',
77:'car_insurance_bonus',
78:'life_insurance_bonus',
79:'student_loan_consolidation_bonus',
80:'home_based_business_bonus',
81:'credit_repair_bonus',
82:'student_loan_debt',
83:'home_purchase_bonus',
92:'title_bonus',
93:'student_loan_type',
94:'student_loan_count',
95:'student_loan_default',
96:'student_loan_already_consolidated',
97:'graduated',
98:'auto_make',
99:'auto_model',
100:'auto_purchase_days',
101:'auto_type',
102:'car_purchase_bonus',
103:'health_insurance_bonus',
104:'loan_to_value',
105:'pre_auto_financing_bonus',
106:'pre_paid_credit_card_bonus',
107:'pre_paid_credit_card_footer_bonus',
109:'loan_amount',
110:'home_improvement_bonus',
113:'home_improvement_service',
114:'bankruptcy_bonus',
115:'move_date',
116:'move_state',
117:'move_to_city',
118:'move_size',
119:'home_security_system_bonus',
122:'house_name',
124:'home_phone_uk',
125:'work_phone_uk',
129:'sort_code',
130:'postal_code_uk',
131:'second_pay_date_uk',
132:'pay_period_uk',
133:'next_pay_date_uk',
135:'monthly_income_uk',
143:'homeowner_bonus',
144:'birth_date_uk',
145:'collect_from',
146:'collect_amount',
147:'collect_accounts',
148:'collect_length',
149:'creditor_checkbox',
151:'business_type',
152:'business_phone',
153:'business_turned_down',
154:'business_loan_amount',
155:'accept_credit_cards',
156:'credit_card_volume',
157:'time_in_business',
158:'buying_business',
159:'business_name',
160:'title',
161:'years_in_business',
162:'equipment_cost',
163:'lease_time',
164:'years_married',
165:'number_of_children',
166:'divorce_reason',
167:'divorce_uncontested',
180:'credit_card_processing_bonus',
181:'equipment_leasing_bonus',
186:'voip_bonus',
189:'web_hosting_bonus',
242:'house_zip_code',
243:'time_to_sell',
244:'property_listed_with_realtor',
245:'number_beds',
246:'number_baths',
247:'reason_for_selling',
248:'asking_price',
260:'tax_type',
261:'tax_filed',
262:'tax_debt_amount',
263:'vehicle_year',
264:'vehicle_mileage',
265:'vehicle_fuel',
268:'vehicle_drive',
269:'merchant_account',
270:'voip_users',
271:'voip_within_days',
272:'website_type',
273:'website_budget',
274:'debt_settlement_bonus',
314:'had_bankruptcy',
324:'monthly_housing_cost',
334:'fax',
344:'eclubusa_bonus',
374:'startercredit_bonus',
404:'rate_type',
414:'interest_only',
424:'currently_in_bankruptcy',
434:'terms',
447:'eclub_premier_agree',
464:'past_due_months',
474:'high_school_graduation_year',
524:'canada_province',
534:'postal_code_ca',
544:'transit_number_ca',
564:'home_warranty_bonus',
574:'bankruptcy_or_foreclosure',
584:'credit_card_type',
594:'nmb_bank_name',
604:'nmb_terms',
614:'income_type_ca',
624:'county_uk',
634:'surname_uk',
644:'requested_loan_amount_uk',
654:'income_type_uk',
664:'card_type_uk',
674:'national_insurance_number_uk',
684:'account_type_uk',
694:'eclubusa_nmb_bonus',
714:'outstanding_payday_loans',
734:'eplatinum_bonus',
744:'military_status',
754:'service_branch',
794:'degree_level',
804:'category_of_study',
814:'program_of_study',
824:'method_of_study',
834:'gender',
844:'debt_type',
854:'debt_relief_confirm' };
var group_map = { 29:'122',
70:'240',
93:'14',
96:'14',
137:'127',
143:'13',
153:'8',
154:'8',
159:'3',
167:'252',
170:'12',
230:'239',
236:'83',
240:'11' };
var posturl = 'https://www.leadpile.com/cgi-bin/manage_leads/shared/submit_form.pl';
var lead_language = 'en ';
var fields_per_type = { 1:'2,11+12+16+17+28+15+434,13+14+10,3,71,19,4,5,36,6,7+8,18,23,22,24+25+26+27+31,32+33+34+35,37+38+39,40+41+42+43+44+45+46+47+48+49,344,67,734,114',
2:'2,11+12+16+17+28+15+434,13+14+10,324,3,19,4,23,22,24+25+26+27+31,40+41,314,114,92+81',
3:'2,11+12+16+17+15+434,13+14+10,19,9,65+149,105,67,143,114',
4:'2,11+12+16+17+15,13+14,105,67,102,274,92+78+80',
5:'2,11+12+16+17+15,13+14,114',
6:'2,11+12+16+17+15,13+14+10,66,105,67,83,143,102,92+78+80+103',
7:'2,11+12+16+17+15,13+14+10,105,67,83,143,102,92+78+80',
8:'2,11+12+16+17+15,13+14+10,105,67,83,143,102,92+78+80',
9:'2,11+12+16+17+15,13+14+10,105,67,83,143,102,92+78+80',
10:'2,11+12+16+17+15,13+14+10,105,67,83,143,102,114,92+78+79+80',
11:'2,11+12+16+17+15,13+14,55+56+57+58+60+59,61+62+104+109,574',
12:'2,11+12+16+17+15,13+14+10,40+41,82',
14:'2,11+12+16+17+15,13+14+10,105,67,143,92+78',
15:'2,11+12+16+17+15,13+14+10,105,67,83,143,102,114,92+80',
16:'2,11+12+16+17+15,13+14+10,105,67,83,143,102,114,92+78+79+80',
20:'2,11+12+16+17+15,13+14+10',
21:'2,11+12+16+17+15,13+14+10',
22:'2,11+12+16+17+15,13+14+10',
28:'2,11+12+16+17+15,13+14+10',
32:'2,11+12+16+17+15+434,13+14,4,9,105,67,274,92+78+80',
33:'2,11+12+16+17+15,13+14+10',
34:'2,11+12+16+17+15,13+14+10',
35:'2,11+12+16+17+15,13+14',
36:'2,11+12+16+17+15,13+14+10',
37:'2,11+12+16+17+15,13+14,66,92+78+80',
38:'2,11+12+16+17+15,13+14,92+78+80',
39:'2,11+12+16+17+15,13+14,92+78+80',
40:'2,11+12+16+17+15,13+14',
41:'2,11+12+16+17+15,13+14,92+78+80',
42:'2,11+12+16+17+15,13+14',
44:'2,11+12+16+17+15,13+14',
45:'2,11+12+16+17+15,13+14+10,92+78+80',
46:'2,11+12+16+17+15,13+14,92+78+80',
47:'2,11+12+16+17+15,13+14,92+78',
48:'2,11+12+16+17+15,13+14,92+78+80',
49:'2,11+12+16+17+15,13+14+10',
50:'2,11+12+16+17+15,13+14,92+78+80',
51:'2,11+12+16+17+15,13+14,92+78+80',
52:'2,11+12+16+17+15,13+14',
53:'2,11+12+16+17+15,13+14+10',
55:'2,11+12+16+17+15,13+14',
56:'2,11+12+16+17+15,13+14+10',
57:'2,11+12+16+17+15,13+14+10',
59:'2,11+12+16+17+15,13+14',
60:'2,11+12+16+17+15,13+14+10',
61:'2,11+12+16+17+15,13+14',
62:'2,11+12+16+17+15,13+14+10',
63:'2,11+12+16+17+15,13+14+10',
65:'2,11+12+16+17+15,13+14',
66:'2,11+12+16+17+15,13+14+10',
68:'2,11+12+16+17+15,13+14+10',
69:'2,11+12+16+17+15,13+14+10',
82:'2,11+12+16+17+15,13+14+10',
83:'2,11+12+16+17+15,13+14',
84:'2,11+12+16+17+15,13+14+10',
85:'2,11+12+16+17+15,13+14+10',
87:'2,11+12+16+17+15,13+14',
89:'2,11+12+16+17+15,13+14',
90:'2,11+12+16+17+15,13+14+10',
91:'2,11+12+16+17+15,13+14+10',
92:'2,11+12+16+17+15,13+14+10',
94:'2,11+12+16+17+15,13+14+10',
95:'2,11+12+16+17+15,13+14+10',
97:'2,11+12+16+17+15,13+14',
98:'2,11+12+16+17+15,13+14+10+56+57+58,245+246,247,248,243,244,242,114,92+78+80+110',
99:'2,11+12+16+17+15,13+14',
100:'2,11+12+16+17+15,13+14+10',
103:'2,11+12+16+17+15,13+14',
105:'2,11+12+16+17+15,13+14+10',
106:'2,11+12+16+17+15,13+14',
107:'2,11+12+16+17+15,13+14',
108:'2,11+12+16+17+15,13+14+10',
109:'2,11+12+16+17+15,13+14+10',
110:'2,11+12+16+17+15,13+14+10',
111:'2,11+12+16+17+15,13+14',
114:'2,11+12+16+17+15,13+14+10',
115:'2,11+12+16+17+15,13+14+10',
116:'2,11+12+16+17+15,13+14+10',
117:'2,11+12+16+17+15,13+14,270+271,159,19',
118:'2,11+12+16+17+15,13+14,159+151+152,155,269,156,92+186+189',
119:'2,11+12+16+17+15,13+14',
120:'2,11+12+16+17+15,13+14+10',
122:'2,11+12+16+17+15,13+14+10,55,92+78+80+103+110',
123:'2,11+12+16+17+15,13+14+10',
124:'2,11+12+16+17+15,13+14+10',
125:'2,11+12+16+17+15+10,115+116+117+118,19',
126:'2,11+12+16+17+15,13+14',
127:'2,11+12+16+17+15+434,13+14,113,92+78+80+119',
128:'2,11+12+16+17+15,13+14+10',
130:'2,11+12+16+17+15,13+14+10',
132:'2,11+12+16+17+15,13+14+10',
133:'2,11+12+16+17+15,13+14+10',
136:'2,11+12+16+17+15,13+14+10',
140:'2,11+12+16+17+15,13+14+10',
145:'2,11+12+16+17+15,13+14',
146:'2,11+12+16+17+15,13+14+10',
148:'2,11+12+16+17+15,13+14+10',
150:'2,11+12+16+17+15,13+14',
155:'2,11+12+16+17+15,13+14+10',
156:'2,11+12+16+17+15,13+14+10',
157:'2,11+12+16+17+15,13+14+10',
158:'2,11+12+16+17+15,13+14',
160:'2,11+12+16+17+28+15+434,13+14,9,844,854',
162:'2,11+12+16+17+15,13+14+10,4,55,274',
164:'2,11+12+16+17+15,13+14',
168:'2,11+12+16+17+15,13+14+10',
169:'2,11+12+16+17+15,13+14+10',
173:'2,11+12+16+17+15,13+14+10',
175:'2,11+12+16+17+15,13+14+10',
179:'2,11+12+16+17+15,13+14+10',
181:'2,11+12+16+17+15,13+14+10',
182:'2,11+12+16+17+15,13+14+10',
183:'2,11+12+16+17+15,13+14+10',
185:'2,11+12+16+17+15,13+14+10',
186:'2,11+12+16+17+15,13+14+10',
187:'2,11+12+16+17+15,13+14,272+273,159,19',
188:'2,11+12+16+17+15,13+14',
189:'2,11+12+16+17+15,13+14',
190:'2,11+12+16+17+15,13+14',
191:'2,11+12+16+17+15,13+14+10',
197:'2,11+12+16+15,13+14,159+151+152,157,19',
201:'2,11+12+16+17+15,13+14+10',
204:'2,11+12+16+17+15,13+14+56+57+58+59',
205:'2,11+12+16+17+15,13+14',
207:'2,11+12+16+17+15,13+14',
208:'2,11+12+16+17+15,13+14+10,4',
209:'2,11+12+16+17+15,13+14+10',
217:'2,11+12+16+17+15,13+14+10,92+78+80',
218:'2,11+12+16+17+15,13+14,5,32+33+34,40+41',
219:'2,11+12+16+17+15,13+14+10',
220:'2,11+12+16+17+15,13+14+10',
221:'2,11+12+16+17+15,13+14',
222:'2,11+12+16+17+15,13+14+10',
223:'2,11+12+16+17+15,13+14+10,19,32+33+34,40+41,106+107',
225:'2,11+12+16+17+15,13+14+10',
227:'2,11+12+16+17+15,13+14,92+78+80',
229:'2,11+12+16+15,13+14,159+151+152,153,154,155,156,157,158,19,55,92+181+180+186+189',
231:'2,11+12+16+17+15,13+14+10',
232:'2,11+12+16+17+15,13+14',
233:'2,11+12+16+17+15,13+14+10',
237:'2,11+12+16+17+15,13+14+10,101+98+99+100,83,143,92+77+78+80',
239:'2,11+12+16+17+15+434,13+14,101+98+99,263+264,265,268,564',
240:'2,11+12+16+17+15,13+14+10,92+77+78+80+103+110',
241:'2,11+12+16+17+15,13+14,4,36,6,7+8+33+34+39,40+41',
242:'2,11+12+16+17+15,13+14,92+77+78+80',
243:'624,11+634+16+124+130+434,13+14+122+10,135,36,132,133+131,644,654,22,24+25+125+31,664,32+684+33+129,144+674',
248:'2,11+12+16+17+15,13+14+10,164+165+166+167,143,114',
249:'2,11+12+16+160+17+15,13+14,159+151+152+334,19,161+162+163',
250:'2,11+12+16+17+15,13+14,145+146+147+148',
252:'2,11+12+16+17+15,13+14,260,261,262',
254:'17',
264:'2,11+12+16+17+15,13+14,5,32+33+34,40+41',
274:'2,11+12+16+17+15,13+14,5,32+33+34,40+41',
284:'2,11+12+16+15+434,13+14,159+151+152,153,154,155,156,157,19,55,92+180+186',
294:'2,11+12+16+17+28+15,13+14+10,3,71,19,4,5,36,6,7+8,18,23,22,24+25+26+27+31,32+33+34+35,37+38+39,40+41+42+43+44+45+46+47+48+49',
304:'2,11+12+16+17+15,13+14,4,32+33+34,40+41',
324:'2,11+12+16+17+15,13+14+33+34',
334:'2,11+12+16+17+15',
354:'2,11+12+16+17+15',
374:'2,11+12+16+17+15',
394:'2,11+12+16+17+15',
414:'2,11+12+16+17+15',
424:'2,11+12+16+17+15',
454:'2,11+12+16+17+15',
464:'2,11+12+16+17+15',
474:'2,11+12+16+17+15',
484:'2,11+12+16+17+15',
494:'2,11+12+16+17+15',
534:'2,11+12+16+17+15',
544:'2,11+12+16+17+15',
564:'2,11+12+16+17+15',
574:'2,11+12+16+17+15',
584:'2,11+12+16+17+15',
594:'2,11+12+16+17+15',
604:'2,11+12+16+17+15',
614:'2,11+12+16+17+15',
634:'2,11+12+16+17+15',
644:'2,11+12+16+17+15',
654:'2,11+12+16+17+15',
664:'2,11+12+16+17+15',
674:'2,11+12+16+17+15',
694:'2,11+12+16+17+15',
704:'2,11+12+16+17+15',
714:'2,11+12+16+17+15',
724:'2,11+12+16+17+15',
734:'2,11+12+16+17+15',
754:'2,11+12+16+17+15',
764:'2,11+12+16+17+15,13+14+10,19,32+33+34,40+41',
774:'2,11+12+16+17+15,13+14',
784:'2,11+12+16+17+28+15+434,13+14,4,55+57+58+60,61+104+109,404,414+424,464,274',
794:'2,11+12+16+17+15,13+14,4,32+33+34,40+41,447',
804:'2,11+12+16+17+28+15,13+14,3,71,19,4,5,36,6,7+8,18,23,22+25+31,32+33+34,37+38,40+41',
814:'2+16',
824:'2,11+12+16+17+15,13+14,71,19,69+70,474',
834:'2+16',
854:'2+16',
864:'2+16',
874:'2+16',
894:'2+16',
904:'2,11+12+16+17+28+15+434,13+14+10,3,71,19,4,5,36,6,7+8,18,23,22,24+25+26+27+31,32+33+34+35,37+38+39,40+41+42+43+44+45+46+47+48+49',
914:'2,71,4,5,36,6,714',
924:'2,11+12+16+17+28+15+434,13+14+10,3,71,19,4,5,36,6,7+8,18,23,22,24+25+26+27+31,32+33+34+35,37+38+39,40+41+42+43+44+45+46+47+48+49,374',
934:'2,11+12+16+17+15,13+14+33+34,40+41',
954:'524,11+12+834+16+17+28+534+434,13+14+10,324,19,4,5,36,6,7+8,18,614,22,24+25+31,32+544+33,40',
964:'2,11+12+16+17+15,13+14+10,5,584+604,594+33+34,40+41,694',
974:'524,11+12+16+17+28+534,13+14+10,324,4,614,24+25+31,40',
984:'2,11+12+16+17+15,13+14,4,594+33+34,40+41',
994:'2,11+12+16+17+15,13+14,4,9',
1004:'2,11+12+16+17+15,13+14+10,55',
1014:'2+12+16+17,5,36,23',
1034:'2,9',
1054:'2+15,101+98+99+100,55',
1064:'2,55+56+57,314',
1074:'2,11+12+16+17+15,13+14,5,32+33+34,40',
1084:'11+12+16+17+15,13+14+10,19,32+33+34,40+41',
1094:'11+12+16,744+754',
1104:'17,9',
1114:'2,11+12+16+17+15,19,9',
1124:'15,794,804,814,824',
1144:'',
1154:'',
1164:'',
1174:'',
1184:'',
1194:'',
1204:'',
1214:'',
1224:'2,11+12+16+17+15+434,9',
1244:'55',
1254:'15,9',
1264:'15,4',
1274:'',
1284:'',
1294:'',
1304:'2,11+12+16+17,23',
1314:'2,11+12+16+17+28+434+14,9,844',0:'' };
var formField = { 2:'<b>Select your residence state:</b><br /><select class="f_select" id="<2>_d" name="<2>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">State/Province</option><option class="head" value="null">----------</option><optgroup label="--USA--"><option  value="al">Alabama</option><option  value="ak">Alaska</option><option  value="az">Arizona</option><option  value="ar">Arkansas</option><option  value="ca">California</option><option  value="co">Colorado</option><option  value="ct">Connecticut</option><option  value="de">Delaware</option><option  value="dc">District of Columbia</option><option  value="fl">Florida</option><option  value="ga">Georgia</option><option  value="hi">Hawaii</option><option  value="id">Idaho</option><option  value="il">Illinois</option><option  value="in">Indiana</option><option  value="ia">Iowa</option><option  value="ks">Kansas</option><option  value="ky">Kentucky</option><option  value="la">Louisiana</option><option  value="me">Maine</option><option  value="md">Maryland</option><option  value="ma">Massachusetts</option><option  value="mi">Michigan</option><option  value="mn">Minnesota</option><option  value="ms">Mississippi</option><option  value="mo">Missouri</option><option  value="mt">Montana</option><option  value="ne">Nebraska</option><option  value="nv">Nevada</option><option  value="nh">New Hampshire</option><option  value="nj">New Jersey</option><option  value="nm">New Mexico</option><option  value="ny">New York</option><option  value="nc">North Carolina</option><option  value="nd">North Dakota</option><option  value="oh">Ohio</option><option  value="ok">Oklahoma</option><option  value="or">Oregon</option><option  value="pa">Pennsylvania</option><option  value="ri">Rhode Island</option><option  value="sc">South Carolina</option><option  value="sd">South Dakota</option><option  value="tn">Tennessee</option><option  value="tx">Texas</option><option  value="ut">Utah</option><option  value="vt">Vermont</option><option  value="va">Virginia</option><option  value="wa">Washington</option><option  value="wv">West Virginia</option><option  value="wi">Wisconsin</option><option  value="wy">Wyoming</option></optgroup><optgroup label="--CANADA--"><option  value="ab">Alberta</option><option  value="bc">British Columbia</option><option  value="mb">Manitoba</option><option  value="nb">New Brunswick</option><option  value="nl">Newfoundland</option><option  value="nt">Northwest Territories</option><option  value="ns">Nova Scotia</option><option  value="nu">Nunavut</option><option  value="on">Ontario</option><option  value="pe">Prince Edward Island</option><option  value="qc">Quebec</option><option  value="sk">Saskatchewan</option><option  value="yt">Yukon Territory</option></optgroup></select><br />',
3:'<br><b>Are you working and living in the US?</b><br /><select id="<3>_d" class="f_select" name="<3>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option class="head" value="null">------------</option><option value="no">No</option></select>',
4:'<br><b>Your <u>MONTHLY</u> income:</b><br />$<input type="text" class="f_text text" maxlength="4" size="4" id="<4>_d" name="<4>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />.00',
5:'<br><b>Do you have a bank account?</b><br /><select id="<5>_d" class="f_select" name="<5>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="checking" title="I have a checking account">I have a checking account</option><option class="head" value="null">------------</option><option value="savings" title="I only have a savings account">I only have a savings account</option><option class="head" value="null">------------</option><option value="no" title="I do not have a bank account">I do not have a bank account</option></select>',
6:'<br><b>How often are you being paid?</b><br /><select id="<6>_d" class="f_select" name="<6>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="weekly">Weekly</option><option value="bi-weekly">Every other week</option><option value="twice_monthly">Twice a month</option><option value="monthly">Monthly</option></select>',
7:'<br><b>When are your next 2 pay dates?</b> <a name=\'\' style=\'cursor:pointer; color: blue;\' onClick="alert(\'Click in the box below and use the calendar which will then become available.\');">( i )</a><br /><input type="text" class="f_text text" id="<7>_d" name="<7>" readonly="readonly" onClick="calOpen(this, \'mm-dd-yyyy\',\'second_pay_date\',\'pay_period\');" />',
8:'<input type="text" class="f_text text" id="<8>_d" name="<8>" readonly="readonly" onClick="calOpen(this, \'mm-dd-yyyy\');" />',
9:'<br><b>Approximate your total unsecured debt</b><br>(credit card or medical bills debt,<br>unsecured loans, etc.)<br /><select id="<9>_d" class="f_select" name="<9>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="20000">Over $20,000</option><option value="15000">$15,000 - $20,000</option><option value="10000">$10,000 - $15,000</option><option value="5000">$5,000 - $10,000</option><option value="1000">$1,000 - $5,000</option><option value="1000">Up to $1,000</option></select>',
10:'<br><b>Do you Own or Rent your home?</b><br /><select id="<10>_d" class="f_select" name="<10>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="own">Own</option><option class="head" value="null">------------</option><option value="rent">Rent</option></select>',
11:'<b>Your First Name</b><br /><input width="10" type="text" class="f_text text" id="<11>_d" name="<11>" value="" />',
12:'Last Name<br /><input type="text" class="f_text text" id="<12>_d" name="<12>" value="" />',
13:'<br><b>Your Address</b><br /><input type="text" class="f_text text" id="<13>_d" name="<13>" value="" />',
14:'City<br /><input type="text" class="f_text text" id="<14>_d" name="<14>" value="" />',
15:'Your ZIP code:<br /><input type="text" class="f_text text" maxlength="5" size="5" id="<15>_d" name="<15>" onkeyup="checkNumber(document.getElementById(this.id));" value="" />',
16:'Email<br /><input type="text" class="f_text text" id="<16>_d" name="<16>" onBlur="return filter(this, \'^[a-zA-Z0-9_.-]+@[a-zA-Z0-9_.-]+\\\\.[a-zA-Z]+$\');" value="" />',
17:'Best # to be reached at now:<br /><input type="hidden" id="<17>_d" name="<17>" /><input type="text" class="f_text textPart autotab" id="home_phone_part1" name="xhome_phone" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="home_phone_part2" name="xhome_phone" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="home_phone_part3" name="xhome_phone" maxlength="4" size="4" />',
18:'<br><b>Up to what loan amount<br>would you like to receive?</b><br /><select id="<18>_d" class="f_select" name="<18>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="500">$500 or More</option><option class="head" value="null">----------</option><option value="500">Up to $500</option><option value="400">Up to $400</option><option value="300">Up to $300</option><option value="200">Up to $200</option><option value="100">Up to $100</option></select>',
19:'<br><b>What is the best time to be reached?</b><br /><select id="<19>_d" class="f_select" name="<19>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="anytime">Anytime</option><option value="morning">Morning</option><option value="afternoon">Afternoon</option><option value="evening">Evening</option></select>',
22:'<br><b>How long have you lived<br>at your current residence?</b><br /><input type="hidden" id="<22>_d" name="<22>" value="0" /><select class="f_select" id="months_at_residence_part1" name="ymonths_at_residence" onchange="numJoin(this);"><option selected value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option></select> Years <select class="f_select" id="months_at_residence_part2" name="mmonths_at_residence" onchange="numJoin(this);"><option selected value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option></select> Months ',
23:'<br><b>What is your main source of income?</b><br /><select id="<23>_d" class="f_select" name="<23>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="employment">Employment</option><option class="head" value="null">------------</option><option value="benefits" title="Benefits (social security, etc.)">Benefits (social security, etc.)</option></select>',
24:'<br><b>Your occupation:</b><br /><input type="text" class="f_text text" id="<24>_d" name="<24>" value="" />',
25:'Employer<br /><input type="text" class="f_text text" id="<25>_d" name="<25>" value="" />',
26:'<input type="hidden" class="text" id="<26>_d" name="<26>" value="employer" />',
27:'<input type="hidden" class="text" id="<27>_d" name="<27>" value="8771111111" />',
28:'Work or alternate phone:<br /><input type="hidden" id="<28>_d" name="<28>" /><input type="text" class="f_text textPart autotab" id="work_phone_part1" name="xwork_phone" maxlength="3" size="3" onBlur="try { if ((document.getElementById(\'1_home_phone_part1\').value == document.getElementById(\'1_work_phone_part1\').value) && (document.getElementById(\'1_home_phone_part2\').value == document.getElementById(\'1_work_phone_part2\').value) && (document.getElementById(\'1_home_phone_part3\').value == document.getElementById(\'1_work_phone_part3\').value)) {alert(\'To assist with your Request Acceptance, a different number is Recommended for the work/alternate phone.\')} } catch(err){}"/> - <input type="text" class="f_text textPart autotab" id="work_phone_part2" name="xwork_phone" maxlength="3" size="3" onBlur="try { if ((document.getElementById(\'1_home_phone_part1\').value == document.getElementById(\'1_work_phone_part1\').value) && (document.getElementById(\'1_home_phone_part2\').value == document.getElementById(\'1_work_phone_part2\').value) && (document.getElementById(\'1_home_phone_part3\').value == document.getElementById(\'1_work_phone_part3\').value)) {alert(\'To assist with your Request Acceptance, a different number is Recommended for the work/alternate phone.\')} } catch(err){}"/> - <input type="text" class="f_text textPart autotab" id="work_phone_part3" name="xwork_phone" maxlength="4" size="4" onBlur="try { if ((document.getElementById(\'1_home_phone_part1\').value == document.getElementById(\'1_work_phone_part1\').value) && (document.getElementById(\'1_home_phone_part2\').value == document.getElementById(\'1_work_phone_part2\').value) && (document.getElementById(\'1_home_phone_part3\').value == document.getElementById(\'1_work_phone_part3\').value)) {alert(\'To assist with your Request Acceptance, a different number is Recommended for the work/alternate phone.\')} } catch(err){}"/>',
31:'<br><b>How long have you been employed<br>with your current employer?</b><br /><input type="hidden" id="<31>_d" name="<31>" value="0" /><select class="f_select" id="months_employed_part1" name="ymonths_employed" onchange="numJoin(this);"><option selected value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option></select> Years <select class="f_select" id="months_employed_part2" name="mmonths_employed" onchange="numJoin(this);"><option selected value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option></select> Months ',
32:'<br><font style=\'color: #004080; font-weight:bold;\'>Should you accept your loan,<br>into what bank account<br> would you like to receive it?</font> <a name=\'\' style=\'cursor:pointer; color: blue;\' onClick="alert(\'At the bottom of your checks,\\nthe First Number is the Bank Routing Number,\\nthe Second Number is the Bank Account Number.\');">( i )</a><br><br><b>Your Bank Name:</b><br /><input type="text" class="f_text text" id="<32>_d" name="<32>" value="" />',
33:'Your Bank Account Number: <a href="https://www.leadpile.com/ezwebsys.com/shared/form/secureSite.html" style="cursor:pointer; color: blue;" target="secure-site" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">( i )</a><br /><input type="text" class="f_text text" maxlength="" size="" id="<33>_d" name="<33>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
34:'Bank Routing Number <a name=\'\' style=\'cursor:pointer; color: blue;\' onClick="alert(\'The Bank Routing Number is found at the bottom of your checks next to the Account Number.\');">( i )</a><br /><input type="text" class="f_text text" maxlength="" size="" id="<34>_d" name="<34>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
35:'Bank phone<br /><input type="hidden" id="<35>_d" name="<35>" /><input type="text" class="f_text textPart autotab" id="bank_phone_part1" name="xbank_phone" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="bank_phone_part2" name="xbank_phone" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="bank_phone_part3" name="xbank_phone" maxlength="4" size="4" />',
36:'<br><b>Do you have Direct Deposit?</b> <a name=\'\' style=\'cursor:pointer; color: blue;\' onClick="alert(\'Select YES if your paycheck is ELECTRONICALLY deposited into your bank account.\');">( i )</a><br /><select id="<36>_d" class="f_select" name="<36>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option class="head" value="null">---------</option><option value="no">No</option><option value="no">I don\'t know</option></select>',
37:'<br><b>Your driving license state:</b><br /><select class="f_select" id="<37>_d" name="<37>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">State/Province</option><option class="head" value="null">----------</option><optgroup label="--USA--"><option  value="al">Alabama</option><option  value="ak">Alaska</option><option  value="az">Arizona</option><option  value="ar">Arkansas</option><option  value="ca">California</option><option  value="co">Colorado</option><option  value="ct">Connecticut</option><option  value="de">Delaware</option><option  value="dc">District of Columbia</option><option  value="fl">Florida</option><option  value="ga">Georgia</option><option  value="hi">Hawaii</option><option  value="id">Idaho</option><option  value="il">Illinois</option><option  value="in">Indiana</option><option  value="ia">Iowa</option><option  value="ks">Kansas</option><option  value="ky">Kentucky</option><option  value="la">Louisiana</option><option  value="me">Maine</option><option  value="md">Maryland</option><option  value="ma">Massachusetts</option><option  value="mi">Michigan</option><option  value="mn">Minnesota</option><option  value="ms">Mississippi</option><option  value="mo">Missouri</option><option  value="mt">Montana</option><option  value="ne">Nebraska</option><option  value="nv">Nevada</option><option  value="nh">New Hampshire</option><option  value="nj">New Jersey</option><option  value="nm">New Mexico</option><option  value="ny">New York</option><option  value="nc">North Carolina</option><option  value="nd">North Dakota</option><option  value="oh">Ohio</option><option  value="ok">Oklahoma</option><option  value="or">Oregon</option><option  value="pa">Pennsylvania</option><option  value="ri">Rhode Island</option><option  value="sc">South Carolina</option><option  value="sd">South Dakota</option><option  value="tn">Tennessee</option><option  value="tx">Texas</option><option  value="ut">Utah</option><option  value="vt">Vermont</option><option  value="va">Virginia</option><option  value="wa">Washington</option><option  value="wv">West Virginia</option><option  value="wi">Wisconsin</option><option  value="wy">Wyoming</option></optgroup><optgroup label="--CANADA--"><option  value="ab">Alberta</option><option  value="bc">British Columbia</option><option  value="mb">Manitoba</option><option  value="nb">New Brunswick</option><option  value="nl">Newfoundland</option><option  value="nt">Northwest Territories</option><option  value="ns">Nova Scotia</option><option  value="nu">Nunavut</option><option  value="on">Ontario</option><option  value="pe">Prince Edward Island</option><option  value="qc">Quebec</option><option  value="sk">Saskatchewan</option><option  value="yt">Yukon Territory</option></optgroup></select><br />',
38:'Driving license number:<br /><input type="text" class="f_text text" id="<38>_d" name="<38>" value="" />',
39:'Your mother\'s maiden name: <a href="https://www.leadpile.com/ezwebsys.com/shared/form/secureSite.html" style="cursor:pointer; color: blue;" target="secure-site" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">( i )</a><br /><input type="text" class="f_text text" id="<39>_d" name="<39>" value="" />',
40:'<br><b>Your birthdate (mm/dd/yyyy):</b><br /><input type="hidden" id="<40>_d" name="<40>" /><input type="text" class="f_text textPart autotab" id="<40>_part1" name="xbirth_date" size="2" value="" onBlur="return filter(this, \'^(0[1-9]|1[0-2]|mm)$\');" /> / <input type="text" class="f_text textPart autotab" id="<40>_part2" name="xbirth_date" size="2" value="" onBlur="return filter(this, \'^(0[1-9]|[12][0-9]|3[01]|dd)$\');" /> / <input type="text" class="f_text textPart autotab" id="<40>_part3" name="xbirth_date" size="4" value="" onBlur="return filter(this, \'^([0-9]{4}|yyyy)$\');" />',
41:'Social Security number: <a href="https://www.leadpile.com/ezwebsys.com/shared/form/secureSite.html" style="cursor:pointer; color: blue;" target="secure-site" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">( i )</a><br /><input type="hidden" id="<41>_d" name="<41>" /><input type="text" class="f_text textPart autotab" id="social_security_number_part1" name="xsocial_security_number" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="social_security_number_part2" name="xsocial_security_number" maxlength="2" size="2" /> - <input type="text" class="f_text textPart autotab" id="social_security_number_part3" name="xsocial_security_number" maxlength="4" size="4" />',
42:'<input type="hidden" class="text" id="<42>_d" name="<42>" value="None" />',
43:'<input type="hidden" class="text" id="<43>_d" name="<43>" value="None" />',
44:'<input type="hidden" class="text" id="<44>_d" name="<44>" value="friend" />',
45:'<input type="hidden" class="text" id="<45>_d" name="<45>" value="8771111111" />',
46:'<input type="hidden" class="text" id="<46>_d" name="<46>" value="None" />',
47:'<input type="hidden" class="text" id="<47>_d" name="<47>" value="None" />',
48:'<input type="hidden" class="text" id="<48>_d" name="<48>" value="friend" />',
49:'<input type="hidden" class="text" id="<49>_d" name="<49>" value="8771111111" />',
55:'<br>Your credit<br /><select id="<55>_d" class="f_select" name="<55>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="excellent">Excellent</option><option value="good">Good</option><option value="fair">Fair</option><option value="poor">Poor</option></select>',
56:'<br>Your home type<br /><select id="<56>_d" class="f_select" name="<56>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="single_family_home">Single Family Home</option><option value="condominium">Condominium</option><option value="multi_family_home">Multi Family Home</option></select>',
57:'<br>Approximate your home value<br />$<input type="text" class="f_text text" maxlength="3" size="3" id="<57>_d" name="<57>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="if (this.value < 30 && this.value != \'\') {alert(\'Minimum home value accepted is $30,000.00\');this.value=\'\';};return filter(this, \'^[0-9]+$\')" />,000.00',
58:'<br>Approximate your mortgage balance<br />$<input type="text" class="f_text text" maxlength="3" size="3" id="<58>_d" name="<58>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />,000.00',
59:'<br>CASH OUT wanted<br />$<input type="text" class="f_text text" maxlength="3" size="3" id="<59>_d" name="<59>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />,000.00',
60:'<br>Second Mortgage<br />$<input type="text" class="f_text text" maxlength="3" size="3" id="<60>_d" name="<60>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />,000.00',
61:'<br>Your current interest rate<br>(round up to closest value)<br />%<input type="text" class="f_text text" maxlength="2" size="2" id="<61>_d" name="<61>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="if (this.value <= 0 && this.value != \'\') {alert(\'Please enter interest rate between 1 to 99\');this.value=\'\';};return filter(this, \'^[0-9]+$\')" />.00',
62:'<br>Your monthly obligations excluding housing<br>(credit cards, child support, etc.)<br />$<input type="text" class="f_text text" maxlength="4" size="4" id="<62>_d" name="<62>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />.00',
65:'<br><b>Name one or more companies<br>that you owe money to:</b><br /><input type="text" class="f_text text" id="<65>_d" name="<65>" value="" />',
66:'Please briefly describe your case<br /><textarea class="f_textarea" cols=20 rows=10 id="<66>_d" name="<66>"></textarea>',
67:'<br><font style=\'color: brown; font-weight: bold\'>Congratulations!</font><br /><b>You are also PRE-APPROVED<br>for a new car loan.</b><br><i>(bad or no credit OK with credit check)</i><br /><select id="<67>_d" class="f_select" name="<67>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes" title="<font color=red>YES, get me approved!</font>"><font color=red>YES, get me approved!</font></option><option class="head" value="null">------------------------</option><option value="no">no</option></select>',
69:'Education Level<br /><select id="<69>_d" class="f_select" name="<69>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="high_school">High School</option><option value="ged">GED</option><option value="some_college">Some College</option><option value="associate">Associate\'s Degree</option><option value="bachelor">Bachelor\'s Degree</option><option value="master">Master\'s Degree</option><option value="doctorate">Doctorate</option></select>',
70:'Program of Interest<br /><select id="<70>_d" class="f_select" name="<70>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option class="head" value="null">Associate\'s Degrees</option><option class="head" value="null">----------</option><option value="a_avionics">Avionics</option><option value="a_airframe_powerplant">Airframe and Powerplant</option><option value="a_automotive_technology">Automotive Technology</option><option value="a_cad" title="CAD-Architectural Drafting">CAD-Architectural Drafting</option><option value="a_computer_network" title="Computer Network Engineering">Computer Network Engineering</option><option value="a_construction_management">Construction Management</option><option value="a_graphic_design" title="Graphic Design and Multimedia">Graphic Design and Multimedia</option><option value="a_hotel_restaurant_management" title="Hotel and Restaurant Management">Hotel and Restaurant Management</option><option value="a_hvac">HVAC/R</option><option value="a_information_technology">Information Technology</option><option value="a_medical_assisting">Medical Assisting</option><option value="a_paralegal">Paralegal</option><option value="a_surveying">Surveying</option><option class="head" value="null">----------</option><option class="head" value="null">Bachelor\'s Degree</option><option class="head" value="null">----------</option><option value="b_animation">Animation</option><option value="b_ba_accounting">BA - Accounting</option><option value="b_ba_marketing_sales">BA - Marketing/Sales</option><option value="b_financial_management" title="BA - Financial Management">BA - Financial Management</option><option value="b_ba_business_management">BA - Business Management</option><option value="b_ba_healthcare_management" title="BA - Healthcare Management">BA - Healthcare Management</option><option value="b_ba_marketing_management" title="BA - Marketing Management">BA - Marketing Management</option><option value="b_ba_psychology">BA - Psychology</option><option value="b_business_management">Business Management</option><option value="b_computer_network" title="Computer Network Management">Computer Network Management</option><option value="b_contruction_management">Construction Management</option><option value="b_criminal_justice">Criminal Justice</option><option value="b_e_business_management">E-Business Management</option><option value="b_fashion_merchandising">Fashion Merchandising</option><option value="b_game_art">Game Art and Design</option><option value="b_game_software_development" title="Game Software Development">Game Software Development</option><option class="head" value="null">----------</option><option class="head" value="null">Master\'s Degrees</option><option class="head" value="null">----------</option><option value="m_instruction">Instructional Technology</option><option value="m_information">Information Technology</option><option value="m_accounting">Accounting and Finance</option><option value="m_healthcare">Healthcare Management</option><option value="m_human_resources">Human Resources</option><option value="m_management">Management</option><option value="m_marketing">Marketing</option><option value="m_operations">Operations Management</option><option value="m_org_psych" title="Organizational Psychology">Organizational Psychology</option><option value="m_projects">Project Management</option><option value="m_international">International Business</option><option value="none">None of the Above</option></select>',
71:'<br><b>Are you</b>,<br>or are you a dependent of<br><b>a U.S. Military employee</b>?<br /><select id="<71>_d" class="f_select" name="<71>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">No, I am not</option><option class="head" value="null">---------------</option><option value="yes">yes</option></select>',
77:'<font style=\'color: #004080; font-weight: bold\'>My Car Insurance</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_car_insurance_bonus_d" name="<77>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_car_insurance_bonus_d" name="<77>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
78:'<font style=\'color: #004080; font-weight: bold\'>Life Insurance Quote</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_life_insurance_bonus_d" name="<78>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_life_insurance_bonus_d" name="<78>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
79:'<font style=\'color: #004080; font-weight: bold\'>My Student Loan Debt of over $10,000</font><br>(must be out of school)<br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_student_loan_consolidation_bonus_d" name="<79>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_student_loan_consolidation_bonus_d" name="<79>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
80:'<font style=\'color: #004080; font-weight: bold\'>Home Business Opportunity</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_home_based_business_bonus_d" name="<80>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_home_based_business_bonus_d" name="<80>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
81:'<font style=\'color: #004080; font-weight: bold\'>Credit Repair Quote</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_credit_repair_bonus_d" name="<81>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_credit_repair_bonus_d" name="<81>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
82:'Student Loan Debt<br /><input type="text" class="f_text text" maxlength="" size="" id="<82>_d" name="<82>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
83:'<font style=\'color: brown; font-weight: bold\'>Why Rent when you can OWN?</font><br />Learn how you can own your own home<br><u>for the same money</u> you pay in rent.<br><b>No money down!</b><br><i>(bad credit OK)</i><br /><select id="<83>_d" class="f_select" name="<83>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES, I\'d rather OWN</option><option class="head" value="null">-----------</option><option value="no">no, I like rent</option></select>',
92:'<br><b>We may be able to save you money on additional products and services!</b><br><font style=\'color: brown; font-weight: bold\'>YES, I am also interested in the following:</font><br /><br /><input type="hidden" id="<92>_d" name="<92>" value="" />',
93:'What type of loans do you currently have?<br /><select id="<93>_d" class="f_select" name="<93>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="federal">Federal</option><option value="private">Private</option></select>',
94:'How many loans do you currently have?<br /><input type="text" class="f_text text" maxlength="" size="" id="<94>_d" name="<94>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
95:'Are you in default on any student loans?<br /><select id="<95>_d" class="f_select" name="<95>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="no">No</option></select>',
96:'Do you have any student loans already consolidated?<br /><select id="<96>_d" class="f_select" name="<96>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="no">No</option></select>',
97:'Have you graduated or will you graduate in the next 6 months?<br /><select id="<97>_d" class="f_select" name="<97>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="no">No</option></select>',
98:'Select a Make:<br /><select id="<98>_d" class="f_select" name="<98>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="Acura">Acura</option><option value="AlfaRomeo">Alfa Romeo</option><option value="AMC">AMC</option><option value="AstonMartin">Aston Martin</option><option value="Audi">Audi</option><option value="Avanti">Avanti</option><option value="Bentley">Bentley</option><option value="BMW">BMW</option><option value="Buick">Buick</option><option value="Cadillac">Cadillac</option><option value="Chevrolet">Chevrolet</option><option value="Chrysler">Chrysler</option><option value="Daewoo">Daewoo</option><option value="Daihatsu">Daihatsu</option><option value="Datsun">Datsun</option><option value="DeLorean">DeLorean</option><option value="Dodge">Dodge</option><option value="Eagle">Eagle</option><option value="Ferrari">Ferrari</option><option value="Fiat">Fiat</option><option value="Ford">Ford</option><option value="Geo">Geo</option><option value="GMC">GMC</option><option value="Honda">Honda</option><option value="HUMMER">HUMMER</option><option value="Hyundai">Hyundai</option><option value="Infiniti">Infiniti</option><option value="Isuzu">Isuzu</option><option value="Jaguar">Jaguar</option><option value="Jeep">Jeep</option><option value="Kia">Kia</option><option value="Lamborghini">Lamborghini</option><option value="Lancia">Lancia</option><option value="LandRover">Land Rover</option><option value="Lexus">Lexus</option><option value="Lincoln">Lincoln</option><option value="Lotus">Lotus</option><option value="Maserati">Maserati</option><option value="Maybach">Maybach</option><option value="Mazda">Mazda</option><option value="Mercedes-Benz">Mercedes-Benz</option><option value="Mercury">Mercury</option><option value="Merkur">Merkur</option><option value="MINI">MINI</option><option value="Mitsubishi">Mitsubishi</option><option value="Nissan">Nissan</option><option value="Oldsmobile">Oldsmobile</option><option value="Peugeot">Peugeot</option><option value="Plymouth">Plymouth</option><option value="Pontiac">Pontiac</option><option value="Porsche">Porsche</option><option value="Renault">Renault</option><option value="Rolls-Royce">Rolls-Royce</option><option value="Saab">Saab</option><option value="Saturn">Saturn</option><option value="Scion">Scion</option><option value="Sterling">Sterling</option><option value="Subaru">Subaru</option><option value="Suzuki">Suzuki</option><option value="Toyota">Toyota</option><option value="Triumph">Triumph</option><option value="Volkswagen">Volkswagen</option><option value="Volvo">Volvo</option><option value="Yugo">Yugo</option></select>',
99:'Model, type or "any":<br /><input type="text" class="f_text text" id="<99>_d" name="<99>" value="" />',
100:'I consider buying in the next:<br /><select id="<100>_d" class="f_select" name="<100>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="2">48 Hours</option><option value="7">7 Days</option><option value="30">30 Days</option><option value="90">90 Days</option></select>',
101:'<div nowrap style="width:125px; text-align:left;"><input  class="f_radio" type="radio" value="new" id="new_auto_type_d" name="<101>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">Brand New Car</input><br /><input  class="f_radio" type="radio" value="used" id="used_auto_type_d" name="<101>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">Pre-Owned Car</input><br /></div>',
102:'<font style=\'color: brown; font-weight: bold\'>Are you in the market for a<br>New or Pre-Owned vehicle?</font><br />Get Free Quotes<br>from dealers in your area<br /><select id="<102>_d" class="f_select" name="<102>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes" title="YES, I may consider a new car">YES, I may consider a new car</option><option class="head" value="null">-----------</option><option value="no">No</option></select>',
103:'<font style=\'color: #004080; font-weight: bold\'>Health Insurance Quote</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_health_insurance_bonus_d" name="<103>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_health_insurance_bonus_d" name="<103>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
104:'<input type="hidden" class="text" id="<104>_d" name="<104>" value="" />',
105:'<br><font style=\'color: brown; font-weight: bold\'>FOR A LIMITED TIME:</font><br /><b>FREE - No Obligation Auto Loan Quotes</b><br>No one is turned down!<br>Receive a quote today!<br /><i>(bad or no credit OK with credit check)</i><br /><select id="<105>_d" class="f_select" name="<105>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes" title="<font color=red>YES (recommended)</font>"><font color=red>YES (recommended)</font></option><option class="head" value="null">------------------------</option><option value="no">no</option></select>',
106:'<br><font style="color: brown; font-weight: bold;">Would you ALSO like a Prepaid MasterCard&reg; Card with $2,500 Max Value?</font><br><font size="-1">SterlingVIP gives you the Purchasing Power you need. Easy Application! <br>Your Basic Information is Already on File! Simply choose YES to apply!</font><br><br><img src="https://www.leadpile.com/leadpile/images01/bonus_questions/sterling-vip.gif"><br><br /><br /><select id="<106>_d" class="f_select" name="<106>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES, SEND ME THE CARD</option><option class="head" value="null">-----------</option><option value="no">No, I don\'t want it</option></select>',
107:'<input type="hidden" class="text" id="<107>_d" name="<107>" value="" /><p><table bgcolor="#F4F4F4" width="200" border=1><tr><td><iframe width="200" height="200" src="https://esuperoffers.com/new/monterey/privacy-monterey.asp?from=sca&bank=1" align="justify"></iframe><p style="text-align: left; font-family: Times New Roman; width=200; font-size: 11pt;"><b>By selecting YES above,  you understand: STERLINGVIP, not Monterey County Bank, will electronically debit your checking account for our one-time <font style="font-size: 14pt;">$49.95</font> Application and Processing fee.</b><br><br><font style="color:black; font-size: 10pt;">This is a one-time fee will appear on your banking statement from Sterling VIP for your Sterling VIP Prepaid MasterCard&reg; Card. See Terms and Conditions for Card usage fees. A monthly maintenance fee of <font style="font-size: 14pt;"><b>$6.95</b></font> will be assessed and deducted from your card balance and NOT from your bank account. By clicking "Yes" you agree to the <a href="https://servedoc.com/new//monterey/privacy-monterey.asp?from=sca&bank=1" style="color:blue; text-decoration:underline; font-size: 11pt;" target="privacy-monterey" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">Privacy Policy</a> and <a href="https://servedoc.com/new/monterey/terms-split_4900_text.asp" style="color:blue; text-decoration:underline; font-size: 11pt;" target="terms-monterey" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">Terms & Conditions</a> as stated, you certify that you are at least 18 years old, and that this is not a credit card and no credit is extended and that you may receive special email offers from marketing partners, including, but not limited to credit weekly. <br><br>This Prepaid MasterCard&reg; Card is issued by Monterey County Bank under license from MasterCard&reg; International. I have read, understood and agree to the Privacy Policy and Terms & Conditions and that this is not a credit card and no credit is extended and that I may receive special email offers from marketing partners, including, but not limited to credit weekly. This Prepaid MasterCard Card is issued by Monterey County Bank under license from MasterCard&reg; International. Monterey County Bank is NOT AFFILIATED WITH, NOR DOES IT ENDORSE ANY OTHER OFFER ON THIS PAGE EXCEPT THE PREPAID DEBIT CARD.</font></p></table></p>',
109:'<input type="hidden" class="text" id="<109>_d" name="<109>" value="" />',
110:'<font style=\'color: #004080; font-weight: bold\'>Home Improvement</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_home_improvement_bonus_d" name="<110>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_home_improvement_bonus_d" name="<110>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
113:'Select a Home Improvement Service<br>that best describes your needs:<br /><select id="<113>_d" class="f_select" name="<113>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="additions_major">Additions - Major</option><option value="additions_minor">Additions - Minor</option><option value="architectural_and_plan_designs" title="Architectural and Plan Designs">Architectural and Plan Designs</option><option value="basement_remodeling">Basement Remodeling</option><option value="bath_remodeling_major">Bath Remodeling - Major</option><option value="bath_remodeling_minor">Bath Remodeling - Minor </option><option value="cabinet_install">Cabinet - Install</option><option value="cabinet_refacing">Cabinet - Refacing</option><option value="counter_tops_install">Counter Tops - Install</option><option value="custom_homes_w__lot">Custom Homes w/ Lot</option><option value="custom_homes_w_o_lot">Custom Homes w/o Lot</option><option value="deck_new">Deck - New</option><option value="deck_repair_modification" title="Deck - Repair/Modification">Deck - Repair/Modification</option><option value="fence_wood">Fence - Wood</option><option value="flooring_hardwood_install" title="Flooring - Hardwood Install">Flooring - Hardwood Install</option><option value="flooring_hardwood_refinishing" title="Flooring - Hardwood Refinishing">Flooring - Hardwood Refinishing</option><option value="flooring_laminate">Flooring - Laminate</option><option value="framing">Framing</option><option value="kitchen_remodeling_major" title="Kitchen Remodeling - Major">Kitchen Remodeling - Major</option><option value="kitchen_remodeling_minor" title="Kitchen Remodeling - Minor">Kitchen Remodeling - Minor</option><option value="marble_and_granite">Marble and Granite</option><option value="painting_exterior">Painting - Exterior</option><option value="painting_interior">Painting - Interior</option><option value="painting_minor">Painting - Minor</option><option value="remodeling_major">Remodeling - Major</option><option value="remodeling_minor">Remodeling - Minor</option><option value="roofing_cedar_shake">Roofing - Cedar Shake</option><option value="roofing_composite">Roofing - Composite</option><option value="roofing_metal">Roofing - Metal</option><option value="roofing_tar_torchdown">Roofing - Tar/Torch-down</option><option value="roofing_tile">Roofing - Tile</option><option value="siding_aluminum">Siding - Aluminum</option><option value="siding_composite_wood">Siding - Composite/Wood</option><option value="siding_vinyl">Siding - Vinyl</option><option value="sunrooms">Sunrooms</option><option value="swimming_pools">Swimming Pools</option><option value="tile_exterior">Tile - Exterior</option><option value="tile_interior">Tile - Interior</option><option value="window_install_major">Window Install - Major</option><option value="window_install_minor">Window Install - Minor</option></select>',
114:'<br><font style=\'color: brown; font-weight: bold\'>Are you overwhelmed with debt<br>and unable to pay your bills?</font><br><br><font style=\'color: #004080; font-weight: bold\'>Learn how <br>BANKRUPTCY CAN HELP<br> <u>keep what you have</u><br>and reduce or <u>eliminate</u> your debt!</font><br /><select id="<114>_d" class="f_select" name="<114>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes, please have a local</option><option value="yes">bankruptcy attorney</option><option value="yes">contact me ASAP</option><option class="head" value="null">-----------</option><option value="no">no</option></select>',
115:'moving date:<br /><input type="text" class="f_text text" id="<115>_d" name="<115>" readonly="readonly" onClick="calOpen(this, \'mm-dd-yyyy\');" />',
116:'move to state:<br /><select class="f_select" id="<116>_d" name="<116>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">State/Province</option><option class="head" value="null">----------</option><optgroup label="--USA--"><option  value="al">Alabama</option><option  value="ak">Alaska</option><option  value="az">Arizona</option><option  value="ar">Arkansas</option><option  value="ca">California</option><option  value="co">Colorado</option><option  value="ct">Connecticut</option><option  value="de">Delaware</option><option  value="dc">District of Columbia</option><option  value="fl">Florida</option><option  value="ga">Georgia</option><option  value="hi">Hawaii</option><option  value="id">Idaho</option><option  value="il">Illinois</option><option  value="in">Indiana</option><option  value="ia">Iowa</option><option  value="ks">Kansas</option><option  value="ky">Kentucky</option><option  value="la">Louisiana</option><option  value="me">Maine</option><option  value="md">Maryland</option><option  value="ma">Massachusetts</option><option  value="mi">Michigan</option><option  value="mn">Minnesota</option><option  value="ms">Mississippi</option><option  value="mo">Missouri</option><option  value="mt">Montana</option><option  value="ne">Nebraska</option><option  value="nv">Nevada</option><option  value="nh">New Hampshire</option><option  value="nj">New Jersey</option><option  value="nm">New Mexico</option><option  value="ny">New York</option><option  value="nc">North Carolina</option><option  value="nd">North Dakota</option><option  value="oh">Ohio</option><option  value="ok">Oklahoma</option><option  value="or">Oregon</option><option  value="pa">Pennsylvania</option><option  value="ri">Rhode Island</option><option  value="sc">South Carolina</option><option  value="sd">South Dakota</option><option  value="tn">Tennessee</option><option  value="tx">Texas</option><option  value="ut">Utah</option><option  value="vt">Vermont</option><option  value="va">Virginia</option><option  value="wa">Washington</option><option  value="wv">West Virginia</option><option  value="wi">Wisconsin</option><option  value="wy">Wyoming</option></optgroup><optgroup label="--CANADA--"><option  value="ab">Alberta</option><option  value="bc">British Columbia</option><option  value="mb">Manitoba</option><option  value="nb">New Brunswick</option><option  value="nl">Newfoundland</option><option  value="nt">Northwest Territories</option><option  value="ns">Nova Scotia</option><option  value="nu">Nunavut</option><option  value="on">Ontario</option><option  value="pe">Prince Edward Island</option><option  value="qc">Quebec</option><option  value="sk">Saskatchewan</option><option  value="yt">Yukon Territory</option></optgroup></select><br />',
117:'moving to city:<br /><input type="text" class="f_text text" id="<117>_d" name="<117>" value="" />',
118:'move size:<br /><select id="<118>_d" class="f_select" name="<118>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="small_studio">small studio</option><option value="large_studio">large studio</option><option value="one_bdr_apt">1 bdr apt</option><option value="two_bdr_apt">2 bdr apt</option><option value="three_bdr_apt">3  bdr apt</option><option value="two_bdr_house">2 bdr house</option><option value="three_bdr_house">3 bdr house</option><option value="four_bdr_house">4 bdr house</option><option value="five_bdr_house">5  bdr house</option><option value="table_chairs_only">table/chairs only</option><option value="dining_set_only">dining set only</option></select>',
119:'<font style=\'color: #004080; font-weight: bold\'>Home Security System</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_home_security_system_bonus_d" name="<119>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style=\'color:brown; font-weight:bold\'>YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_home_security_system_bonus_d" name="<119>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
122:'House Number/Name<br /><input type="text" class="f_text text" id="<122>_d" name="<122>" value="" />',
124:'Phone Number<br>Ex: 01155557777<br /><input type="text" class="f_text text" maxlength="11" size="12" id="<124>_d" name="<124>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^0[0-9]{10}$\');" value="" />',
125:'Work Phone<br>Ex: 01155557777<br /><input type="text" class="f_text text" maxlength="11" size="12" id="<125>_d" name="<125>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^0[0-9]{10}$\');" value="" />',
129:'Bank Sort Code<br>Ex: 112233<br /><input type="text" class="f_text text" maxlength="6" size="6" id="<129>_d" name="<129>" onBlur="return filter(this, \'[0-9]{6}$\');" value="" />',
130:'Postcode<br>Ex: AA9A9AA<br /><input type="text" class="f_text text" maxlength="7" size="7" id="<130>_d" name="<130>" value="" />',
131:'<input type="text" class="f_text text" id="<131>_d" name="<131>" readonly="readonly" onClick="calOpen(this, \'dd-mm-yyyy\');" />',
132:'Pay Period<br /><select id="<132>_d" class="f_select" name="<132>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="last_working_day_of_month" title="Last Working Day of month">Last Working Day of month</option><option value="last_friday_of_month">Last Friday of month</option><option value="last_thursday_of_month">Last Thursday of month</option><option value="last_wednesday_of_month">Last Wednesday of month</option><option value="last_tuesday_of_month">Last Tuesday of month</option><option value="last_monday_of_month">Last Monday of month</option><option value="specific_date_of_month" title="Specific Date (28th of the month)">Specific Date (28th of the month)</option><option value="specific_day_of_month" title="Specific Day (first Friday of month)">Specific Day (first Friday of month)</option><option value="four_weekly" title="Four Weekly (once every four Fridays)">Four Weekly (once every four Fridays)</option><option value="bi-weekly" title="Bi-weekly (every other Friday)">Bi-weekly (every other Friday)</option><option value="twice_monthly" title="Twice Monthly (15th and 30th of month)">Twice Monthly (15th and 30th of month)</option><option value="weekly">Weekly (every Friday)</option></select>',
133:'When are your next 2 pay dates (dd-mm-yyyy)<br /><input type="text" class="f_text text" id="<133>_d" name="<133>" readonly="readonly" onClick="calOpen(this, \'dd-mm-yyyy\');" />',
135:'Your <b>monthly</b> income (in &pound;)<br />£<input type="text" class="f_text text" maxlength="4" size="4" id="<135>_d" name="<135>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />.00',
143:'As a homeowner,<br>you qualify for MORE CASH:<br /><select id="<143>_d" class="f_select" name="<143>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes, I want more cash</option><option class="head" value="null">-------------</option><option value="no" title="no, I don\'t want more cash">no, I don\'t want more cash</option></select>',
144:'What is your birth date? (dd/mm/yyyy)<br /><input type="hidden" id="<144>_d" name="<144>" /><input type="text" class="f_text textPart autotab" id="<144>_part2" name="xbirth_date_uk" size="2" value="" onBlur="return filter(this, \'^(0[1-9]|[12][0-9]|3[01]|dd)$\');" /> / <input type="text" class="f_text textPart autotab" id="<144>_part1" name="xbirth_date_uk" size="2" value="" onBlur="return filter(this, \'^(0[1-9]|1[0-2]|mm)$\');" /> / <input type="text" class="f_text textPart autotab" id="<144>_part3" name="xbirth_date_uk" size="4" value="" onBlur="return filter(this, \'^([0-9]{4}|yyyy)$\');" />',
145:'Do you want to collect from other businesses, or individual consumers?<br /><select id="<145>_d" class="f_select" name="<145>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="business">Businesses Only</option><option value="individual">Individuals Only</option><option value="both">Both</option></select>',
146:'How much money are you currently looking to collect?<br /><select id="<146>_d" class="f_select" name="<146>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="500">$500 - 1,000</option><option value="1000">$1,000 - 5,000</option><option value="5000">$5,000 - 10,000</option><option value="10,000">$10,000 - 50,000</option><option value="50000">$50,000 - 100,000</option><option value="100000">$100,000 - 500,000</option><option value="500000">$500,000 - 1,000,000</option><option value="1000000">$1,000,000 </option></select>',
147:'How many individual accounts are you looking to collect on?<br /><select id="<147>_d" class="f_select" name="<147>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="1">1</option><option value="2">2-5</option><option value="6">6-10</option><option value="11">11-25</option><option value="26">26-49</option><option value="50">50 </option></select>',
148:'How long have the accounts been outstanding?<br /><select id="<148>_d" class="f_select" name="<148>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="1">Less than 2 months</option><option value="2">2-4 months</option><option value="4">4-6 months</option><option value="6">6-12 months</option><option value="12">More than 1 year</option><option value="24">More than 2 years</option></select>',
149:'<b>OR</b><br /><input type="checkbox" id="<149>_d" name="<149>" value="" /> Provide Later',
151:'Your Business Type:<br /><select id="<151>_d" class="f_select" name="<151>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="agriculture">Agriculture</option><option value="banking">Banking</option><option value="bar-club">Bar/Club</option><option value="business_services">Business Services</option><option value="construction">Construction</option><option value="convenience_store">Convenience Store</option><option value="ecommerce">Ecommerce</option><option value="electronics">Electronics</option><option value="export">Export</option><option value="food-beverage">Food/Beverage</option><option value="gas_station">Gas Station</option><option value="government">Government</option><option value="grocery Store">Grocery Store</option><option value="healthcare">HealthCare</option><option value="high_risk_merchant">High Risk Merchant</option><option value="insurance">Insurance</option><option value="internet">Internet</option><option value="lodging">Lodging</option><option value="manufacturing">Manufacturing</option><option value="media">Media</option><option value="medical">Medical</option><option value="office_building">Office Building</option><option value="phone-mail">Phone/Mail</option><option value="restaurant">Restaurant</option><option value="retail_store">Retail Store</option><option value="school">School</option><option value="shipping">Shipping</option><option value="telecommunication">Telecommunication</option><option value="transportation">Transportation</option><option value="university">University</option><option value="utilities">Utilities</option><option value="retail_store">OTHER</option></select>',
152:'Business Phone<br /><input type="hidden" id="<152>_d" name="<152>" /><input type="text" class="f_text textPart autotab" id="business_phone_part1" name="xbusiness_phone" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="business_phone_part2" name="xbusiness_phone" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="business_phone_part3" name="xbusiness_phone" maxlength="4" size="4" />',
153:'Have you ever been turned down for a business loan?<br /><select id="<153>_d" class="f_select" name="<153>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">No</option><option class="head" value="null">-----------</option><option value="yes">Yes</option></select>',
154:'Business loan amount<br /><select id="<154>_d" class="f_select" name="<154>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="5000">Up to $5,000</option><option value="10000">Up to $10,000</option><option value="20000">Up to $20,000</option><option value="30000">Up to $30,000</option><option value="40000">Up to $40,000</option><option value="50000">$50,000 or more</option></select>',
155:'Do you accept credit cards?<br /><select id="<155>_d" class="f_select" name="<155>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option class="head" value="null">-----------</option><option value="no">No</option></select>',
156:'Monthly credit card volume<br /><select id="<156>_d" class="f_select" name="<156>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="5000">Up to $5,000</option><option value="10000">Up to $10,000</option><option value="20000">Up to $20,000</option><option value="30000">Up to $30,000</option><option value="40000">Up to $40,000</option><option value="50000">$50,000 or more</option></select>',
157:'Time in business<br /><select id="<157>_d" class="f_select" name="<157>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="6">0-6 months</option><option value="12">6-12 months</option><option value="24">1 - 2 years</option><option value="36">2 - 3 years</option><option value="48">3 or more years</option></select>',
158:'Are you buying a business?<br /><select id="<158>_d" class="f_select" name="<158>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">No</option><option class="head" value="null">--------</option><option value="yes">Yes</option></select>',
159:'Business name<br /><input type="text" class="f_text text" id="<159>_d" name="<159>" value="" />',
160:'Your job title<br /><input type="text" class="f_text text" id="<160>_d" name="<160>" value="" />',
161:'Years in Business<br /><select id="<161>_d" class="f_select" name="<161>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="2">Less than 2 years</option><option value="3">2 years or more</option></select>',
162:'How much will your equipment cost?<br /><select id="<162>_d" class="f_select" name="<162>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="4999">Less than $4,999</option><option value="5000">$5,000 - 7,499</option><option value="7500">$7,500 - 24,999</option><option value="25000">$25,000 - 49,999</option><option value="50000">$50,000 - 99,999</option><option value="100000">$100,000 - 249,999</option><option value="250000">$250,000 - 499,999</option><option value="500000">$500,000 - 999,999</option><option value="1000000">$1,000,000 - 1,999,999</option><option value="2000000">$2,000,000 </option></select>',
163:'When do you want to take the lease?<br /><select id="<163>_d" class="f_select" name="<163>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="1">Now</option><option value="30">30 day</option><option value="60">60 days</option><option value="90">90 days</option><option value="91">More than 90 days</option></select>',
164:'Years Married<br /><input type="text" class="f_text text" maxlength="2" size="2" id="<164>_d" name="<164>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
165:'Number of Children<br>( 0 if none )<br /><input type="text" class="f_text text" maxlength="2" size="2" id="<165>_d" name="<165>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
166:'Reason for Divorce<br /><select id="<166>_d" class="f_select" name="<166>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="infidelity">Infidelity</option><option value="medical">Medical</option><option value="differences" title="Irreconcilable Differences">Irreconcilable Differences</option><option value="other">Other</option></select>',
167:'Are you and your spouse in agreement about the divorce details? (divorce <b>un</b>contested)<br /><select id="<167>_d" class="f_select" name="<167>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option class="head" value="null">---------</option><option value="no">No</option></select>',
180:'<br><font style="color: #004080; font-weight: bold">Credit Card Processing</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_credit_card_processing_bonus_d" name="<180>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style="color:brown; font-weight:bold">YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_credit_card_processing_bonus_d" name="<180>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
181:'<font style="color: #004080; font-weight: bold">Equipment Leasing</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_equipment_leasing_bonus_d" name="<181>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style="color:brown; font-weight:bold">YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_equipment_leasing_bonus_d" name="<181>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
186:'<font style="color: #004080; font-weight: bold">Voice Over IP (VOIP)</font><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_voip_bonus_d" name="<186>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style="color:brown; font-weight:bold">YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_voip_bonus_d" name="<186>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
189:'<br><font style="color: #004080; font-weight: bold">Web Hosting</font><br>Save up to 60%<br>Free Hosting Guide available<br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="yes" id="yes_web_hosting_bonus_d" name="<189>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><font style="color:brown; font-weight:bold">YES</font></input></td><td><input  class="f_radio" type="radio" value="no" id="no_web_hosting_bonus_d" name="<189>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}">no</input></td></tr></table></div>',
242:'ZIP code of house being sold<br /><input type="text" class="f_text text" id="<242>_d" name="<242>" value="" />',
243:'How soon do you want to sell?<br /><select id="<243>_d" class="f_select" name="<243>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="1">Immediately</option><option value="6">6 Months</option><option value="7">7-12 Months</option><option value="13">More than 12 Months</option></select>',
244:'Is the property listed with a Realtor?<br /><select id="<244>_d" class="f_select" name="<244>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="no">No</option></select>',
245:'Number of Bedrooms<br /><input type="text" class="f_text text" maxlength="" size="" id="<245>_d" name="<245>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
246:'Number of Bathrooms<br /><input type="text" class="f_text text" maxlength="" size="" id="<246>_d" name="<246>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
247:'Reason for Selling<br /><textarea class="f_textarea" cols=20 rows=10 id="<247>_d" name="<247>"></textarea>',
248:'Asking Price<br /><input type="text" class="f_text text" maxlength="" size="" id="<248>_d" name="<248>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
260:'Tax Type<br /><select id="<260>_d" class="f_select" name="<260>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="personal">Personal</option><option value="business">Business</option><option value="state">State</option><option value="federal">Federal</option></select>',
261:'Have you filed yet?<br /><select id="<261>_d" class="f_select" name="<261>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="no">No</option></select>',
262:'Tax Debt Amount<br /><select id="<262>_d" class="f_select" name="<262>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="52500">$50,000 or more</option><option value="47500">$45,000 - $49,999</option><option value="42500">$40,000 - $44,999</option><option value="37500">$35,000 - $39,999</option><option value="32500">$30,000 - $34,999</option><option value="27500">$25,000 - $29,999</option><option value="22500">$20,000 - $24,999</option><option value="17500">$15,000 - $19,999</option><option value="12500">$10,000 - $14,999</option><option value="7500">$5,000 - $9,999</option><option value="2500">up to $5,000</option></select>',
263:'Vehicle Year<br /><input type="text" class="f_text text" maxlength="" size="" id="<263>_d" name="<263>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
264:'Vehicle Mileage<br /><input type="text" class="f_text text" maxlength="" size="" id="<264>_d" name="<264>" onBlur="return filter(this, \'^[0-9.]+$\')" />',
265:'Gas or Diesel<br /><select id="<265>_d" class="f_select" name="<265>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="gas">Gas</option><option value="diesel">Diesel</option></select>',
268:'Is the vehicle all wheel or four wheel drive?<br /><select id="<268>_d" class="f_select" name="<268>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="no">No</option></select>',
269:'Do you have a Merchant Account?<br /><select id="<269>_d" class="f_select" name="<269>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option class="head" value="null">-----------</option><option value="no">No</option></select>',
270:'How many VOIP users will you have?<br /><select id="<270>_d" class="f_select" name="<270>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="5">5-10</option><option value="11">11-20</option><option value="21">21-50</option><option value="51">51-100</option><option value="101">101-200</option><option value="201">201 </option></select>',
271:'When do you need it by?<br /><select id="<271>_d" class="f_select" name="<271>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="14">Within 2 weeks</option><option value="30">Within 1 month</option><option value="60">Within 2 months</option><option value="90">Within 3 months</option><option value="180">Within 6 months</option><option value="360">6 Months or more</option></select>',
272:'What type of website do you need?<br /><select id="<272>_d" class="f_select" name="<272>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="b2b" title="Business to Business (B2B)">Business to Business (B2B)</option><option value="b2c" title="Business to Consumer (B2C)">Business to Consumer (B2C)</option></select>',
273:'What is your budget for this project?<br /><select id="<273>_d" class="f_select" name="<273>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="500">under $500</option><option value="3000">$500 - $3,000</option><option value="5000">$3,000 - $5,000</option><option value="10000">$5000 - $10,000</option><option value="20000">$10,000 - $20,000</option><option value="40000">$20,000 - $40,000</option><option value="75000">$40,000 - $75,000</option><option value="100000">$75,000 - $100,000</option><option value="100001">100,000 </option></select>',
274:'<br>More than $10,000 in <u>past due</u> bills?<br><b>- Free debt settlement advice -<br>Settle for less than you owe!</b><br>(when late 30 days or more)<br /><select id="<274>_d" class="f_select" name="<274>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">Yes</option><option value="yes" title="I am late 30 days or more">I am late 30 days or more</option><option value="yes">on over $10,000 in bills</option><option class="head" value="null">------</option><option value="no">no</option></select>',
314:'<br><b>Have you filed for bankruptcy<br>in the past 7 years?</b><br /><select id="<314>_d" class="f_select" name="<314>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">NO</option><option class="head" value="null">------</option><option value="yes">Yes, I have filed</option></select>',
324:'<br><b>Your Monthly Payment<br>for Rent or Mortgage</b><br />$<input type="text" class="f_text text" maxlength="4" size="4" id="<324>_d" name="<324>" onkeyup="checkNumber(document.getElementById(this.id));" onBlur="return filter(this, \'^[0-9]+$\')" />.00',
334:'Fax nr.<br /><input type="hidden" id="<334>_d" name="<334>" /><input type="text" class="f_text textPart autotab" id="fax_part1" name="xfax" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="fax_part2" name="xfax" maxlength="3" size="3" /> - <input type="text" class="f_text textPart autotab" id="fax_part3" name="xfax" maxlength="4" size="4" />',
344:'<br><b><font color="#ff0000">Optional Offer</font><br><b>Amazing Credit Line Opportunity</b><br><center>- Up to $3500! - </center>NO INTEREST FINANCING<br><br /><select id="<344>_d" class="f_select" name="<344>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option value="yes">Sign me up</option><option class="head" value="null">--------</option><option value="no">no, thank you</option></select><br><div id="eClubUsaAgreement" style="border:0px;background:#ffffff;color:#333333;padding:0px;width:223px;height:1px;overflow:auto;"><table bgcolor="#F4F4F4" width="200" border=0><tr><td><p style="text-align: left; font-family: arial, Times New Roman; width=200; font-size: 11px;color:333333"><b><U>APPLIES TO THIS PRODUCT ONLY:</U></b><font style="font-size:10px; align:center;"><BR>(please scroll and read)<BR></font>BY CHOOSING &ldquo;YES&rdquo; you are authorizing eClubUSA.com to enroll you into our 14-day free trial membership. You will be automatically billed if you do not cancel the membership before the trial period ends. You will be charged the yearly membership fee of only <font style="font-size: 13pt; font-weight: bold;">$49.95</font> in 15 days following todays date and billed to the bank account number <span id="accountNumber">xxxxxxxx</span> you provided us today and then <font style="font-size: 13pt; font-weight: bold;">$14.95</font> per month. (membership is automatically renewed each year thereafter unless you wish to cancel). By becoming a member, you will have the ability to finance, interest free, computers, laptops, TVs and dozens of other electronic items as well as vacations to hundreds of destinations. To cancel, simply call our membership services center toll free at 1-877-532-2800. eClubUSA.com is not affiliated with this website. I have read and understand the above listed disclosures and the additional terms and conditions listed on this linking url: <a href="https://www.eclubusa.com/mkt/14monthly_terms_pop.php" style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Terms and Conditions</a></p></table></div>',
374:'<b>Optional <font color=#ff0000>Bonus</font> Credit Line<br>- Up To $12,500<sup>1</sup>! -</b><br /><select id="<374>_d" class="f_select" name="<374>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option value="yes">Sign me up</option><option class="head" value="null">--------</option><option value="no">no, thank you</option></select><br><div id="starterCreditAgreement" style="border:0px;background:#ffffff;color:#333333;padding:0px;width:223px;height:1px;overflow:auto;"><table bgcolor="#F4F4F4" width="200" border=0><tr><td><p style="text-align: left; font-family: arial, Times New Roman; width=200; font-size: 11px;color:333333"><b><U>APPLIES TO THIS PRODUCT ONLY:</U></b><font style="font-size:10px; align:center;"><BR>(please scroll and read)<BR></font><b>BY CHOOSING &ldquo;YES&rdquo;</b> I understand and authorize  Starter Credit Direct to electronically debit my checking account my <u>one-time</u> <font style="font-size:14pt;">$99.00</font> Application and Processing fee. I also understand that USA Credit&trade;, NOT  Starter Credit Direct will electronically debit my bank account for the  Starter Credit membership fee of <font style="font-size:14pt;">$14.00</font> per month. &nbsp;My Starter Credit  membership is being fulfilled by USA Credit as a service to  Starter Credit Direct. By choosing &ldquo;Yes&rdquo;, I have read and agree to the Starter  Credit <a href="http://servedoc.com/new/edp_regulations/startercreditdirect/usa_terms&amp;cond.htm"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">Terms  &amp; Conditions</a>&sup1; and the USA Credit&trade; <a href="https://servedoc.com/new/monterey/privacy-monterey.asp?from=scd&amp;bank=1"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">Privacy  Policy</a>. I will allow 15-20 working days from the date my payment is  verified and received, to receive my membership kit. I understand that Starter  Credit is an authorized marketer of USA Credit&trade; membership programs. This  account is a line of credit that can be used by an Accountholder to shop  exclusively at the USA Credit&trade; Shopping Club Web Site. This is not a credit  repair service. USA Credit&trade; is not a credit services organization, financial or  banking institution. Do not use this charge account before you read the USA  Credit&trade; <a href="http://servedoc.com/new/edp_regulations/startercreditdirect/usa_terms&amp;cond.htm"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">Terms  &amp; Conditions</a> for additional details. The USA Credit&trade; StarterCredit  Shopping Card is not a VISA&reg; or a MASTERCARD&reg;. Guaranteed qualifications: You  must be 18 years of age, a U.S. Citizen (EXCLUDING RESIDENTS OF WISCONSIN, VERMONT AND INDIANA) OR PERMANENT RESIDENT. The $2,500 loan feature requires prior on time repayment of product purchased at  the USA Credit&trade; shopping club web site.</span></p></table></div>',
404:'<br><b>Do you have a fixed<br>or an adjustable interest rate?</b><br /><select id="<404>_d" class="f_select" name="<404>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="adjustable">Adjustable</option><option class="head" value="null">------------</option><option value="fixed">Fixed</option></select>',
414:'<br><b>Is your First Mortage<br>Interest Only?</b><br /><select id="<414>_d" class="f_select" name="<414>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">No</option><option class="head" value="null">------------</option><option value="yes">Yes</option></select>',
424:'<br>Have you started<br>Bankruptcy Proceedings?<br /><select id="<424>_d" class="f_select" name="<424>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">No</option><option class="head" value="null">------------</option><option value="yes">Yes</option></select>',
434:'<font style="font-size: 12px;">I have read and I agree to this form<br><a href="http://www.ezwebsys.com/shared/form/disclaimer.html" style="color:blue; text-decoration:underline;" target="form_terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Terms and Conditions</a></font><br /><select id="<434>_d" class="f_select" name="<434>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES, I Agree</option></select>',
447:'<center><br><b>Please review the terms<br>and conditions located below<br>and select "Yes, I Agree"::<br></b></center><br /><select id="<447>_d" class="f_select" name="<447>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES, I agree</option><option class="head" value="null">--------</option><option value="no">no</option></select><br><br><table bgcolor="#F4F4F4" width="200" border=1><tr><td><p style="text-align: left; font-family: Times New Roman; width=200; font-size: 11pt; color: black;">Once a member, you will have the ability to finance, interest free, computers, laptops, TVs and dozens of other electronic items as well as vacations to hundreds of destinations. By clicking "yes", you are authorizing eClubUSA.com to enroll you into our 14-day free trial . You will be automatically billed if you do not cancel the membership before the trial period ends. You will be charged the yearly membership fee of only <font style="font-size: 14pt;">$49.95</font> in 15 days following todays date and billed to the account number you provided today and then <font style="font-size: 14pt;">$14.95</font> per month.(membership is automatically renewed each year thereafter unless you wish to cancel). To cancel, simply call our membership services center toll free at 1-877-532-2800.<br><br>eClubUSA.com is not affiliated with this website. I have read and understand the above listed disclosures and the additional terms and conditions listed on this linking url: <a href="https://www.eclubusa.com/mkt/14monthly_terms_pop.php" style="color:blue; text-decoration:underline; font-size: 11pt;" target="AID_terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Terms and Conditions</a>',
464:'<br>Months behind on payments:<br /><select id="<464>_d" class="f_select" name="<464>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="4">4 months or more</option><option value="3">3 months</option><option value="2">2 months</option><option value="1">1 month</option><option class="head" value="null">current</option></select>',
474:'High School Graduation Year<br /><select id="<474>_d" class="f_select" name="<474>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="1930">1930</option><option value="1931">1931</option><option value="1932">1932</option><option value="1933">1933</option><option value="1934">1934</option><option value="1935">1935</option><option value="1936">1936</option><option value="1937">1937</option><option value="1938">1938</option><option value="1939">1939</option><option value="1940">1940</option><option value="1941">1941</option><option value="1942">1942</option><option value="1943">1943</option><option value="1944">1944</option><option value="1945">1945</option><option value="1946">1946</option><option value="1947">1947</option><option value="1948">1948</option><option value="1949">1949</option><option value="1950">1950</option><option value="1951">1951</option><option value="1952">1952</option><option value="1953">1953</option><option value="1954">1954</option><option value="1955">1955</option><option value="1956">1956</option><option value="1957">1957</option><option value="1958">1958</option><option value="1959">1959</option><option value="1960">1960</option><option value="1961">1961</option><option value="1962">1962</option><option value="1963">1963</option><option value="1964">1964</option><option value="1965">1965</option><option value="1966">1966</option><option value="1967">1967</option><option value="1968">1968</option><option value="1969">1969</option><option value="1970">1970</option><option value="1971">1971</option><option value="1972">1972</option><option value="1973">1973</option><option value="1974">1974</option><option value="1975">1975</option><option value="1976">1976</option><option value="1977">1977</option><option value="1978">1978</option><option value="1979">1979</option><option value="1980">1980</option><option value="1981">1981</option><option value="1982">1982</option><option value="1983">1983</option><option value="1984">1984</option><option value="1985">1985</option><option value="1986">1986</option><option value="1987">1987</option><option value="1988">1988</option><option value="1989">1989</option><option value="1990">1990</option><option value="1991">1991</option><option value="1992">1992</option><option value="1993">1993</option><option value="1994">1994</option><option value="1995">1995</option><option value="1996">1996</option><option value="1997">1997</option><option value="1998">1998</option><option value="1999">1999</option><option value="2001">2001</option><option value="2002">2002</option><option value="2003">2003</option><option value="2004">2004</option><option value="2005">2005</option><option value="2006">2006</option><option value="2007">2007</option><option value="2008">2008</option><option value="2009">2009</option><option value="2010">2010</option><option value="2011">2011</option><option value="2012">2012</option></select>',
524:'<b>Select your residence province:</b><br /><select id="<524>_d" class="f_select" name="<524>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="ab">Alberta</option><option value="bc">British Columbia</option><option value="mb">Manitoba</option><option value="nb">New Brunswick</option><option value="nl" title="Newfoundland and Labrador">Newfoundland and Labrador</option><option value="nt">Northwest Territories</option><option value="ns">Nova Scotia</option><option value="nu">Nunavut</option><option value="on">Ontario</option><option value="pe">Prince Edward Island</option><option value="qc">Quebec</option><option value="sk">Saskatchwan</option><option value="yt">Yukon</option></select>',
534:'Canada Postal Code<br>Example: A1B2C3<br /><input type="text" class="f_text text" id="<534>_d" name="<534>" value="" />',
544:'Canada transit number <a name=\'\' style=\'cursor:pointer; color: blue;\' onClick="alert(\'The Canada transit numbers  is a number has the following form: XXXXX-YYY where XXXXX is a Branch Number, and YYY is an Institution Number.\');">( i )</a><br /><input type="hidden" id="<544>_d" name="<544>" /><input type="text" class="f_text textPart autotab" id="transit_number_ca_part1" name="xtransit_number_ca" maxlength="5" size="5" onBlur="try { var transit_number = document.getElementById(\'1_transit_number_ca_part1\').value + document.getElementById(\'1_transit_number_ca_part2\').value; if (transit_number.length == 8) {if (transit_number == \'00000000\' || transit_number == \'11111111\' || transit_number == \'22222222\' || transit_number == \'33333333\' || transit_number == \'44444444\' || transit_number == \'55555555\' || transit_number == \'66666666\' || transit_number == \'77777777\' || transit_number == \'88888888\' || transit_number == \'99999999\' || transit_number == \'01234567\' || transit_number == \'12345678\') {alert(\'Invalid transit number\'); document.getElementById(\'1_transit_number_ca_part1\').value=\'\'; document.getElementById(\'1_transit_number_ca_part2\').value=\'\';}}; } catch(err){}" /> - <input type="text" class="f_text textPart autotab" id="transit_number_ca_part2" name="xtransit_number_ca" maxlength="3" size="3" onBlur="try { var transit_number = document.getElementById(\'1_transit_number_ca_part1\').value + document.getElementById(\'1_transit_number_ca_part2\').value; if (transit_number.length == 8) {if (transit_number == \'00000000\' || transit_number == \'11111111\' || transit_number == \'22222222\' || transit_number == \'33333333\' || transit_number == \'44444444\' || transit_number == \'55555555\' || transit_number == \'66666666\' || transit_number == \'77777777\' || transit_number == \'88888888\' || transit_number == \'99999999\' || transit_number == \'01234567\' || transit_number == \'12345678\') {alert(\'Invalid transit number\'); document.getElementById(\'1_transit_number_ca_part1\').value=\'\'; document.getElementById(\'1_transit_number_ca_part2\').value=\'\';}}; } catch(err){}" />',
564:'<br>Do you own your home but don\'t have a home warranty?<br>Don\'t get stuck with costly out of pocket repairs.<br>Click "Yes" below to receive a free Home Warranty Quote Today!<br><br /><select id="<564>_d" class="f_select" name="<564>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option value="no">no</option></select>',
574:'Have you had a bankruptcy<br>or a foreclosure in the past 3 years<br>or are you currently in such process?<br /><select id="<574>_d" class="f_select" name="<574>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="no">NO</option><option class="head" value="null">-----------</option><option value="yes">yes, I did or I do</option></select>',
584:'<br>Credit Card type - Select Your Card<br><br /><div align="center"><table class="form_container"><tr><td><input  class="f_radio" type="radio" value="both" id="both_credit_card_type_d" name="<584>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><img src="https://www.leadpile.com/leadpile/images01/mastercard.png"> <img src="https://www.leadpile.com/leadpile/images01/visa.png"><br>MasterCard and Visa for $129.95</input></td></tr><tr><td><input  class="f_radio" type="radio" value="visa" id="visa_credit_card_type_d" name="<584>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><img src="https://www.leadpile.com/leadpile/images01/visa.png"><br>Visa Card only $99.95</input></td></tr><tr><td><input  class="f_radio" type="radio" value="mastercard" id="mastercard_credit_card_type_d" name="<584>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><img src="https://www.leadpile.com/leadpile/images01/mastercard.png"><br><span> </span>MasterCard only $99.95</input></td></tr></table></div>',
594:'<br><font style="color: #004080;">Please provide your payment info<br> for a <b>one-time <a href="#" style="font-size:14px;color:blue;text-decoration:underline;" onClick="openNewWindow(\'https://www.leadpile.com/leadpile/nmb-terms.html\',570,450);">processing fee</a></b>. <br>The Fee will be deducted from the<br>account you will provide below.</font><a name="" style="cursor:pointer; color: blue;text-decoration:underline;" onClick="alert(&quot;At the bottom of your checks,&#92;nthe First Number is the Bank Routing Number,&#92;nthe Second Number is the Bank Account Number.&quot;)">( i )</a><br><br><b>Your Bank Name:</b><br /><input type="text" class="f_text text" id="<594>_d" name="<594>" value="" />',
604:'<br>I read, understood, and I agree<br> to the <a href="#" style="font-size:14px;color:blue;text-decoration:underline;" onClick="openNewWindow(\'https://www.leadpile.com/leadpile/nmb-terms.html\',570,450);">terms and conditions</a><br> as they apply to the<br>Secured Credit Cards<br /><select id="<604>_d" class="f_select" name="<604>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES, I Agree</option><option class="head" value="null">-------------</option><option value="no">no</option></select>',
614:'<br><b>What is your main source of income?</b><br /><select id="<614>_d" class="f_select" name="<614>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="employment">Employment</option><option value="self_employed">Self Employed</option><option value="unemployment_benefits" title="Unemployment With Benefits">Unemployment With Benefits</option><option value="unemployment_no_benefits">Unemployment No Benefits</option><option value="social_assistance">Social Assistance</option></select>',
624:'<b>Select your residence county:</b><br /><select id="<624>_d" class="f_select" name="<624>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="antrim">Antrim</option><option value="ards">Ards</option><option value="armagh">Armagh</option><option value="ballymena">Ballymena</option><option value="ballymoney">Ballymoney</option><option value="banbridge">Banbridge</option><option value="bedfordshire">Bedfordshire</option><option value="belfast">Belfast</option><option value="berkshire">Berkshire</option><option value="borders region">Borders Region</option><option value="bristol">Bristol</option><option value="buckinghamshire">Buckinghamshire</option><option value="cambridgeshire">Cambridgeshire</option><option value="carrickfergus">Carrickfergus</option><option value="castlereagh">Castlereagh</option><option value="central region">Central Region</option><option value="channel is">Channel Is</option><option value="cheshire">Cheshire</option><option value="clwyd">Clwyd</option><option value="coleraine">Coleraine</option><option value="cookstown">Cookstown</option><option value="cornwall">Cornwall</option><option value="craigavon">Craigavon</option><option value="cumbria">Cumbria</option><option value="derbyshire">Derbyshire</option><option value="derry">Derry</option><option value="devon">Devon</option><option value="dorset">Dorset</option><option value="down">Down</option><option value="dumfries and galloway region" title="Dumfries and Galloway Region">Dumfries and Galloway Region</option><option value="dungannon">Dungannon</option><option value="durham">Durham</option><option value="dyfed">Dyfed</option><option value="east riding of yorkshire">East Riding of Yorkshire</option><option value="east sussex">East Sussex</option><option value="essex">Essex</option><option value="fermanagh">Fermanagh</option><option value="fife region">Fife Region</option><option value="gloucestershire">Gloucestershire</option><option value="grampian region">Grampian Region</option><option value="greater london">Greater London</option><option value="greater manchester">Greater Manchester</option><option value="gwent">Gwent</option><option value="gwynedd">Gwynedd</option><option value="hampshire">Hampshire</option><option value="herefordshire">Herefordshire</option><option value="highland region">Highland Region</option><option value="isle of man">Isle of Man</option><option value="isle of wight">Isle of Wight</option><option value="isles of scilly">Isles of Scilly</option><option value="kent">Kent</option><option value="lancashire">Lancashire</option><option value="larne">Larne</option><option value="leicestershire">Leicestershire</option><option value="limavady">Limavady</option><option value="lincolnshire">Lincolnshire</option><option value="lisburn">Lisburn</option><option value="londonderry">Londonderry</option><option value="lothian region">Lothian Region</option><option value="magherafelt">Magherafelt</option><option value="merseyside">Merseyside</option><option value="mid glamorgan">Mid Glamorgan</option><option value="middlesex">Middlesex</option><option value="moyle">Moyle</option><option value="newry and mourne">Newry and Mourne</option><option value="newtownabbey">Newtownabbey</option><option value="norfolk">Norfolk</option><option value="north down">North Down</option><option value="north yorkshire">North Yorkshire</option><option value="northamptonshire">Northamptonshire</option><option value="northumberland">Northumberland</option><option value="nottinghamshire">Nottinghamshire</option><option value="omagh">Omagh</option><option value="orkney is">Orkney Is</option><option value="oxfordshire">Oxfordshire</option><option value="powys">Powys</option><option value="rutland">Rutland</option><option value="shetland is">Shetland Is</option><option value="shropshire">Shropshire</option><option value="somerset">Somerset</option><option value="south glamorgan">South Glamorgan</option><option value="south yorkshire">South Yorkshire</option><option value="staffordshire">Staffordshire</option><option value="strabane">Strabane</option><option value="strathclyde region">Strathclyde Region</option><option value="suffolk">Suffolk</option><option value="surrey">Surrey</option><option value="Tayside Region">Tayside Region</option><option value="tyne and wear">Tyne and Wear</option><option value="tyrone">Tyrone</option><option value="warwickshire">Warwickshire</option><option value="west glamorgan">West Glamorgan</option><option value="west midlands">West Midlands</option><option value="west sussex">West Sussex</option><option value="west yorkshire">West Yorkshire</option><option value="western isles">Western Isles</option><option value="wiltshire">Wiltshire</option><option value="worcestershire">Worcestershire</option></select>',
634:'Surname<br /><input type="text" class="f_text text" id="<634>_d" name="<634>" value="" />',
644:'<br><b>Up to what loan amount <br>would you like to receive?</b><br /><select id="<644>_d" class="f_select" name="<644>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="500">&#163;500 or More</option><option class="head" value="null">----------</option><option value="500">Up to &#163;500</option><option value="400">Up to &#163;400</option><option value="300">Up to &#163;300</option><option value="200">Up to &#163;200</option><option value="100">Up to &#163;100</option></select>',
654:'Employment Type<br /><select id="<654>_d" class="f_select" name="<654>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="full_time">Full time employment</option><option value="part_time">Part time employment</option><option value="self_employed">Self employed</option><option value="temp_employed">Temporary employment</option><option value="pension">Pension</option><option value="disability_benefit">Disability Benefit</option><option value="unemployed">Unemployed</option></select>',
664:'Debit Card Type<br /><select id="<664>_d" class="f_select" name="<664>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="solo">Solo</option><option value="switch_maestro">Switch/Maestro</option><option value="visa_delta">Visa Delta</option><option value="visa_electron">Visa Electron</option><option value="none">No Debit Card</option></select>',
674:'National Insurance Number<br /><input type="text" class="f_text text" id="<674>_d" name="<674>" maxlength="9" size="9" onBlur="if (document.getElementById(this.id).value.length==9) {if (!NINO_validation(document.getElementById(this.id).value)) {document.getElementById(this.id).value=\'\'} } else {alert(\'National Insurance Number has invalid format\'); document.getElementById(this.id).value=\'\'};" value="" />',
684:'Bank Account Type:<br /><select id="<684>_d" class="f_select" name="<684>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="current">Current</option><option value="savings">Savings</option><option value="deposit">Deposit</option><option value="unknown">Unknown</option></select>',
694:'<br><b><font color="#ff0000">Optional Offer</font><br><b>Amazing Credit Line Opportunity</b><br><center>- Up to $3500! - </center>NO INTEREST FINANCING<br><br /><select id="<694>_d" class="f_select" name="<694>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option value="yes">Sign me up</option><option class="head" value="null">--------</option><option value="no">no, thank you</option></select><br><div id="eClubUsaAgreement" style="border:0px;background:#ffffff;color:#333333;padding:0px;width:223px;height:1px;overflow:auto;"><table bgcolor="#F4F4F4" width="200" border=0><tr><td><p style="text-align: left; font-family: arial, Times New Roman; width=200; font-size: 11px;color:333333"><b><U>APPLIES TO THIS PRODUCT ONLY:</U></b><font style="font-size:10px; align:center;"><BR>(please scroll and read)<BR></font><b>BY CHOOSING &ldquo;YES&rdquo;</b> you are authorizing eClubUSA.com to enroll you into our 14-day free trial membership. You will be automatically billed if you do not cancel the membership before the trial period ends. You will be charged the yearly membership fee of only <font style="font-size: 14pt;">$49.95</font> in 15 days following todays date and billed to the account number you provided today and then <font style="font-size: 14pt;">$14.95</font> per month. (membership is automatically renewed each year thereafter unless you wish to cancel). By becoming a member, you will have the ability to finance, interest free, computers, laptops, TVs and dozens of other electronic items as well as vacations to hundreds of destinations. To cancel, simply call our membership services center toll free at 1-877-532-2800. eClubUSA.com is not affiliated with this website. I have read and understand the above listed disclosures and the additional terms and conditions listed on this linking url: <a href="https://www.eclubusa.com/mkt/14monthly_terms_pop.php" style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,\'width=488,height=610,resizable=yes,scrollbars=yes\'); return false;">Terms and Conditions</a></p></td></tr></table></div>',
714:'How many outstanding payday loans do you have?<br /><select id="<714>_d" class="f_select" name="<714>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option class="head" value="null">No outstanding payday loans</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5 or more</option></select>',
734:'<br><b><font color="#ff0000">Optional Offer</font></b><br><b>$2,500 Limited Unsecured Shopping Credit<br />Line with  a $500 Account Advance</b><br><b>Click Yes to Apply!</b><br><br /><select id="<734>_d" class="f_select" name="<734>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option value="yes">Sign me up</option><option class="head" value="null">--------</option><option value="no">no, thank you</option></select><br><div id="ePlatinumAgreement" style="border:0px;background:#ffffff;color:#333333;padding:0px;width:223px;height:1px;overflow:auto;"><table bgcolor="#F4F4F4" width="200" border=0><tr><td><p style="text-align: left; font-family: arial, Times New Roman; width=200; font-size: 11px;color:333333"><b><U>APPLIES TO THIS PRODUCT ONLY:</U></b><font style="font-size:10px; align:center;"><BR>(please scroll and read)<BR></font><b>BY CHOOSING &ldquo;YES&rdquo;</b> You authorize Platinum Online Group or USA Credit&trade; to debit your bank account for our <u>one-time</u> <font style="font-size:12pt;">$99.00</font> Application and Processing Fee. Choose NO to decline this offer.<br><br> Platinum Online Group is an authorized marketer of USA Credit&trade;, and USA Credit&trade; will debit my bank account for my ePlatinum Shopping Card membership fee of <font style="font-size:12pt;">$14 per month</font>. If the Application and Processing fee is not collected, I understand that I will be provided a lower credit line of $1,000 and debited the monthly membership fee by USA Credit&trade;. By choosing &ldquo;Yes&rdquo; I have read and agree to the USA Credit&trade; <a href="http://imgservedoc.com/Terms/terms_USAShoppingCard.htm"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Terms & Conditions</a>, the USA Credit&trade; <a href="http://imgservedoc.com/privacy/privacy_USACredit.htm"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Privacy Policy</a>, the Platinum Online Group <a href="http://servedoc.com/new/cmg/creditline/privacy-cmg-pog.asp?from=plt&amp;bank=1"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Privacy Policy</a> and I may receive special email offers from marketing partners, including, but not limited to credit weekly. USA Credit&trade; is not a credit repair service or a credit services organization, financial, or banking institution. This is a line of credit that can be used by an Accountholder to shop exclusively at the USA Shopping Club Web Site. Do not use this charge account before you read the USA Credit&trade; <a href="http://imgservedoc.com/Terms/terms_USAShoppingCard.htm"  style="color:blue; text-decoration:underline; font-size: 12px;" target="terms" onclick="window.open(this.href,this.target,&#39;width=488,height=610,resizable=yes,scrollbars=yes&#39;); return false;">Terms  &amp; Conditions</a> for additional details. The ePlatinum Shopping Card is not a VISA&reg; or a MASTERCARD&reg;. Guaranteed qualifications: You must be 18 years of age, a U.S. Citizen or permanent resident. Membership is not available to residents of Wisconsin, Vermont and Indiana. I have monthly income of at least $1,000 and I have the ability to make a monthly payment of as much as $250 if I utilize my entire credit line. The $500 loan feature requires prior on time repayment of product purchased at the USA Shopping Club Web Site. Please allow 15-20 working days from the date your payment is received, to receive your membership kit with a $2,500 credit line.</span></p></table></div>',
744:'Military Status<br /><select id="<744>_d" class="f_select" name="<744>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="active_military" title="Full time Active Military">Full time Active Military</option><option value="retired_military" title="20 year career - retired military">20 year career - retired military</option><option value="department_of_defense">DoD GS-6 or above</option><option value="national_guard">National Guard / Reserve</option></select>',
754:'Service Branch<br /><select id="<754>_d" class="f_select" name="<754>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="army">Army</option><option value="navy">Navy</option><option value="air_force">Air Force</option><option value="marines">Marines</option><option value="coast_guard">Coast Guard</option><option value="government">Government</option></select>',
794:'Degree Level<br /><select id="<794>_d" class="f_select" name="<794>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="associate">Associate</option><option value="bachelor">Bachelor</option><option value="certificate">Certificate</option><option value="diploma">Diploma</option><option value="doctoral">Doctoral/Ph.D.</option><option value="master">Master</option></select>',
804:'Category Of Study<br /><select id="<804>_d" class="f_select" name="<804>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="arts_design_fashion">Arts / Design / Fashion</option><option value="aviation">Aviation</option><option value="beauty">Beauty</option><option value="business">Business</option><option value="criminal_justice">criminal_justice</option><option value="culinary_arts">Culinary Arts</option><option value="education">Education</option><option value="health_care_human_services" title="Health Care / Human Services">Health Care / Human Services</option><option value="law_legal">Law / Legal</option><option value="liberal_arts" title="Liberal Arts / Traditional University">Liberal Arts / Traditional University</option><option value="massage_wellness">Massage / Wellness</option><option value="technology_computer_it" title="Technology / Computer / IT">Technology / Computer / IT</option><option value="trade">Trade</option></select>',
814:'Program Of Study<br /><select id="<814>_d" class="f_select" name="<814>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="a_plus_certification">A Plus Certification</option><option value="accounting_payroll_administrator" title="Accounting/Payroll Administrator">Accounting/Payroll Administrator</option><option value="acting">Acting</option><option value="acupuncture_and_oriental_medicine" title="Acupuncture and Oriental Medicine">Acupuncture and Oriental Medicine</option><option value="addictions_worker">Addictions Worker</option><option value="administrative_support_specialist" title="Administrative Support Specialist">Administrative Support Specialist</option><option value="administrative">Administrative</option><option value="advanced_electronics">Advanced Electronics</option><option value="advertising_design">Advertising and Design</option><option value="advertising">Advertising</option><option value="air_conditioning_refrigeration" title="Air Conditioning / Refrigeration">Air Conditioning / Refrigeration</option><option value="aircraft_dispatcher">Aircraft Dispatcher</option><option value="airframe_and_powerplant">Airframe and Powerplant</option><option value="airline_travel_specialist" title="Airline/Travel Specialist">Airline/Travel Specialist</option><option value="alternative_medicine">Alternative Medicine</option><option value="alternative_medicine">Alternative Medicine</option><option value="american_studies">American Studies</option><option value="animal_grooming">Animal Grooming</option><option value="animal_study">Animal Study</option><option value="animal_training">Animal Training</option><option value="animation">Animation</option><option value="anthropology">Anthropology</option><option value="archaeology">Archaeology</option><option value="architectural_engineering" title="Architectural Engineering">Architectural Engineering</option><option value="architecture">Architecture</option><option value="aromatherapy">Aromatherapy</option><option value="art_history">Art History</option><option value="arts_design">Arts and Design</option><option value="audio_engineering">Audio Engineering</option><option value="audio_technology">Audio Technology</option><option value="auditing">Auditing</option><option value="auto_body_technology">Auto Body Technology</option><option value="automotive_technology">Automotive Technology</option><option value="aviation_maintenance_technician" title="Aviation Maintenance Technician">Aviation Maintenance Technician</option><option value="avionics">Avionics</option><option value="bachelor_of_nursing">Bachelor of Nursing</option><option value="baking_and_pastry">Baking and Pastry</option><option value="beauty_advanced_training" title="Beauty - Advanced Training">Beauty - Advanced Training</option><option value="biochemistry_and_molecular_biology" title="Biochemistry and  Molecular Biology">Biochemistry and  Molecular Biology</option><option value="bioinformatics">Bioinformatics</option><option value="biology">Biology</option><option value="biomedical_engineering">Biomedical Engineering</option><option value="bookkeeping">Bookkeeping</option><option value="broadcasting">Broadcasting</option><option value="business_admin_and_mgmt" title="Business Admin. and Mgmt.">Business Admin. and Mgmt.</option><option value="cable_network_technician">Cable Network Technician</option><option value="call_center_mgmt">Call Center Mgmt.</option><option value="cardio_phlebotomy_technician" title="Cardio-Phlebotomy Technician">Cardio-Phlebotomy Technician</option><option value="cardiovascular_tech">Cardiovascular Tech.</option><option value="catering_management">Catering Management</option><option value="cdl_commercial_driving">CDL/Commercial Driving</option><option value="certified_internet_webmaster" title="Certified Internet Webmaster">Certified Internet Webmaster</option><option value="chemistry">Chemistry</option><option value="chiropractic">Chiropractic</option><option value="chiropractic">Chiropractic</option><option value="ciscoandreg">Ciscoandreg;</option><option value="clinical_medical_assistant" title="Clinical Medical Assistant">Clinical Medical Assistant</option><option value="colonic_hydrotherapy">Colonic Hydrotherapy</option><option value="commercial_art">Commercial Art</option><option value="communication_technician">Communication Technician</option><option value="communications_mgmt">Communications Mgmt.</option><option value="comptia">CompTIA</option><option value="computer_aided_design_tech" title="Computer Aided Design Tech.">Computer Aided Design Tech.</option><option value="computer_and_telecom_electronics" title="Computer and Telecom. Electronics">Computer and Telecom. Electronics</option><option value="computer_applications">Computer Applications</option><option value="computer_design">Computer Design</option><option value="computer_drafting">Computer Drafting</option><option value="computer_engineering">Computer Engineering</option><option value="computer_hardware">Computer Hardware</option><option value="computer_information_systems_cis_it" title="Computer Information Systems - CIS/IT">Computer Information Systems - CIS/IT</option><option value="computer_management">Computer Management</option><option value="computer_networking">Computer Networking</option><option value="computer_office_technologies" title="Computer Office Technologies">Computer Office Technologies</option><option value="computer_programming">Computer Programming</option><option value="computer_repair">Computer Repair</option><option value="computer_science">Computer Science</option><option value="computer_systems_security" title="Computer Systems Security">Computer Systems Security</option><option value="computer_systems_technician" title="Computer Systems Technician">Computer Systems Technician</option><option value="computer_technical_support" title="Computer Technical Support">Computer Technical Support</option><option value="computer_technology">Computer Technology</option><option value="computerized_office_applications" title="Computerized Office Applications">Computerized Office Applications</option><option value="conflict_resolution">Conflict Resolution</option><option value="construction_management">Construction Management</option><option value="corporate_training">Corporate Training</option><option value="corrections">Corrections</option><option value="cosmetology">Cosmetology</option><option value="counseling">Counseling</option><option value="court_reporting">Court Reporting</option><option value="criminal_justice">Criminal Justice</option><option value="culinary_arts">Culinary Arts</option><option value="culinary_management">Culinary Management</option><option value="curriculum_and_instruction" title="Curriculum and Instruction">Curriculum and Instruction</option><option value="customer_support">Customer Support</option><option value="dance">Dance</option><option value="database_admin_management" title="Database Admin / Management">Database Admin / Management</option><option value="database_development">Database Development</option><option value="dental_assisting">Dental Assisting</option><option value="dental_hygienist">Dental Hygienist</option><option value="desktop_and_web_publishing" title="Desktop and Web Publishing">Desktop and Web Publishing</option><option value="dialysis_technician">Dialysis Technician</option><option value="digital_arts_design">Digital Arts and Design</option><option value="diving_commercial">Diving - Commercial</option><option value="diving_scuba">Diving - Scuba</option><option value="doctor_of_business_administration" title="Doctor of Business Administration">Doctor of Business Administration</option><option value="e_commerce_e_business">E-commerce / E-Business</option><option value="early_childhood_education" title="Early Childhood Education">Early Childhood Education</option><option value="echocardiographer">Echocardiographer</option><option value="economics">Economics</option><option value="education">Education</option><option value="electrical_engineering">Electrical Engineering</option><option value="electrician">Electrician</option><option value="electrocardiography">Electrocardiography</option><option value="electrology">Electrology</option><option value="electronic_engineering">Electronic  Engineering</option><option value="electronic_service_technician" title="Electronic Service Technician">Electronic Service Technician</option><option value="ems_paramedic">EMS / Paramedic</option><option value="engineering_management">Engineering Management</option><option value="english_creative_writing" title="English / Creative Writing">English / Creative Writing</option><option value="english_literature">English Literature</option><option value="enterprise_applications_developer" title="Enterprise Applications Developer">Enterprise Applications Developer</option><option value="entertainment_business">Entertainment Business</option><option value="environmental_science">Environmental Science</option><option value="esl">ESL</option><option value="esthetics_skincare">Esthetics / Skincare</option><option value="executive_assistant">Executive Assistant</option><option value="eyelash_extension">Eyelash Extension</option><option value="fashion_design">Fashion Design</option><option value="fashion_marketing">Fashion Marketing</option><option value="fashion_merchandising">Fashion Merchandising</option><option value="feng_shui">Feng Shui</option><option value="film_video">Film and Video</option><option value="finance">Finance</option><option value="financial_planning">Financial Planning</option><option value="fine_arts">Fine Arts</option><option value="fire_science">Fire Science</option><option value="game_art_development">Game Art and Development</option><option value="game_software_development" title="Game Software Development">Game Software Development</option><option value="general_arts_and_sciences" title="General Arts and Sciences">General Arts and Sciences</option><option value="general_aviation">General Aviation</option><option value="general_studies">General Studies</option><option value="general_studies">General Studies</option><option value="general">General</option><option value="geography">Geography</option><option value="gerontology">Gerontology</option><option value="global_management">Global Management</option><option value="graphic_art_design">Graphic Art and Design</option><option value="gunsmithing">Gunsmithing</option><option value="hair_design_barbering">Hair Design / Barbering</option><option value="health_biomedical_informatics" title="Health/Biomedical Informatics">Health/Biomedical Informatics</option><option value="health_care_reimbursement" title="Health Care Reimbursement">Health Care Reimbursement</option><option value="health_information_management" title="Health Information Management">Health Information Management</option><option value="health_information_tech">Health Information Tech.</option><option value="health_sciences">Health Sciences</option><option value="health_unit_coordinator">Health Unit Coordinator</option><option value="healthcare_admin_management" title="Healthcare Admin / Management">Healthcare Admin / Management</option><option value="heavy_equipment_training">Heavy Equipment Training</option><option value="helicopter_flight">Helicopter Flight</option><option value="herbal_studies">Herbal Studies</option><option value="history">History</option><option value="holistic_health_homeopathy" title="Holistic Health / Homeopathy">Holistic Health / Homeopathy</option><option value="home_inspection_training">Home Inspection Training</option><option value="homeland_security">Homeland Security</option><option value="hospitality_management">Hospitality Management</option><option value="hospitality_management">Hospitality Management</option><option value="human_biology">Human Biology</option><option value="human_resources">Human Resources</option><option value="human_services">Human Services</option><option value="hvac">HVAC</option><option value="hypnotherapy_polarity_reiki" title="Hypnotherapy / Polarity / Reiki">Hypnotherapy / Polarity / Reiki</option><option value="industrial_design">Industrial Design</option><option value="industrial_technology">Industrial Technology</option><option value="information_security">Information Security</option><option value="instructional_leadership">Instructional Leadership</option><option value="instructional_technology">Instructional Technology</option><option value="instructor_training">Instructor Training</option><option value="insurance_billing_coding" title="Insurance Billing / Coding">Insurance Billing / Coding</option><option value="interactive_media">Interactive Media</option><option value="interior_design">Interior Design</option><option value="international_business">International Business</option><option value="internet_programmer">Internet  Programmer</option><option value="iridology">Iridology</option><option value="it_management">IT Management</option><option value="italian">Italian</option><option value="java_programming">Java Programming</option><option value="jewelry_design">Jewelry Design</option><option value="journalism">Journalism</option><option value="justice_business_tech">Justice Business Tech.</option><option value="justice_security_administration" title="Justice/Security Administration">Justice/Security Administration</option><option value="kinesiology">Kinesiology</option><option value="languages_and_literature">Languages and Literature</option><option value="languages_other_than_english" title="Languages Other than English">Languages Other than English</option><option value="laser">Laser</option><option value="law_and_justice">Law and Justice</option><option value="law_enforcement_police">Law Enforcement / Police</option><option value="law">Law</option><option value="legal_nurse_consultant">Legal Nurse Consultant</option><option value="legal_nurse_consultant">Legal Nurse Consultant</option><option value="legal_office_admin_technology" title="Legal Office Admin / Technology">Legal Office Admin / Technology</option><option value="liberal_arts">Liberal Arts</option><option value="library">Library</option><option value="life_coaching">Life Coaching</option><option value="literature">Literature</option><option value="lpn_pn_practical_nursing" title="LPN/PN - Practical Nursing">LPN/PN - Practical Nursing</option><option value="lpn_to_bsn">LPN to BSN</option><option value="lpn_to_rn">LPN to RN</option><option value="makeup">Makeup</option><option value="management">Management</option><option value="manual_medicine">Manual Medicine</option><option value="marine_mechanics">Marine Mechanics</option><option value="marketing">Marketing</option><option value="marriage_and_family_therapy" title="Marriage and Family Therapy">Marriage and Family Therapy</option><option value="massage_therapy_ceu">Massage Therapy CEUs</option><option value="massage_therapy">Massage Therapy</option><option value="master_of_business_administration" title="Master of Business Administration">Master of Business Administration</option><option value="masters_of_science_in_nursing" title="Masters of Science in Nursing">Masters of Science in Nursing</option><option value="mathematics">Mathematics</option><option value="mcse">MCSE</option><option value="mechanical_engineering">Mechanical Engineering</option><option value="media_arts">Media Arts</option><option value="media_production">Media Production</option><option value="medical_admin_and_mgmt">Medical Admin. and Mgmt.</option><option value="medical_assisting">Medical Assisting</option><option value="medical_billing_and_coding" title="Medical Billing and Coding">Medical Billing and Coding</option><option value="medical_clinical_specialist" title="Medical Clinical Specialist">Medical Clinical Specialist</option><option value="medical_diagnostics">Medical Diagnostics</option><option value="medical_laboratory_technician" title="Medical Laboratory Technician">Medical Laboratory Technician</option><option value="medical_office_assistant">Medical Office Assistant</option><option value="medical_radiography">Medical Radiography</option><option value="medical_sonographer">Medical Sonographer</option><option value="medical_specialization">Medical Specialization</option><option value="medical_transcription">Medical Transcription</option><option value="mental_health_counseling">Mental Health Counseling</option><option value="merchandising">Merchandising</option><option value="metaphysics_healtheology_divinity" title="Metaphysics / Healtheology / Divinity">Metaphysics / Healtheology / Divinity</option><option value="microsoft_certification">Microsoft Certification</option><option value="motorcycle_mechanics">Motorcycle Mechanics</option><option value="music">Music</option><option value="musical_theatre">Musical Theatre</option><option value="nail_technician_hand_and_foot_therapist" title="Nail Technician / Hand and Foot Therapist">Nail Technician / Hand and Foot Therapist</option><option value="nascar_technician">NASCAR Technician</option><option value="naturopathic_neuro_natural_health" title="Naturopathic / Neuro-Natural Health">Naturopathic / Neuro-Natural Health</option><option value="network_administration_security" title="Network Administration Security">Network Administration Security</option><option value="network_and_communications_management" title="Network and Communications Management">Network and Communications Management</option><option value="network_management">Network Management</option><option value="nursing_assistant_cna">Nursing Assistant (CNA)</option><option value="nursing_rn_to_bsn">Nursing - RN to BSN</option><option value="nursing">Nursing</option><option value="nutrition">Nutrition</option><option value="occupational_therapy">Occupational Therapy</option><option value="office_admin_management" title="Office Admin / Management">Office Admin / Management</option><option value="office_clerical">Office Clerical</option><option value="operations_management">Operations Management</option><option value="oracle">Oracle</option><option value="orthopedic">Orthopedic</option><option value="painting">Painting</option><option value="paralegal_legal_assistant" title="Paralegal / Legal Assistant">Paralegal / Legal Assistant</option><option value="patient_care">Patient Care</option><option value="pc_support_specialist">PC Support Specialist</option><option value="permanent_makeup">Permanent Makeup</option><option value="personal_training_fitness" title="Personal Training / Fitness">Personal Training / Fitness</option><option value="pharmacy_technician">Pharmacy Technician</option><option value="phlebotomy">Phlebotomy</option><option value="photography">Photography</option><option value="physical_therapist">Physical Therapist</option><option value="physical_therapy">Physical Therapy</option><option value="plumber">Plumber</option><option value="polarity">Polarity</option><option value="political_science">Political Science</option><option value="professional_flight">Professional Flight</option><option value="professional_pilot">Professional Pilot</option><option value="programming">Programming</option><option value="project_management">Project Management</option><option value="psychology">Psychology</option><option value="psychology">Psychology</option><option value="public_administration">Public Administration</option><option value="quality_control">Quality Control</option><option value="radiology">Radiology</option><option value="real_estate_appraisal">Real Estate Appraisal</option><option value="recording_arts">Recording Arts</option><option value="reflexology">Reflexology</option><option value="rehabilitation_therapy_assistant" title="Rehabilitation Therapy Assistant">Rehabilitation Therapy Assistant</option><option value="respiratory_care_and_therapy" title="Respiratory Care and Therapy">Respiratory Care and Therapy</option><option value="restaurant_management">Restaurant Management</option><option value="robotics">Robotics</option><option value="sales">Sales</option><option value="script_screenwriting">Script and Screenwriting</option><option value="secondary_education">Secondary Education</option><option value="skin_care">Skin Care</option><option value="small_business_mgmt">Small Business Mgmt.</option><option value="social_sciences">Social Sciences</option><option value="sociology">Sociology</option><option value="software_development">Software Development</option><option value="software_engineering">Software Engineering</option><option value="software_technologies">Software Technologies</option><option value="spa_therapies">Spa Therapies</option><option value="spa">Spa</option><option value="spanish">Spanish</option><option value="special_ed">Special Ed.</option><option value="sport_exercise_psychology" title="Sport-Exercise Psychology">Sport-Exercise Psychology</option><option value="sports_management">Sports Management</option><option value="supply_chain_mgmt">Supply Chain Mgmt.</option><option value="surgical_technology">Surgical Technology</option><option value="system_admin">System Admin.</option><option value="teaching">Teaching</option><option value="technology_management">Technology Management</option><option value="telecommunications">Telecommunications</option><option value="theology_ministry_religion" title="Theology / Ministry / Religion">Theology / Ministry / Religion</option><option value="travel_and_tourism">Travel and Tourism</option><option value="ultrasound_technologist">Ultrasound Technologist</option><option value="veterinary">Veterinary</option><option value="visual_arts_comm">Visual Arts and Comm.</option><option value="visual_communications">Visual Communications</option><option value="vocational_nursing_lvn">Vocational Nursing (LVN)</option><option value="wardrobe_stylist">Wardrobe Stylist</option><option value="watch_clock_making_repair" title="Watch-Clock Making / Repair">Watch-Clock Making / Repair</option><option value="web_design_multimedia" title="Web Design and Multimedia">Web Design and Multimedia</option><option value="web_development">Web Development</option><option value="welding">Welding</option><option value="wind_turbine">Wind Turbine</option><option value="wine_studies">Wine Studies</option><option value="x_ray_technician">X-Ray Technician</option><option value="yacht_marine_design">Yacht and Marine Design</option><option value="yoga_pilates_instructor" title="Yoga / Pilates Instructor">Yoga / Pilates Instructor</option></select>',
824:'Method Of Study<br /><select id="<824>_d" class="f_select" name="<824>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="online">Online</option><option value="campus">Campus</option><option value="both">Both</option></select>',
834:'Gender<br /><select id="<834>_d" class="f_select" name="<834>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="unknown">Select One</option><option value="m">Male</option><option value="f">Female</option></select>',
844:'What type of debt do you have?<br /><select id="<844>_d" class="f_select" name="<844>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="medical_cc_personal_loans" title="Medical, Credit Card and Personal Loans">Medical, Credit Card and Personal Loans</option><option value="student_mortgage_car_loans" title="Student Loans, Mortgage Loans or Car Loans">Student Loans, Mortgage Loans or Car Loans</option></select>',
854:'I understand this is a Debt Relief Program and is NOT A LOAN<br /><select id="<854>_d" class="f_select" name="<854>" onkeydown="if (event.keyCode ==8) {backStep(); return false;}"><option class="head" value="null">Select One...</option><option class="head" value="null">-----------</option><option value="yes">YES</option><option value="no">NO</option></select>',0:'' };

