// JavaScript Document
function showHide(id)
{
	oDiv = document.getElementById(id);
	if (oDiv)
	{
		if (oDiv.style.display == "none")
		{
			oDiv.style.display = "block";
		}
		else
		{
			oDiv.style.display = "none";
		}
	}
}

function sortData(strURL, strSort)
{
	var obj = window.event.srcElement;
	if (obj.tagName == "TH")
	{
		var ID = obj.id;
		if (ID)
		{
			strURL += "&Sort=" + ID;
			if (strSort == ID)
			{
				strURL += " DESC"
			}
			window.location.replace(strURL);
		}
	}
}

function sendFriend(Body)
{
	args = "top=0, left=0, height=350, width=750, status=no, toolbar=no, menubar=no, scrollbars=yes, location=no";
	window.open("sendFriend.asp?Body=" + Body, "SendFreidnPopUp", args);
}
