/*=======Ver: 7.0.60906========*/
/*DHTMLMenu, (c) 2006, SourceTec Software Co.,LTD  -  www.sothink.com*/
function stslsh(p,k){	if(p.isSt||!p.efft) return 1;if(!k) {	p.isSh=1;	stgPxy(p,1);k=0;}var l=p._shell;if(p.efft==2){if(p.exed==0){l.style.left=p._rc[0]+"px";l.style.top=p._rc[1]+"px";l.style.clip='rect(0px '+p._rc[2]+'px '+p._rc[3]+'px 0px)';l.style.visibility="hidden";p.exed=1;} return 1;}	if(st_ms[p.mid].ckhd) return 1;if(typeof(p.ftid)=="undefined") p.ftid=0;var m=st_ms[p.mid];var xd=p.dir&3,yd=(p.dir&12)/4;var d=Math.floor(.2*p.efsp);with(p){if(!isSh) return 0;if(yd==3||!yd){if(!k){l.style.visibility='visible';	l.style.left=_rc[0]+"px";if(p.exed==0)if(yd)k=(_rc[3]-stgclip(l)[0])/d+1;else k=(stgclip(l)[2]-stre)/d+1;}if(_rc[3]-stre>d*k){if(yd){l.style.top=_rc[1]-_rc[3]+stre+d*k+"px";l.style.clip='rect('+(_rc[3]-d*k)+'px '+_rc[2]+'px '+_rc[3]+'px 0px)';}else{l.style.top=_rc[1]+_rc[3]-stre-d*k+"px";l.style.clip='rect(0px '+_rc[2]+'px '+(d*k+stre)+'px 0px)';}p.exed=0;p.ftid=setTimeout('stslsh(st_ms['+mid+'].ps['+id+'],'+(++k)+')',10);return 0;}else{l.style.top=_rc[1]+"px";l.style.clip='rect(0px '+_rc[2]+'px '+_rc[3]+'px 0px)';p.exed=1;if(!m.hdp) lock=1;if(!stusrE(1,p,m)) return 0;}}else if(xd==3||!xd){			if(!k){l.style.visibility='visible';l.style.top=_rc[1]+"px";if(p.exed==0)if(xd)k=(_rc[2]-stgclip(l)[3])/d+1;else k=(stgclip(l)[1]-stre)/d+1;}if((_rc[2]-stre)>d*k){	if(xd){l.style.left=_rc[0]-_rc[2]+stre+d*k+"px";l.style.clip='rect(0px '+_rc[2]+'px '+_rc[3]+'px '+(_rc[2]-d*k)+'px)';}else{l.style.left=_rc[0]+_rc[2]-stre-d*k+"px";l.style.clip='rect(0px '+(d*k+stre)+'px '+_rc[3]+'px 0px)';}p.exed=0;p.ftid=setTimeout('stslsh(st_ms['+mid+'].ps['+id+'],'+(++k)+')',10);return 0;}else 	{l.style.left=_rc[0]+"px";l.style.clip='rect(0px '+_rc[2]+'px '+_rc[3]+'px 0px)';p.exed=1;if(!m.hdp) lock=1;if(!stusrE(1,p,m)) return 0;				}}}return 0;}
function stslhd(p,k){	if(p.isSt||!p.efft) return 1;if(!k) {p.isSh=0;	stgPxy(p,1);var k=0;}	var l=p._shell;		if(p.efft==1){if(p.exed==0){l.style.left=p._rc[0]+"px";l.style.top=p._rc[1]+"px";l.style.clip='rect(0px '+p._rc[2]+'px '+p._rc[3]+'px 0px)';l.style.visibility="visible";p.exed=1;}return 1;}if(st_ms[p.mid].ckhd) return 1;if(typeof(p.ftid)=="undefined") p.ftid=0;	var m=st_ms[p.mid];var xd=p.dir&3,yd=(p.dir&12)/4;	var d=Math.floor(.2*p.efsp);with(p){if(p.isSh) return 0;if(yd==3||!yd){if(!k){	if(parI) stcIt(parI,parI.oust);l.style.left=_rc[0]+"px";if(p.exed==0)if(yd)k=(stgclip(l)[0]-stre)/d+1;else k=(_rc[3]-stgclip(l)[2])/d+1;}if(_rc[3]-stre>d*k){	if(yd){l.style.top=_rc[1]-d*k+"px";l.style.clip='rect('+(d*k+stre)+'px '+_rc[2]+'px '+_rc[3]+'px 0px)';}else{l.style.top=_rc[1]+d*k+"px";l.style.clip='rect(0px '+_rc[2]+'px '+(_rc[3]-d*k)+'px 0px)';}p.exed=0;p.ftid=setTimeout('stslhd(st_ms['+mid+'].ps['+id+'],'+(++k)+')',10);return 0;}else{				l.style.visibility='hidden';l.style.top=_rc[1]+"px";l.style.clip='rect(0px '+_rc[2]+'px '+_rc[3]+'px 0px)';p.exed=1;if(!stusrE(3,p,m)) return 0;}}else if(xd==3||!xd){if(!k){if(parI) stcIt(parI,parI.oust);l.style.top=_rc[1]+"px";if(p.exed==0)if(xd)k=(stgclip(l)[3]-stre)/d+1;else k=(_rc[2]-stgclip(l)[1])/d+1;}if((_rc[2]-d*k-stre)>0){	if(xd){l.style.left=_rc[0]-d*k+"px";l.style.clip='rect(0px '+_rc[2]+'px '+_rc[3]+'px '+(d*k+stre)+'px)';}else{l.style.left=_rc[0]+d*k+"px";l.style.clip='rect(0px '+(_rc[2]-d*k)+'px '+_rc[3]+'px 0px)';}p.exed=0;p.ftid=setTimeout('stslhd(st_ms['+mid+'].ps['+id+'],'+(++k)+')',10);return 0;}else 	{				l.style.visibility='hidden';l.style.left=_rc[0]+"px";l.style.clip='rect(0px '+_rc[2]+'px '+_rc[3]+'px 0px)';		p.exed=1;if(!stusrE(3,p,m)) return 0;}}}return 0;}
function stgclip(o){var cs=o.style.clip;if(!cs||cs=="auto") {var rc=stgRc(o);o.style.clip='rect(0px '+rc[2]+'px '+rc[3]+'px 0px)';return rc;}var t=cs.split(" "); t[0]=parseInt(t[0].substr(5));for(var j=1;j<t.length;j++)t[j]=parseInt(t[j]);return t;}
