// swap static submit buttons with rollover buttons
Event.observe(window, 'load', function() {
	document.getElementsByClassName('plain-submit-btn').each(function(el) {
		var el_parent = el.up();
		var el_form = el.up('form');
		if (el.id) {
			new Insertion.After(el, '<div class="rich-submit-btn" id="' + el.id + '"></div>');
		} else {
			new Insertion.After(el, '<div class="rich-submit-btn"></div>');
		}
		var new_el = el.next();
		el.remove();
		new_el.style.cursor = "pointer";
		Event.observe(new_el, 'mouseover', function() {
			new_el.style.backgroundPosition = "0px -29px";
		});
		Event.observe(new_el, 'mouseout', function() {
			new_el.style.backgroundPosition = "0px 0px";
		});
		Event.observe(new_el, 'click', function() {
			el_form.submit();
		});
	});
});
function logoFlash() {
	document.write('			<div id="flash_logo">');
	document.write('				<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="65" height="234" id="icon_3" align="middle">');
	document.write('					<param name="allowScriptAccess" value="sameDomain" />');
	document.write('					<param name="movie" value="img/icon.swf" />');
	document.write('					<param name="quality" value="high" />');
	document.write('					<param name="bgcolor" value="#ffffff" />');
	document.write('					<embed src="img/icon.swf" quality="high" bgcolor="#ffffff" width="65" height="234" name="icon_3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('				</object>');
	document.write('			</div>');
}
