﻿function highlightRow(row) {
///<summary>
///Uses jQuery to add a "highlight" affect when the mouse is over a row
///</summary>
//    row.className = row.className + " over";
    $(row).addClass("over");
}

function unhighlightRow(row) {
///<summary>
///Uses jQuery to remove the CSS class used for the "highlight" affect when the mouse is over a row
///</summary>
//    row.className = row.className.replace(" over", "");
    $(row).removeClass("over");
}

function cancelRowClick(e) {
///<summary>
///Cancels the tr rowclick by ensuring that the event does not get "bubbled up"
///see: http://www.quirksmode.org/js/events_order.html
///</summary>
    if (!e) var e = window.event;
	e.cancelBubble = true;
	if (e.stopPropagation) e.stopPropagation();
}

