function sMn(mn,wd) { wd = parseInt(wd)+70; window.FW_showMenu(mn,wd,100); }
function IMn(mn,wd) { wd = parseInt(wd)+70; window.FW_showMenu(mn,wd,320); }
function hMn() { FW_startTimeout(); }
function msOvr(s) { s.bgColor='#ffcc68'; }
function msOut(s) { s.bgColor='#ffcc68'; }

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}





function fwLoadMenus() {
if (window.fw_menu_0) return;



window.fw_menu_bul_vol14=new Menu("Volume 14",100);
window.fw_menu_bul_vol6=new Menu("Volume 6",100);
fw_menu_bul_vol6.addMenuItem("Volume 6 No.1","location=PageChanger('HTML/vol61/vol61.htm')");
fw_menu_bul_vol6.addMenuItem("Volume 6 No.2","location=PageChanger('HTML/vol62/vol62.htm')");

window.fw_menu_bul_vol7=new Menu("Volume 7",100);
fw_menu_bul_vol7.addMenuItem("Volume 7 No.1","location=PageChanger('HTML/vol71/vol71.htm')");
fw_menu_bul_vol7.addMenuItem("Volume 7 No.2","location=PageChanger('HTML/vol72/vol72.html')");

window.fw_menu_bul_vol8=new Menu("Volume 8",100);
fw_menu_bul_vol8.addMenuItem("Volume 8 No.1","location=PageChanger('HTML/vol81/vol81.html')");
fw_menu_bul_vol8.addMenuItem("Volume 8 No.2","location=PageChanger('HTML/vol82/vol82.html')");

window.fw_menu_bul_vol9=new Menu("Volume 9",100);
fw_menu_bul_vol9.addMenuItem("Volume 9 No.1","location=PageChanger('HTML/vol91/vol91.html')");
fw_menu_bul_vol9.addMenuItem("Volume 9 No.2","location=PageChanger('HTML/vol92/vol92.htm')");

window.fw_menu_bul_vol10=new Menu("Volume 10",100);
fw_menu_bul_vol10.addMenuItem("Volume 10 No.1","location=PageChanger('HTML/vol10_1/vol10_1.htm')");
fw_menu_bul_vol10.addMenuItem("Volume 10 No.2","location=PageChanger('HTML/vol10_2/vol10_2.htm')");

window.fw_menu_bul_vol11=new Menu("Volume 11",100);
fw_menu_bul_vol11.addMenuItem("Volume 11 No.1","location=PageChanger('HTML/vol11_1/vol11_1.htm')");
fw_menu_bul_vol11.addMenuItem("Volume 11 No.2","location=PageChanger('HTML/vol11_2/vol11_2.htm')");

window.fw_menu_bul_vol12=new Menu("Volume 12",100);
fw_menu_bul_vol12.addMenuItem("Volume 12 No.1","location=PageChanger('HTML/vol12_1/vol12_1.htm')");
fw_menu_bul_vol12.addMenuItem("Volume 12 No.2","location=PageChanger('HTML/vol12_2/vol12_2.htm')");

window.fw_menu_bul_vol13=new Menu("Volume 13",100);
fw_menu_bul_vol13.addMenuItem("Volume 13 No.1","location=PageChanger('HTML/vol13_1/vol13_1.htm')");
fw_menu_bul_vol13.addMenuItem("Volume 13 No.2","location=PageChanger('HTML/vol13_2/vol13_2.htm')");
fw_menu_bul_vol14.addMenuItem("Volume 14 No.1","location=PageChanger('HTML/vol14_1/vol14_1.htm')");
fw_menu_bul_vol14.addMenuItem("Volume 14 No.2","location=PageChanger('HTML/vol14_2/vol14_2.htm')");


window.fw_menu_bul=new Menu("Bulletin",100);
fw_menu_bul.addMenuItem(fw_menu_bul_vol6,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol7,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol8,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol9,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol10,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol11,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol12,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol13,"location='#'");
fw_menu_bul.addMenuItem(fw_menu_bul_vol14,"location='#'");


window.fw_menu_monog=new Menu("Monograph",100);
fw_menu_monog.addMenuItem("Monograph No.1","location=PageChanger('HTML/monograph1/monograph1.html')");
fw_menu_monog.addMenuItem("Monograph No.2","location=PageChanger('HTML/monograph2/monograph2.html')");



window.fw_menu_nwl=new Menu("Newsletter",100);
fw_menu_nwl.addMenuItem("Newsletter Vol.1","location=PageChanger('nwl/vol_1/newsletter1.htm')");
fw_menu_nwl.addMenuItem("Newsletter Vol.2","location=PageChanger('nwl/vol_2/newsletter2.htm')");
fw_menu_nwl.addMenuItem("Newsletter Vol.3","location=PageChanger('nwl/vol_3/vol_3.htm')");

window.fw_menu_pub = new Menu("root",100);
fw_menu_pub.addMenuItem(fw_menu_bul,"location='#'");
fw_menu_pub.addMenuItem(fw_menu_monog,"location='#'");
fw_menu_pub.addMenuItem(fw_menu_nwl,"location='#'");

window.fw_menu_abtus = new Menu("root",125);
fw_menu_abtus.addMenuItem("About the Institute","location='aboutinstitute.htm'");
fw_menu_abtus.addMenuItem("About ENVIS","location='aboutenvis.htm'");
fw_menu_abtus.addMenuItem("About MoEF","location=PageChanger('http://envfor.nic.in/')");
fw_menu_abtus.addMenuItem("INFOTERRA of UNEP","location='infoterra_unep.htm'");


window.fw_menu_res_hima = new Menu("root",140);
fw_menu_res_hima.addMenuItem("Indian Himalayan Region","location='indian_him_reg.htm'");
fw_menu_res_hima.addMenuItem("MIS/GIS on Himalaya","location='misgis/misgis.html'");
fw_menu_res_hima.addMenuItem("Environmental MIS","location='env_mis.htm'");
fw_menu_res_hima.addMenuItem("Subject Experts","location='experts.htm'");
fw_menu_res_hima.addMenuItem("Thesis on Himalaya","location='thesis/thesis.html'");
fw_menu_res_hima.addMenuItem("District Profile","location='himdistricts.htm'");


window.fw_menu_o_link = new Menu("root",120);
fw_menu_o_link.addMenuItem("Major Achievements","location='achievements.htm'");
fw_menu_o_link.addMenuItem("Himalayan Links","location='link/himalayanlink.htm'");
fw_menu_o_link.addMenuItem("Other Relevant Links","location='envislinks.htm'");

window.fw_menu_env_net = new Menu("root",120);
fw_menu_env_net.addMenuItem("Subject Specific","location='enviscenters.htm'");
fw_menu_env_net.addMenuItem("State Government","location='envisnodes.htm'");

window.fw_menu_contact = new Menu("root",90);
fw_menu_contact.addMenuItem("User Query","location='query.htm'");
fw_menu_contact.addMenuItem("ENVIS Team","location='envisteam.htm '");
fw_menu_contact.addMenuItem("Editorial Board","location='link/editorial.htm'");
fw_menu_contact.writeMenus();

} // fwLoadMenus()



function PageChanger(Page)
{
   if (Page!=' ')
  {
    newWindow=window.open(Page);
  }
return this.document.location;
}
