function addcomment (cid, t) {
	//if (cid != lastcommentid) {
	
		document.getElementById("lastcomment").innerHTML  = t;
		$.fancybox.close();
		document.getElementById("yourcommentlink").style.display = "none";
		//fancybox_close();
		//alert("ok");
	//} 
} 



function showcommenturl (t2, t1) {
	theurl = t1 + t2;
	window.open(theurl); 
}

function resizeframe (h) {
	h = 10 + h;
	hpx = ''+h+'px';
	//document.getElementById("extrasager").style.height = hpx;
}

function makesmaller () {
	//document.getElementById("extrasager").style.height = "30px";
}


function fancybox_close(){
    $('#fancy_outer').hide();
    $('#fancy_overlay').hide();
    $('#fancy_title').hide();
    $('#fancy_loading').hide();
    $('#fancy_ajax').remove();
}



