// debug.js - debugging tools


var Debug = {
	
	debug: false,

	init: function () {
		
		if (Debug.debug) {

			YAHOO.widget.LogReader.height = '600';
			YAHOO.widget.LogReader.width  = '500';
			
			var logReader = new YAHOO.widget.LogReader(
				undefined,
				{
					width:	'500px',
					height:	'450px'
				}
			);
			
			// logReader.show();
		}
		
	},
	
	log: function (msg) {

		if (Debug.debug) {
		
			YAHOO.widget.Logger.log(msg);
		}		
	}
};

