pageAll = {"cosme_list":[],"encyclopedia":[{"Basis":{"title":"役割","path_file":"role","pickup_flag":"0","id":"1"},"Category":{"cat_path_file":"encyclopedia"}},{"Basis":{"title":"トラブル・タイプチェック","path_file":"check","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"encyclopedia"}},{"Basis":{"title":"黒ずみ","path_file":"black","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"encyclopedia"}},{"Basis":{"title":"たて毛穴の真実","path_file":"true","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"encyclopedia"}},{"Basis":{"title":"たるみ毛穴とは？","path_file":"sag","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"encyclopedia"}},{"Basis":{"title":"角栓が目立つ","path_file":"cork","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"encyclopedia"}}],"skin":[{"Basis":{"title":"洗顔方法","path_file":"wash","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"skin"}},{"Basis":{"title":"ストレスとの深い関係","path_file":"stress","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"skin"}},{"Basis":{"title":"ターンオーバーの秘密","path_file":"secret","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"skin"}},{"Basis":{"title":"保水と保湿機能のしくみ","path_file":"function","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"skin"}},{"Basis":{"title":"栄養補給×しっかりバリア","path_file":"barrier","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"skin"}}],"care":[{"Basis":{"title":"EGFはぴったりの成分","path_file":"relation","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"care"}},{"Basis":{"title":"しわとたるみの仕組み","path_file":"structure","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"care"}},{"Basis":{"title":"塗るボトックス革命","path_file":"revolution","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"care"}},{"Basis":{"title":"コラーゲン不足は毛穴の開き","path_file":"open","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"care"}}]};
google.setOnLoadCallback(function(){
	baseuri = '/';
	jQuery.each(pageAll, function(cname, cdata)
	{
		jQuery.each(cdata, function(pid, pdata)
		{
			$cdiv = jQuery('#SideMenuListHeadLevel1_'+cname);
			$ul = $cdiv.next();
			if($ul.is('ul')===false){
				$cdiv.after('<ul>')
				$ul = $cdiv.next().addClass('SideMenuListLevel1');
			}
			listclass = (pdata.Basis.pickup_flag==1) ? ' class="SideMenuListPickupLevel1"' : '' ;
			linkurl = baseuri+cname+'/'+pdata.Basis.path_file+'.html';
			$ul.append('<li'+listclass+'><a href="'+linkurl+'">'+pdata.Basis.title+'</a></li>');
		});
	});
});


