$(document).ready(function(){
	$('#foundbuglink').bind('click', showHideOrangeBox);
	$('a.orangeBoxCloseLink').bind('click', function(e) {showHideOrangeBox(e, false);});
});

function showHideOrangeBox(event) {
	var show = false;
	var target = $('#orangeBox');
	target.center();
	if (arguments.length>1) {
		if (arguments[1])
			show = true;
	}
	if (target.hasClass('nodisplay'))
		show = true;
	if (show) 
		target.removeClass('nodisplay');
	else
		target.addClass('nodisplay');
}
