function MGS_Ad (width, height) {
	var path = "http://cfiles.tsd.to/MGS_Server/Banners/";
	var href = "http://www.mgs-server.com";
	var browser = navigator.appName;
	
	var isIE = false;
	if (browser.indexOf ('Internet Explorer')) isIE = true;
	
	output = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+width+'" height="'+height+'" id="mgs_'+width+'x'+height+'">';
	output += '<param name="movie" value="'+path+'mgs_'+width+'x'+height+'.swf">';
	output += '<param name="quality" value="high">';
	output += '<param name="wmode" value="transparent">';
	output += '<param name="swfversion" value="8.0.35.0">';
	output += '<param name="menu" value="false">';
	output += '<param name="FlashVars" value="href='+href+'">';
	if (isIE) output += '<object type="application/x-shockwave-flash" data="'+path+'mgs_'+width+'x'+height+'.swf" width="'+width+'" height="'+height+'">';
	output += '<param name="quality" value="high">';
	output += '<param name="wmode" value="transparent">';
	output += '<param name="swfversion" value="8.0.35.0">';
	output += '<param name="menu" value="false">';
	output += '<param name="FlashVars" value="href='+href+'">';
	output += '<div><a href="'+href+'" target="_blank"><img src="'+path+'mgs_'+width+'x'+height+'.gif" width="'+width+'" height="'+height+'" border="0" alt="MGS" /></a></div>';
	if (isIE) output += '</object>';
	output += '</object>';
	document.write(output);
}