/* simpleme javascript file */
/***************************/

var $j = jQuery.noConflict();

function smoothscroll(id){
    if($j.browser.opera){
        $j('html').animate({ scrollTop: $j('#'+id).offset().top }, 800);
    } else {
        $j('html, body').animate({ scrollTop: $j('#'+id).offset().top }, 800);
    }
}

function togglesharelist() {
    if(document.getElementById('action').value == "show") {
        $j("#sharelist").fadeIn("slow");
        document.getElementById('action').value = "hide";
    } else if(document.getElementById('action').value == "hide") {
        $j("#sharelist").fadeOut("slow");
        document.getElementById('action').value = "show";
    }
}

