function gallery(file, postargs) {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 			 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="980" height="430" id="gallery" align="">');
	document.write('<param name="movie" value="' + file +'gallery.swf' + postargs +'&ignore">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="' + file +'gallery.swf' + postargs +'&ignore" quality="high" bgcolor="#FFFFFF" width="980" height="430" name="gallery" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent"></embed>');
	document.write('</object>');
}

function topbar(file,pathmod,fileext) {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 			 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="36" id="topbar" align="">');
	document.write('<param name="movie" value="' + file + '&pathmod=' + pathmod + "&fileext=" + fileext + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="' + file + '&pathmod=' + pathmod + "&fileext=" + fileext + '" quality="high" bgcolor="#FFFFFF" width="600" height="36" name="topbar" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent"></embed>');
	document.write('</object>');
}

function logo(file,pathmod,fileext) {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 			 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="167" height="100" id="logo" align="" style="float: left;">');
	document.write('<param name="movie" value="' + file +'logo.swf?pathmod='+ pathmod + "&fileext=" + fileext + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="' + file +'logo.swf?pathmod='+ pathmod + "&fileext=" + fileext + '" quality="high" bgcolor="#FFFFFF" width="167" height="100" name="logo" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent"></embed>');
	document.write('</object>');
}