
function reloadFrames() {
	// parent.top.location.reload();

}

function postForm(form,target) {
	form.target = target;
	form.post();
}
function rowSelectedEvent() {
    // find detail view in browser window
    detailView = document.getElementById("detailView");
//    alert(detailView);
}
function startHighlight(dataGridName)
{				
	
	if (document.all && document.getElementById)
	{
		//navRoot = document.getElementById(dataGridName);
		navRoot = dataGridName;
        // Get a reference to the TBODY element 
		tbody = navRoot.childNodes[0];
		for (i = 1; i < tbody.childNodes.length; i++)
		{
			node = tbody.childNodes[i];
			if (node.nodeName == "TR")
			{
				
				node.onclick = function() {
				    rowSelectedEvent();
				}
				node.onmouseover=function()
				{
					prevClassName = this.className;
					this.className = "over";								
				}
				node.onmouseout=function()
				{
					
					this.className = this.className.replace("over", prevClassName);
					
				}
			}
		}
	
	}
	
}
// Refresh
// window.location.reload();