defaultReturnPeriod = 4//CUSTOMISE THIS:::::::::Note 5
graphAreaOffsetY = -45//Note 6
isGraphDivRelative = true //Note 1
lineThicknessX = 1
lineThicknessY = 2
toolTipsMovingBoundedMethod = 1

if(document.layers && isGraphDivRelative){
  nsAndRelative = true//leave this one.
  nsRelGraphDivToDocX = 37//Note 2
  nsRelGraphDivToDocY = 30
}
function ggPageOnload(){
  setComparisonsSelected();
  chartForm.ECIT.disabled=true;
}
function setComparisonsSelected(){
  if(comparisonsParam.indexOf('FLEDGLING@IT') != -1){document.chartForm.comparison1.checked = true}
  if(comparisonsParam.indexOf('85@GRP') != -1){document.chartForm.comparison2.checked = true}
}
function getComparisons(){
  var comparisons = "";
  if(document.chartForm.comparison1.checked == true){comparisons += document.chartForm.comparison1.value}
  if(document.chartForm.comparison2.checked == true){if(comparisons != ""){comparisons += ","} comparisons += document.chartForm.comparison2.value}
  if(comparisons != ""){comparisons = '&comparisons=' + comparisons}
  return comparisons
}

function getFormParams(){
  tempNewUrl = getComparisons()
  if(document.chartForm.gridlines.checked == false){tempNewUrl += '&horizontalGridlines=false&verticalGridlines=false'}

  return tempNewUrl
}

function setAxisSelected(){
  if((hLinesParam == 'false') && (vLinesParam == 'false')){document.chartForm.gridlines.checked = false;}

}

function goToGraphURL(newURL){
  self.location.href = newURL;
}

