rc = {}

rc.init = function() {
	$('.flash').each(function() {
		new swfobject.embedSWF($(this).attr('rel'), $(this).attr('id'), $(this).width(), $(this).height(), "9.0.0", false, {}, {
			allowScriptAccess: "always",
			wmode: "transparent"
		});
	});
}

rc.init_slimbox = function() {
	var e = $("a[rel^='lightbox']");
	if (e.slimbox) e.slimbox({
		loop: true
	}, null, function(el) {
		return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
	});
}

rc.init();
