//<script type="text/javascript">

//=============================================================================
// The Doodle class provides the framework that binds the application's 
// components together
function Doodle(divCanvas) {

	// create the document
	this.doc = new Doodle.Doc();
	
	// create any views
	this.views = new Array();
	this.views.push(new Doodle.Canvas(divCanvas, this.doc));
}

Doodle.prototype.newDocument = function() {
	this.doc.init();
}

//</script>