//
// This file defines the behaviour of the sidebar and must be
// called before http://www.iiasa.ac.at/js/sb.js
//
// .. Version 2.2  Serge Medow (IIASA)
//
var MaxSb = 0; // Counter to indicate the no of menu headings

var SbHtm = new Array();
var SbTxt = new Array();

var SbTit = new Array(); // optional array to hold text for alt text.
var SbSta = new Array(); // optional array to hold text status bar.
var SbCol = new Array(); // optional array to hold the bar color. (blu/grn/yel/red)
var SbSpa = new Array(); // optional array to specify no of spaces before start of field

//
// var Sta_is_Txt = 0; // if "true" then the status line is the same
                       // as SbTxt, but only if SbSta[n] is not defined.
		       // if Sta_is_Txt is not defined, then it defaults
		       // to true"

//  if "*" is the 1st char of SbHtm or SbTxt then
//      that line is treated as a main menu heading (will be in gray)
//
//  if "?" is the 1st char of SbHtm or SbTxt then
//      the "arrow" for the next page will not appear in the arg list.
//      This is needed if you wish to pass other args to the url.
//
//  if "#" is the 1st char of SbHtm (after any "*" or "?"), then
//      the menu heading is treated as if it has no link.
//  if "#" is the 2nd-on char of SbHtm (after any "*" or "?"). then
//      the menu heading will have a link, but pointing nowhere.
//
//  if "!" is the 1st char of SbHtm then the rest of the line is interpreted
//      as javascript. Don't forget that all quotes inside 'SbHtm' should be precedeed by \\ (double slashes)
//
// To indicate second level (gray), put a "*" at the beginning of either SbHtm or SbTxt ;
//
// To indicate third level (white), no star ;
//

SbHtm[++MaxSb]="*/Research/PCC/index_rp.html";
SbTxt[  MaxSb]="Population & Climate Change";
SbTit[  MaxSb]="IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="IIASA Program on Population and Climate Change";

SbHtm[++MaxSb]="*#/Research/PCC/index_rp.html";
SbTxt[  MaxSb]="Research Projects";
SbTit[  MaxSb]="Research Projects, IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="Research Projects, IIASA Program on Population and Climate Change";

SbHtm[++MaxSb]="?/Research/PCC/research-proj/dem-emiss.html";
SbTxt[  MaxSb]="Demography and Emissions";
SbTit[  MaxSb]="Demography, Energy, and Emissions";
SbSta[  MaxSb]="Demography, Energy, and Emissions";

SbHtm[++MaxSb]="?/Research/PCC/research-proj/uncer-learn.html";
SbTxt[  MaxSb]="Uncertainty and Learning";
SbTit[  MaxSb]="Uncertainty and Learning";
SbSta[  MaxSb]="Uncertainty and Learning";

SbHtm[++MaxSb]="?/Research/PCC/research-proj/med-term-strat.html";
SbTxt[  MaxSb]="Medium-term Strategies";
SbTit[  MaxSb]="Medium-term Strategies";
SbSta[  MaxSb]="Medium-term Strategies";

SbHtm[++MaxSb]="*#/Research/PCC/Resourses.html";
SbTxt[  MaxSb]="Resources";
SbTit[  MaxSb]="Resources, IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="Resources, IIASA Program on Population and Climate Change";

SbHtm[++MaxSb]="?/Research/PCC/flyer/PCC-flyer.pdf";
SbTxt[  MaxSb]="PCC Flyer";
SbTit[  MaxSb]="PCC Flyer";
SbSta[  MaxSb]="PCC Flyer";

SbHtm[++MaxSb]="?/Research/PCC/learn-conf/index.html";
SbTxt[  MaxSb]="Learning Conference";
SbTit[  MaxSb]="Conference on Learning and Climate Change, Main Page";
SbSta[  MaxSb]="Conference on Learning and Climate Change, Main Page";

SbHtm[++MaxSb]="?/Research/PCC/learn-conf/learning SI/index.html";
SbTxt[  MaxSb]="Special Issue on Learning";
SbTit[  MaxSb]="Special Issue of Climatic Change";
SbSta[  MaxSb]="Special Issue of Climatic Change";

SbHtm[++MaxSb]="?/Research/PCC/resources/scenarios-conf.html";
SbTxt[  MaxSb]="Scenarios Conference";
SbTit[  MaxSb]="Scenarios Conference";
SbSta[  MaxSb]="Scenarios Conference";

SbHtm[++MaxSb]="?/Research/PCC/resources/SIscenarios-conf.html";
SbTxt[  MaxSb]="Special Issue on Scenarios";
SbTit[  MaxSb]="Special Issue on Scenarios";
SbSta[  MaxSb]="Special Issue on Scenarios";

SbHtm[++MaxSb]="?/Research/PCC/resources/energy-anal_Pachauri.html";
SbTxt[  MaxSb]="Household Energy Book 2007";
SbTit[  MaxSb]="Household Energy Book 2007";
SbSta[  MaxSb]="Household Energy Book 2007";

SbHtm[++MaxSb]="*/Research/PCC/staff/index.html";
SbTxt[  MaxSb]="Staff";
SbTit[  MaxSb]="Staff, IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="Staff, IIASA Program on Population and Climate Change";

SbHtm[++MaxSb]="*/Research/PCC/recent-events/index2.html";
SbTxt[  MaxSb]="Recent Events";
SbTit[  MaxSb]="Recent Events, IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="Recent Events, IIASA Program on Population and Climate Change";

SbHtm[++MaxSb]="*/Research/PCC/pubs/index1.html";
SbTxt[  MaxSb]="Publications";
SbTit[  MaxSb]="Publications, IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="Publications, IIASA Program on Population and Climate Change";

SbHtm[++MaxSb]="*/Research/PCC/YSSP/index.html";
SbTxt[  MaxSb]="YSSP & Postdocs";
SbTit[  MaxSb]="YSSP & Postdocs, IIASA Program on Population and Climate Change";
SbSta[  MaxSb]="YSSP & Postdocs, IIASA Program on Population and Climate Change";







