function handler_static( guid )
{
    jQuery.get
    (
        '/cgi-bin/static/item' ,
        {
            guid: guid
        }                      ,
        function( data )
        {
            core_static_item(data);

        } ///;~
    );

} ///;~

function core_static_item( data )
{
    var guid  = $('guid:first'  , data).text();
    var title = $('title:first' , data).text();
    var body  = $('body:first'  , data).text();

    if ( guid == '' )
    {
        location.href = '/404/';
    }

    body = stripslashes(body);

    $('h3.core_static_title').html(title);
    $('div.core_static_body').html(body);

} ///;~
