pageAll = {"airmake":[{"Basis":{"title":"\u30cf\u30ea\u30a6\u30c3\u30c9\u3067\u4eba\u6c17\u306e\u30e1\u30a4\u30af","path_file":"popularity","pickup_flag":"0","id":"2"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u30a8\u30a2\u30fc\u3092\u4f7f\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8","path_file":"merit","pickup_flag":"0","id":"3"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u30d1\u30d5\u3084\u30b9\u30dd\u30f3\u30b8\u30e1\u30a4\u30af\u3068\u306e\u9055\u3044","path_file":"hikaku","pickup_flag":"0","id":"4"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u30a8\u30a2\u30fc\u30d6\u30e9\u30b7\u306e\u4f7f\u3044\u65b9","path_file":"tukaikata","pickup_flag":"0","id":"5"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u30a8\u30a2\u30fc\u30e1\u30a4\u30af\u30ad\u30c3\u30c8\u3092\u6bd4\u8f03","path_file":"seihin","pickup_flag":"1","id":"6"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u79c1\u306e\u4f53\u9a13\u30ec\u30dd\u30fc\u30c8","path_file":"taikendan","pickup_flag":"0","id":"7"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u8cc7\u683c\u3082\u3042\u308b","path_file":"shikaku","pickup_flag":"0","id":"8"},"Category":{"cat_path_file":"airmake"}},{"Basis":{"title":"\u30e1\u30a4\u30af\u4ee5\u5916\u306e\u6d3b\u7528\u6cd5","path_file":"airbrush","pickup_flag":"0","id":"9"},"Category":{"cat_path_file":"airmake"}}],"foundation":[{"Basis":{"title":"\u4f7f\u7528\u3059\u308b\u52b9\u679c","path_file":"setumei","pickup_flag":"0","id":"10"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u7a2e\u985e\u3068\u9078\u3073\u65b9","path_file":"erabikata","pickup_flag":"0","id":"11"},"Category":{"cat_path_file":"foundation"}},{"Basis":{"title":"\u6b63\u3057\u3044\u4f7f\u7528\u6cd5","path_file":"tukaikata","pickup_flag":"0","id":"12"},"Category":{"cat_path_file":"foundation"}}],"more":[{"Basis":{"title":"\u30e1\u30a4\u30af\u3067\u96a0\u3059","path_file":"trouble","pickup_flag":"0","id":"13"},"Category":{"cat_path_file":"more"}},{"Basis":{"title":"\u539a\u306c\u308a\u53b3\u7981","path_file":"atunuri","pickup_flag":"0","id":"14"},"Category":{"cat_path_file":"more"}},{"Basis":{"title":"\u30c1\u30fc\u30af\u3092\u3044\u304b\u3059","path_file":"cheek","pickup_flag":"0","id":"15"},"Category":{"cat_path_file":"more"}},{"Basis":{"title":"\u30a2\u30af\u30bb\u30f3\u30c8\u3092\u5165\u308c\u308b","path_file":"enjoy","pickup_flag":"0","id":"16"},"Category":{"cat_path_file":"more"}},{"Basis":{"title":"\u30b3\u30f3\u30b7\u30fc\u30e9\u30fc\u306e\u7279\u6027\u3092\u77e5\u308b","path_file":"concealer","pickup_flag":"0","id":"17"},"Category":{"cat_path_file":"more"}}]};
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>');
		});
	});
});


