function onLoad(){ // placeholder to be superseeded by inline def)
}
function MX_randomNumber(limit){ // returns num between 0 and limit
  return Math.floor(Math.random()*limit);
}
function MX_choseOneOf(one, two){
	var a=MX_choseOneOf.arguments;
	return a[MX_randomNumber(a.length)];
}
function MX_changeImageSrc(name, newURL){
	eval("document." + name + ".src='" + newURL + "'");
}
function MX_createDonateButton(){
	document.write('<a href="/a/support/donate.htm"><img src="/images/rot_donate/' + MX_choseOneOf('support1.gif', 'support2.gif', 'support3.gif', 'support4.gif', 'support5.gif', 'support6.gif', 'support6.gif') + '" alt="Please Support this Site" name="DonateRotImg2" width="100" height="78" border="0" id="DonateRotImg2"></a>');
}
function MX_changeDonateButtonSrc(){
	document.DonateRotImg.src= '/images/rot_donate/' + MX_choseOneOf('support1.gif', 'support2.gif', 'support3.gif', 'support4.gif', 'support5.gif', 'support6.gif', 'support6.gif');
}
function MX_rotateImageOnReload(imageID, srcDirectory, srcFileList ){ //('dsr_tt', '/images/dsr/tt/', 'dsr8.jpg', 'dsr_helen.jpg', 'dsr2.jpg');
	var a=MX_rotateImageOnReload.arguments, r=MX_randomNumber(a.length-2)+2;
	MX_changeImageSrc(a[0], a[1] + a[r])
}
function MX_rotateDSRtImage(){
	MX_rotateImageOnReload('dsr_tt', '/images/dsr/tt/', 'dsr9.jpg', 'dsr_helen.jpg', 'dsr3.jpg', 'dsr8.jpg', 'dsr6.jpg', 'dsr8.jpg', 'dsr9.jpg', 'dsr9.jpg', 'dsr10.jpg', 'dsr10.jpg', 'dsr11.jpg');
}
function MX_onLoad(){ var temp=0;}//overload on calling page
function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}
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 MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function mmLoadMenus() {
  if (window.mm_menu_0010114002_0) return;
        window.mm_menu_0010114002_0 = new Menu("root",185,21,"Verdana, Arial, Helvetica, sans-serif",13,"#333333","#ffffff","#ffcc99","#ff6600","left","middle",4,0,500,-5,7,true,true,true,5,true,true);
  mm_menu_0010114002_0.addMenuItem("&lt;&lt;&lt;&lt; Topics &gt;&gt;&gt;&gt;","location='/t/index.htm'");
  mm_menu_0010114002_0.addMenuItem("ABC&nbsp;of&nbsp;Gratefulness","location='/t/abc.htm'");
  mm_menu_0010114002_0.addMenuItem("Angels&nbsp;and&nbsp;Animals","location='/t/aanimals.htm'");
  mm_menu_0010114002_0.addMenuItem("At&nbsp;Home&nbsp;in&nbsp;the&nbsp;Body","location='/t/body.htm'");
  mm_menu_0010114002_0.addMenuItem("Caring&nbsp;for&nbsp;Earth","location='/t/motherearth.htm'");
  mm_menu_0010114002_0.addMenuItem("Children&nbsp;and&nbsp;Elders","location='/t/childrenelders.htm'");
  mm_menu_0010114002_0.addMenuItem("Confusion/Guidance","location='/t/guidance.htm'");
  mm_menu_0010114002_0.addMenuItem("Creativity&nbsp;","location='/t/creativity.htm'");
  mm_menu_0010114002_0.addMenuItem("Fear/Peace","location='/t/peace.htm'");
  mm_menu_0010114002_0.addMenuItem("Grief/Joy","location='/t/griefjoy.htm'");
  mm_menu_0010114002_0.addMenuItem("Loneliness/Belonging","location='/t/belonging.htm'");
  mm_menu_0010114002_0.addMenuItem("Religious&nbsp;Harmony","location='/t/religious.htm'");
  mm_menu_0010114002_0.addMenuItem("Simple&nbsp;Living","location='/t/simple.htm'");
   mm_menu_0010114002_0.fontWeight="bold";
   mm_menu_0010114002_0.hideOnMouseOut=true;
   mm_menu_0010114002_0.bgColor='#cccccc';
   mm_menu_0010114002_0.menuBorder=1;
   mm_menu_0010114002_0.menuLiteBgColor='#cccccc';
   mm_menu_0010114002_0.menuBorderBgColor='#ff6600';
          window.mm_menu_0109190446_1 = new Menu("root",212,21,"Verdana, Arial, Helvetica, sans-serif",13,"#333333","#ffffff","#ffcc99","#ff6600","left","middle",4,0,500,-5,7,true,true,true,5,true,true);
  mm_menu_0109190446_1.addMenuItem("&lt;&lt;&lt;&lt;&lt; Features &gt;&gt;&gt;&gt;&gt;","location='/features.htm'");
  mm_menu_0109190446_1.addMenuItem("Angels&nbsp;of&nbsp;the&nbsp;Hours","location='/angels/default.cfm'");
  mm_menu_0109190446_1.addMenuItem("Brother&nbsp;David","location='/brotherdavid/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Calendar","location='/calendar/index.cfm'");
  mm_menu_0109190446_1.addMenuItem("Candles&nbsp;(Light&nbsp;A&nbsp;Candle)","location='/candles/enter.cfm?l=eng'");
  mm_menu_0109190446_1.addMenuItem("E-cards&nbsp;(Send&nbsp;an&nbsp;Ecard)","location='/ecards/index.cfm'");
  mm_menu_0109190446_1.addMenuItem("Grateful&nbsp;News","location='/gratefulnews/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Gift&nbsp;People","location='/giftpeople/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Gratefulness&nbsp;Books","location='/books/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Haiku","location='/haiku/index.cfm'");
  mm_menu_0109190446_1.addMenuItem("Labyrinth&nbsp;Pilgrimage","location='/labyrinth/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Light&nbsp;Up&nbsp;the&nbsp;World","location='/lightup/world.htm'");
  mm_menu_0109190446_1.addMenuItem("Picture&nbsp;Gallery","location='/picturegallery/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Poetry","location='/poetry/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Questions&nbsp;and&nbsp;Answers","location='/qbox/index.cfm'");
  mm_menu_0109190446_1.addMenuItem("Readings","location='/readings/index.htm'");
  mm_menu_0109190446_1.addMenuItem("Word&nbsp;for&nbsp;the&nbsp;Day","location='/word/index.htm'");
   mm_menu_0109190446_1.fontWeight="bold";
   mm_menu_0109190446_1.hideOnMouseOut=true;
   mm_menu_0109190446_1.bgColor='#cccccc';
   mm_menu_0109190446_1.menuBorder=1;
   mm_menu_0109190446_1.menuLiteBgColor='#cccccc';
   mm_menu_0109190446_1.menuBorderBgColor='#ff6600';

mm_menu_0109190446_1.writeMenus();
} // mmLoadMenus()
function nclick(){ var nclick= false;	return eval("nclick");}//nn

var addthis_config =
{
   ui_cobrand:'Gratefulness.org'
	,data_use_flash:false
	,data_use_cookies:false
	,addthis_append_data:false
}

var go_addthis='\
    <a class="addthis_button_email"></a>\
    <a class="addthis_button_print"></a>\
    <a class="addthis_button_favorites" title="Save to Favorites/Bookmarks"></a>\
    <a class="addthis_button_twitter"></a>\
    <a class="addthis_button_facebook"></a>\
    <a class="addthis_button_myspace"></a>\
    <a class="addthis_button_stumbleupon"></a>\
    <a class="addthis_button_digg"></a>\
    <span class="addthis_separator">|</span>\
    <a class="addthis_button_compact">More</a>\
';
var go_addthis_top='<div class="addthis_toolbox addthis_default_style" style="margin-bottom:10px;float:right">' + go_addthis + '</div>\
<div style="clear:both;"></div>';

var go_addthis_bottom='<div class="addthis_toolbox addthis_default_style" style="margin:40px 0 0 80px">' + go_addthis + '</div>';
/* (c) 2008, 2009 Add This, LLC */
if(!window._ate){var _atd="www.addthis.com/",_atr="//s7.addthis.com/",_euc=encodeURIComponent,_duc=decodeURIComponent,_atu="undefined",_atc={dr:0,ver:250,loc:0,enote:"",cwait:500,tamp:0.2,samp:0.01,camp:1,vamp:1,addr:-1,addt:1,xfl:!!window.addthis_disable_flash,abf:!!window.addthis_do_ab};(function(){try{var l=window.location;if(l.protocol.indexOf("file")===0){_atr="http:"+_atr;}if(l.hostname.indexOf("localhost")!=-1){_atc.loc=1;}}catch(e){}var ua=navigator.userAgent.toLowerCase(),d=document,w=window,wa=w.addEventListener,we=w.attachEvent,dl=d.location,b={win:/windows/.test(ua),chr:/chrome/.test(ua),iph:/iphone/.test(ua),saf:(/webkit/.test(ua))&&!(/chrome/.test(ua)),web:/webkit/.test(ua),opr:/opera/.test(ua),msi:(/msie/.test(ua))&&!(/opera/.test(ua)),ffx:/firefox/.test(ua),ie6:/msie 6.0/.test(ua),ie7:/msie 7.0/.test(ua),mod:-1},_9={isBound:false,isReady:false,readyList:window.addthis_onload||[],onReady:function(){if(!_9.isReady){_9.isReady=true;var l=_9.readyList;for(var fn=0;fn<l.length;fn++){l[fn].call(window);}_9.readyList=[];}},addLoad:function(_c){var _d=w.onload;if(typeof w.onload!="function"){w.onload=_c;}else{w.onload=function(){if(_d){_d();}_c();};}},bindReady:function(){if(r.isBound){return;}r.isBound=true;if(d.addEventListener&&!b.opr){d.addEventListener("DOMContentLoaded",r.onReady,false);}var _e=window.addthis_product;if(_e&&_e.indexOf("f")>-1){r.onReady();return;}if(b.msi&&window==top){(function(){if(r.isReady){return;}try{d.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}r.onReady();})();}if(b.opr){d.addEventListener("DOMContentLoaded",function(){if(r.isReady){return;}for(var i=0;i<d.styleSheets.length;i++){if(d.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}}r.onReady();},false);}if(b.saf){var _10;(function(){if(r.isReady){return;}if(d.readyState!="loaded"&&d.readyState!="complete"){setTimeout(arguments.callee,0);return;}if(_10===undefined){var _12=d.gn("link");for(var i=0;i<_12.length;i++){if(_12[i].getAttribute("rel")=="stylesheet"){_10++;}}var _14=d.gn("style");_10+=_14.length;}if(d.styleSheets.length!=_10){setTimeout(arguments.callee,0);return;}r.onReady();})();}r.addLoad(r.onReady);},append:function(fn,_16){r.bindReady();if(r.isReady){fn.call(window,[]);}else{r.readyList.push(function(){return fn.call(window,[]);});}}},r=_9,_17={vst:[],rev:"$Rev: 69494 $",bro:b,clck:1,show:1,dl:dl,camp:_atc.camp-Math.random(),samp:_atc.samp-Math.random(),vamp:_atc.vamp-Math.random(),tamp:_atc.tamp-Math.random(),ab:"-",scnt:1,seq:1,inst:1,wait:500,tmo:null,cvt:[],svt:[],sttm:new Date().getTime(),max:268435455,pix:"tev",sid:0,sub:!!window.at_sub,uid:null,oot:null,swf:"//bin.clearspring.com/at/v/1/button1.6.swf",evu:"//e1.clearspring.com/at/",ifpp:null,com:function(m){if(window.parent&&window.postMessage){window.parent.postMessage(m,"*");}else{_17.ifm(m);}},ifm:function(m){if(addthis_wpl){var a=(addthis_wpl.split("#"))[0];window.parent.location.href=a+"#at"+m;}return false;},hash:window.location.hash,ifp:function(){var a=_17,m=window.location.hash,p=0;if(m&&m.indexOf("#at")>-1){m=m.substr(3).split(";");for(var k in m){var v=m[k].length>3?m[k].substr(0,3):null;switch(v){case"ssh":p=1;a.ssh(m[k].substr(4));break;case"uid":p=1;a.asetup(m[k].substr(4));break;}}if(p){if(!a.hash.length||a.hash==""){a.hash="#";}window.location.hash=a.hash;}}if(a.gssh&&a.guid){clearInterval(a.ifpp);}},pmh:function(e){if(e.origin.substr(e.origin.length-12)==".addthis.com"){var _21=e.data.split(";");for(var m in _21){var msg=_21[m],typ=msg&&typeof(msg)=="string"?msg.substr(0,3):"";if(typ=="uid"){_17.asetup(_21[m].substr(4));}else{if(typ=="ssh"){_17.ssh(_21[m].substr(4));}}}}},ssh:function(ssh){_17.gssh=1;window.addthis_ssh=_duc(ssh);},mun:function(s){var mv=291;if(s){for(var i=0;i<s.length;i++){mv=(mv*(s.charCodeAt(i)+i)+3)&1048575;}}return(mv&16777215).toString(32);},ibt:function(){if(_17.bti){return _17.bti;}var _29=(window.addthis_product||"men").substr(0,3),_2a=_29=="bkm"||_29=="fct"||_29=="fxe";if(_2a){_17.bti=_2a;}return _2a;},off:function(){return Math.floor((new Date().getTime()-_17.sttm)/100).toString(16);},ran:function(){return Math.floor(Math.random()*4294967295).toString(36);},srd:function(){if(_17.dr){return"&pre="+_euc(_17.dr);}else{return"";}},cst:function(c){return"CXNID=2000001.521545608054043907"+(c||2)+"NXC";},imgz:[],hrr:function(_2c){if(_2c&&_2c.urls&&_2c.urls instanceof Array){for(var i=0;i<_2c.urls.length;i++){var img=new Image();_17.imgz.push(img);img.src=_2c.urls[i];}}},img:function(i,c){if(!window.at_sub&&!_atc.xtr){var a=_17,dr=a.dr,rev=((a.rev||"").split(" "));if(dr){dr=(dr.split("?")).shift();dr=(dr.split("http://")).pop();if(dr.length>25){dr=dr.substr(0,25);}}var img=new Image();a.imgz.push(img);img.src=_atr+"live/t00/"+i+".gif?"+(a.uid!==null?"uid="+a.uid+"&":"")+a.ran()+"&"+a.cst(c)+(a.pub()?"&pub="+a.pub():"")+(dr?"&dr="+_euc(dr):"")+(rev.length>1?"&rev="+rev[1]:"");}},cuid:function(){return(_17.sttm&_17.max).toString(16)+(Math.floor(Math.random()*_17.max)).toString(16);},ssid:function(){if(_17.sid===0){_17.sid=_17.cuid();}return _17.sid;},sev:function(id,_36){_17.pix="sev-"+(typeof(id)!=="number"?_euc(id):id);_17.svt.push(id+";"+_17.off());if(_36===1){_17.xmi(true);}else{_17.sxm(true);}},cev:function(k,v){_17.pix="cev-"+_euc(k);_17.cvt.push(_euc(k)+"="+_euc(v)+";"+_17.off());_17.sxm(true);},sxm:function(b){if(_17.tmo!==null){clearTimeout(_17.tmo);}if(b){_17.tmo=_17.sto("_ate.xmi(false)",_17.wait);}},sto:function(c,t){return setTimeout(c,t);},sta:function(){var a=_17;return"AT-"+(a.pub()?a.pub():"unknown")+"/-/"+a.ab+"/"+a.ssid()+"/"+(a.seq++)+(a.uid!==null?"/"+a.uid:"");},xred:function(){var w=window,a=_17,hp=0,dr=d.referer||d.referrer||"",du=dl?dl.href:null,fnd=0;if(a.camp>=0&&du&&dl&&dl.protocol&&(dr.indexOf(".com")>-1)&&(dl.protocol.indexOf("https")==-1)){if(dr&&dr.match(/ws\/results\/(Web|Images|Video|News)/)){fnd=1;}else{if(dr.indexOf(".com/search")>-1){var t=dr.split("?").pop().split("&");for(var i=0;i<t.length;i++){if(t[i].indexOf("q=")===0||t[i].indexOf("p=")===0||t[i].indexOf("query")===0||t[i].indexOf("qry")===0||t[i].indexOf("text")===0){fnd=1;break;}}}}if(!_atc.xtr&&!_atc.xck&&fnd&&a.mun(a.pub())!=="mu2r"){var o=d.ce("script");o.src="//cf.addthis.com/red/p.json?callback=_ate.hrr"+(a.pub()?"&pub="+a.pub():"")+(a.uid&&a.uid!=="anonymous"?"&uid="+_euc(a.uid):"")+"&url="+_euc(du)+"&ref="+_euc((d.referer||d.referrer));d.gn("head")[0].appendChild(o);}}},xld:function(){var a=_17;if(!a.xld_p){a.xld_p=1;if(a.samp>=0&&!a.sub){a.sev("20");a.cev("plo",Math.round(1/_atc.samp));if(a.dr){a.cev("pre",a.dr);}}a.xred();a.img(_atc.ver+"lo","2");}},xmi:function(_47){var a=_17,h=a.dl?a.dl.hostname:"";if(!a.uid){a.dck("X"+a.cuid());}else{a.coo();}if(a.cvt.length+a.svt.length>0){a.sxm(false);if(a.seq===1){a.cev("pin",a.inst);}if(_atc.xtr){return;}if(h.indexOf(".gov")>-1||h.indexOf(".mil")>-1){_atc.xck=1;}var urp=a.pix+"-"+a.ran()+".png?ev="+_17.sta()+"&se="+a.svt.join(",")+"&ce="+a.cvt.join(",")+(_atc.xck?"&xck=1":""),url=a.evu+urp;a.cvt=[];a.svt=[];if(_47){var d=document,i=d.ce("iframe");i.id="_atf";i.src=url;_17.opp(i.style);d.body.appendChild(i);i=d.getElementById("_atf");}else{var img=new Image();a.imgz.push(img);img.src=url;}}},loc:function(){return _atc.loc;},opp:function(st){st.width=st.height="1px";st.position="absolute";st.zIndex=100000;},pub:function(){return window.addthis_config&&addthis_config.username?_euc(addthis_config.username):(window.addthis_pub||"");},plo:[],lad:function(x){_17.plo.push(x);},lng:function(al){var d=document;if(al&&(al.toLowerCase()).indexOf("en")!==0&&!_17.pll){_17.pll=_17.ajs("static/r07/lang01.js");}},ajs:function(_53){var o=d.ce("script");o.src=_atr+_53;d.gn("head")[0].appendChild(o);return o;},jlo:function(){try{var d=document,al=(window.addthis_language||addthis_config.ui_language||(_17.bro.msi?navigator.userLanguage:navigator.language));_17.lng(al);if(!_17.pld){_17.pld=_17.ajs("static/r07/menu35.js");}}catch(e){}},igv:function(u,t){if(!w.addthis_share){w.addthis_share={url:w.addthis_url||u,title:w.addthis_title||t};}if(!w.addthis_config){w.addthis_config={username:w.addthis_pub};}else{if(addthis_config.data_use_flash===false){_atc.xfl=1;}if(addthis_config.data_use_cookies===false){_atc.xck=1;}}},lod:function(arg){try{var w=window,a=_17,hp=0,f=((arg===1||w.addthis_load_flash)&&!_atc.abf),dr=d.referer||d.referrer||"",du=dl?dl.href:null,si=du?du.indexOf("sms_ss"):-1,ifr=d.ce("iframe"),al=((w.addthis_language||(w.addthis_config?w.addthis_config.ui_language:null)||(_17.bro.msi?navigator.userLanguage:navigator.language)).split("-"))[0],_63=_atr+"static/r07/sh05.html",lks=d.getElementsByTagName("link");for(var i=0;i<lks.length;i++){var l=lks[i];if(l.rel&&l.rel=="canonical"&&l.href){du=l.href;}}a.igv(du,d.title||"");_17.gov();a.dr=dr;a.ab=(!al||al=="en")&&(a.bro.ffx||a.bro.msi)&&!a.ibt()?"ps-"+(window.addthis_ab!==undefined?addthis_ab:(a.tamp>0?Math.min(4,Math.floor(Math.random()*4+1)):0)):"~";var _67=(a.swf&&!_atc.xfl&&!(a.loc())&&!_atc.abf&&(f||a.uid===null||(a.uid!=="anonymous"&&a.oot&&((new Date()).getTime()-a.oot>60480000))));_63+="#swfp="+(_67&&a.bro.msi?1:0);if(!a.bro.msi&&_67){var _68=function(o,n,v){var c=d.ce("param");c.name=n;c.value=v;o.appendChild(c);},div=d.ce("div"),o=d.ce("object");o.id="atff";o.data=a.swf;o.width=o.height="1px";o.quality="high";o.type="application/x-shockwave-flash";_68(o,"wmode","transparent");_68(o,"allowScriptAccess","always");div.appendChild(o);d.body.insertBefore(div,d.body.firstChild);}if(dl.href.indexOf(_atr)==-1){ifr.id="_atssh";a.opp(ifr.style);ifr.width=ifr.height=1;ifr.frameborder=ifr.style.border=0;ifr.style.top=ifr.style.left=0;if(window.postMessage){ifr.src=_63;if(_17.bro.msi){window.attachEvent("onmessage",a.pmh);}else{window.addEventListener("message",a.pmh,false);}}else{if(a.hash.indexOf("#atuid")===0||a.hash.indexOf("#atssh")===0){window.location.hash=a.hash="#";}ifr.src=_63+"&wpl="+_euc(dl.href);if(a.ifpp){clearInterval(a.ifpp);}a.ifpp=setInterval(function(){_17.ifp();},50);}ifr=d.body.appendChild(ifr);a.sifr=ifr;}if(!f){if(_67){a.uoo();a.sto("_ate.xld()",5000);}else{a.guid=1;a.xld();}if(si>-1){var sm=du.substr(si),am=sm.indexOf("&");if(am>-1){sm=sm.substr(0,am);}sm=(sm.split("="))[1];if(a.vamp>=0&&!a.sub&&sm.length){a.cev("plv",Math.round(1/_atc.vamp));a.cev("rsc",sm);}}}if(a.plo.length>0){a.jlo();}}catch(e){}},kck:function(k){var d=document;if(d.cookie){d.cookie=k+"= ; expires=Tue, 31 Mar 2009 05:47:11 UTC; path=/";}},rck:function(k){var d=document;if(d.cookie){var ck=d.cookie.split(";");for(var i=0;i<ck.length;i++){var c=ck[i],x=c.indexOf(k+"=");if(x>=0){return c.substring(x+(k.length+1));}}}return;},uoo:function(){_17.sck("_csoot",(new Date().getTime()));},coo:function(f){if(_17.uid=="anonymous"&&!_17.oot){_17.xck=1;_17.uoo();}},dck:function(c){_17.uid=c;_17.sck("_csuid",c);_17.coo();},gov:function(){var h=_17.dl?_17.dl.hostname:"";if(h.indexOf(".gov")>-1||h.indexOf(".mil")>-1){_atc.xck=1;_atc.xfl=1;}var p=_17.pub(),x=["usarmymedia","gobiernousa","govdelivery"];for(i in x){if(p==x[i]){_atc.xck=1;_atc.xfl=1;break;}}},sck:function(u,v,s){_17.gov();if(!_atc.xck){d.cookie=u+"="+v+(!s?"; expires=Wed, 04 Oct 2028 03:19:53 GMT":"")+"; path=/";}},fcl:null,asetup:function(x){var a=_17;try{if(!a.guid){a.guid=1;if(x!==null&&x!==_atu){a.dck(x);}if(a.fcl){a.fcl();}a.xld();}}catch(e){}return x;},ao:function(elt,_85,_86,_87,_88,_89){_17.lad(["open",elt,_85,_86,_87,_88,_89]);_17.jlo();return false;},ac:function(){},as:function(s,cf,sh){_17.lad(["send",s,cf,sh]);_17.jlo();}},a=_17;w._ate=a;w._adr=r;d.ce=d.createElement;d.gn=d.getElementsByTagName;r.bindReady();if(!_atc.ost){if(!w.addthis_conf){w.addthis_conf={};}for(var i in addthis_conf){_atc[i]=addthis_conf[i];}_atc.ost=1;}r.append(a.lod);if(d.cookie){var ck=d.cookie.split(";");for(var i=0;i<ck.length;i++){var c=ck[i],x=c.indexOf("_csuid="),y=c.indexOf("_csoot=");if(x>=0){_17.uid=c.substring(x+7);}else{if(y>=0){_17.oot=c.substring(y+7);}}}}try{var l=d.ce("link");l.rel="stylesheet";l.type="text/css";l.href=_atr+"static/r07/widget19.css";l.media="all";d.gn("head")[0].appendChild(l);}catch(e){}var ss=d.gn("script"),s=ss[ss.length-1],q=s.src.indexOf("#")>-1?s.src.replace(/^[^\#]+\#?/,""):s.src.replace(/^[^\?]+\??/,""),pq=function(q){var p={};if(!q){return p;}var ps=q.split(/[;&]/);for(var i=0;i<ps.length;i++){var kv=ps[i].split("=");if(!kv||kv.length!=2){continue;}var k=_duc(kv[0]),v=_duc(kv[1]);v=v.replace(/\+/g," ");ps[k]=v;}return ps;},p=pq(q);if(p.pub){w.addthis_pub=_duc(p.pub);if(w.addthis_config){w.addthis_config.username=w.addthis_pub;}}else{if(p.username){w.addthis_pub=_duc(p.username);if(w.addthis_config){w.addthis_config.username=w.addthis_pub;}}}if(p.domready){_atc.dr=1;}try{if(_atc.ver===120){var rc="atb"+w._ate.cuid();d.write("<span id=\""+rc+"\"></span>");w._ate.igv();w._ate.lad(["span",rc,addthis_share.url||"[url]",addthis_share.title||"[title]"]);}if(w.addthis_clickout){_17.lad(["cout"]);}}catch(e){}})();function addthis_open(elt,_a0,_a1,_a2,_a3,_a4){if(typeof _a3=="string"){_a3=null;}return _ate.ao(elt,_a0,_a1,_a2,_a3,_a4);}function addthis_close(){_ate.ac();}function addthis_sendto(s,cf,sh){_ate.as(s,cf,sh);return false;}if(_atc.dr){_adr.onReady();}}else{_ate.inst++;}if(_atc.abf){addthis_open(document.getElementById("ab"),"emailab",window.addthis_url||"[URL]",window.addthis_title||"[TITLE]");}if(!window.addthis||window.addthis.nodeType!==undefined){window.addthis={ost:0,cache:{},plo:[],links:[],ems:[],button:function(){this.plo.push({call:"button",args:arguments});},toolbox:function(){this.plo.push({call:"toolbox",args:arguments});},update:function(){this.plo.push({call:"update",args:arguments});}};}_adr.append((function(){if(!window.addthis.ost){var d=document,u=undefined,w=window,_4=w.addthis_config,_5=w.addthis_share,_6={},_7={},_8=d.gn("body").item(0),_9=function(o,n){if(n&&o!==n){for(var k in n){if(o[k]===u){o[k]=n[k];}}}},_d=function(o,n){var r={};for(var k in o){if(n[k]){r[k]=n[k];}else{r[k]=o[k];}}return r;},_12=window.addthis,_13=function(_14){return"mailto:?subject="+(_14.title?_14.title:"%20")+"&body="+(_14.title?_14.title+"%0D%0A":"")+(_14.url)+"%0D%0A%0D%0AShared via AddThis.com";},_15=function(_16,tag,_18,_19){tag=tag.toUpperCase();var els=(_16==_8&&_12.cache[tag]?_12.cache[tag]:(_16||_8).getElementsByTagName(tag)),rv=[],o;if(_16==_8){_12.cache[tag]=els;}_18=_18.replace(/\-/g,"\\-");var rx=new RegExp("(^|\\s)"+_18+(_19?"\\w*":"")+"(\\s|$)");for(var i=0;i<els.length;i++){o=els[i];if(rx.test(o.className)){rv.push(o);}}return(rv);},_1f={"aim":"AIM","kirtsy":"kIRTSY","linkagogo":"Link-a-Gogo","meneame":"Men&eacute;ame","misterwong":"Mister Wong","myaol":"myAOL","myspace":"MySpace","yahoobkm":"Y! Bookmarks","typepad":"TypePad","wordpress":"WordPress"},_20={email:"Email",print:"Print",favorites:"Save to Favorites",twitter:"Tweet This",digg:"Digg This"},_21={services_custom:1},_22={more:1,email:1},_23={email:1,print:1,more:1,favorites:1},_24=["username","services_custom","services_custom_name","services_custom_url","services_custom_title","services_exclude","services_compact","services_expanded","ui_click","ui_hide_embed","ui_delay","ui_hover_direction","ui_language","ui_offset_top","ui_offset_left","ui_header_color","ui_header_background","ui_icons","ui_cobrand","data_use_flash","data_use_cookies","data_track_linkback"],_25=["url","title","templates","email_template","email_vars","description","content"],_26=d.getElementsByClassname||_15,_27=function(_28,_29){var sv=_28.services instanceof Array?_28.services[0]:_28.services||"";return"http://"+_atd+"bookmark.php?v="+_atc.ver+"&pub="+_euc(_ate.pub())+"&s="+sv+(_29.url?"&url="+_euc(_29.url):"")+(_29.title?"&title="+_euc(_29.title):"");},_2b=function(_2c){if(typeof _2c=="string"){var c=_2c.substr(0,1);if(c=="#"){_2c=d.getElementById(_2c.substr(1));}else{if(c=="."){_2c=_26(_8,"*",_2c.substr(1));}else{}}}if(!(_2c instanceof Array)){_2c=[_2c];}return _2c;},_2e=function(el,_30,_31,_32){var rv={};_31=_31||{};for(var i=0;i<_30.length;i++){if(_31[_30[i]]&&!_32){rv[_30[i]]=_31[_30[i]];}else{if(el){var p="addthis:"+_30[i],v=el.getAttribute?el.getAttribute(p)||el[p]:el[p];if(v){rv[_30[i]]=v;}else{if(_31[_30[i]]){rv[_30[i]]=_31[_30[i]];}}}}if(rv[_30[i]]!==undefined&&_21[_30[i]]&&(typeof rv[_30[i]]=="string")){eval("var e = "+rv[_30[i]]);rv[_30[i]]=e;}}return rv;},_37=function(el,_39,_3a,_3b){var rv={conf:_39||{},share:_3a||{}};rv.conf=_2e(el,_24,_39,_3b);rv.share=_2e(el,_25,_3a,_3b);return rv;},_3d=function(_3e,_3f,_40){if(_3e){_3f=_3f||{};_40=_40||{};var _41=_3f.conf||_4,_42=_3f.share||_5;var _43=_40.onmouseover,_44=_40.onmouseout,_45=_40.onclick,_46=_40.internal,ss=_40.singleservice;if(ss){_41.product="tbx-"+_atc.ver;if(_45===u){_45=_22[ss]?function(el,_49,_4a){var s=_d(_4a,_7);return addthis_open(el,ss,s.url,s.title,_d(_49,_6),s);}:_23[ss]?function(el,_4d,_4e){var s=_d(_4e,_7);return addthis_sendto(ss,_d(_4d,_6),s);}:null;}}else{if(!_40.noevents){if(!_40.nohover&&(!_41||!_41.ui_click)){if(_43===u){_43=function(el,_51,_52){return addthis_open(el,"",null,null,_51,_52);};}if(_44===u){_44=function(el){return addthis_close();};}if(_45===u){_45=function(el,_55,_56){return addthis_sendto("more",_55,_56);};}}else{if(!_41||!_41.ui_click){if(_45===u){_45=function(el,_58,_59){return addthis_open(el,"more");};}}else{if(_45===u){_45=function(el,_5b,_5c){return addthis_open(el,"",null,null,_5b,_5c);};}}}}}_3e=_2b(_3e);for(var i=0;i<_3e.length;i++){var o=_3e[i],_5f=_37(o,_41,_42,true)||{};_9(_5f.conf,_4);_9(_5f.share,_5);o.conf=_5f.conf;o.share=_5f.share;if(o.conf.ui_language){_ate.lng(o.conf.ui_language);}if(_43){o.onmouseover=function(){return _43(this,this.conf,this.share);};}if(_44){o.onmouseout=function(){return _44(this);};}if(_45){o.onclick=function(){return _45(this,this.conf,this.share);};}if(o.tagName.toLowerCase()=="a"){if(ss){o.conf.product="tbx-"+_atc.ver;if((_ate.bro.ffx||_ate.bro.saf||_ate.bro.chr||_ate.bro.iph)&&!_23[ss]){var _60=o.share.templates&&o.share.templates[ss]?o.share.templates[ss]:"";o.href="//"+_atd+"bookmark.php?pub="+_euc(addthis_config.username||o.conf.username||_ate.pub())+"&v="+_atc.ver+"&source=tbx-"+_atc.ver+"&s="+ss+"&url="+_euc(_5f.share.url||addthis_share.url||"")+"&title="+_euc(_5f.share.title||addthis_share.title||"")+"&content="+_euc(_5f.share.content||addthis_share.content||"")+(_60?"&template="+_euc(_60):"")+(o.conf.data_track_linkback?"&sms_ss=1":"");o.target="_blank";_12.links.push(o);}else{if(!_23[ss]){o.onclick=function(){return addthis_sendto.call(this,ss,_d(this.conf,_6),_d(this.share,_7));};}else{if(ss=="email"&&(o.conf.ui_use_mailto||_ate.bro.iph)){o.href=_13(o.share);o.onclick=null;_12.ems.push(o);}}}if(!o.title){o.title=_20[ss]?_20[ss]:"Send to "+(_1f[ss]?_1f[ss]:ss.substr(0,1).toUpperCase()+ss.substr(1));}}}if(_46){var app=_46;if(!o.hasChildNodes()){if(_46=="img"){var img=d.ce("img");img.width=125;img.height=16;img.border=0;img.alt="Share";img.src="//s7.addthis.com/static/btn/v2/lg-share-en.gif";app=img;}o.appendChild(app);}}}}},_63=_15(_8,"A","addthis_button_",true),_64=function(_65,_66,_67,_68){for(var i=0;i<_65.length;i++){var b=_65[i];if(b==null){continue;}if(_68!==false||!b.ost){var _66=_66||_4;_67=_67||_5;attr=_37(b,_66,_67,true),hc=0,a="at300";c=b.className||"",s=c.match(/addthis_button_([\w\.]+)(?:\s|$)/),opts=u,sv=s&&s.length?s[1]:0;if(sv){if(!b.childNodes.length){var sp=d.ce("span");b.appendChild(sp);sp.className=a+"bs at15t_"+sv;}else{if(b.childNodes.length==1){var cn=b.childNodes[0];if(cn.nodeType==3){var sp=d.ce("span"),tv=cn.nodeValue;b.insertBefore(sp,cn);sp.className=a+"bs at15t_"+sv;}}else{hc=1;}}if(sv==="compact"){if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"m";}}else{if(sv==="expanded"){if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"m";}opts={nohover:true};}else{if(!hc&&c.indexOf(a)==-1){b.className+=" "+a+"b";}opts={singleservice:sv};}}_3d([b],attr,opts);b.ost=1;}}}};_12.update=function(_6e,_6f,_70){if(_6e=="share"){if(!window.addthis_share){window.addthis_share={};}window.addthis_share[_6f]=_70;_7[_6f]=_70;for(var i in _12.links){var o=_12.links[i],rx=new RegExp("&"+_6f+"=(.*)&"),ns="&"+_6f+"="+_euc(_70)+"&";o.href=o.href.replace(rx,ns);if(o.href.indexOf(_6f)==-1){o.href+=ns;}}for(var i in _12.ems){var o=_12.ems[i];o.href=_13(addthis_share);}}else{if(_6e=="config"){if(!window.addthis_config){window.addthis_config={};}window.addthis_config[_6f]=_70;_6[_6f]=_70;}}};_12.button=function(_75,_76,_77){_3d(_75,{conf:_76,share:_77},{internal:"img"});};_12.toolbox=function(_78,_79,_7a){var _7b=_2b(_78);for(var i=0;i<_7b.length;i++){var tb=_7b[i],_7e=_37(tb,_79,_7a),sp=d.ce("div"),c=tb.getElementsByTagName("a");if(c){_64(c,_7e.conf,_7e.share);}tb.appendChild(sp);sp.className="atclear";}};_12.ready=function(){if(this.ost){return;}this.ost=1;var a=".addthis_";_12.toolbox(a+"toolbox");_12.button(a+"button");_64(_63,null,null,false);for(var i=0;i<this.plo.length;i++){_12[this.plo[i].call].apply(this,this.plo[i].args);}};window.addthis=_12;window.addthis.ready();}}));

/**
 * mm_menu 20MAR2002 Version 6.0
 */
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad, space, to, sx, sy, srel, opq, vert, idt, aw, ah) 
{
	this.version = "020320 [Menu; mm_menu.js]";
	this.type = "Menu";
	this.menuWidth = mw;
	this.menuItemHeight = mh;
	this.fontSize = fs;
	this.fontWeight = "plain";
	this.fontFamily = fnt;
	this.fontColor = fclr;
	this.fontColorHilite = fhclr;
	this.bgColor = "#555555";
	this.menuBorder = 1;
	this.menuBgOpaque=opq;
	this.menuItemBorder = 1;
	this.menuItemIndent = idt;
	this.menuItemBgColor = bg;
	this.menuItemVAlign = valgn;
	this.menuItemHAlign = halgn;
	this.menuItemPadding = pad;
	this.menuItemSpacing = space;
	this.menuLiteBgColor = "#ffffff";
	this.menuBorderBgColor = "#777777";
	this.menuHiliteBgColor = bgh;
	this.menuContainerBgColor = "#cccccc";
	this.childMenuIcon = "arrows.gif";
	this.submenuXOffset = sx;
	this.submenuYOffset = sy;
	this.submenuRelativeToItem = srel;
	this.vertical = vert;
	this.items = new Array();
	this.actions = new Array();
	this.childMenus = new Array();
	this.hideOnMouseOut = true;
	this.hideTimeout = to;
	this.addMenuItem = addMenuItem;
	this.writeMenus = writeMenus;
	this.MM_showMenu = MM_showMenu;
	this.onMenuItemOver = onMenuItemOver;
	this.onMenuItemAction = onMenuItemAction;
	this.hideMenu = hideMenu;
	this.hideChildMenu = hideChildMenu;
	if (!window.menus) window.menus = new Array();
	this.label = " " + label;
	window.menus[this.label] = this;
	window.menus[window.menus.length] = this;
	if (!window.activeMenus) window.activeMenus = new Array();
}

function addMenuItem(label, action) {
	this.items[this.items.length] = label;
	this.actions[this.actions.length] = action;
}

function FIND(item) {
	if( window.mmIsOpera ) return(document.getElementById(item));
	if (document.all) return(document.all[item]);
	if (document.getElementById) return(document.getElementById(item));
	return(false);
}

function writeMenus(container) {
	if (window.triedToWriteMenus) return;
	var agt = navigator.userAgent.toLowerCase();
	window.mmIsOpera = agt.indexOf("opera") != -1;
	if (!container && document.layers) {
		window.delayWriteMenus = this.writeMenus;
		var timer = setTimeout('delayWriteMenus()', 500);
		container = new Layer(100);
		clearTimeout(timer);
	} else if (document.all || document.hasChildNodes || window.mmIsOpera) {
		document.writeln('<span id="menuContainer"></span>');
		container = FIND("menuContainer");
	}

	window.mmHideMenuTimer = null;
	if (!container) return;	
	window.triedToWriteMenus = true; 
	container.isContainer = true;
	container.menus = new Array();
	for (var i=0; i<window.menus.length; i++) 
		container.menus[i] = window.menus[i];
	window.menus.length = 0;
	var countMenus = 0;
	var countItems = 0;
	var top = 0;
	var content = '';
	var lrs = false;
	var theStat = "";
	var tsc = 0;
	if (document.layers) lrs = true;
	for (var i=0; i<container.menus.length; i++, countMenus++) {
		var menu = container.menus[i];
		if (menu.bgImageUp || !menu.menuBgOpaque) {
			menu.menuBorder = 0;
			menu.menuItemBorder = 0;
		}
		if (lrs) {
			var menuLayer = new Layer(100, container);
			var lite = new Layer(100, menuLayer);
			lite.top = menu.menuBorder;
			lite.left = menu.menuBorder;
			var body = new Layer(100, lite);
			body.top = menu.menuBorder;
			body.left = menu.menuBorder;
		} else {
			content += ''+
			'<div id="menuLayer'+ countMenus +'" style="position:absolute;z-index:1;left:10px;top:'+ (i * 100) +'px;visibility:hidden;color:' +  menu.menuBorderBgColor + ';">\n'+
			'  <div id="menuLite'+ countMenus +'" style="position:absolute;z-index:1;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;" onmouseout="mouseoutMenu();">\n'+
			'	 <div id="menuFg'+ countMenus +'" style="position:absolute;left:'+ menu.menuBorder +'px;top:'+ menu.menuBorder +'px;visibility:hide;">\n'+
			'';
		}
		var x=i;
		for (var i=0; i<menu.items.length; i++) {
			var item = menu.items[i];
			var childMenu = false;
			var defaultHeight = menu.fontSize+2*menu.menuItemPadding;
			if (item.label) {
				item = item.label;
				childMenu = true;
			}
			menu.menuItemHeight = menu.menuItemHeight || defaultHeight;
			var itemProps = '';
			if( menu.fontFamily != '' ) itemProps += 'font-family:' + menu.fontFamily +';';
			itemProps += 'font-weight:' + menu.fontWeight + ';fontSize:' + menu.fontSize + 'px;';
			if (menu.fontStyle) itemProps += 'font-style:' + menu.fontStyle + ';';
			if (document.all || window.mmIsOpera) 
				itemProps += 'font-size:' + menu.fontSize + 'px;" onmouseover="onMenuItemOver(null,this);" onclick="onMenuItemAction(null,this);';
			else if (!document.layers) {
				itemProps += 'font-size:' + menu.fontSize + 'px;';
			}
			var l;
			if (lrs) {
				var lw = menu.menuWidth;
				if( menu.menuItemHAlign == 'right' ) lw -= menu.menuItemPadding;
				l = new Layer(lw,body);
			}
			var itemLeft = 0;
			var itemTop = i*menu.menuItemHeight;
			if( !menu.vertical ) {
				itemLeft = i*menu.menuWidth;
				itemTop = 0;
			}
			var dTag = '<div id="menuItem'+ countItems +'" style="position:absolute;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';
			var dClose = '</div>'
			if (menu.bgImageUp) dTag = '<div id="menuItem'+ countItems +'" style="background:url('+menu.bgImageUp+');position:absolute;left:' + itemLeft + 'px;top:'+ itemTop +'px;'+ itemProps +'">';

			var left = 0, top = 0, right = 0, bottom = 0;
			left = 1 + menu.menuItemPadding + menu.menuItemIndent;
			right = left + menu.menuWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
			if( menu.menuItemVAlign == 'top' ) top = menu.menuItemPadding;
			if( menu.menuItemVAlign == 'bottom' ) top = menu.menuItemHeight-menu.fontSize-1-menu.menuItemPadding;
			if( menu.menuItemVAlign == 'middle' ) top = ((menu.menuItemHeight/2)-(menu.fontSize/2)-1);
			bottom = menu.menuItemHeight - 2*menu.menuItemPadding;
			var textProps = 'position:absolute;left:' + left + 'px;top:' + top + 'px;';
			if (lrs) {
				textProps +=itemProps + 'right:' + right + ';bottom:' + bottom + ';';
				dTag = "";
				dClose = "";
			}
			
			if(document.all && !window.mmIsOpera) {
				item = '<div align="' + menu.menuItemHAlign + '">' + item + '</div>';
			} else if (lrs) {
				item = '<div style="text-align:' + menu.menuItemHAlign + ';">' + item + '</div>';
			} else {
				var hitem = null;
				if( menu.menuItemHAlign != 'left' ) {
					if(window.mmIsOpera) {
						var operaWidth = menu.menuItemHAlign == 'center' ? -(menu.menuWidth-2*menu.menuItemPadding) : (menu.menuWidth-6*menu.menuItemPadding);
						hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
						item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:' + menu.menuItemPadding + 'px;width:' + operaWidth + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
					} else {
						hitem = '<div id="menuItemHilite' + countItems + 'Shim" style="position:absolute;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
						item = '<div id="menuItemText' + countItems + 'Shim" style="position:absolute;top:1px;left:1px;right:-' + (left+menu.menuWidth-3*menu.menuItemPadding) + 'px;text-align:' 
							+ menu.menuItemHAlign + ';visibility:visible;">' + item + '</div>';
					}
				} else hitem = null;
			}
			if(document.all && !window.mmIsOpera) item = '<div id="menuItemShim' + countItems + '" style="position:absolute;left:0px;top:0px;">' + item + '</div>';
			var dText	= '<div id="menuItemText'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColor +';">'+ item +'&nbsp</div>\n'
						+ '<div id="menuItemHilite'+ countItems +'" style="' + textProps + 'color:'+ menu.fontColorHilite +';visibility:hidden;">' 
						+ (hitem||item) +'&nbsp</div>';
			if (childMenu) content += ( dTag + dText + '<div id="childMenu'+ countItems +'" style="position:absolute;left:0px;top:3px;"><img src="'+ menu.childMenuIcon +'"></div>\n' + dClose);
			else content += ( dTag + dText + dClose);
			if (lrs) {
				l.document.open("text/html");
				l.document.writeln(content);
				l.document.close();	
				content = '';
				theStat += "-";
				tsc++;
				if (tsc > 50) {
					tsc = 0;
					theStat = "";
				}
				status = theStat;
			}
			countItems++;  
		}
		if (lrs) {
			var focusItem = new Layer(100, body);
			focusItem.visiblity="hidden";
			focusItem.document.open("text/html");
			focusItem.document.writeln("&nbsp;");
			focusItem.document.close();	
		} else {
		  content += '	  <div id="focusItem'+ countMenus +'" style="position:absolute;left:0px;top:0px;visibility:hide;" onclick="onMenuItemAction(null,this);">&nbsp;</div>\n';
		  content += '   </div>\n  </div>\n</div>\n';
		}
		i=x;
	}
	if (document.layers) {		
		container.clip.width = window.innerWidth;
		container.clip.height = window.innerHeight;
		container.onmouseout = mouseoutMenu;
		container.menuContainerBgColor = this.menuContainerBgColor;
		for (var i=0; i<container.document.layers.length; i++) {
			proto = container.menus[i];
			var menu = container.document.layers[i];
			container.menus[i].menuLayer = menu;
			container.menus[i].menuLayer.Menu = container.menus[i];
			container.menus[i].menuLayer.Menu.container = container;
			var body = menu.document.layers[0].document.layers[0];
			body.clip.width = proto.menuWidth || body.clip.width;
			body.clip.height = proto.menuHeight || body.clip.height;
			for (var n=0; n<body.document.layers.length-1; n++) {
				var l = body.document.layers[n];
				l.Menu = container.menus[i];
				l.menuHiliteBgColor = proto.menuHiliteBgColor;
				l.document.bgColor = proto.menuItemBgColor;
				l.saveColor = proto.menuItemBgColor;
				l.onmouseover = proto.onMenuItemOver;
				l.onclick = proto.onMenuItemAction;
				l.mmaction = container.menus[i].actions[n];
				l.focusItem = body.document.layers[body.document.layers.length-1];
				l.clip.width = proto.menuWidth || body.clip.width;
				l.clip.height = proto.menuItemHeight || l.clip.height;
				if (n>0) {
					if( l.Menu.vertical ) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder + proto.menuItemSpacing;
					else l.left = body.document.layers[n-1].left + body.document.layers[n-1].clip.width + proto.menuItemBorder + proto.menuItemSpacing;
				}
				l.hilite = l.document.layers[1];
				if (proto.bgImageUp) l.background.src = proto.bgImageUp;
				l.document.layers[1].isHilite = true;
				if (l.document.layers.length > 2) {
					l.childMenu = container.menus[i].items[n].menuLayer;
					l.document.layers[2].left = l.clip.width -13;
					l.document.layers[2].top = (l.clip.height / 2) -4;
					l.document.layers[2].clip.left += 3;
					l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
				}
			}
			if( proto.menuBgOpaque ) body.document.bgColor = proto.bgColor;
			if( proto.vertical ) {
				body.clip.width  = l.clip.width +proto.menuBorder;
				body.clip.height = l.top + l.clip.height +proto.menuBorder;
			} else {
				body.clip.height  = l.clip.height +proto.menuBorder;
				body.clip.width = l.left + l.clip.width  +proto.menuBorder;
				if( body.clip.width > window.innerWidth ) body.clip.width = window.innerWidth;
			}
			var focusItem = body.document.layers[n];
			focusItem.clip.width = body.clip.width;
			focusItem.Menu = l.Menu;
			focusItem.top = -30;
            focusItem.captureEvents(Event.MOUSEDOWN);
            focusItem.onmousedown = onMenuItemDown;
			if( proto.menuBgOpaque ) menu.document.bgColor = proto.menuBorderBgColor;
			var lite = menu.document.layers[0];
			if( proto.menuBgOpaque ) lite.document.bgColor = proto.menuLiteBgColor;
			lite.clip.width = body.clip.width +1;
			lite.clip.height = body.clip.height +1;
			menu.clip.width = body.clip.width + (proto.menuBorder * 3) ;
			menu.clip.height = body.clip.height + (proto.menuBorder * 3);
		}
	} else {
		if ((!document.all) && (container.hasChildNodes) && !window.mmIsOpera) {
			container.innerHTML=content;
		} else {
			container.document.open("text/html");
			container.document.writeln(content);
			container.document.close();	
		}
		if (!FIND("menuLayer0")) return;
		var menuCount = 0;
		for (var x=0; x<container.menus.length; x++) {
			var menuLayer = FIND("menuLayer" + x);
			container.menus[x].menuLayer = "menuLayer" + x;
			menuLayer.Menu = container.menus[x];
			menuLayer.Menu.container = "menuLayer" + x;
			menuLayer.style.zindex = 1;
		    var s = menuLayer.style;
			s.pixeltop = -300;
			s.pixelleft = -300;
			s.top = '-300px';
			s.left = '-300px';

			var menu = container.menus[x];
			menu.menuItemWidth = menu.menuWidth || menu.menuIEWidth || 140;
			if( menu.menuBgOpaque ) menuLayer.style.backgroundColor = menu.menuBorderBgColor;
			var top = 0;
			var left = 0;
			menu.menuItemLayers = new Array();
			for (var i=0; i<container.menus[x].items.length; i++) {
				var l = FIND("menuItem" + menuCount);
				l.Menu = container.menus[x];
				l.Menu.menuItemLayers[l.Menu.menuItemLayers.length] = l;
				if (l.addEventListener || window.mmIsOpera) {
					l.style.width = menu.menuItemWidth + 'px';
					l.style.height = menu.menuItemHeight + 'px';
					l.style.pixelWidth = menu.menuItemWidth;
					l.style.pixelHeight = menu.menuItemHeight;
					l.style.top = top + 'px';
					l.style.left = left + 'px';
					if(l.addEventListener) {
						l.addEventListener("mouseover", onMenuItemOver, false);
						l.addEventListener("click", onMenuItemAction, false);
						l.addEventListener("mouseout", mouseoutMenu, false);
					}
					if( menu.menuItemHAlign != 'left' ) {
						l.hiliteShim = FIND("menuItemHilite" + menuCount + "Shim");
						l.hiliteShim.style.visibility = "inherit";
						l.textShim = FIND("menuItemText" + menuCount + "Shim");
						l.hiliteShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						l.hiliteShim.style.width = l.hiliteShim.style.pixelWidth;
						l.textShim.style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						l.textShim.style.width = l.textShim.style.pixelWidth;	
					}
				} else {
					l.style.pixelWidth = menu.menuItemWidth;
					l.style.pixelHeight = menu.menuItemHeight;
					l.style.pixelTop = top;
					l.style.pixelLeft = left;
					if( menu.menuItemHAlign != 'left' ) {
						var shim = FIND("menuItemShim" + menuCount);
						shim[0].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						shim[1].style.pixelWidth = menu.menuItemWidth - 2*menu.menuItemPadding - menu.menuItemIndent;
						shim[0].style.width = shim[0].style.pixelWidth + 'px';
						shim[1].style.width = shim[1].style.pixelWidth + 'px';
					}
				}
				if( menu.vertical ) top = top + menu.menuItemHeight+menu.menuItemBorder+menu.menuItemSpacing;
				else left = left + menu.menuItemWidth+menu.menuItemBorder+menu.menuItemSpacing;
				l.style.fontSize = menu.fontSize + 'px';
				l.style.backgroundColor = menu.menuItemBgColor;
				l.style.visibility = "inherit";
				l.saveColor = menu.menuItemBgColor;
				l.menuHiliteBgColor = menu.menuHiliteBgColor;
				l.mmaction = container.menus[x].actions[i];
				l.hilite = FIND("menuItemHilite" + menuCount);
				l.focusItem = FIND("focusItem" + x);
				l.focusItem.style.pixelTop = -30;
				l.focusItem.style.top = '-30px';
				var childItem = FIND("childMenu" + menuCount);
				if (childItem) {
					l.childMenu = container.menus[x].items[i].menuLayer;
					childItem.style.pixelLeft = menu.menuItemWidth -11;
					childItem.style.left = childItem.style.pixelLeft + 'px';
					childItem.style.pixelTop = (menu.menuItemHeight /2) -4;
					childItem.style.top = childItem.style.pixelTop + 'px';
					l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
				}
				l.style.cursor = "hand";
				menuCount++;
			}
			if( menu.vertical ) {
				menu.menuHeight = top-1-menu.menuItemSpacing;
				menu.menuWidth = menu.menuItemWidth;
			} else {
				menu.menuHeight = menu.menuItemHeight;
				menu.menuWidth = left-1-menu.menuItemSpacing;
			}

			var lite = FIND("menuLite" + x);
			var s = lite.style;
			s.pixelHeight = menu.menuHeight +(menu.menuBorder * 2);
			s.height = s.pixelHeight + 'px';
			s.pixelWidth = menu.menuWidth + (menu.menuBorder * 2);
			s.width = s.pixelWidth + 'px';
			if( menu.menuBgOpaque ) s.backgroundColor = menu.menuLiteBgColor;

			var body = FIND("menuFg" + x);
			s = body.style;
			s.pixelHeight = menu.menuHeight + menu.menuBorder;
			s.height = s.pixelHeight + 'px';
			s.pixelWidth = menu.menuWidth + menu.menuBorder;
			s.width = s.pixelWidth + 'px';
			if( menu.menuBgOpaque ) s.backgroundColor = menu.bgColor;

			s = menuLayer.style;
			s.pixelWidth  = menu.menuWidth + (menu.menuBorder * 4);
			s.width = s.pixelWidth + 'px';
			s.pixelHeight  = menu.menuHeight+(menu.menuBorder*4);
			s.height = s.pixelHeight + 'px';
		}
	}
	if (document.captureEvents) document.captureEvents(Event.MOUSEUP);
	if (document.addEventListener) document.addEventListener("mouseup", onMenuItemOver, false);
	if (document.layers && window.innerWidth) {
		window.onresize = NS4resize;
		window.NS4sIW = window.innerWidth;
		window.NS4sIH = window.innerHeight;
		setTimeout("NS4resize()",500);
	}
	document.onmouseup = mouseupMenu;
	window.mmWroteMenu = true;
	status = "";
}

function NS4resize() {
	if (NS4sIW != window.innerWidth || NS4sIH != window.innerHeight) window.location.reload();
}

function onMenuItemOver(e, l) {
	MM_clearTimeout();
	l = l || this;
	a = window.ActiveMenuItem;
	if (document.layers) {
		if (a) {
			a.document.bgColor = a.saveColor;
			if (a.hilite) a.hilite.visibility = "hidden";
			if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
			a.focusItem.top = -100;
			a.clicked = false;
		}
		if (l.hilite) {
			l.document.bgColor = l.menuHiliteBgColor;
			l.zIndex = 1;
			l.hilite.visibility = "inherit";
			l.hilite.zIndex = 2;
			l.document.layers[1].zIndex = 1;
			l.focusItem.zIndex = this.zIndex +2;
		}
		if (l.Menu.bgImageOver) l.background.src = l.Menu.bgImageOver;
		l.focusItem.top = this.top;
		l.focusItem.left = this.left;
		l.focusItem.clip.width = l.clip.width;
		l.focusItem.clip.height = l.clip.height;
		l.Menu.hideChildMenu(l);
	} else if (l.style && l.Menu) {
		if (a) {
			a.style.backgroundColor = a.saveColor;
			if (a.hilite) a.hilite.style.visibility = "hidden";
			if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
			if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";;
		} 
		l.style.backgroundColor = l.menuHiliteBgColor;
		l.zIndex = 1;
		if (l.Menu.bgImageOver) l.style.background = "url(" + l.Menu.bgImageOver +")";
		if (l.hilite) {
			l.hilite.style.visibility = "inherit";
			if( l.hiliteShim ) l.hiliteShim.style.visibility = "visible";
		}
		l.focusItem.style.pixelTop = l.style.pixelTop;
		l.focusItem.style.top = l.focusItem.style.pixelTop + 'px';
		l.focusItem.style.pixelLeft = l.style.pixelLeft;
		l.focusItem.style.left = l.focusItem.style.pixelLeft + 'px';
		l.focusItem.style.zIndex = l.zIndex +1;
		l.Menu.hideChildMenu(l);
	} else return;
	window.ActiveMenuItem = l;
}

function onMenuItemAction(e, l) {
	l = window.ActiveMenuItem;
	if (!l) return;
	hideActiveMenus();
	if (l.mmaction) eval("" + l.mmaction);
	window.ActiveMenuItem = 0;
}

function MM_clearTimeout() {
	if (mmHideMenuTimer) clearTimeout(mmHideMenuTimer);
	mmHideMenuTimer = null;
	mmDHFlag = false;
}

function MM_startTimeout() {
	if( window.ActiveMenu ) {
		mmStart = new Date();
		mmDHFlag = true;
		mmHideMenuTimer = setTimeout("mmDoHide()", window.ActiveMenu.Menu.hideTimeout);
	}
}

function mmDoHide() {
	if (!mmDHFlag || !window.ActiveMenu) return;
	var elapsed = new Date() - mmStart;
	var timeout = window.ActiveMenu.Menu.hideTimeout;
	if (elapsed < timeout) {
		mmHideMenuTimer = setTimeout("mmDoHide()", timeout+100-elapsed);
		return;
	}
	mmDHFlag = false;
	hideActiveMenus();
	window.ActiveMenuItem = 0;
}

function MM_showMenu(menu, x, y, child, imgname) {
	if (!window.mmWroteMenu) return;
	MM_clearTimeout();
	if (menu) {
		var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
		x = moveXbySlicePos (x, obj);
		y = moveYbySlicePos (y, obj);
	}
	if (document.layers) {
		if (menu) {
			var l = menu.menuLayer || menu;
			l.top = l.left = 1;
			hideActiveMenus();
			if (this.visibility) l = this;
			window.ActiveMenu = l;
		} else {
			var l = child;
		}
		if (!l) return;
		for (var i=0; i<l.layers.length; i++) { 			   
			if (!l.layers[i].isHilite) l.layers[i].visibility = "inherit";
			if (l.layers[i].document.layers.length > 0) MM_showMenu(null, "relative", "relative", l.layers[i]);
		}
		if (l.parentLayer) {
			if (x != "relative") l.parentLayer.left = x || window.pageX || 0;
			if (l.parentLayer.left + l.clip.width > window.innerWidth) l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
			if (y != "relative") l.parentLayer.top = y || window.pageY || 0;
			if (l.parentLayer.isContainer) {
				l.Menu.xOffset = window.pageXOffset;
				l.Menu.yOffset = window.pageYOffset;
				l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
				l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
				if (l.parentLayer.menuContainerBgColor && l.Menu.menuBgOpaque ) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
			}
		}
		l.visibility = "inherit";
		if (l.Menu) l.Menu.container.visibility = "inherit";
	} else if (FIND("menuItem0")) {
		var l = menu.menuLayer || menu;	
		hideActiveMenus();
		if (typeof(l) == "string") l = FIND(l);
		window.ActiveMenu = l;
		var s = l.style;
		s.visibility = "inherit";
		if (x != "relative") {
			s.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
			s.left = s.pixelLeft + 'px';
		}
		if (y != "relative") {
			s.pixelTop = y || (window.pageY + document.body.scrollTop) || 0;
			s.top = s.pixelTop + 'px';
		}
		l.Menu.xOffset = document.body.scrollLeft;
		l.Menu.yOffset = document.body.scrollTop;
	}
	if (menu) window.activeMenus[window.activeMenus.length] = l;
	MM_clearTimeout();
}

function onMenuItemDown(e, l) {
	var a = window.ActiveMenuItem;
	if (document.layers && a) {
		a.eX = e.pageX;
		a.eY = e.pageY;
		a.clicked = true;
    }
}

function mouseupMenu(e) {
	hideMenu(true, e);
	hideActiveMenus();
	return true;
}

function getExplorerVersion() {
	var ieVers = parseFloat(navigator.appVersion);
	if( navigator.appName != 'Microsoft Internet Explorer' ) return ieVers;
	var tempVers = navigator.appVersion;
	var i = tempVers.indexOf( 'MSIE ' );
	if( i >= 0 ) {
		tempVers = tempVers.substring( i+5 );
		ieVers = parseFloat( tempVers ); 
	}
	return ieVers;
}

function mouseoutMenu() {
	if ((navigator.appName == "Microsoft Internet Explorer") && (getExplorerVersion() < 4.5))
		return true;
	hideMenu(false, false);
	return true;
}

function hideMenu(mouseup, e) {
	var a = window.ActiveMenuItem;
	if (a && document.layers) {
		a.document.bgColor = a.saveColor;
		a.focusItem.top = -30;
		if (a.hilite) a.hilite.visibility = "hidden";
		if (mouseup && a.mmaction && a.clicked && window.ActiveMenu) {
 			if (a.eX <= e.pageX+15 && a.eX >= e.pageX-15 && a.eY <= e.pageY+10 && a.eY >= e.pageY-10) {
				setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 500);
			}
		}
		a.clicked = false;
		if (a.Menu.bgImageOver) a.background.src = a.Menu.bgImageUp;
	} else if (window.ActiveMenu && FIND("menuItem0")) {
		if (a) {
			a.style.backgroundColor = a.saveColor;
			if (a.hilite) a.hilite.style.visibility = "hidden";
			if (a.hiliteShim) a.hiliteShim.style.visibility = "inherit";
			if (a.Menu.bgImageUp) a.style.background = "url(" + a.Menu.bgImageUp +")";
		}
	}
	if (!mouseup && window.ActiveMenu) {
		if (window.ActiveMenu.Menu) {
			if (window.ActiveMenu.Menu.hideOnMouseOut) MM_startTimeout();
			return(true);
		}
	}
	return(true);
}

function hideChildMenu(hcmLayer) {
	MM_clearTimeout();
	var l = hcmLayer;
	for (var i=0; i < l.Menu.childMenus.length; i++) {
		var theLayer = l.Menu.childMenus[i];
		if (document.layers) theLayer.visibility = "hidden";
		else {
			theLayer = FIND(theLayer);
			theLayer.style.visibility = "hidden";
			if( theLayer.Menu.menuItemHAlign != 'left' ) {
				for(var j = 0; j < theLayer.Menu.menuItemLayers.length; j++) {
					var itemLayer = theLayer.Menu.menuItemLayers[j];
					if(itemLayer.textShim) itemLayer.textShim.style.visibility = "inherit";
				}
			}
		}
		theLayer.Menu.hideChildMenu(theLayer);
	}
	if (l.childMenu) {
		var childMenu = l.childMenu;
		if (document.layers) {
			l.Menu.MM_showMenu(null,null,null,childMenu.layers[0]);
			childMenu.zIndex = l.parentLayer.zIndex +1;
			childMenu.top = l.Menu.menuLayer.top + l.Menu.submenuYOffset;
			if( l.Menu.vertical ) {
				if( l.Menu.submenuRelativeToItem ) childMenu.top += l.top + l.parentLayer.top;
				childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
			} else {
				childMenu.top += l.top + l.parentLayer.top;	
				if( l.Menu.submenuRelativeToItem ) childMenu.left = l.Menu.menuLayer.left + l.left + l.clip.width + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
				else childMenu.left = l.parentLayer.left + l.parentLayer.clip.width - (2*l.Menu.menuBorder) + l.Menu.menuLayer.left + l.Menu.submenuXOffset;
			}
			if( childMenu.left < l.Menu.container.clip.left ) l.Menu.container.clip.left = childMenu.left;
			var w = childMenu.clip.width+childMenu.left-l.Menu.container.clip.left;
			if (w > l.Menu.container.clip.width)  l.Menu.container.clip.width = w;
			var h = childMenu.clip.height+childMenu.top-l.Menu.container.clip.top;
			if (h > l.Menu.container.clip.height) l.Menu.container.clip.height = h;
			l.document.layers[1].zIndex = 0;
			childMenu.visibility = "inherit";
		} else if (FIND("menuItem0")) {
			childMenu = FIND(l.childMenu);
			var menuLayer = FIND(l.Menu.menuLayer);
			var s = childMenu.style;
			s.zIndex = menuLayer.style.zIndex+1;
			if (document.all || window.mmIsOpera) {
				s.pixelTop = menuLayer.style.pixelTop + l.Menu.submenuYOffset;
				if( l.Menu.vertical ) {
					if( l.Menu.submenuRelativeToItem ) s.pixelTop += l.style.pixelTop;
					s.pixelLeft = l.style.pixelWidth + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
					s.left = s.pixelLeft + 'px';
				} else {
					s.pixelTop += l.style.pixelTop;
					if( l.Menu.submenuRelativeToItem ) s.pixelLeft = menuLayer.style.pixelLeft + l.style.pixelLeft + l.style.pixelWidth + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
					else s.pixelLeft = (menuLayer.style.pixelWidth-4*l.Menu.menuBorder) + menuLayer.style.pixelLeft + l.Menu.submenuXOffset;
					s.left = s.pixelLeft + 'px';
				}
			} else {
				var top = parseInt(menuLayer.style.top) + l.Menu.submenuYOffset;
				var left = 0;
				if( l.Menu.vertical ) {
					if( l.Menu.submenuRelativeToItem ) top += parseInt(l.style.top);
					left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
				} else {
					top += parseInt(l.style.top);
					if( l.Menu.submenuRelativeToItem ) left = parseInt(menuLayer.style.left) + parseInt(l.style.left) + parseInt(l.style.width) + (2*l.Menu.menuBorder) + l.Menu.submenuXOffset;
					else left = (parseInt(menuLayer.style.width)-4*l.Menu.menuBorder) + parseInt(menuLayer.style.left) + l.Menu.submenuXOffset;
				}
				s.top = top + 'px';
				s.left = left + 'px';
			}
			childMenu.style.visibility = "inherit";
		} else return;
		window.activeMenus[window.activeMenus.length] = childMenu;
	}
}

function hideActiveMenus() {
	if (!window.activeMenus) return;
	for (var i=0; i < window.activeMenus.length; i++) {
		if (!activeMenus[i]) continue;
		if (activeMenus[i].visibility && activeMenus[i].Menu && !window.mmIsOpera) {
			activeMenus[i].visibility = "hidden";
			activeMenus[i].Menu.container.visibility = "hidden";
			activeMenus[i].Menu.container.clip.left = 0;
		} else if (activeMenus[i].style) {
			var s = activeMenus[i].style;
			s.visibility = "hidden";
			s.left = '-200px';
			s.top = '-200px';
		}
	}
	if (window.ActiveMenuItem) hideMenu(false, false);
	window.activeMenus.length = 0;
}

function moveXbySlicePos (x, img) { 
	if (!document.layers) {
		var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
		var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
		var par = img;
		var lastOffset = 0;
		while(par){
			if( par.leftMargin && ! onWindows ) x += parseInt(par.leftMargin);
			if( (par.offsetLeft != lastOffset) && par.offsetLeft ) x += parseInt(par.offsetLeft);
			if( par.offsetLeft != 0 ) lastOffset = par.offsetLeft;
			par = macIE45 ? par.parentElement : par.offsetParent;
		}
	} else if (img.x) x += img.x;
	return x;
}

function moveYbySlicePos (y, img) {
	if(!document.layers) {
		var onWindows = navigator.platform ? navigator.platform == "Win32" : false;
		var macIE45 = document.all && !onWindows && getExplorerVersion() == 4.5;
		var par = img;
		var lastOffset = 0;
		while(par){
			if( par.topMargin && !onWindows ) y += parseInt(par.topMargin);
			if( (par.offsetTop != lastOffset) && par.offsetTop ) y += parseInt(par.offsetTop);
			if( par.offsetTop != 0 ) lastOffset = par.offsetTop;
			par = macIE45 ? par.parentElement : par.offsetParent;
		}		
	} else if (img.y >= 0) y += img.y;
	return y;
}

