﻿
// swf
function runflash(theFla,theName,fla_w,fla_h,tgt) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+fla_w+'" height="'+fla_h+'" id="'+theName+'" align="middle">');
	document.write('<param name = "allowScriptAccess" value = "always" />');
	document.write('<param name="movie" value="'+theFla+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="bgcolor" value="#ffffff" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="FlashVars" value="jTGT='+tgt+'" />');
	document.write('<embed src="'+theFla+'" quality="high" bgcolor="#ffffff" wmode="transparent"  FlashVars="jTGT='+tgt+'" width="'+fla_w+'" height="'+fla_h+'" name="'+theName+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

//**************
function thisMovie(movieName) {
	var isIE = navigator.appName.indexOf("Microsoft") != -1;
	return (isIE) ? window[movieName] : document[movieName];
}
