var Memry,Run,Yankee;
(function(){
	if(Function.call && Object.hasOwnProperty){
		var s= '/webworks/', s1= '_mr/yankee.js',
		L= location.href.replace(/\\/g,'/'),P=location.pathname.replace(/\\/g,'/');
		var ax= L.lastIndexOf(s);
		ax= (ax== -1)? L.indexOf(P)+ 1: ax+ s.length;
		Memry={
			env:{
				startfun:'Run.initLinks'
			},
			Rte:L.substring(0,ax)
		}
		Run={
			initLinks: function(){
				Run.toolbar();
				var str='',tem='';
				var hot=Run.doRight('a','linksDiv');
				for(var i=0; i< hot.length;i++){
					var who=hot[i];
					str= who.title || '4.0';
					tem= str.charAt(0);
					if(tem=='1') tem='3';
					else if(tem=='3') tem='2';
					else if(tem=='5') tem='1';
					Run.mrs(who,'color:#191970;fS:28px; subpic='+tem+';subtitle='+who.title.substring(2)+';title=');
					Run.hot.setHot(who);
					Run.addEvent(who,'mouseover','Run.index_preVu');
					Run.addEvent(who,'focus','Run.index_preVu');
				}
				Run.loadSrc('mr_apps','','Run.getquote');
			},
			index_preVu:function(e){
				var who= Run.whoEver(e);
				var wch= Run.getAtt(who,'subpic');
				wch= parseInt(wch)||1;
				var imgA=['',"art/ever.gif","areoka/areoka.gif","art/practical/mrhoo.gif","library/art/leatherbook.gif"];
				Run.mrs('picDiv','bgI:url("'+imgA[wch]+'");bgR:no-repeat');
			}
		}
		document.write('<script type= "text/javascript" src= "'+ Memry.Rte+ s1+ '" ><'+ '\/'+ 'script>');
	}
})()