function LoadSureHits(selector, template, customid, zipcode, make, onload) {
    if(typeof(zipcode) == 'undefined') {
        zipcode = '';
    }
    $(selector).load("/ajax/sh.php", { 'template': template, 'customid': customid, 'zipcode': zipcode, 'make': make}, function() {
        $('.sh_list').mouseover(function(){
            this.style.cursor='pointer';
        });
		if ( typeof onload != 'undefined' ) {
            onload();
        }

    });
}

function GetSureHits(selector, template, customid, zipcode) {
    if ( !is_valid_zipcode(zipcode) ) {
        alert('Please enter a valid U.S. zipcode.');
    } else {
        LoadSureHits(selector, template, customid, zipcode);
    }
}

function GoProvider(position) {
    window.open('/listing.php?position='+position,'provider');
}
