<!--
function GetUserID()
{
   return arrpagevariables[0]
}

function GetSiteID()
{
   return arrpagevariables[1]
}

function GetPageID()
{
   return arrpagevariables[2]
}

function GetObjectID()
{
   return arrpagevariables[3]
}

function GetRecordID()
{
   return arrpagevariables[4]
}

function GetGoto()
{
   var strString = new String()

   strString = arrpagevariables[5]

   if (strString.length == 0)
   {
      strString = arrpagevariables[6]
   }

   return strString
}

function GetBaseURL()
{
   return arrpagevariables[7]
}

function GetSiteName()
{
   return StringDecode(arrinfo[0][0])
}

function GetSiteRoot()
{
   return StringDecode(arrinfo[0][1])
}

function GetSiteImageRoot()
{
   return StringDecode(arrinfo[0][2])
}

function GetSiteFileRoot()
{
   return StringDecode(arrinfo[0][3])
}

function GetUserName()
{
   return StringDecode(arrinfo[0][4])

}

function GetGroupName()
{
   return StringDecode(arrinfo[0][5])
}

function GetTrackLevel()
{
   return StringDecode(arrinfo[0][6])
}

function ChangeURLParameter(strURL, strParameter, strNewValue)
{
   var intStartIndex = strURL.indexOf(strParameter + '=')   

   if (intStartIndex !== -1)
   {
      var intEndIndex = strURL.indexOf('&', intStartIndex)
      if (intEndIndex == -1) { intEndIndex = strURL.length }
      var strParam = strURL.substring(intStartIndex, intEndIndex)  
      strURL = strURL.replace(strParam, strParameter + '=' + strNewValue)
   } 
   else
   {
      strURL += '&' + strParameter + '=' + strNewValue
   }

   return strURL
}
//-->