// Insert the Canvas Object into the div with id #MyDiv 
$(document).ready(function() 
{
	$("#right_column").backgroundCanvas();
	$("#left_column").backgroundCanvas();
	$("#left_column_wide").backgroundCanvas();
});

// Helper function to draw background for convienience
function DrawBackground() 
{	
    // Paints on the background canvas with the PaintFunction you must provide! 
    $("#right_column").backgroundCanvasPaint(MyBackgroundPaintNoColour); 
	$("#left_column").backgroundCanvasPaint(MyBackgroundPaintNoColour); 
	$("#left_column_wide").backgroundCanvasPaint(MyBackgroundPaintNoColour); 
}

// Draw the background  on load and resize
$(window).load(function () { DrawBackground(); });
$(window).resize(function() { DrawBackground(); });
