	/**
		動画詳細情報
	*/
	function movieDetail ( args ) {
		//MID
		this.mid		= args.mid;
		mid 			= this.mid;

		//ターゲットフレーム
		this.target		= '#detail';

		//開閉ステータス
		this.statusName 	= 'detailStatus';
		this.status		= UtlStr.cnvStringBoolean( $.cookie( this.statusName  ) || true );

		//XML
		this.xmlFile		= '/feed/creativeDetail.php?mid=' + this.mid + '&cache=' + (new Date()).getTime();

		//XML読み込み
		var item = { url : this.xmlFile };
		var myData = utl.getDataWithAjax( item );

		var target 		= this.target;
		var rootPath;
		var uid;
		var title;
		var embedTag;
		var eventDir;
		var openFlag;
		var genre;
		var fileUrl;
		var poster;
		var createDate;
		$(myData).find("item").each(function( $this ){
			strTitle	= $(this).children("title").text();
			strLink		= $(this).children("link").text();
			title		= '<img src="/img/2/pnl_movie.gif">　' +  strTitle;
			description	= UtlStr.getConvertLFStr( $(this).children("description").text() );
			description	= UtlStr.urlAutoLink ( description );
			eventDir	=  $(this).children("eventDir").text();
			rootPath	= $(this).children("rootPath").text();
			uid		= $(this).children("userMd5Id").text();
			fileUrl		= $(this).children("fileUrl").text();
			poster		= $(this).children("thumb").text();
                        
			$('#playCount').html( '再生回数：' + $(this).children("playCount").text() );

			createDate	= $(this).children("createDate").text();
			$('#movieCreateDate').html( '投稿日：' + createDate );
			
			userMd5Id	= $(this).children("flags").children("enabled").text();
			voteFlag	= $(this).children("flags").children("vote").text();
			bbsFlag		= $(this).children("flags").children("bbs").text();
			openFlag	= $(this).children("flags").children("open").text();
			tagFlag		= $(this).children("flags").children("tag").text();
		
			genre		= $(this).children("genre").attr("text");
			genreId		= $(this).children("genre").attr('id');

			genreAcccess	= '<a href="/genre/?md=g&g=' + genreId + '">' + genre + '</a>';
			$('#movieGenre').html( 'カテゴリ > ' + genreAcccess );

			domain		= 'http://' + location.hostname + '/';
			//貼付タグ作成（通常）
			embedTag	= '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '
					+ 'id="external' + mid +'" '
					+ 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" '
					+ 'width="480" height="270" align="middle">'
					+ '<param name="movie" '
					+ 'value="' + domain + 'flash/P3O.swf?mid=' + mid + '">'
					+ '</param>'
					+ '<param name="allowScriptAccess" value="always" />'
					+ '<embed src="' + domain + 'flash/P3O.swf?mid=' + mid + '" '
					+ 'type="application/x-shockwave-flash" '
					+ 'width="480" height="270" allowScriptAccess="always">'
					+ '</embed></object>';
			//貼付タグ作成（AllowScriptAccess=never版）
			embedNTag	= domain + 'flash/P3O.swf?mid=' + mid + '&asa=n';
			
			$( target + '_frame_header_title' ).html( title );
			$( '#movieComment' ).html( description );
			$( '#embedtag' ).val( embedTag );

			encodedURI	= utf.URLencode( embedTag );
			encodedNURI	= utf.URLencode( embedNTag );
			linkAmeba	= 'http://blog.ameba.jp/ucs/entry/srventryinsertinput.do?entry_text=' + encodedURI + '&editor_flg=1';
			$('#aAmeba')
				.attr("href",	linkAmeba)
				.attr("target",	"_blank");
			linkFC2		= 'http://blog.fc2.com/?wtm_id=' + mid;
			$('#aFC2')
				.attr("href",	linkFC2)
				.attr("target",	"_blank");
			linkLD		= 'http://cms.blog.livedoor.com/cms/article/add?bm=1&f=%24body%24&b=' + encodedURI;
			$('#aLD')
				.attr("href",	linkLD)
				.attr("target",	"_blank");
			linkSeasa	= 'http://blog.seesaa.jp/pages/my/home/to_article?body=' + encodedURI;
			$('#aSS')
				.attr("href",	linkSeasa)
				.attr("target",	"_blank");
			linkHatena	= 'http://d.hatena.ne.jp/edit?appendbody=' + encodedURI;
			$('#aHT')
				.attr("href",	linkHatena)
				.attr("target",	"_blank");
			linkYahoo	= 'http://blogs.yahoo.co.jp/FRONT/blogthis.html?item='+encodedNURI+'&itemwidth=480&itemheight=270&link='+strLink+'&linktitle=' + utf.URLencode( '【ワッチミー！TV】' + strTitle );
			$('#aYH')
				.attr("href",	linkYahoo)
				.attr("target",	"_blank");
			
			linkMixi = '<a href="http://mixi.jp/share.pl" class="mixi-check-button" data-key="6e1d64106239452fa4be1dff96c4112ab95c4fe8" data-url="' + strLink + '" data-button="button-1">Check</a><script type="text/javascript" src="http://static.mixi.jp/js/share.js"></script>';
			$('#aMX')
				.append( linkMixi );
			
			linkTwitter	= '<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-lang="ja">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>';
			$('#aTW')
				.append( linkTwitter );
			
			linkGree = '<iframe src="http://share.gree.jp/share?url=' + utf.URLencodeRFC3986( strLink ) + '&type=0&height=20" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" style="border:none; overflow:hidden; width:90px; height:20px;" allowTransparency="true"></iframe>';
			$('#aGR')
				.append( linkGree );
			
			linkFacebook = '<iframe src="http://www.facebook.com/plugins/like.php?href=' + strLink + '&amp;layout=standard&amp;show_faces=true&amp;width=400&amp;action=like&amp;colorscheme=light&amp;height=70" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:70px;" allowTransparency="true"></iframe>';
			$('#aFB')
				.append( linkFacebook );
			
			
			
			if ( tagFlag == 'N' ) {
				$('#tagColumn').empty();
			}
			if ( voteFlag == 'N' ) {
				$('#voteColumn').empty();
			}
		});

		this.openFlag	= openFlag;
		this.embedTag	= embedTag;
		this.rootPath	= rootPath;
		this.uid 		= uid;
		this.eventDir 	= eventDir;
		this.basicFrame();
		this.title      = title;
		this.genre      = genre;
		this.fileUrl    = fileUrl;
		this.poster     = poster;
		this.createDate = createDate;

	}
	movieDetail.prototype	= new fncFrameBodyCommon;

