(function(){
	var dir = 'http://jiglet.jp/blogparts_files/';
	var swfName = dir + 'Main.swf';
	var args = [];
	if (cf) { args[args.length] = 'cf=' + cf; }
	if (vp) { args[args.length] = 'vp=' + vp; }
	if (cd) { args[args.length] = 'cd=' + cd; }
	var _w = 240;
	var _h = 280;
	var _border = false;
	try { _w = w; } catch(e) {}
	try { _h = h; } catch(e) {}
	try { _border = (b != 0); } catch(e) {}
	var flashVars = args.join('&');
	
	document.write('<div align="center" style="overflow-x: visible; width: ' + _w + 'px; height: ' + _h + 'px; overflow: visible; z-index: 1000;' + (_border ? 'border: 1px solid #000;' : '') + '">');
	document.write('<object codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"');
	document.write('  width="' + _w + '" height="' + _h + '"');
	document.write('  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
	document.write('  <param name="allowScriptAccess" value="sameDomain"/>');
	document.write('  <param name="movie" value="' + swfName + '"/>');
	document.write('  <param name="quality" value="high"/>');
	document.write('  <param name="loop" value="true"/>');
	document.write('  <param name="bgcolor" value="#9999ff"/>');
	document.write('  <param name="FlashVars" value="' + flashVars + '"/>');
	document.write('  <embed src="' + swfName + '" width="' + _w + '" height="' + _h + '"');
	document.write('    quality="high" bgcolor="#9999ff"');
	document.write('    allowScriptAccess="sameDomain"');
	document.write('    loop="true" swLiveConnect="false"');
	document.write('    FlashVars="' + flashVars + '"');
	document.write('    type="application/x-shockwave-flash"');
	document.write('    pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('  </embed>');
	document.write('</object>');
	document.write('</div>');
})();

