(function($) {
$(document).ready(function(){
	//////////////////////////////////////////////////////////////////////	
	// Appear Contents ///////////////////////////////////////////////////

	var tagAC_UL = $('div#profMain>div#profRight>ul#appearContList');
	tagAC_UL.hide();
	var mostLargeNum = 0;


	
	mostLargeNum = parseInt(05, 10);
	


	
	mostLargeNum = parseInt(07, 10);
	


	
	mostLargeNum = parseInt(09, 10);
	


	
	mostLargeNum = parseInt(10, 10);
	


	
	mostLargeNum = parseInt(19, 10);
	


	
	mostLargeNum = parseInt(21, 10);
	


	
	mostLargeNum = parseInt(22, 10);
	


	
	mostLargeNum = parseInt(22, 10);
	


	
	mostLargeNum = parseInt(24, 10);
	


	
	mostLargeNum = parseInt(http://www.anecan.tv/contents/1003special/, 10);
	


	for(i=0; i<(mostLargeNum + 1); i++){
		tagAC_UL.append('<li></li>');
	};





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(05)').append('<a href="http://anecan.tv/redirect/bestshot_info.html" target="_self"></a>');
	var myAC_ListTag05 = tagAC_UL.children('li:eq(05)').children('a');


	var myACImgName05 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_bestshot-thumb-60x60-6023.jpg';
	myAC_ListTag05.append('<img alt="AneCanベストショット4月号" />');
	myAC_ListTag05.children('img').attr('src', myACImgName05);

	myAC_ListTag05.append('<span class="title">AneCanベストショット<br />4月号</span>');
	myAC_ListTag05.append('<span class="descr">毎月AneCan本誌から専属モデルたちの<br />ベストショットをご紹介！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(07)').append('<a href="http://anecan.tv/redirect/photo_gallery_info.html" target="_self"></a>');
	var myAC_ListTag07 = tagAC_UL.children('li:eq(07)').children('a');


	var myACImgName07 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_photo_gallary-thumb-60x60-6031.jpg';
	myAC_ListTag07.append('<img alt="AneCan.TV Photo Gallery" />');
	myAC_ListTag07.children('img').attr('src', myACImgName07);

	myAC_ListTag07.append('<span class="title">AneCan.TV Photo Gallery</span>');
	myAC_ListTag07.append('<span class="descr">AneCan.TV内の写真は<br />ここですべてチェック！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(09)').append('<a href="http://anecan.tv/redirect/this_month_info.html" target="_self"></a>');
	var myAC_ListTag09 = tagAC_UL.children('li:eq(09)').children('a');


	var myACImgName09 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_this_month-thumb-60x60-6022.jpg';
	myAC_ListTag09.append('<img alt="今月のAneCan" />');
	myAC_ListTag09.children('img').attr('src', myACImgName09);

	myAC_ListTag09.append('<span class="title">今月のAneCan</span>');
	myAC_ListTag09.append('<span class="descr">今月号のAneCanの表紙と目次をチェック！表紙メイキングムービーは4名！<br />毎月更新！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(10)').append('<a href="http://anecan.tv/redirect/movie_gallery_info.html" target="_self"></a>');
	var myAC_ListTag10 = tagAC_UL.children('li:eq(10)').children('a');


	var myACImgName10 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_movie_gallary-thumb-60x60-6033.jpg';
	myAC_ListTag10.append('<img alt="AneCan.TV Movie Gallery" />');
	myAC_ListTag10.children('img').attr('src', myACImgName10);

	myAC_ListTag10.append('<span class="title">AneCan.TV Movie Gallery</span>');
	myAC_ListTag10.append('<span class="descr">AneCan.TV内の動画を<br />一覧できるムービーギャラリー</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(19)').append('<a href="http://anecan.tv/redirect/profile_info.html" target="_self"></a>');
	var myAC_ListTag19 = tagAC_UL.children('li:eq(19)').children('a');


	var myACImgName19 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_prifile-thumb-60x60-6040.jpg';
	myAC_ListTag19.append('<img alt="Model&rsquo;s Movie Profile" />');
	myAC_ListTag19.children('img').attr('src', myACImgName19);

	myAC_ListTag19.append('<span class="title">Model&rsquo;s Movie Profile</span>');
	myAC_ListTag19.append('<span class="descr">AneCanの専属モデルのムービー＆<br />写真とプロフィールをチェック！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(21)').append('<a href="http://anecan.tv/redirect/cosme_blog_info.html" target="_self"></a>');
	var myAC_ListTag21 = tagAC_UL.children('li:eq(21)').children('a');


	var myACImgName21 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_beauty_blog-thumb-60x60-6062.jpg';
	myAC_ListTag21.append('<img alt="AneCan ビューティBlog" />');
	myAC_ListTag21.children('img').attr('src', myACImgName21);

	myAC_ListTag21.append('<span class="title">AneCan ビューティBlog</span>');
	myAC_ListTag21.append('<span class="descr">AneCan専属ライターが自分の愛するコスメをご紹介！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(22)').append('<a href="http://www.anecan.tv/contents/0906gucci/index.html"target="_self"></a>');
	var myAC_ListTag22 = tagAC_UL.children('li:eq(22)').children('a');


	var myACImgName22 = 'http://blog.anecan.tv/backnumber/assets_c/2009/09/60_0906gucci-thumb-60x60-6061.jpg';
	myAC_ListTag22.append('<img alt="GUCCI×AneCan" />');
	myAC_ListTag22.children('img').attr('src', myACImgName22);

	myAC_ListTag22.append('<span class="title">GUCCI×AneCan</span>');
	myAC_ListTag22.append('<span class="descr">GG Night in TOKYOのイベント動画を公開！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(22)').append('<a href="http://anecan.tv/redirect/eye_blog_info.html" target="_self"></a>');
	var myAC_ListTag22 = tagAC_UL.children('li:eq(22)').children('a');


	var myACImgName22 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/60_60_0910_official_blog-thumb-60x60-6064.jpg';
	myAC_ListTag22.append('<img alt="AneCan 編集部Blog" />');
	myAC_ListTag22.children('img').attr('src', myACImgName22);

	myAC_ListTag22.append('<span class="title">AneCan 編集部Blog</span>');
	myAC_ListTag22.append('<span class="descr">スタッフがお届けする内部情報アレコレ！</span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(24)').append('<a href="http://www.anecan.tv/contents/08telecan/index.html"target="_self"></a>');
	var myAC_ListTag24 = tagAC_UL.children('li:eq(24)').children('a');


	var myACImgName24 = ' http://blog.anecan.tv/backnumber/assets_c/2009/09/60_telecan-thumb-60x60-6069.gif';
	myAC_ListTag24.append('<img alt="今月のテレCan 全5回公開！" />');
	myAC_ListTag24.children('img').attr('src', myACImgName24);

	myAC_ListTag24.append('<span class="title">今月のテレCan 全5回公開！</span>');
	myAC_ListTag24.append('<span class="descr"></span>');





	//優先番号が0以外の時 ////////////////////
	tagAC_UL.children('li:eq(http://www.anecan.tv/contents/1003special/)').append('<a 最新号紹介></a>');
	var myAC_ListTaghttp://www.anecan.tv/contents/1003special/ = tagAC_UL.children('li:eq(http://www.anecan.tv/contents/1003special/)').children('a');


	var myACImgNamehttp://www.anecan.tv/contents/1003special/ = 'http://blog.anecan.tv/renew_info/assets_c/2010/03/60_60_1003special-thumb-60x60-11423.jpg';
	myAC_ListTaghttp://www.anecan.tv/contents/1003special/.append('<img alt="AneCan3周年　宮古島でリッチにリゾートGOLF！" />');
	myAC_ListTaghttp://www.anecan.tv/contents/1003special/.children('img').attr('src', myACImgNamehttp://www.anecan.tv/contents/1003special/);

	myAC_ListTaghttp://www.anecan.tv/contents/1003special/.append('<span class="title">AneCan3周年　宮古島でリッチにリゾートGOLF！</span>');
	myAC_ListTaghttp://www.anecan.tv/contents/1003special/.append('<span class="descr">旅行好きにもゴルフ好きにも朗報♪　なんと今回AneCan読者優待ツアーが決定しました。</span>');



	tagAC_UL.children('li').each(function(i){
		($(this).text().length === 0)? $(this).remove() : null;
	});
	tagAC_UL.show();

	//////////////////////////////////////////////////////////////////////	
	// Relation Contents /////////////////////////////////////////////////

	var tagRC_OL = $('div#relationContents>ol');
	tagRC_OL.hide();
	var mostLargeNum2 = 0;


	
	mostLargeNum2 = parseInt(01, 10);
	


	
	mostLargeNum2 = parseInt(02, 10);
	


	
	mostLargeNum2 = parseInt(03, 10);
	


	
	mostLargeNum2 = parseInt(11, 10);
	

	for(i=0; i<(mostLargeNum2 + 1); i++){
		tagRC_OL.append('<li></li>');
	};




	//優先番号が0以外の時 ////////////////////
	tagRC_OL.children('li:eq(01)').append('<a href="http://blog.anecan.tv/thismonth/" target="_self"></a>');
	var myRC_ListTag01 = tagRC_OL.children('li:eq(01)').children('a');


	var imgName01 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/120_60_magazine-thumb-120x60-5672.jpg';
	myRC_ListTag01.append('<img alt="今月のAneCan" />');
	myRC_ListTag01.children('img').attr('src', imgName01);


	myRC_ListTag01.append('<span class="title">今月のAneCan</span>');
	myRC_ListTag01.append('<span class="descr">今月号のAneCanの表紙と<br />目次をチェック！</span>');





	//優先番号が0以外の時 ////////////////////
	tagRC_OL.children('li:eq(02)').append('<a href="http://blog.anecan.tv/bestshot/" target="_self"></a>');
	var myRC_ListTag02 = tagRC_OL.children('li:eq(02)').children('a');


	var imgName02 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/120_60_bestshot-thumb-120x60-5673.jpg';
	myRC_ListTag02.append('<img alt="AneCanベストショット" />');
	myRC_ListTag02.children('img').attr('src', imgName02);


	myRC_ListTag02.append('<span class="title">AneCanベストショット</span>');
	myRC_ListTag02.append('<span class="descr">毎月AneCan本誌から<br />専属モデルたちの<br />ベストショットをご紹介！</span>');





	//優先番号が0以外の時 ////////////////////
	tagRC_OL.children('li:eq(03)').append('<a href="http://blog.anecan.tv/animennowa/" target="_self"></a>');
	var myRC_ListTag03 = tagRC_OL.children('li:eq(03)').children('a');


	var imgName03 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/120_60_animen-thumb-120x60-5674.jpg';
	myRC_ListTag03.append('<img alt="AniメンのWA!" />');
	myRC_ListTag03.children('img').attr('src', imgName03);


	myRC_ListTag03.append('<span class="title">AniメンのWA!</span>');
	myRC_ListTag03.append('<span class="descr">姉レディがお勧めするイケメン<br />「Aniメン」。毎週新Aniメン追加！</span>');





	//優先番号が0以外の時 ////////////////////
	tagRC_OL.children('li:eq(11)').append('<a href="http://blog.anecan.tv/photogallery/" target="_self"></a>');
	var myRC_ListTag11 = tagRC_OL.children('li:eq(11)').children('a');


	var imgName11 = 'http://blog.anecan.tv/renew_info/assets_c/2009/09/120_60_photogallery-thumb-120x60-5685.jpg';
	myRC_ListTag11.append('<img alt="AneCan.TVPhoto Gallery" />');
	myRC_ListTag11.children('img').attr('src', imgName11);


	myRC_ListTag11.append('<span class="title">AneCan.TV<br />Photo Gallery</span>');
	myRC_ListTag11.append('<span class="descr">AneCan.TV内の写真や画像を<br />一覧できるフォトギャラリー</span>');



	tagRC_OL.children('li').each(function(i){
		($(this).text().length === 0)? $(this).remove() : null;
	});
	tagRC_OL.show();



	//////////////////////////////////////////////////////////////////////	
	// Attention Key Word ////////////////////////////////////////////////

	$('div#attentionKey>p').append('　　<a href="http://anecan.tv/profile/miki.html">有村実樹</a>　　<a href="http://blog.anecan.tv/thismonth/">AneCan最新号情報</a>　　<a href="http://anecan.tv/contents/present/">AneCan.TV検定プレゼント</a>　　<a href="http://anecan.tv/contents/ago/">（姉）的ゴルフ</a><br />　　<a href="http://anecan.tv/profile/">専属モデルプロフィール</a>　　<a href="http://blog.anecan.tv/aneitem/">"魅せアイテム"に投稿！</a>　　<a href="http://www.anecan.tv/contents/09ebi_50question/index.html">エビちゃんに質問！</a>');

});
})(jQuery);