function EditContainerV2(PropertyBagCollectionId, ContainerGroupId, OrdinalPosition, FormElementName, SiteLanguageVersionId, PortalSiteLanguageVersionId, SkipDoubleSizeContainer) 
{
	var arr = new Array(5);
	if (document.getElementById(FormElementName).value != '')
	{
		arr[0] = document.getElementById(FormElementName).value;
	} else {
		arr[0] = PropertyBagCollectionId;
	}
	arr[1] = OrdinalPosition; 	
	arr[2] = ContainerGroupId;
	arr[3] = SiteLanguageVersionId; // only for crosslink default selections
	arr[4] = PortalSiteLanguageVersionId; // only for crosslink default selections
	arr[5] = SkipDoubleSizeContainer; // needed for disabling DoubleSizeContainer
	
	
	var arr = window.showModalDialog("/ContainersV2/PropertyPage.html", arr ,"dialogHeight: 600px; dialogWidth: 675px; dialogTop: center; dialogLeft: center; edge: Raised; center: Yes; help: No; resizable: No; status: Yes;"); 
	if (arr!=null)
	{
		document.getElementById(FormElementName).value = arr[0];
		window.location.reload();
	}

}


