// JavaScript Documentrt
//Mur
function change_murmurkey(id, actvar, pageid)
{
	$.ajax({
		type:       "GET",
		url:        "/contents/myinfo/blocks/MurMurList_block.asp",
		cache:      false,
		data:       "id="+id+"&PageNo="+pageid+"&act="+actvar,
		success:    function(html) {
						$("#MurMurWidget").html(html);
						//re-attach thickbox
						bindThickBoxEvents()
					}
	});
}


function get_topmur(id){
	$.ajax({
		type:       "GET",
		url:        "/contents/myinfo/blocks/gettopmur.asp",
		cache:      false,
		data:       "id="+id,
		success:    function(html) {
						$("#TopMur").html(html);
						//re-attach thickbox
						bindThickBoxEvents()
					}
	});	

}


function removeThickBoxEvents() {
        $('.thickbox').each(function(i) {
            $(this).unbind('click');
        });
    }

function bindThickBoxEvents() {
        removeThickBoxEvents();
        tb_init('a.thickbox, area.thickbox, input.thickbox');
    }