function SuperCommentsSendSubmit( title, page, del ) 
{
	sajax_request_type = 'POST';
	if(!page) page = 0;
	if(!del) del = 0;
	var target = document.getElementById('super_comments');
	if( document.supercommentsform==undefined )
		var scentry = "";
	else
		var scentry = document.supercommentsform.scEntry.value;
	sajax_do_call( "wfSuperCommentsAjaxLoad", [title, scentry, page, del], target );
	sajax_request_type = 'GET';
	return false;
}

function RatingBar( chkstr, id, vote )
{
	var target = document.getElementById('rating_bar');
	sajax_do_call( "wfRatingBarAjax", [chkstr, id, vote], target );
}



function saveHeight( div )
{
	var h = document.getElementById(div).offsetHeight;
	document.getElementById(div).style.minHeight = h+"px";
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left = 112,top = 84');");
}


function GetThis(T, C, U, L)
{
day = new Date();
id = day.getTime();
var targetUrl = 'http://www.myspace.com/Modules/PostTo/Pages/?' + 't=' + encodeURIComponent(T)
+ '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L;
eval("page" + id + " = window.open(targetUrl, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=1200,height=1024,left = 112,top = 84');");
}