function ShowDiv(div_id) {
    // show the requested div
    document.getElementById(div_id).style.display = 'block';
}

function HideDiv(div_id) {
    // hide the requested div
    document.getElementById(div_id).style.display = 'none';
}

// Updates a frame to display another page or the same page.
// Pass in the parent object which is the document containing
// the FRAMESET or IFRAME you wish to update. Pass in the
// name of the frame and the URL you wish to update the frame
// with. All parameters are mandatory.
function UpdateFrame(parentObject,frameName,frameLocation)
{
	if ( (parentObject != null) && 
		('frames' in parentObject) &&
		(frameName != null) && 
		(frameLocation != null) )
	{
		parentObject.frames[frameName].location = frameLocation;
	}
}
