function setExpanderStatus(i, newstat){
	i = i - 1
	stat = document.mainform.expander_status.value
	sbef = stat.slice (0, i)
	smid = 'c'
	saft = stat.slice (i+1, stat.length)
	if (newstat == 'open') {smid = 'o'}
	document.mainform.expander_status.value = sbef + smid + saft
}
function showHideElement(i){
	var img = getelement('img-expander' + i)
	var elm = getelement('expander' + i)
	if (null != elm) {		if ((elm.style.display == null) || (elm.style.display == 'none')) {			elm.style.display = ""			if (null != img) {img.src = '../../images/triangle_open.png'}			setExpanderStatus(i,'open')		} else {			elm.style.display = "none"			if (null != img) {img.src = '../../images/triangle_closed.png'}			setExpanderStatus(i,'closed')		}	}
}

function mwo(){	document.write('<span style="font-weight:bold;color:#30B0B0">MyWorks<span style="color:#C04040;font-size:80%">online</span></span>')}function doublesubmit(){	if (ready){		ready = false		return false	}	return true}function setcurrfocus(x){currfocus=x}function getelement(x){	y = null		y = document.getElementById(x)	if (y == null){		if (x!=null && x!= '') {y = document.getElementsByName(x)[0]}	}	return y}function setfocus(x){	y = getelement(x)	if (y != null) {		y.focus()		return true	}	return false}function setselection(x){	y = getelement(x)	if (y != null) {		y.focus()		y.select()		return true	}	return false}function showhelp(x){	url="http://www.myworksonline.com/" + document.mainform.userlang.value + "/" + document.mainform.service.value + "/" + x
	window.open(url,'help pane','directories=no, location=no, menubar=no, status=no, width=600, height=450, scrollbars=yes')
	return false
}function openhomepage(){
	document.mainform.target='_self'	document.mainform.service.value='common'
	document.mainform.mission.value='openservicepage'
	document.mainform.filename.value='index.html'
	document.mainform.submit()
}function testIsValidObject(objToTest) {
 	if (null == objToTest) {
 		return false;
 	}
 	if ("undefined" == typeof(objToTest) ) {
 		return false;
 	}
 	return true;
 }
 
