    function togglediv(postid) {
    //get the div we want to hide or show
    var whichdiv=document.getElementById('replies'+postid);
    var whichimg=document.getElementById('img'+postid);
    // if its on, make it off, if its off, make it on
    if (whichdiv.className=='divshown') {
        whichdiv.className='divhidden';
        whichimg.src='/css/arr_blk_right.gif';
    } else {
        whichdiv.className='divshown';
        whichimg.src='/css/arr_blk_down9x9.gif';
    }
}
