function writeSession(nUserId)
{
	window.frames["iCounter"].document.location = "../../processLogin.asp?nUserId=" + nUserId;
}
function addHitToPhoto(nPhotoId)
{
	window.frames["iCounter"].document.location = "../../processCount.asp?nPhotoId=" + nPhotoId;
	//document.iCounter.document.location = "../../../processCount.asp?nPhotoId=" + nPhotoId;
}
function addHitToTable(nParentId, strParentType)
{
	window.frames["iCounter"].document.location = "../../processCount.asp?nParentId=" + nParentId + "&strParentType=" + strParentType;
}