/*
	Reporting class
*/
function Report(ob) {
	this.main = ob;
	this.dialog = 0;
	this.message = "Warning";
	
	this.error = function(_str) { /* Prints an user error */
		/*
			Okay so heres the deal:
				- pop ups….SUCK FUCKIGN ASS
				- red bars… LOOK SOOO FUCKIGN SHIT
				- SERIOUSLTY.. NOOOO JQUERY UI
					- 
				- lemme just think about this a bit..  im currently on system seing what we can do to make this fit in with the eish theme
				ive got it… lemme just do some tinkering in the css, but otherwise yes i have the answer ;)
				- Awesome :D
						*/
		//alert(_str);
		var str = "<p>"+_str+"</p>";
		if (!this.dialog) {
			$("div.inner-dialog").html("<h1>"+this.message+"</h1>");
			$("div.inner-dialog").append(str);
			$("div#report-dialog").fadeIn("fast");
			this.dialog = 1;
		} else {
			$("div.inner-dialog").append(str);
		}
	};
	
	this.errorClose = function() {
		this.dialog = 0;
		$("div#report-dialog").fadeOut("fast");
	};
}
