function runFlashApplet(s,s2,t,x,y)
{
	var identify = s2.substring(0,s2.length-4);
	var str = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='" + x + "' height='" + y + "' id='" + identify + "' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='" + s + s2 + "' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><param name='base' value='" + s + "'><embed src='" + s + s2 + "' quality='high' bgcolor='#ffffff' width='" + x + "' height='" + y + "' name='" + identify + "' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' base='" + s + "' /></embed></object>";
	document.getElementById(t).innerHTML = str;
}
		
function popup(url,name) {
	var win_height = '400';
	var win_width = '400';
	pos_horizon = ((screen.width/2)-(win_width/2));
	pos_vertical = ((screen.height/2)-(win_height/2));
	var ref = window.open(url,name,"width="+win_width+",height="+win_height+",top="+pos_vertical+",left="+pos_horizon+"toolbar=no");
	if (window.focus) {ref.focus()}
	return false;

}
