var mw=435; var mh=33;
if (typeof moviewidth != 'undefined') mw = moviewidth;
if (typeof movieheight != 'undefined') mh = movieheight;
var flash;


function show_hide_item(item_id, do_show) {
	var action, stl, prefix;
	IE4 = (document.all && !document.getElementById) ? true : false;
	NS4 = (document.layers) ? true : false;
	IE5 = (document.all && document.getElementById) ? true : false;
	NS6 = (!document.all && document.getElementById) ? true : false;
	if (do_show==1) { 
		if (NS6) { stl = 'table-row'; }
		else { stl = 'inline'; }
	} else { stl = 'none'; }
    if (IE4) { prefix = document.all(item_id); }
    if (NS6 || IE5) { prefix = document.getElementById(item_id) }
    if (NS4){ prefix = document.layers(item_id); }
	prefix.style.display=stl;
}

function putFilename(flashData, photo_number) {
	if (flashData != '') {
		document.miss_maxim_form["photo_"+photo_number+"_filename"].value = flashData;
		show_hide_item('form_block_2', '1');
	}
}

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="'+mw+'" height="'+mh+'" name="flashObject" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="'+movieurl+'2303" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="'+movieurl+'8956" wmode="transparent" quality="high" width="'+mw+'" height="'+mh+'" name="flashObject" align="middle" allowScriptAccess="sameDomain" swLiveConnect=\"true\" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');
