function submitForm() {
	submit();	
}
function swapClass(obj,strClassName) {
	obj.className = strClassName;
}

function gotoFrame(strUrl) {
	parent.mainFrame.location = strUrl;
}

function gotoParentFrame(strUrl) {
	parent.location = strUrl;
}

function goBack() {
	window.history.back();
}

function gotoMenu(strUrl) {
	parent.leftFrame.location = strUrl;
}

function gotoNew(strUrl) {
	window.open(strUrl,'new');
}

function gotoLocation(strUrl) {
	location = strUrl;
}

function Opensection(sectionOpen,sectionClose) {
	document.all[sectionOpen].className = "showme";
	document.all[sectionClose].className = "hideme";
}

function openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

//open URL in frame/iframe
function openInFrame(targetFrame,strUrl){
	parent[targetFrame].location = strUrl;
}

//set height of object
function openCloseFrame(obj,newheight){
	if(parent.document.getElementById){
		var el = parent.document.getElementById(obj);
			el.style.height = newheight;
	}
}
function printContent (targetFrame){
	parent[targetFrame].focus();
	parent[targetFrame].print();
}

function popUpMsg(strMsg){
	alert(strMsg);
}
function clickhighlight(section) {
	document.getElementById('myprojects').className = "menu";
	document.getElementById(section).className = "menuselect";
} 
function popThis(id) {
	imageP = "i"+ id;
	objP = "o"+ id;
if (document.getElementById(objP).className == "popopen") {
	document.getElementById(objP).className = "popclose";
	document.getElementById(imageP).src = "../../images/plus.gif";
	} 
else {
	document.getElementById(objP).className = "popopen";
	document.getElementById(imageP).src = "../../images/minus.gif";
	}
}
