var isProduction = true;
var sessionTimeOut = 1000	// in seconds
var sessionWarning = 15		// in seconds
var scheduledListRefresh = 6000 //in milliseconds
var downloadListRefresh = 60000 //in milliseconds
var reportsCSVPath = '../Sanuyi/reports.csv'     //2nd and 3rd graph csv path
var collectDOutputPath = 'Sanuyi/CollectDoutput'

//Demo paths
var csvPath_100 = "../pilot/demographs/comb_demo_mode_example_100p.csv";
var csvPath_1000 = "../../pilot/demographs/comb_demo_mode_example_1000p.csv";
var csvPath_demux1 = "../../pilot/demographs/demux1.csv";
var csvPath_demux2 = "../../pilot/demographs/demux2.csv";
var csvPath_demux3 = "../../pilot/demographs/demux3.csv";
var csvPath_demux4 = "../../pilot/demographs/demux4.csv";

var csvPath_ngp_spectrum_graph = "../../pilot/demographs/ngp/";
var csv_ngp_single_mode_file = "NGP2graph_Single_Mode_Values_.csv";
var csv_ngp_heatmap_file = "NGP2graph_Single_Mode_Heatmap_.csv";

//Intensity graphs
var csvPath_back = "../../pilot/IntensityGraphs/back_I.csv";
var csvPath_front = "../../pilot/IntensityGraphs/front_I.csv";
var csvPath_wavelength = "../../pilot/IntensityGraphs/wavelength.csv";


//Ocs 2000 csv path
var csvPath_comb_ocs_2000 = "../../pilot/demographs/comb_demo_mode_OCS_2000.csv";

//pps 2000 csv path
var csvPath_comb_pps_2000 = "../../pilot/demographs/comb_demo_mode_PPS_2000.csv";

if(window.innerWidth>2000){demuxSliderWidth=220;generalSliderWidthLVL1=720;generalSliderWidthLVL2=650;  slaveLaserWidth = 520; ngpDemoSlider=520; caliSliders=440}
else if(window.innerWidth>1800){demuxSliderWidth=220;generalSliderWidthLVL1=600;generalSliderWidthLVL2=650;  slaveLaserWidth = 520; ngpDemoSlider=520; caliSliders=440}
else if(window.innerWidth>1600){demuxSliderWidth=220;generalSliderWidthLVL1=540;generalSliderWidthLVL2=550;  slaveLaserWidth = 520; ngpDemoSlider=520; caliSliders=440}
else if(window.innerWidth>1400){demuxSliderWidth=220;generalSliderWidthLVL1=480;generalSliderWidthLVL2=300;  slaveLaserWidth = 520; ngpDemoSlider=520; caliSliders=440}
else if(window.innerWidth > 1200) {demuxSliderWidth=200;generalSliderWidthLVL1=400;generalSliderWidthLVL2= 340; slaveLaserWidth = 450; ngpDemoSlider= 400;caliSliders=380}
else if(window.innerWidth > 992) {demuxSliderWidth=200;generalSliderWidthLVL1=280;generalSliderWidthLVL2= 30; slaveLaserWidth = 300;0; ngpDemoSlider= 400;caliSliders=380}
else{var demuxSliderWidth=window.innerWidth-210;generalSliderWidthLVL1=window.innerWidth-200;generalSliderWidthLVL2=window.innerWidth-270; ngpDemoSlider=window.innerWidth-240;caliSliders=window.innerWidth-180; slaveLaserWidth = window.innerWidth-240;}
