//FLASHプラグインチェック
var contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var PluginVersion = words[i]; 
	    }
	var FlashCanPlay = (PluginVersion >= contentVersion);
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}
function mov_write(){
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ID="layer" WIDTH="780" HEIGHT="299" ALIGN=""><PARAM NAME="wmode" VALUE="transparent"><PARAM NAME="movie" VALUE="../internship/img/internship_top.swf"><PARAM NAME="menu" VALUE="false"><PARAM NAME="quality" VALUE="high"><PARAM NAME="devicefont" VALUE="true"><PARAM NAME="bgcolor" VALUE="#FFFFFF">');
document.write('<EMBED src="../internship/img/internship_top.swf" menu="false" quality="high" wmode="transparent" devicefont="true" bgcolor="#FFFFFF" swLiveConnect="ture" width="780" height="299" name="protect top flash" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
}

nn4_check = navigator.userAgent.indexOf('Mozilla/4.7')>=0;

//Netscape4.7のみ非表示
if(nn4_check >= 1){
	document.write('<img src="../internship/img/topimg.jpg" width="780" height="299" alt="有給・無給インターンシップのことならMyStage[マイステージ]へ">');
}else{
	mov_write();
}