pageAll = {"undertaker":[{"Basis":{"title":"\u751f\u524d\u76f8\u8ac7\u306e\u30e1\u30ea\u30c3\u30c8","path_file":"merit","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"undertaker"}},{"Basis":{"title":"\u5bb6\u65cf\u3067\u6c7a\u3081\u3066\u304a\u304f\u3053\u3068","path_file":"decision","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"undertaker"}},{"Basis":{"title":"\u983c\u308c\u308b\u696d\u8005\u306e\u898b\u6975\u3081\u65b9","path_file":"professional","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"undertaker"}},{"Basis":{"title":"\u5951\u7d04\u6642\u306e\u6ce8\u610f\u70b9","path_file":"point","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"undertaker"}},{"Basis":{"title":"\u8db3\u7acb\u533a\u306e\u846c\u5100\u793e\u3092\u6bd4\u8f03","path_file":"ranking","pickup_flag":"1","id":"16"},"Category":{"cat_path_file":"undertaker"}}],"newstyle":[{"Basis":{"title":"\u5f93\u6765\u306e\u846c\u5100","path_file":"oldfashioned","pickup_flag":"0","id":"6"},"Category":{"cat_path_file":"newstyle"}},{"Basis":{"title":"\u5bb6\u65cf\u846c\u3068\u306f","path_file":"familyfuneral","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"newstyle"}},{"Basis":{"title":"\u81ea\u7531\u846c\u3068\u306f","path_file":"freestyle","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"newstyle"}},{"Basis":{"title":"\u81ea\u7136\u846c\u3068\u306f","path_file":"backtothenature","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"newstyle"}}],"sendingoff":[{"Basis":{"title":"\u5225\u308c\u306f\u7a4f\u3084\u304b\u306a\u8868\u60c5\u3067","path_file":"embalming","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"sendingoff"}},{"Basis":{"title":"\u591c\u3068\u304e\u304c\u7d46\u3092\u6df1\u3081\u308b","path_file":"yotogi","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"sendingoff"}},{"Basis":{"title":"\u6545\u4eba\u3089\u3057\u3055\u3092\u6f14\u51fa","path_file":"personality","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"sendingoff"}}],"presentcondition":[{"Basis":{"title":"\u5072\u3079\u306a\u3044\u73fe\u72b6","path_file":"conditioin","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"presentcondition"}},{"Basis":{"title":"\u7fa9\u7406\u3068\u5efa\u524d\u304c\u5fc5\u8981","path_file":"giritatemae","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"presentcondition"}},{"Basis":{"title":"\u6599\u91d1\u30c8\u30e9\u30d6\u30eb\u306b\u6ce8\u610f","path_file":"trouble","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"presentcondition"}}]};
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>');
		});
	});
});

