debugStr = "";

function debug(str){
	debugStr+= str+"\n";
}