
var value_visited = getCookie('visited');
if (value_visited == "visited") {
	//初めてではない人向けの処理
}else{
	//初めての人向けの処理
	//↓削除不可です
	document.cookie = 'visited= visited;'
	//↑削除不可です
	//↓自由に変更してください
	document.write('<div id="fisrtVisit">');
	document.write('<div id="lang_flash">');
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="411" height="350">');
	document.write('<param name="movie" value="swf/lang.swf">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="#FFFFFF">');
	document.write('<param name="menu" value="false">');
	document.write('</object>');
	document.write('<embed src="swf/lang.swf" width="411" height="350" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" type="application/x-shockwave-flash" bgcolor="#FFFFFF">');
	document.write('</embed>');
	document.write('</div>');
	document.write('</div>');
	//↑自由に変更してください
}


function getCookie(name)	{
var cookieStr = document.cookie
var existNum = cookieStr.indexOf(name)
	if(existNum != -1)	{
		start = existNum + name.length + 1
		end = cookieStr.indexOf(";" , start)
		if(end == -1)	{
			end = cookieStr.length
		}
		var cookieValue = cookieStr.substring(start,end)
		return cookieValue
	} else {
		return ""
	}
}