/*! Crusaders Home Draw v2 <http://nvinteractive.co.nz>
	Copyright (c) NV Interactive
	
	References:
		utilities.2.1.js
		swfobject.js
		jquery-1.2.6.js
		
	Release Notes:
		2.0
		-- rewrote for jQuery
		
*/
homedraw = function(){

	var init = function(){
		var draw = document.getElementById("interactive-draw");

		var w = 650;
		var h = 130;
	

		
		var xmldata = getInnerHtml(draw);
		var flashVars = "xmldata=" + 	encodeURIComponent(xmldata) +
			"&url=" +					encodeURIComponent(window.location);
		
		var pars = {
			flashvars: 			flashVars,
			wmode: 				"opaque",
			bgcolor:			"#201E1D"
			};
	
		var flashObj = writeFlash(draw, "home_draw/home_draw.swf", w, h, pars);
	}

	return {
	/* Public API
	*/
	init: init
	}	
	
}();



$(document).ready(homedraw.init);




