if (document.getElementById('quicklogin_box')) {
window.onload=function() {
kickStart();
}
}

function kickStart() {
var p=window.setTimeout("pawCheck()",1000);
}

function pawCheck() {
var a=document.getElementsByTagName('a');
for (i=0;i<a.length;i++) {
a[i].onmouseup=new Function("pawChecker();return true");
}
if (document.FormCheck&&(window.location.href.indexOf('Send_A_File')!=-1||window.location.href.indexOf('Request_Estimate')!=-1)) {
var inputs=document.getElementsByTagName('input');
for (i=0;i<inputs.length;i++) {
if (inputs[i].type=="submit") {
inputs[i].onmouseup=new Function("pawChecker();");
}
}
}
}

function pawChecker() {
var x=window.setTimeout("pawCheck2()",500);
}

function pawCheck2() {
if (document.go_on && document.go_on.PAW_Subscribe) {
document.go_on.PAW_Subscribe.checked=true;
}
else if (document.FormCheck&&document.FormCheck.PAW_Subscribe) {
document.FormCheck.PAW_Subscribe.checked=true;
}
}


if (document.edit_user) {
if (document.edit_user.PAW_Subscribe) {
document.edit_user.PAW_Subscribe.checked = true;
}
}

if (document.contactForm) {
if (document.contactForm.PAW_Subscribe) {
document.contactForm.PAW_Subscribe.checked = true;
}
}

if (document.getElementsByTagName('input').length > 0) {
var d = document.getElementsByTagName('input');
for (i=0;i<d.length;i++) {
if (d[i].firstChild && d[i].firstChild.data && d[i].firstChild.data.indexOf('Sign me up for')!=-1) {
d[i].checked = true;
}
}
}
