<html>
<head>
		<!-- Main Script -->
		<script src="<!--[#SITE_URL;]-->/res/lib/javascript.js"></script>
		<script src="<!--[#SITE_URL;]-->/p/comm/common.js"></script>
</head>
<body>

	<img style="width: 800px; height: 500px; border: 1px;" id="IMG_TEST" />
	<script>
		var SIGNATURE_CAPTURE = JSRC_SIGNATURE.REF_SIGNATURE('IMG_TEST', '#000000', 5);
		//JSRC_DRAWING_TOOL1.REF_SIGNATURE('IMG_TEST');
	</script>
	<button type="button" onclick="SIGNATURE_CAPTURE.ON_CLEAR();">Clear</button>


	<script>var REQUEST_RESULT = '';</script>
	<button type="button" onclick="SANDBOX_LOGIN();">Login</button> <button type="button" onclick="SANDBOX_LOGOUT();">Logout</button>
	<textarea id="HTTP_RESULT" style="width: 100%; height: 300px;"></textarea>
	
	<form name="profile_sample" id="profile_sample">
	<input type="file" name="PARAM_PROFILE_IMAGE" />
	</form>
	<button onclick="PROFILE_UPLOAD()">Upload</button>
	
	<script>
		function PROFILE_UPLOAD()
		{
			PARAM_SET = JSRC_HTTP.REF_ADD('profile_sample', 'PARAM_EXT', '1');
			
			CUS_SEND_REQUEST
		    (
		    	REQUEST_RESULT,
	         	'<!--[#SITE_URL;]-->/Account/member/profile',
	            '<!--[#SITE_URL;]-->/System/nonce/get',
	            PARAM_SET
	   		);	
		}
	</script>