ype="file" name="file" />
<input type="submit" value="Upload" />
</form>
		</div>
<br /><br />
	</div>
	<script>
		var filename = "";
		var layout = "";
		var project = "";
		var fortune = "";

		$("#fortune").on ('click', function() {
			r2.cmd("fortune", function(x) {
				$("#fortune").html("<q><i>" + x + "</i></q>");
			});
		});
		$(document).ready( function() {
			function encodeHtmlEntity(str) {
			  return str.replace(/[\u00A0-\u9999\<\>\(\)\{\}\[\]\%\#\&\'\"\\\/]/gim, function(c){
			    return '&#'