function uploadForm(form)
{
	if($('working')) $('working').remove();
	for(i=0;i<$('uploadform').getElementsByClassName('hide').length;i++){
		$('uploadform').getElementsByClassName('hide')[i].hide();
	}

	var notificatn = new Element('li', {'class':'alt2', 'id':'working'}).update('<div class="snip"></div><div class="post">Uploading item...<br />Please, do not close the window. You can however open a new tab to continue surfing around till the item is uploaded. You will be notified when it is.</div>');
	$('uploadform_a').insert({'after':notificatn});
	/*obj.request({
		onSuccess:function(A){}
	});*/
	
	// Create the iframe...  
	var iframe = document.createElement("iframe");  
	iframe.setAttribute("id","upload_iframe");  
	iframe.setAttribute("name","upload_iframe");  
	iframe.setAttribute("width","0");  
	iframe.setAttribute("height","0");  
	iframe.setAttribute("border","0");  
	iframe.setAttribute("style","width: 0; height: 0; border: none;");  

	// Add to document...  
	form.parentNode.appendChild(iframe);  
	window.frames['upload_iframe'].name="upload_iframe";

	// Set properties of form...  
	form.setAttribute("target","upload_iframe");
	form.setAttribute("encoding","multipart/form-data");

	iframeId = $("upload_iframe");  

	// Add event...  
	var eventHandler = function()
	{
		if (iframeId.detachEvent)	iframeId.detachEvent("onload", eventHandler);
		else	iframeId.removeEventListener("load", eventHandler, false);

		// Message from server...
		if (iframeId.contentDocument){
			content = iframeId.contentDocument.body.innerHTML;
		} else if (iframeId.contentWindow) {
			content = iframeId.contentWindow.document.body.innerHTML;
		} else if (iframeId.document) {
			content = iframeId.document.body.innerHTML;
		}
		else{
			content = window.frames['upload_frame'].document.body.innerHTML;
		}

		$('working').remove();
		var notificatn = new Element('li', {'class':'alt2', 'id':'working'}).update('<div class="snip"></div><div class="post">'+content+'</div>');
		$('uploadform_a').insert({'after':notificatn});
		for(i=0;i<$('uploadform').getElementsByClassName('hide').length;i++){
			$('uploadform').getElementsByClassName('hide')[i].show();
		}

		// Del the iframe...
		setTimeout('iframeId.parentNode.removeChild(iframeId)', 250);
	}  

	if (iframeId.addEventListener)  
	iframeId.addEventListener("load", eventHandler, true);  
	if (iframeId.attachEvent)  
	iframeId.attachEvent("onload", eventHandler);

	//return false;
}