	var picturup_current_switch_pc = true;
	function picturup_switch()
	{
		var picturup_l = document.getElementById("picturup_switcher");
		if(picturup_current_switch_pc)
		{
			picturup_l.innerHTML = '<input name="picturup_url" type="text" size="40" value="http://" onfocus="r()" onblur="j()" />';
			picturup_current_switch_pc = false;
		}
		else
		{
			picturup_l.innerHTML = '<input name="picturup_pc" type="file" size="30" />';
			picturup_current_switch_pc = true;
		}
	}
	function r()
	{
		if(document.picturup_form.picturup_url.value == 'http://')
		{
			document.picturup_form.picturup_url.value = '';
		}
		return true;
	}
	function j()
	{
		if(document.picturup_form.picturup_url.value == '')
		{
			document.picturup_form.picturup_url.value = 'http://';	
		}
		return true;
	}
	function picturup_show()
	{
		var redn_dyn = document.getElementById('redn_prop');
		var andr_s = document.forms.picturup_form.ander_redim.options.selectedIndex;
		if(andr_s == 0)
		{
			redn_dyn.style.display = "none";
			redn_dyn.style.visibility = "hidden";
		}
		else
		{
			redn_dyn.style.display = "block";
			redn_dyn.style.visibility = "visible";
		}
	}
	function picturup_load()
	{
		var picturup_o = document.getElementById("left");
		picturup_o.innerHTML = '<br /><br /><br /><br /><img src="/images/gen/l.gif"><br /><strong>Upload en cours...</strong>';
	}