<html>
	<head></head>
	<body>
		<script language="javascript" type="text/javascript">
			{if isset($error)}
				window.top.window.failedUpload('file', {literal}{{/literal}'error' : '{$error}'{literal}}{/literal});
			{else}
				window.top.window.finishUpload('{$page2load}', {literal}{{/literal}photoPath : '{$photoFile}', photoWidth : '{$photoWidth}', photoHeight : '{$photoHeight}', prefix : '{$cropPrefix}', onFly : {$onFly} {literal}}{/literal});
			{/if}
		</script>
	</body>
</html>

