anchor.diff:  				'fields.dataFor'					:	dijit.byId("BSC_PROG003D0009Q_dataFor").get("value"),
   				'fields.measureDataOrganizationOid'	:	dijit.byId("BSC_PROG003D0009Q_measureDataOrganizationOid").get("value"),
   				'fields.measureDataEmployeeOid'		:	dijit.byId("BSC_PROG003D0009Q_measureDataEmployeeOid").get("value"),
  -				'fields.frequency'					:	dijit.byId("BSC_PROG003D0009Q_frequency").get("value"),
  -				'fields.nobody'					: "Y"
  +				'fields.frequency'					:	dijit.byId("BSC_PROG003D0009Q_frequency").get("value")
   			}, 
   			'json', 
   			_gscore_dojo_ajax_timeout,
  
positive.code: 					alertDialog(_getApplicationProgramNameById('${programId}'), data.message, function(){}, data.success);
  					return;
  				}
  				BSC_PROG003D0009Q_showChartForPerspectives(data);
  				BSC_PROG003D0009Q_showChartForObjectives(data);
  				BSC_PROG003D0009Q_showChartForKpis(data);
  				BSC_PROG003D0009Q_showChartForKpiDateRange(data);
  			}, 
  			function(error) {
  				alert(error);
  			}
  	);	
  }
  
  
  function BSC_PROG003D0009Q_setDataForValue() {
  	dijit.byId('BSC_PROG003D0009Q_measureDataOrganizationOid').set("value", _gscore_please_select_id);
  	dijit.byId('BSC_PROG003D0009Q_measureDataEmployeeOid').set("value", _gscore_please_select_id);	
  	dijit.byId('BSC_PROG003D0009Q_measureDataOrganizationOid').set('readOnly', true);
  	dijit.byId('BSC_PROG003D0009Q_measureDataEmployeeOid').set('readOnly', true);
  	var dataFor = dijit.byId("BSC_PROG003D0009Q_dataFor").get("value");
  	if ('employee' == dataFor) {
  		dijit.byId('BSC_PROG003D0009Q_measureDataEmployeeOid').set('readOnly', false);
  	}
  	if ('organization' == dataFor) {
  		dijit.byId('BSC_PROG003D0009Q_measureDataOrganizationOid').set('readOnly', false);
  	}	
  }
  
  function BSC_PROG003D0009Q_setMeasureDataOrgaValue() {
  	var dataFor = dijit.byId("BSC_PROG003D0009Q_dataFor").get("value");
  	if ('all' == dataFor || 'employee' == dataFor) {
  		dijit.byId('BSC_PROG003D0009Q_measureDataOrganizationOid').set("value", _gscore_please_select_id);
  	}
  }
  
  function BSC_PROG003D0009Q_setMeasureDataEmplValue() {
  	var dataFor = dijit.byId("BSC_PROG003D0009Q_dataFor").get("value");
  	if ('all' == dataFor || 'organization' == dataFor) {
  		dijit.byId('BSC_PROG003D0009Q_measureDataOrganizationOid').set("value", _gscore_please_select_id);
  	}	
  }
  
  function BSC_PROG003D0009Q_setFrequencyValue() {
  	var frequency = dijit.byId("BSC_PROG003D0009Q_frequency").get("value");
  	dijit.byId("BSC_PROG003D0009Q_startYearDate").set("readOnly", true);
  	dijit.byId("BSC_PROG003D0009Q_endYearDate").set("readOnly", true);
  	dijit.byId("BSC_PROG003D0009Q_startDate").set("readOnly", true);
  	dijit.byId("BSC_PROG003D0009Q_endDate").set("readOnly", true);
  	if ( frequency == _gscore_please_select_id ) {
  		return;
  	}
  	if ('1' == frequency || '2' == frequency || '3' == frequency) { // day, week, month
  		dijit.byId("BSC_PROG003D0009Q_startDate").set("readOnly", false);
  		dijit.byId("BSC_PROG003D0009Q_endDate").set("readOnly", false);		
  	} else { // quarter, half-year, year
  		dijit.byId("BSC_PROG003D0009Q_startYearDate").set("readOnly", false);
  		dijit.byId("BSC_PROG003D0009Q_endYearDate").set("readOnly", false);				
  	}
  }
  
  
  function BSC_PROG003D0009Q_showChartForPerspectives(data) {
  		
  	dojo.byId("BSC_PROG003D0009Q_perspectives_alert_title").innerHTML = '<span class="isa_info"><b>Perspectives</b></span>';
  	
  	var chartData = [];
  	for (var p in data.perspectiveItems) {
  		var score = parseFloat( BSC_PROG003D0009Q_parseScore(data.perspectiveItems[p].score) );
  		chartData.push( [ data.perspectiveItems[p].name, score ] );
  	}	
  	
      $('#BSC_PROG003D0009Q_perspectives_container').highcharts({
          chart: {
              type: 'column'
          },
          title: {
              text: data.subTitle
          },
          subtitle: {
              text: 'Perspectives item'
          },
          xAxis: {
              type: 'category',
              labels: {
                  rotation: -45,
                  style: {
                      fontSize: '13px',
                      fontFamily: 'Verdana, sans-serif'
                  }
              }
          },
          yAxis: {
              min: 0,
              title: {
                  text: 'Score'
              }
          },
          legend: {
              enabled: false
          },
          tooltip: {
              pointFormat: 'Score: <b>{point.y:.1f}</b>'
          },
          series: [{
              name: 'Item',
              data: chartData,
              dataLabels: {
                  enabled: true,
                  rotation: -90,
                  color: '#FFFFFF',
                  align: 'right',
                  format: '{point.y:.1f}', // one decimal
                  y: 10, // 10 pixels down from the top
                  style: {
                      fontSize: '13px',
                      fontFamily: 'Verdana, sans-serif'
                  }
              }
          }]
      });
      
  }
  
  
  function BSC_PROG003D0009Q_showChartForObjectives(data) {
  	
  	dojo.byId("BSC_PROG003D0009Q_objectives_alert_title").innerHTML = '<span class="isa_info"><b>Strategy objectives</b></span>';
  	
  	var chartDivContent = "";
  	for (var p in data.perspectiveItems) {
  		for (var o in data.perspectiveItems[p].objectives) {
  			var objectiveItem = data.perspectiveItems[p].objectives[o];
  			var divChartId = "BSC_PROG003D0009Q_objectives_container_" + objectiveItem.objId;
  			chartDivContent += '<div id="' + divChartId +'" style="width: 300px; height: 200px; float: left"></div>';
  		}
  	}
  	$("#BSC_PROG003D0009Q_objectives_container").html( chartDivContent );
  	
      var gaugeOptions = {
  
  
negative.code:                 }
              }
          };
      
      for (var p in vision.perspectives) {
      	var perspective = vision.perspectives[p];
      	
      	for (var o in perspective.objectives) {
      		var objective = perspective.objectives[o];
      		
      		var divChartId = "BSC_PROG003D0009Q_objectives_container_" + objective.objId;
      		
      		var maxVal = objective.target;
      		if (objective.score > maxVal) {
      			maxVal = objective.score;
      		}
      		
      	    $( '#'+divChartId ).highcharts(Highcharts.merge(gaugeOptions, {
      	        yAxis: {
      	            min: 0,
      	            max: maxVal,
      	            title: {
      	                text: objective.name
      	            }
      	        },
  
      	        credits: {
      	            enabled: false
      	        },
  
      	        series: [{
      	            name: objective.name,
      	            data: [ parseFloat( BSC_PROG003D0009Q_parseScore(objective.score) ) ],
      	            dataLabels: {
      	                format: '<div style="text-align:center"><span style="font-size:25px;color:' +
      	                    ((Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black') + '">{y}</span><br/>' +
      	                       '<span style="font-size:12px;color:silver">Score</span></div>'
      	            },
      	            tooltip: {
      	                valueSuffix: ' Score'
      	            }
      	        }]
  
      	    }));
      	    
      		
      	}
  	    
      }  
  	
  	
  }
  
  
  function BSC_PROG003D0009Q_showChartForObjectivesDateRange(data) {
  	
  	if ( null == data.objectiveCategories || data.objectiveCategories.length < 2 ) {
  		return;
  	}
  	
      $('#BSC_PROG003D0009Q_objectives_daterange_container').highcharts({
          title: {
              text: data.objectiveTitle + ' trend',
              x: -20 //center
          },
          subtitle: {
              text: 'Frequency : ' + data.displayFrequency + '  date range : ' + data.displayDateRange1 + ' ~ ' + data.displayDateRange2,
              x: -20
          },
          xAxis: {
              categories: data.objectiveCategories
          },
          yAxis: {
              title: {
  