
function testhandler( response ) { 
    alert( response ); 
} 

function fillDiv( response ) {
    if ( response.indexOf( '\t' ) > -1){
        var bits = response.split( '\t' )
        if( $( bits[0] ) ){
            $( bits[0] ).innerHTML = bits[1];
        }else{
            alert( $( bits[0] ) + ' \\ ' + response);
        }
    }else{
        alert( response );
    }
}

function handleCommentSave( response ){
    if( response.substring(0,2)=="OK" ){
        ajaxCall('ajaxblogComments', response.substring(2), fillDiv )
    }else{
        alert(response);
    }
}

function $( obj ){
    return document.getElementById( obj );
}