function Goto(url)
{
	window.location=url;
}
function Thickbox(url)
{
	tb_show('',url);
	return false;
}
function ThickboxClose()
{
	tb_remove();
}
function Verify(message, url)
{
	var answer = confirm(message);
	if (answer)
	{
		window.location=url;
	}
	return answer;
}
function ShowRealTime()
{
	$.ajax({
		url : "/index/time",
		success : function (data) { $("#realtime").html(data); }
	});
	setTimeout("ShowRealTime()", 1000);
}
function showRequest(formData, jqForm, options) { 
    var queryString = $.param(formData); 
    return true; 
	$('#response').slideDown();
} 
function showResponse(responseText, statusText)  { 
	if (responseText.length>30) {
		$('#response').slideDown();
		$('#left').css('height','auto');
	} else {
		window.location=responseText;
	}
}
function EqualHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}

function bookmarkthis(title,url) {
	if (navigator.appName == 'Microsoft Internet Explorer') {
		window.external.AddFavorite(url, title);
	}
}