<html>
<head>
<link href="uploadify.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="jquery-1.4.2.min.js" type="text/javascript"></script>
<script language="javascript" src="jquery.uploadify.v2.1.4.min.js" type="text/javascript"></script>
<script language="javascript" src="jquery.uploadify.v2.1.4.js" type="text/javascript"></script>
<script language="javascript" src="swfobject.js" type="text/javascript"></script>

<script type="text/javascript" language="javascript">

$(document).ready(function(){
	$("#uploadify").uploadify({
		'uploader'       : 'uploadify.swf',
		'script'         : 'uploadify.php',
		'cancelImg'      : 'cancel.png',
		'folder'         : 'uploads',
		'queueID'        : 'fileQueue',
		'auto'           : true,
		'multi'          : true,
		'onError'  : function(event, ID, fileObj, response, data) {
	      //alert(fileObj.filePath);
	    },
		'onComplete'  : function(event, ID, fileObj, response, data) {
	      //alert(fileObj.filePath);
	    }
	});
});

</script>
</head>

<body>	
    <input type="file" id="uploadify" name="uploadify" />
	<!--<div id="fileQueue"></div>
	<input type="file" name="uploadify" id="uploadify" />
	<p><a href="javascript:jQuery('#uploadify').uploadifyClearQueue()">Cancel All Uploads</a></p-->
</body>
</html>