|
|
|
" : "";
itemHTML+=getItemText(item);
itemHTML+=(body.arrange=="vertically" ? " | " : "");
bodyHTML+=itemHTML;
if(item.type!='sepline')
{
menuCSS+="."+item.block+"TX0\r\n{\r\n"+getTextCSS(item,0)+"\r\n}\r\n";
menuCSS+="."+item.block+"TX1\r\n{\r\n"+getTextCSS(item,1)+"\r\n}\r\n";
}
}
bodyHTML+=getBodyTextE(body);
if(body.isstatic)
bodyHTML+=" ";
if(body.isstatic||nNN4||!nSTMENU)
menuHTML+=bodyHTML;
else
st_ht+=bodyHTML;
}
menuCSS+="";
if(!nSTMENU||nNN4)
document.write(menuCSS);
if(menuHTML!='')
document.write(menuHTML);
if(nSTMENU&&!(nIEM||(nIEW&&nVer<5.0)))
{
if(st_ht!='')
{
var obj=getob('st_global'+st_gcount,'font');
if(nNN6)
obj.innerHTML=st_ht;
else if(nIE&&nVer>=5.0)
obj.insertAdjacentHTML("BeforeEnd",st_ht);
else
obj.document.write(st_ht);
st_gcount++;
st_ht='';
}
if(!nOP&&!nNN4)
prefix(menu);
}
st_cumei++;st_cumbi=0;st_cuiti=0;
}
function getBodyTextH(body)
{
var s="";
if(nNN4||!nSTMENU)
{
s+=body.isstatic ? "";
s+="";
}
else
{
var stdiv="position:"+(body.mbi ? 'absolute' : getme(body).pos)+";";
stdiv+="z-index:"+body.z_index+";";
stdiv+="visibility:hidden;";
s+=nTopTb ? "";
if(nTopTb)
s+="";
s+="";
}
return s;
}
function getBodyTextE(body)
{
var s=" ";
if(nNN4||!nSTMENU)
s+="";
else if(nTopTb)
s+=" | ";
else if(nIE)
s+="";
else
s+="";
return s;
}
function getItemText(item)
{
var s="";
if(nNN4||!nSTMENU)
{
var max_i=nNN4 ? 2 : 1;
s+=""
s+="";
s+="";
for(i=0;i";
s+="";
if(item.type=="sepline")
{
s+="| ";
s+=createIMG(item.sep_img,item.block+"LINE",item.sep_w,item.sep_h,0);
s+=" | ";
}
else
{
if(getpar(item).lw_max&&(getpar(item).arrange=="vertically"||item.icon_w))
{
s+="";
s+=createIMG(item.icon[i],item.block+"ICON",item.icon_w,item.icon_h,item.icon_b);
s+=" | ";
}
s+="";
s+="";
if(item.isimage)
{
s+=createIMG(item.image[i],item.block+"IMG",item.image_w,item.image_h,item.image_b);
}
else
{
s+=" ";
s+=item.text;
}
s+="";
s+=" | ";
if(getpar(item).arrow_w)
{
s+="";
s+=createIMG((getsub(item) ? getpar(item).arrow : getme(item).blank.src),item.block+"ARROW",getpar(item).arrow_w,getpar(item).arrow_h,0);
s+=" | ";
}
}
s+=" ";
if(item.bd_sz&&item.type!="sepline")
s+=" ";
s+="";
}
if(item.type!="sepline")
s+="";
s+=""
s+="";
s+=" | ";
}
else
{
s+="";
if(!nOP&&!nIE)
{
s+="";
}
s+=" ";
if(item.type=="sepline")
{
s+="| ";
s+=createIMG(item.sep_img,item.block+"LINE",item.sep_w,item.sep_h,0);
s+=" | ";
}
else
{
if(getpar(item).lw_max&&(getpar(item).arrange=="vertically"||item.icon_w))
{
s+="";
s+=createIMG(item.icon[0],item.block+"ICON",item.icon_w,item.icon_h,item.icon_b);
s+=" | ";
//alert("SIX "+s);
}
else if(getpar(item).arrange=="vertically")
{
s+=".blank.src+"\") | ";
}
s+="";
s+="";
if(item.isimage)
{
s+=createIMG(item.image[0],item.block+"IMG",item.image_w,item.image_h,item.image_b);
}
else
s+=item.text;
s+="";
s+=" | ";
if(getpar(item).arrow_w)
{
s+="";
s+=createIMG((getsub(item) ? getpar(item).arrow : getme(item).blank.src),item.block+"ARROW",getpar(item).arrow_w,getpar(item).arrow_h,0);
s+=" | ";
//alert("EIGHT "+s);
}
else if(getpar(item).arrange=="vertically")
{
s+=".blank.src+"\") | ";
}
}
s+=" ";
if(!nOP&&!nIE)
s+=" ";
s+=" | ";
}
return s;
}
function getBodyCSS(body)
{
var s="";
s+="border-style:"+body.bd_st+";";
s+="border-width:"+body.bd_sz+"px;";
s+="border-color:"+body.bd_cl+";";
if(nIE)
s+="background:"+body.background+";";
else
{
s+="background-color:"+(body.bg_cl)+";";
if(body.bg_image!="")
{
s+="background-image:url("+body.bg_image+");";
s+="background-repeat:"+body.bg_rep+";";
}
}
return s;
}
function getFilterCSS(body)
{
var s="";
var dxpre="progid:DXImageTransform.Microsoft.";
if(nIEW&&(nVer>=5.0||!body.isstatic))
{
s+="filter:";
if(typeof(body.spec_string)!='undefined')
s+=body.spec_string;
s+=" ";
if(nVer>=5.5)
s+=dxpre;
s+="Alpha(opacity="+body.opacity+")";
if(body.ds_sz!=0)
{
s+=" ";
if(nVer>=5.5)
s+=dxpre;
if(body.ds_st=="simple")
s+="dropshadow(color="+body.ds_color+",offx="+body.ds_sz+",offy="+body.ds_sz+",positive=1) ";
else
s+="Shadow(color="+body.ds_color+",direction=135,strength="+body.ds_sz+") ";
}
s+=";";
}
return s;
}
function getItemCSS(item,its)
{
var s="";
if(item.type!="sepline")
{
s+="border-style:"+item.bd_st+";";
s+="border-width:"+item.bd_sz+"px;";
s+="border-color:"+item.bd_cl[its]+";";
if(!nIE&&item.bg_img[its]!="")
{
s+="background-image:url("+item.bg_img[its]+");";
s+="background-repeat:"+item.bg_rep[its]+";";
}
}
if(nIE)
s+="background:"+item.background[its]+";";
else
s+="background-color:"+item.bg_cl[its]+";";
s+="cursor:"+getcursor(item)+";";
return s;
}
function getTextCSS(item,its)
{
var s="";
s+="cursor:"+getcursor(item)+";";
s+="font-family:"+item.f_fm[its]+";";
s+="font-size:"+item.f_sz[its]+";";
s+="font-weight:"+item.f_wg[its]+";";
s+="font-style:"+item.f_st[its]+";";
s+="text-decoration:"+item.f_de[its]+";";
if(!nSTMENU||nNN4)
s+="color:"+item.f_cl[its];
return s;
}
function doitov(e,obj,it)
{
if(nIEW)
{
if(!it.layer)
it.layer=obj;
if(!getpar(it).isshow||(e.fromElement&&obj.contains(e.fromElement)))
return;
}
else
{
if(!getpar(it).isshow||(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(it.block)>=0)))
return ;
}
if(nNN4)
getlayer(it).document.layers[0].captureEvents(Event.CLICK);
if(typeof(onitov)=="function")
onitov(it.mei,it.mbi,it.iti);
if(getme(it).hdid)
{
clearTimeout(getme(it).hdid);
getme(it).hdid=null;
}
var curiti=getpar(it).curiti;
var curit=null;
if(curiti>=0)
curit=getpar(it).items[curiti];
if(!getpar(it).isclick||getme(it).clicked)
{
if(getpar(it).curiti!=it.iti)
{
if(getpar(it).curiti>=0)
{
hditpop(getpar(it).items[getpar(it).curiti]);
getpar(it).curiti=-1;
}
shitpop(it);
getpar(it).curiti=it.iti;
}
else
{
if(getsub(it)&&!getsub(it).isshow)
{
shitst(it,1);
showpop(getsub(it));
}
}
}
if(it.st_text!="")
window.status=it.st_text;
}
function doitou(e,obj,it)
{
if(nIEW)
{
if(!getpar(it).isshow||e.toElement&&obj.contains(e.toElement))
return;
}
else
{
if(!getpar(it).isshow||(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(it.block)>=0)))
return ;
}
if(nNN4)
getlayer(it).document.layers[0].releaseEvents(Event.CLICK);
if(typeof(onitou)=="function")
onitou(it.mei,it.mbi,it.iti);
if(!getsub(it)||!getsub(it).isshow)
{
shitst(it,0);
getpar(it).curiti=-1;
}
else if(getsub(it)&&getsub(it).isshow&&!getsub(it).exec_ed)
hditpop(it);
window.status="";
}
function doitck(e,obj,it)
{
if(e.button&&e.button>=2)
return;
if(getpar(it).isclick)
{
getme(it).clicked=!getme(it).clicked;
if(getme(it).clicked)
{
shitpop(it);
getpar(it).curiti=it.iti;
}
else
{
hditpop(it);
getpar(it).curiti=-1;
}
}
if(!(getpar(it).isclick&&getsub(it))&&it.url!="")
{
var _preurl="javascript:";
if(it.url.toLowerCase().indexOf(_preurl)==0)
eval(it.url.substring(_preurl.length,it.url.length));
else if(it.target=="_self"||it.target=="_parent"||it.target=="_top")
setTimeout("window."+it.target.substring(1,it.target.length)+".location.href=\""+it.url+"\";",100);
else if(typeof(parent.frames[it.target])=="undefined")
window.open(it.url,it.target);
else
setTimeout("parent.frames[\""+it.target+"\"].location.href=\""+it.url+"\";",100);
}
}
function getrect(mbit)
{
if(nNN4)
{
var obj=getlayer(mbit);
return [obj.pageX,obj.pageY,obj.clip.width,obj.clip.height];
}
else
{
var l=0,t=0;
var obj=getlayer(mbit);
var w=parseInt(nOP ? obj.style.pixelWidth : obj.offsetWidth);
var h=parseInt(nOP ? obj.style.pixelHeight : obj.offsetHeight);
if(!nOP&&!nIEM&&typeof(mbit.iti)=='undefined')
h-=mbit.ds_sz*2;
while(obj)
{
l+=parseInt(obj.offsetLeft);
t+=parseInt(obj.offsetTop);
obj=obj.offsetParent;
}
if(nIEM)
{
l+=parseInt(document.body.leftMargin);
l-=mbit.bd_sz;
t-=mbit.bd_sz;
}
if(typeof(mbit.iti)!='undefined')
{
if(bDelBorder)
{
l-=mbit.bd_sz;
t-=mbit.bd_sz;
}
if(bAddBorder)
{
l+=getpar(mbit).bd_sz;
t+=getpar(mbit).bd_sz;
}
}
return [l,t,w,h];
}
}
function getxy(body)
{
var x=body.offset_l;
var y=body.offset_t;
var subrc=getrect(body);
body.rc=subrc;
if(body.mbi==0)
{
if(getme(body).type=="custom")
return [getme(body).pos_l,getme(body).pos_t];
else if(getme(body).type=="float")
return [getcl()+getme(body).pos_l,getct()+getme(body).pos_t];
else
return [subrc[0],subrc[1]];
}
var itrc=getrect(getpar(body));
var bdrc=getrect(getpar(getpar(body)));
switch(body.offset)
{
case "left":
x+=itrc[0]-subrc[2];
y+=itrc[1];
break;
case "up":
x+=itrc[0];
y+=itrc[1]-subrc[3];
if(nIEM)
y+=body.ds_sz;
break;
case "right":
x+=itrc[0]+itrc[2];
y+=itrc[1];
break;
case "down":
x+=itrc[0];
y+=itrc[1]+itrc[3];
break;
case "auto":
default:
break;
}
if(!nOP&&!nNN4)
{
x-=body.ds_sz;
y-=body.ds_sz;
}
return adjust([x,y],body);
}
function adjust(xy,body)
{
var rc=getrect(body);
var tx=xy[0];
var ty=xy[1];
var c_l=getcl();
var c_t=getct();
var c_r=c_l+getcw();
var c_b=c_t+getch();
if(tx+rc[2]>c_r)
tx=c_r-rc[2];
tx=tx>c_l ? tx : c_l;
if(ty+rc[3]>c_b)
ty=c_b-rc[3];
ty=ty>c_t ? ty : c_t;
return [tx,ty];
}
function ckPage()
{
var st_or_w=st_cl_w;
var st_or_h=st_cl_h;
var st_or_l=st_cl_l;
var st_or_t=st_cl_t;
st_cl_w=getcw();
st_cl_h=getch();
st_cl_l=getcl();
st_cl_t=getct();
if((nOP||nNN4)&&(st_cl_w-st_or_w||st_cl_h-st_or_h))
document.location.reload();
else if(st_cl_l-st_or_l||st_cl_t-st_or_t)
setTimeout("scrollmenu();",500);
}
function shitst(it,nst)
{
if(nNN4)
{
var st_lay=get_st_lay(it);
st_lay[nst].parentLayer.bgColor=it.bd_cl_l[nst];
st_lay[nst].visibility="show";
st_lay[1-nst].visibility="hide";
}
else
{
var objs=getlayer(it).style;
if(nIE&&nMac)
{
if(it.background[0]!=it.background[1]) objs.background=it.background[nst];
}
else
{
if(nOP)
objs.background=it.bg_cl[nst];
else
{
if(it.bg_cl[0]!=it.bg_cl[1]) objs.backgroundColor=it.bg_cl[nst];
}
if(it.bg_img[nst]!="")
{
if(it.bg_img[0]!=it.bg_img[1]) objs.backgroundImage="url("+it.bg_img[nst]+")";
if(it.bg_rep[0]!=it.bg_rep[1]) objs.backgroundRepeat=it.bg_rep[nst];
}
}
if(it.bd_cl[0]!=it.bd_cl[1]) objs.borderColor=it.bd_cl[nst];
var tmp;
if(it.icon[0]!=it.icon[1])
{
tmp=getob(it.block+'ICON','IMG');
if(tmp) tmp.src=it.icon[nst];
}
if(it.isimage&&it.image[0]!=it.image[1])
{
tmp=getob(it.block+'IMG','IMG');
if(tmp) tmp.src=it.image[nst];
}
if (!it.txstyle) it.txstyle=getob(it.txblock,'font').style;
tmp=it.txstyle;
if(it.f_fm[0]!=it.f_fm[1]) tmp.fontFamily=it.f_fm[nst];
if(it.f_sz[0]!=it.f_sz[1]) tmp.fontSize=it.f_sz[nst];
if(it.f_wg[0]!=it.f_wg[1]) tmp.fontWeight=it.f_wg[nst];
if(it.f_st[0]!=it.f_st[1]) tmp.fontStyle=it.f_st[nst];
if(it.f_de[0]!=it.f_de[1]) tmp.textDecoration=it.f_de[nst];
if(it.f_cl[0]!=it.f_cl[1])
{
if(nOP) getob(it.block+'MTD','td').style.color=it.f_cl[nst];
else tmp.color=it.f_cl[nst];
}
}
}
function dombov(e,obj,mb)
{
if(nIEW)
{
if(!mb.layer)
mb.layer=obj;
if(!mb.isshow||(e.fromElement&&obj.contains(e.fromElement)))
return;
}
else
{
if(!mb.isshow||(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(mb.block)>=0)))
return ;
}
if(getme(mb).hdid)
{
clearTimeout(getme(mb).hdid);
getme(mb).hdid=null;
}
}
function dombou(e,obj,mb)
{
if(nIEW)
{
if(!mb.isshow||(e.toElement&&obj.contains(e.toElement)))
return;
}
else
{
if(!mb.isshow||(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(mb.block)>=0)))
return ;
}
if(getme(mb).hdid)
{
clearTimeout(getme(mb).hdid);
getme(mb).hdid=null;
}
getme(mb).hdid=setTimeout("hideall(st_menus['"+mb.mei+"']);",getme(mb).hddelay);
}
function showpop(body)
{
show(body);
}
function hidepop(body)
{
if(body.curiti>=0)
{
var tmp=getsub(body.items[body.curiti]);
if(tmp&&tmp.isshow)
hidepop(tmp);
shitst(body.items[body.curiti],0);
body.curiti=-1;
}
hide(body);
}
function shitpop(item)
{
if(getsub(item))
{
if(!getsub(item).isshow)
showpop(getsub(item));
}
shitst(item,1);
}
function hditpop(item)
{
if(getsub(item)&&getsub(item).isshow)
hidepop(getsub(item));
shitst(item,0);
}
function hideall(menu)
{
menu.clicked=0;
var body=menu.bodys[0];
if(body.isshow)
{
if(body.curiti>=0)
{
hditpop(body.items[body.curiti]);
body.curiti=-1;
}
if(menu.type=="custom")
hide(body);
}
menu.hdid=null;
}
function bufimg(sr)
{
if(sr!="")
{
st_buf[st_buf.length]=new Image();
st_buf[st_buf.length-1].src=sr;
return st_buf[st_buf.length-1];
}
return null;
}
function normal_init(body)
{
}
function normal_sh(body)
{
moveto(getxy(body),body);
ck_win_els(-1,body);
_sh(body);
}
function normal_hd(body)
{
_hd(body);
ck_win_els(+1,body);
}
function fade_init(body)
{
body.current=0;
body.step=parseInt(body.opacity*10/(110-body.spec_sp));
if(body.step<=0)
body.step=1;
}
function fade_sh(body)
{
if(body.exec_ed)
{
body.current+=body.step;
if(body.current>body.opacity)
body.current=body.opacity;
}
getlayer(body).filters["Alpha"].opacity=body.current;
if(!body.exec_ed)
{
moveto(getxy(body),body);
ck_win_els(-1,body);
_sh(body);
}
if(body.current!=body.opacity)
body.tmid=setTimeout(get_sdstr(body,1),100);
}
function fade_hd(body)
{
if(body.exec_ed)
{
body.current-=body.step;
if(body.current<0||!body.hdsp)
body.current=0;
}
getlayer(body).filters["Alpha"].opacity=body.current;
if(!body.current)
{
_hd(body);
ck_win_els(+1,body);
}
else
body.tmid=setTimeout(get_sdstr(body,0),100);
}
function filter_init(body)
{
body.fl_type=st_fl[body.spec];
if(body.fl_type==23)
body.fl_type=parseInt(23*Math.random());
body.spec_sp=(body.spec_sp>100 ? 100 : (body.spec_sp<=10 ? 10 : body.spec_sp));
body.duration=10/body.spec_sp;
if(nVer<5.5)
body.spec_string=" revealTrans(Transition="+body.fl_type+",Duration="+body.duration+")";
else
{
body.spec_string=" progid:DXImageTransform.Microsoft."+st_fl_string[body.fl_type];
body.spec_string=body.spec_string.replace(')',',Duration='+body.duration+')');
}
}
function filter_sh(body)
{
if(nVer<5.5)
ft_shx(body);
else if(bFtReg)
eval("try{ft_shx(body);} catch(_err){bFtReg=0;normal_sh(body);}");
else
normal_sh(body);
}
function filter_hd(body)
{
if(nVer<5.5)
ft_hdx(body);
else if(bFtReg)
eval("try{ft_hdx(body);}catch(_err){bFtReg=0;normal_hd(body);}");
else
normal_hd(body);
}
function ft_shx(body)
{
var fl_obj=getlayer(body).filters[0];
if(fl_obj.Status!=0)
fl_obj.stop();
moveto(getxy(body),body);
ck_win_els(-1,body);
fl_obj.apply();
_sh(body);
fl_obj.play();
}
function ft_hdx(body)
{
var fl_obj=getlayer(body).filters[0];
if(fl_obj.Status!=0)
fl_obj.stop();
if(body.hdsp) fl_obj.apply();
_hd(body);
ck_win_els(+1,body);
if(body.hdsp) fl_obj.play();
}
function showFloatMenuAt(nam,x,y)
{
if(nSTMENU)
{
var menu=getMenuByName(nam);
if(menu&&typeof(menu.ready)!="undefined"&&menu.type=="custom"&&menu.bodys.length&&!menu.bodys[0].isshow)
{
movetoex(menu,[x,y]);
show(menu.bodys[0]);
}
}
}
function hideMenu(nam)
{
hideall(getMenuByName(nam));
}
function getMenuByName(nam)
{
return st_menus[eval("sdm_"+nam)];
}
function movetoex(menu,xy)
{
menu.pos_l=xy[0];
menu.pos_t=xy[1];
}
function getcursor(it)
{
if(nNN6)
return "default";
return it.type!="sepline"&&((it.mbi==0&&getme(it).click_sh&&getsub(it))||it.url!="") ? "hand" : "default";
}
function getwdstr(obj)
{
if(getpar(obj).arrange=="vertically")
{
if(getpar(obj).lw_max>0)
return " WIDTH="+getpar(obj).lw_max;
else
return "";
}
else
{
if(obj.icon_w>0)
return " WIDTH="+obj.icon_w;
else
return "";
}
}
function detectNav()
{
var naVer=navigator.appVersion;
var naAgn=navigator.userAgent;
nMac=naVer.indexOf("Mac")>=0;
nOP=naAgn.indexOf("Opera")>=0;
if(nOP)
{
nVer=parseFloat(naAgn.substring(naAgn.indexOf("Opera ")+6,naAgn.length));
nOP5=nVer>=5.12&&!nMac&&naAgn.indexOf("MSIE 5.0")>=0;
}
else
{
nIE=document.all ? 1 : 0;
if(nIE)
{
nIE4=(eval(naVer.substring(0,1)>=4));
nVer=parseFloat(naAgn.substring(naAgn.indexOf("MSIE ")+5,naAgn.length));
nIE5=nVer>=5.0&&nVer<5.5;
nIEM=nIE4&&nMac;
nIEW=nIE4&&!nMac;
}
else
{
nNN4=navigator.appName.toLowerCase()=="netscape"&&naVer.substring(0,1)=="4" ? 1 : 0;
if(!nNN4)
{
nNN6=(document.getElementsByTagName("*") && naAgn.indexOf("Gecko")!=-1);
if(nNN6)
{
nVer=parseInt(navigator.productSub);
if(naAgn.indexOf("Netscape")>=0)
{
bDelBorder=nVer<20001108+1;
bAddBorder=nVer>20020512-1;
}
else
{
bDelBorder=nVer<20010628+1;
bAddBorder=nVer>20011221-1;
}
}
}
else
nVer=parseFloat(naVer);
nNN=nNN4||nNN6;
}
}
nSTMENU=nOP5||nIE4||nNN;
}
function st_onload()
{
if(nIEM||nOP5||nNN4||(nIEW&&nVer<5.0))
{
if(st_ht!='')
document.body.insertAdjacentHTML('BeforeEnd',st_ht);
for(i=0;i=0 ? body.items[body.curiti] : null;
}
}
}
}
function getpar(mbit)
{
if(mbit.isitem)
return st_menus[mbit.mei].bodys[mbit.mbi];
else
return !mbit.par ? null : st_menus[mbit.par[0]].bodys[mbit.par[1]].items[mbit.par[2]];
}
function getsub(item)
{
return !item.sub ? null : st_menus[item.sub[0]].bodys[item.sub[1]];
}
function getme(mbit)
{
return st_menus[mbit.mei];
}
function getsrc(sr,me)
{
if(sr=='')
return '';
var _sr=sr.toLowerCase();
if(_sr.indexOf('http://')==0||(_sr.indexOf(':')==1&&_sr.charCodeAt(0)>96&&_sr.charCodeAt(0)<123)||_sr.indexOf('ftp:///')==0||_sr.indexOf('http://www.geocities.com/')==0||_sr.indexOf('gopher')==0)
return sr;
else
return me.web_path+sr;
}
function getcl()
{
return parseInt(nNN||nOP ? window.pageXOffset : document.body.scrollLeft);
}
function getct()
{
return parseInt(nNN||nOP ? window.pageYOffset : document.body.scrollTop);
}
function getcw()
{
return parseInt(nNN||nOP ? window.innerWidth : (nIEW&&document.compatMode=="CSS1Compat" ? document.documentElement.clientWidth : document.body.clientWidth));
}
function getch()
{
return parseInt(nNN||nOP ? window.innerHeight : (nIEW&&document.compatMode=="CSS1Compat" ? document.documentElement.clientHeight : document.body.clientHeight));
}
function get_sdstr(mb,issh)
{
return "var _mb=st_menus['"+mb.mei+"'].bodys["+mb.mbi+"];_mb.tmid=null;"+mb.speceff+(issh? "_sh(" : "_hd(")+"_mb);_mb.exec_ed=1;"
}
function getlayer(mbit)
{
if(!mbit.layer)
{
if(typeof(mbit.iti)=='undefined')
mbit.layer=getob(mbit.block,nTopTb ? 'table' : (nIE ? 'span' : 'div'));
else
mbit.layer=nNN4 ? getlayer(getpar(mbit)).document.layers[0].document.layers[mbit.block] : getob(mbit.block,nIEW ? 'table' : null);
}
return mbit.layer;
}
function get_st_lay(item)
{
return getlayer(item).document.layers[0].document.layers;
}
function moveto(xy,body)
{
if(xy&&(body.mbi||getme(body).pos=='absolute'))
{
var ly=getlayer(body);
if(nNN4)
ly.moveToAbsolute(xy[0],xy[1]);
else if(nOP)
{
var lys=ly.style;
lys.pixelLeft=xy[0];
lys.pixelTop=xy[1];
}
else
{
var lys=ly.style;
lys.left=xy[0]+'px';
lys.top=xy[1]+'px';
}
body.rc=[xy[0],xy[1],body.rc[2],body.rc[3]];
}
}
function createIMG(src,id,width,height,border)
{
var s=' ';
return s;
}
function show(body)
{
var delay=body.mbi&&getpar(getpar(body)).arrange=="vertically" ? getme(body).shdelay_v : getme(body).shdelay_h;
body.exec_ed=0;
if(!body.rc)
getxy(body);
if(body.tmid)
{
clearTimeout(body.tmid);
body.tmid=null;
ck_win_els(1,body)
}
if(delay>0)
body.tmid=setTimeout(get_sdstr(body,1),delay);
body.isshow=1;
if(delay<=0)
eval(get_sdstr(body,1));
}
function _sh(body)
{
var ly=getlayer(body);
if(nNN4)
{
ly.visibility='show';
if(!body.fixed)
{
ly.resizeBy(body.bd_sz*2,body.bd_sz*2);
ly=ly.document.layers[0];
ly.moveTo(body.bd_sz,body.bd_sz);
ly.onmouseover=dombovNN4;
ly.onmouseout=dombouNN4;
for(var iti=body.items.length-1;iti>=0;iti--)
{
var item=body.items[iti];
if(item.type!="sepline")
{
var st_lay=get_st_lay(item);
st_lay[2].resizeTo(st_lay[0].parentLayer.clip.width,st_lay[0].parentLayer.clip.height);
if(getcursor(item)=="hand")
{
with(st_lay[2].document)
{
open();
write(" ");
close();
}
}
st_lay[0].resizeBy(-item.bd_sz,-item.bd_sz);
st_lay[1].resizeBy(-item.bd_sz,-item.bd_sz);
ly=getlayer(item).document.layers[0];
ly.onmouseover=doitovNN4;
ly.onmouseout=doitouNN4;
ly.onclick=doitckNN4;
}
}
if(body.bd_sz)
setTimeout("var _body=st_menus["+body.mei+"].bodys["+body.mbi+"];getlayer(_body).bgColor=_body.bd_cl;",1);
body.fixed=1;
}
}
else
ly.style.visibility='visible';
}
function hide(body)
{
if(body.tmid)
{
clearTimeout(body.tmid);
body.tmid=null;
}
if(body.isshow&&!body.exec_ed)
{
body.exec_ed=0;
body.isshow=0;
}
else
{
body.exec_ed=0;
body.isshow=0;
eval(get_sdstr(body,0));
}
}
function _hd(body)
{
var ly=getlayer(body);
if(nNN4)
ly.visibility='hide';
else
{
var lyf;
if(nIE5&&!nMac)
{
lyf=ly.filters['Alpha'];
lyf.opacity=0;
}
ly.style.visibility='hidden';
if(nIE5&&!nMac) lyf.opacity=body.opacity;
}
}
function fixmenu(menu)
{
for(mbi=0;mbi=0)
flag=1;
if(flag)
continue;
else if(elements_overlap(el,obj))
{
if (el.visLevel)
el.visLevel+=change;
else
el.visLevel=change;
if (el.visLevel==-1)
{
if(typeof(el.visSave)=='undefined')
el.visSave=el.style.visibility;
el.style.visibility="hidden";
}
else if (el.visLevel==0)
el.style.visibility=el.visSave;
}
}
}
function elements_overlap(el,obj)
{
var left=0;
var top=0;
var width=el.offsetWidth;
var height=el.offsetHeight;
if(width)
el._width=width;
else
width=el._width;
if(height)
el._height=height;
else
height=el._height;
while(el)
{
left+=el.offsetLeft;
top+=el.offsetTop;
el=el.offsetParent;
}
return ((leftobj.rc[0]) && (topobj.rc[1]));
}
function getob(id,t)
{
if(nNN6)
return document.getElementById(id);
else if(nNN4)
return document.layers[id];
else
return t ? document.all.tags(t)[id] : document.all[id];
}
function getBodyEventString(body)
{
var s=" onMouseOver='dombov(event,this,st_menus["+body.mei+"].bodys["+body.mbi+"]);'";
s+=" onMouseOut='dombou(event,this,st_menus["+body.mei+"].bodys["+body.mbi+"]);'";
return s;
}
function getItemEventString(item)
{
if(item.type=='sepline') return '';
var s=" onMouseOver='doitov(event,this,st_menus["+item.mei+"].bodys["+item.mbi+"].items["+item.iti+"]);'";
s+=" onMouseOut='doitou(event,this,st_menus["+item.mei+"].bodys["+item.mbi+"].items["+item.iti+"]);'";
s+=" onClick='doitck(event,this,st_menus["+item.mei+"].bodys["+item.mbi+"].items["+item.iti+"]);'";
return s;
}
function getEventCode(pre,isitem)
{
var s=isitem ? 'st_rei' : 'st_reb';
s+='.exec(this.parentLayer.id);mei=RegExp.$1;mbi=parseInt(RegExp.$2);';
if(isitem) s+='iti=parseInt(RegExp.$3);return '+pre+'(e,this,st_menus[mei].bodys[mbi].items[iti]);';
else s+='return '+pre+'(e,this,st_menus[mei].bodys[mbi]);';
return new Function('e',s);
}
function addquo(n)
{
return "\""+n+"\"";
}
 |
The
natural vegetations are sally excludes planted or
cultivated. Butt its difficult these days to find human
influence and this perfectly. Natural in terms of vegetation.
The mountain soils mainly consist of pebbles and stones and
are not very fertile. These are mainly funded in this region.
The mountain soils are generally shallow in depth. Floods case
extensive damage to our soils. soil erosion has became a very
serious and challenging problem in this valley. under such
circumstances ,soil conservation be come very important.
following methods can be adopted to check soil erosion:-Afforestation-
Plantation of new trees. Erecting Dams and Barriers- eating
dams and barriers across the rivers. Check on over grazing-
yielding sprat grazing grind. Changing in Agricultural
Practice: by bringing smoke basic changes in or agricultural
practices. Vegetation:
Mountainous forests : As their name indicates these forests
are fond in the mountain areas of this northern valley.
Receiving over 200 cm rainfall These lash green thick green
goriest cover this valley with Deodar, bamboo, bhojpatra, ebony
which is commonly fond. This valley has a variety of plants
species ranging form of alpine to tropical .Endemic or
indigenous flora is dominant in this valley. near by 30% of
this valley's floral species are exotic. are The widest
range of plants and flowers is fond this valley.
Animals
such as tigers, leopards, Yaks and verities of deer once
inhabited the forested areas of the these valleys. As a result
of deforestation the habitat of most of the wildlife has been
destroyed. T hey
are now restricted to special protected areas such as the Nandadevi
National park. There are few animals in these Valleys
because of extensive deforestation. In the Great Himalayas
musk deer, wild goats, sheep, wolves, and snow leopards are
found. The existence of the Yeti has been reported by highland
local lingo�s as in these valleys but has eluded discovery by
several expeditions.
The natural vegetation is influenced by climate and elevation.
Tropical, moist deciduous forest at one time covered all of
the Sub-Himalayan area. With few exceptions most of this
forest has been cut for commercial lumber or agricultural
land. Most of this area has been deforested; forest cover
remains only in inaccessible areas and on steep slopes. Below
the timber line the Great
Himalayas
contains valuable forests of spruce, fir, cypress, juniper,
and birch. and wildflowers such as blue poppies and
edelweiss. The
natural vegetation is influenced by climate and elevation.
Tropical, moist deciduous forest at one time covered all of
these valleys. With few exceptions most of forest has been cut
for commercial lumber or agricultural land. Most of this area
has been deforested; forest cover remains only in inaccessible
areas and on steep slopes. Below the timber line the Great
Himalayas contains valuable forests of spruce, fir, cypress,
juniper, and birch. and wildflowers such as blue poppies and
edelweiss.
Environmental
Economic changes and population
increases are threatening the ecology of the these areas. In
recent years deforestation in the foothills and the Himalayas
and overgrazing on the high pastures have led to soil erosion
and other environmental problems. Increased demand for
firewood, extensive tree trimming in order to feed livestock,
and construction of roads in the border regions have increased
the destruction rate of forests and the number of landslides.
Hill people who use the water for drinking suffer from
dysentery; cholera and typhoid epidemics are also common. have
also become polluted. Conditions range from a critical
situation in the to a moderately serious situation in these
areas. If rapid development continues in these valleys without
due regard for conservation, the problems there may assume
critical proportions in the near future. They are aware of the
dangers of environmental degradation, and environmental
management concerns are being integrated in development
projects in these areas. |
| |
| |