function closeadvice()
{
    var a = new Date();
    a = new Date(a.getTime() +1000*60*60*24);
    document.cookie = 'advice=close; expires='+a.toGMTString()+';';
    jQuery('#topposframe').fadeOut(1000);
    jQuery('#closetoppos').fadeOut(200);
}

function showadvice()
{
    if(document.cookie.search('advice') < 0)
    {
        jQuery('#topposframe').fadeIn(1000);
        jQuery('#closetoppos').fadeIn(5000);
    }
}