	function ShowContributors()
	{
		var catalogueId = document.getElementById('CatalogueId').value;
		window.open("ContributorEdit.py?id=" + catalogueId, "Edit" + catalogueId, 'scrollbars=yes,menubar=no,toolbar=no,width=525,height=450');
	}

	function DoClose()
	{
		
		var button = new Object();
		button.id = "update";
		var parent = window.opener;
		parent.DoSubmit(button);
		window.close();
	}
	
		function DoOnLoad()
		{
			
			if (window.CheckOnLoad != null)
 			{
				if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1)
				{
					CheckOnLoad();
				}
				else
				{
					if (document.addEventListener)
					{
						document.addEventListener("DOMContentLoaded", window.CheckOnLoad(), null);
					}
				}
				
			}
			
			preloadImages();
			
		}
		
		function __doPostBack(eventArgument)
		{
			var theform;
			if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
				theform = document.Form1;
			}
			else {
				theform = document.forms["Form1"];
			}
			
			theform.action.value = eventArgument;
			theform.submit();
		}

		function DoSubmit(caller)
		{
			__doPostBack(caller.id);
		}
		
		function DoAction(action, value)
		{
		
			var _Selected = document.getElementById('selected');
			_Selected.value = value;
			__doPostBack(action);
			
		}
		
