


window.addEvent('domready', function() {
	
	
// SlideDDShow
	

	
});

createSlide = function(div) {
	new SlideDDShow(div, {
		glow: true,
		glowSize:40,
		margin: 0,
		bgColor: 'black',
		arrowOpacity: 0.1,
		speed: 500,
		
		createTitleDisplay: function(slideDDShow) {
			var titletable = new Element('table');
			var titletablebody = new Element('tbody').inject(titletable);
			var tr = new Element('tr').inject(titletablebody);
			var td = new Element('td', { 
				'class': slideDDShow.options.cssPrefix + "_title_bg_a"
			}).inject(tr);
			td.setHTML(slideDDShow.currentTitle);
			new Element('td', { 
				'class': slideDDShow.options.cssPrefix + "_title_bg_b"
			}).inject(tr);
			titletable.inject(slideDDShow.titlediv);
		},
		
		createTitleBar: function(slideDDShow) {
			var b = new Element('a', {
				'class': 'sdd_close'	
			});
			b.addEvent('click', slideDDShow.close.bind(slideDDShow));
			b.inject(slideDDShow.titlebar);
		}
	});
};

