/* NOTE $ changed to JQ for Drupal 4.7 compatability will not need in Drupal 5 */

try {

    if( typeof( BASE_URL ) != "undefined" ) {
        $(document)
            .ready(function() {
                    $("a[@href^='http']:not([@href*='"+BASE_URL+"'])")
                    .addClass("external")
                    });
    }

} catch( e ) {}

