function getObject(elementid) {
	if (document.all && !document.getElementById) {
		return document.all(elementid)
	} else {
		return document.getElementById(elementid)
	}
}


function getURL(sContainerPath,sURL){
	window.location = sContainerPath + sURL
}

function showHiddenElement(elementid){
	getObject(elementid).style.display = 'block'
}

function hideVisibleElement(elementid){
	getObject(elementid).style.display = 'none'
}

function confirmDelete(sType){
	return confirm('Are you sure you want to delete this ' + sType + '?')
}