<script language="javascript" src="iuembed.js"> </script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 650, 450);
var tw = new ThumbnailWriter("ThumbnailID", 610, 500);
// If you do not want to use ActiveX or Java version, set the appropriate
// property to false.
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;
iu.addParam("LicenseKey", "71060-4C58B-00000-03ACD-BLANKEDOUT;72060-4C58B-00000-056C0-BLANKEDOUT");
tw.addParam("ParentControlName", "ThumbnailID");
tw.addParam("Guid", "ThumbnailID");
iu.addParam("UploadView", "AdvancedDetails");
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("EnableInstantUpload", "true");
iu.addParam("UploadPaneBackgroundImageFormat", "Url=BackgroundImage.jpg;Width=200;Height=200;Position=BottomRight");
// ... initialize params as described in the next topic ...
// As soon as you call this method, all necessary HTML code is inserted
// into the page on the current position. Alternatively, you can
// get the string with appropriate HTML code using the getHtml method,
// and write it to the necessary position manually (maybe with some modifications).
iu.writeHtml();
</script>