Javascript SyntaxError: Unexpected identifier
===

Hi i wrote some small script, but since i did it with google help i need some advice. After putting this into chrome console, im getting SyntaxError: Unexpected identifier   
jQuery(document).ready(function(){ 

	

	if jQuery("#colorbox").css("display", "none");) {
		jQuery("#close-news").css("display", "none");
	} 
	else {
		jQuery("#close-news").css("display", "visible");
	}

});

Any ideas whats wrong?