<!--

if (top.location != self.location) { top.location = self.location }

function openScript(url, width, height) {
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=no' );
}

function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=450,width=640,scrollbars=yes');
myform.target=windowname;
return true;
}

function validateForm()
{

    formObj = document.reg;

        if (formObj.r_Make.value == "Select A Make"){
            alert("Please select a vehicle MAKE and MODEL before continuing.");
            formObj.r_Make.focus();
        return false;
    }
        if (formObj.r_Model.value == "Select a Model"){
            alert("Please select a vehicle MODEL before continuing.");
            formObj.r_Model.focus();
        return false;
    }
        
           }

function validateFormpop()
{

    formObj = document.reg1;

        if (formObj.r_Make.value == "Select A Make"){
            alert("Please select a vehicle MAKE and MODEL before continuing.");
            formObj.r_Make.focus();
        return false;
    }
        if (formObj.r_Model.value == "Select a Model"){
            alert("Please select a vehicle MODEL before continuing.");
            formObj.r_Model.focus();
        return false;
    }
        
           }

function validatephone(xxxxx) {
	 var maintainplus = '';
 	var numval = xxxxx.value
 	if ( numval.charAt(0)=='+' ){ var maintainplus = '+';}
 	curphonevar = numval.replace(/[\\A-Za-z!"£$%^&*+_={};:'@#~,.¦\/<>?|`¬\]\[]/g,'');
 	xxxxx.value = maintainplus + curphonevar;
 	var maintainplus = '';
 	xxxxx.focus;
}

// -->