//Get news related with requested organization
function getRelatedPhotos(page, noScroll, evt)
{
  var event = evt ? evt : window.event;
  disableDefaultAction(event);

  if (!page)
    {
      page = 1
    }

  if (noScroll)
    {
      sendRequest("relatedPhotos", 
                  "GET", 
                  "/cgi-bin/photobank.pl", 
                  {"o": getOrgId(), "p": page}, 
                  false,
                  true);
    }
  else
    {
      sendRequest("relatedPhotos", 
                  "GET", 
                  "/cgi-bin/photobank.pl", 
                  {"o": getOrgId(), "p": page}, 
                  phProcessReqChangeAndScroll,
                  true);
   } 
}


//Cange processor with scroll 
function phProcessReqChangeAndScroll(requestObj, parentObj)
{
  defaultProcessReqChange(requestObj, parentObj);
  if (requestObj.readyState == 4)
    {
      window.location.hash = "photos";
    }
}

