function MM_openBrWindow(theURL,winName,features) 
{
    window.open(theURL,winName,features);
}

function exampleImages(url, height, width)
{
    newwindow=window.open(url,'name','height='+height+',width='+width+'`,top=200,left=400');
    if (window.focus) {newwindow.focus()}
    return false;
}

function validate_form ( )
{
    if ( document.registration.rd_dr_first_name.value == "" ){
        alert ( "Please fill in the Dr First Name." );
         return false;
    } 
    
    if ( document.registration.rd_dr_last_name.value == "" ){
        alert ( "Please fill in the Dr Last Name." );
         return false;
    }
    
    if ( document.registration.rd_contact_first_name.value == "" ){
        alert ( "Please fill in the Fisrt Name." );
         return false;
    }
    
    if ( document.registration.rd_contact_last_name.value == "" ){
        alert ( "Please fill in the Last Name." );
         return false;
    }
    
    if ( document.registration.rd_street_address.value == "" ){
        alert ( "Please fill in the Street Address." );
         return false;
    }
    
    if ( document.registration.rd_state.value == "" ){
        alert ( "Please fill in the State." );
         return false;
    }

    if ( document.registration.rd_city.value == "" ){
        alert ( "Please fill in the City." );
         return false;
    }
    
    if ( document.registration.rd_post_code.value == "" ){
        alert ( "Please fill in the Post Code." );
         return false;
    }

    if ( document.registration.rd_country.value == "" ){
        alert ( "Please fill in the Country." );
         return false;
    }

    if ( document.registration.rd_phone.value == "" ){
        alert ( "Please fill in the Phone Number." );
         return false;
    }
    
    if ( document.registration.rd_email.value == "" ){
        alert ( "Please fill in your email address." );
         return false;
    }

    return true;
}
