//setup the namespace
if (typeof crumbs == "undefined" || !crumbs) {
    var crumbs = {};
}

crumbs.SixPack = Class.create();

crumbs.SixPack.prototype = {
	initialize: function(element) {
		this.inlineelement = $(element);
		this.popupelement = null;
		this.cupcakes = null;
		
		this.modal = new crumbs.Modal.SixPack();
		this.startButton = $('sixpack_inline_start');
		this.startButtonClick   = this.modal.showModal.bindAsEventListener(this.modal);
		Event.observe(this.startButton, 'click', this.startButtonClick);
		
	},
	
	setInlineContent: function(html) {
		/* Not currently doing this because the images are matted on white
		//console.log(html);
		var pan = this.inlineelement.select('.sixpack_pan');
		pan = pan[0];
		pan.innerHTML = html;
		*/
	}
};
