// debug for javascript, if the library are not loaded, a call will not raise error.
function trace(msg)
{
	if(typeof(jsTrace) != 'undefined')
	{
		jsTrace.send(msg);
	}
}
