function printFlash(filename, width, height, type){
	var date		= new Date();
	var cnt			= date.getTime();
	var blogURL		= location.href;
	var filename	= filename + "?" + cnt;
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write(' width="' + width + '" height="' + height + '">');
	document.write('<param name="allowScriptAccess" value="always">');
	document.write('<param name="movie" value="' + filename + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="FlashVars" value="settingtype=' + type + '&blogurl=' + blogURL + '&cnt=' + cnt + '">');
	document.write('<embed src="' + filename + '" quality="high" bgcolor="#FFFFFF" FlashVars="settingtype=' + type + '&blogurl=' + blogURL + '&cnt=' + cnt + '" width="' + width + '" height="' + height + '" allowScriptAccess="always"');
	document.write(' name="" align="middle" type="application/x-shockwave-flash"');
	document.write(' pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

printFlash("http://where-nats.net/blogparts/swf/frame_aq.swf", 160, 290, 1);
