///<summary>
/// Function to load the slideshow on the front end.
///</summary>
///<param name="sDN">The DN of the page we are opening as a slide show</param>
function openSlide(sDN)
{
	var sScript = "/SlideShow.aspx"
	
	window.open(sScript+"?DN="+sDN,"_blank","menubar=0,toolbar=0,location=0,directories=0,status=no,scrollbars=1,resizable=0,width=660px,height=600px,center=1")
	
} //openSlide	

///<summary>
/// Function to set the class on a tr based on even or odd
///</summary>
///<param name="trId">The id of the tr we are setting the class on</param>
var iCounter = 0;
function trClassSet(trId)
{
    iCounter++;
    document.getElementById(trId).className += iCounter % 2 == 0 ? "even" : "odd";
} //trClassSet