

//////////////////////////////////////////////////////////////////////////////////////

// LINKS

/////////////

function defocus( x ) {

    if( navigator.appName == 'Microsoft Internet Explorer' ) {

    self.focus();
    
    } else {

    x.blur();

    }

}

// -------------------------------------------------------------------------------------

function clearSelection() {

var sel;

    if(document.selection && document.selection.empty) {
    
    document.selection.empty();
    
    } else if(window.getSelection) {
    
    sel=window.getSelection();
    
        if(sel && sel.removeAllRanges) sel.removeAllRanges() ;
    
    }

}

function hd_redirect( url ) {

document.location.href = url;

}

// -------------------------------------------------------------------------------------

function bookmark_add(url, name) {

    if (document.all) {
    
    window.external.AddFavorite(url, name);
    
    } else {
    
    window.sidebar.addPanel(name, url, '');
    
    }

}

