	/**
		画像詳細情報
	*/
	function picDetail ( 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/pictureDetail.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;
		$(myData).find("item").each(function( $this ){
			strLink		= $(this).children("link").text();
			title		= '<img src="/img/2/pnl_pic.gif">　' +  $(this).children("title").text();
			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();

			$('#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();
			picture		= '<a href="' + $(this).children("fileUrl").text() + '" target="_blank"><img src="' + $(this).children("thumb").text() + '" width="400" height="300" border="0"></a>';
			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="339" height="300" align="middle">'
					+ '<param name="movie" '
					+ 'value="' + domain + 'p/video_output.swf?mid=' + mid + '">'
					+ '</param>'
					+ '<param name="allowScriptAccess" value="always" />'
					+ '<embed src="' + domain + 'p/video_output.swf?mid=' + mid + '" '
					+ 'type="application/x-shockwave-flash" '
					+ 'width="339" height="300" allowScriptAccess="always">'
					+ '</embed></object>';
			
			//オリジナルサイズ
			$( '#orgPic' ).html( '<a href="' + $(this).children("fileUrl").text() + '" target="_blank">オリジナルサイズ</a>' );
			
			$( target + '_frame_header_title' ).html( title );
			$( '#player' ).html( picture );
			$( '#movieComment' ).html( description );
			$( '#embedtag' ).val( embedTag );
			
			encodedURI = utf.URLencode( embedTag );
			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");
			
			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;

	}
	picDetail.prototype	= new fncFrameBodyCommon;

