function checkConfirmationForm()	{
	if (document.getElementById('city'))	{
		if (document.getElementById('city').selectedIndex == 0)	{
			alert("Please select your city from the drop down box");
			document.getElementById('city').focus();
			return false;
			}
		}
	}
function checkboxes(myArray)	 {
	for (var x = 0 ; x < myArray.length ; x++)	{
		document.getElementById(myArray[x]).checked = true;
		}
	}

/* function unhighlights fields once they move away from them */
function checkBGColor(obj)	 {
	/* since we use the same thing for name and ID we can grab the name to reference the DOM objects properties */
	document.getElementById(obj.name).style.backgroundColor = '#F3F1F1';
	}

function checkAllowance(myId, box)	{
	if (box.selectedIndex == 2)	 {
		document.getElementById(myId).style.display = 'inline';
		document.getElementById(myId).style.marginRight = '9px';
		}
	else	{
		document.getElementById(myId).style.display = 'none';
		}
	}

function openProfileWindow(url)	{
	window.open(url,"ProfilePage","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=600,left=0,top=0");
	}