<inp2:m_include t="incs/header"/>
<inp2:m_RenderElement name="combined_header" prefix="c" section="in-portal:browse" title_preset="categories_update"/>

<inp2:m_if check="c_InitCacheUpdater" destination_template="catalog/catalog">
	<table width="100%" border="0" cellspacing="0" cellpadding="2" class="tableborder">
	    <tr>
			<td align="center" colspan="3" bgcolor="#FFFFFF">
				<inp2:m_phrase name="la_confirm_maintenance"/>
			</td>
		</tr>
	    <tr>
			<td align="center" colspan="3" bgcolor="#FFFFFF">
				<inp2:m_phrase name="la_prompt_perform_now"/>
			</td>
		</tr>
		<tr>
	    	<td align="right" width="50%">
	    			<input type="button" name="yes_btn" value="<inp2:m_phrase name="lu_yes"/>" onclick="goto_url('<inp2:m_t continue="1"/>');" class="button" />
		    </td>
			<td>
				<img src="img/spacer.gif" width="10" />
			</td>
		    <td align="left" width="50%">
	    		<input type="button" name="yes_btn" value="<inp2:m_phrase name="lu_no"/>" onclick="javascript:window_close();" class="button" />
		    </td>
		</tr>
	</table>
<inp2:m_else/>
	<inp2:m_RenderElement name="ajax_progress_bar" cancel_action="cancel_action();"/>
	<script type="text/javascript">
		function cancel_action() {
			window_close();
		}

		$CacheUpdater = new AjaxProgressBar('<inp2:m_t t="categories/xml/cache_updater" continue="2" no_amp="1"/>');
	</script>
</inp2:m_if>

<script type="text/javascript">
	function goto_url($url) {
		window.location.href = $url;
	}
</script>

<inp2:m_include t="incs/footer"/>