//
// 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]="?*/Admin/YSP/index.html";
SbTxt[  MaxSb]="*Programs for Young Scientists";
SbTit[  MaxSb]="Programs for Young Scientists";
SbSta[  MaxSb]="Programs for Young Scientists";
SbSpa[  MaxSb]="2";

SbHtm[++MaxSb]="?/Admin/YSP/reg-info/more_about_the_program.html";
SbTxt[  MaxSb]="About the Summer Program";
SbTit[  MaxSb]="About the Young Scientists Summer Program";
SbSta[  MaxSb]="About the Summer Program";
SbSpa[  MaxSb]="4";

SbHtm[++MaxSb]="?/Admin/YSP/reg-info/eligibility.html";
SbTxt[  MaxSb]="Eligibility";

SbHtm[++MaxSb]="?http://www.iiasa.ac.at/Admin/YSP/reg-info/programs.html" ;
SbTxt[  MaxSb]= "Research Programs" ;

SbHtm[++MaxSb]="?/Admin/YSP/reg-info/finances.html";
SbTxt[  MaxSb]="Financial Aid";

SbHtm[++MaxSb]="?/Admin/YSP/reg-info/contact_details.html";
SbTxt[  MaxSb]="Contact Details";

SbTxt[++MaxSb]="?*YSSP Application Procedure";
SbHtm[MaxSb]="http://www.iiasa.ac.at/yssp/register/index.html";
SbSpa[MaxSb]="10" ;

SbTxt[++MaxSb]="*Step 1:";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/newid.html";
SbSpa[MaxSb]="10" ;

SbTxt[++MaxSb]="Create a New YSSP Application";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/newid.html";

SbTxt[++MaxSb]="*Step 2:";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/form/index.html";
SbSpa[MaxSb]="10" ;

SbTxt[++MaxSb]="Fill in/Update Application Form";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/form/index.html";

SbTxt[++MaxSb]="*Step 3:";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/form/index.html?register";
SbSpa[MaxSb]="10" ;

SbTxt[++MaxSb]="Submit the Application Form";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/form/index.html?register";
// SbCol[MaxSb]="red" ;

SbTxt[++MaxSb]="*Other Application Commands" ;
SbHtm[MaxSb]="#" ;
SbSpa[MaxSb]="20" ;

SbTxt[++MaxSb]="I forgot my Application ID";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/forgotid.html";

SbTxt[++MaxSb]="View my Application Status";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/form/index.html?view";
// SbCol[MaxSb]="grn" ;

SbTxt[++MaxSb]="Delete my Application Form";
SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/delapp.html";
// SbCol[MaxSb]="red" ;

//SbTxt[++MaxSb]="*Administration";
//SbHtm[MaxSb]="?http://www.iiasa.ac.at/yssp/register/admin/index.html";
//SbCol[MaxSb]="red" ;
//SbSpa[MaxSb]="20" ;

