<!-- 
	function openWindow(address,name,w,h,tools,resize,location,scroll)
	{
		x = (screen.width / 2) - (w / 2);
        y = (screen.height / 2) - (h / 2);
		w=window.open(address, name, 'left=' + x + ',top=' + y + ',width='+w+',height='+h+',toolbar='+tools+',resizable='+resize+',location='+location+',scrollbars='+scroll);
	}
	
	function checkUncheckAll(from,theElement)
	{		
    	var theForm = theElement.form;
		var arrLength=theForm.elements.length;
     	
		for (var i = from; i<arrLength; i++)
		{
			if (theForm[i].type == 'checkbox')
			{
				theForm[i].checked = theElement.checked;
			}
		}
    }
	
	function CheckPW(form)
	{
		
		if ((form.new1.value.length == 0)||(form.new2.value.length == 0)||(form.old.value.length == 0))
		{
			alert("You must enter a value for each of the boxes.Please try again");
			return false;
		}
		else if (form.new1.value !== form.new2.value)
		{
			alert("Your first entry of the new password does not match your second entry of your new password.\nPlease try again");
			return false;
		}	
	}
	
	
	function copyToClipboard(formElement)	
	{
		formElement.focus();
		formElement.select();	
	   	copiedTxt = document.selection.createRange();	
	   	copiedTxt.execCommand("Copy");	
	}
	
	function confirmDelete(MID)
	{
		if(confirm("You are about to delete a member, are you sure you wish to do this? OK to continue, cancel to stop the deletion."))
		{
			self.location.href='/admin/deleteMember.cfm?MID='+MID;
		}
		else return false;
	}
	
	function openAppWindow(address,name,w,h,tools,resize,location,scroll,queryString)
	{
		x = (screen.width / 2) - (w / 2);
        y = (screen.height / 2) - (h / 2);
		w=window.open(address +'?'+ queryString, name, 'left=' + x + ',top=' + y + ',width='+w+',height='+h+',toolbar='+tools+',resizable='+resize+',location='+location+',scrollbars='+scroll);
	}
	
	 function openComments(url)
	 {
		x = (parent.screen.width / 2) - 500;
		y = (parent.screen.height / 2) - 400;
					
		w=window.open(url, 'comments', 'toolbar=no,location=no,scrollbars=yes,resizable=yes,top=' + y + ',left=' + x + ',width=600,height=400');
	 }
	 
	  function openOriginalProposal(url)
	 {
		x = (parent.screen.width / 2) - 500;
		y = (parent.screen.height / 2) - 400;
					
		w=window.open(url, 'Proposal', 'toolbar=no,location=no,scrollbars=yes,resizable=yes,top=' + y + ',left=' + x + ',width=600,height=400');
	 }
	
	function deleteThisImage(docID,queryString)
	{
		if(confirm("Are you sure you wish to delete this document?"))
		{
			self.location.href='deleteImage.cfm?'+queryString+'&docID='+docID;
		}
		else return false;
	}

	function submitVisitorsForm()
	{
		alert("Here");
		//this.forms[0].submit();
	}

-->