	if(!com) var com = {};
	if(!com.qwidget) com.qwidget = {};

	com.qwidget.servicesUrl	= com.qwidget.webservices + '/chattheplanet/services';
	com.qwidget.imagesUrl	= com.qwidget.webservices + '/thumbnails';
	
	// com.qwidget.blogUrl = undefined;
	com.qwidget.version = undefined;

	com.qwidget.debugEnabled 	= com.qwidget.verbose ? true : false;
	com.qwidget.errorEnabled 	= true;
	com.qwidget.infoEnabled 	= com.qwidget.verbose ? true : false;
	com.qwidget.logEnabled 		= com.qwidget.verbose ? true : false;
	com.qwidget.warnEnabled 	= com.qwidget.verbose ? true : false;

	// the following is not really config stuff but needs to go early...
	if (!window.console) 		{window.console = {};}
	//alert('window.console.debug: ' + window.console.debug);
	if (!window.console.debug)	{window.console.debug	= function (msg) {alert(msg);}}
	//alert('window.console.debug: ' + window.console.debug);
	if (!window.console.error) 	{window.console.error	= function (msg) {alert(msg);}}
	if (!window.console.info)	{window.console.info	= function (msg) {alert(msg);}}
	if (!window.console.log) 	{window.console.log		= function (msg) {alert(msg);}}
	if (!window.console.warn)	{window.console.warn	= function (msg) {alert(msg);}}
	
	com.qwidget.debug	= (com.qwidget.debugEnabled	? function(s) {window.console.debug(s);}	: function () {;});
	//com.qwidget.debug('hiya');
	com.qwidget.error	= (com.qwidget.errorEnabled	? function(s) {window.console.error(s);}	: function () {;});
	com.qwidget.info	= (com.qwidget.infoEnabled	? function(s) {window.console.info(s);}		: function () {;});
	com.qwidget.log		= (com.qwidget.logEnabled	? function(s) {window.console.log(s);}		: function () {;});
	com.qwidget.warn	= (com.qwidget.warnEnabled	? function(s) {window.console.warn(s);}		: function () {;});
