function appendAddVehicleImageControl()
{
	imagefiles = document.getElementById("editimagelist");
	
	addImageCode  = '<input style="width: 513px" class="newimagecontrol" type="file" name="imagefile[]">';
	
	imagefiles.innerHTML = imagefiles.innerHTML + addImageCode;
}

function appendAddVehicleURLImageControl()
{
	imagefiles = document.getElementById("editimagelist");
	
	addImageCode = '<input style="width: 513px" class="newimagecontrol" type="text" name="imageurl[]">';
	
	imagefiles.innerHTML = imagefiles.innerHTML + addImageCode;
}

function submitWithFormID(f, id)
{
	f.formid.value = id;
	f.submit();
}