var p7LSMHLP="Help: Keyboard Shortcuts";var p7LSMHelp=[];p7LSMHelp[0]="To advance to the next box click the VCR controls in the header or press your Space Bar.";p7LSMHelp[1]="You can move forward or backward with the Left Arrow, Right Arrow, Page Up and Page Down keys.";p7LSMHelp[2]='The "P" key toggles the Pause and Play mode.';p7LSMHelp[3]='The "T" key toggles the Table of Contents.';p7LSMHelp[4]='To close the presentation press "X", "ESC", or click off the presentation box.';p7LSMHelp[5]='Use the "H" key to toggle this Help screen.';var p7LSMTOC="Table of Contents";var p7LSMminwidth=200;var p7lsmdly=500;var p7LSMi=false,p7LSMf=false,p7LSMctl=[],p7LSMcshow=[],p7LSMmode="pause",p7LSMantmr,p7LSMimtmr,p7LSMoptmr,p7LSMshowtmr,p7LSMan=false;var p7LSMstat=false,p7lsmA=navigator.userAgent.toLowerCase(),p7LSMcan=true,p7LSMnextMode="",p7LSMtocActive=false,p7LSMhlpActive=false;if(!document.getElementById||typeof document.appendChild=="undefined"||p7lsmA.indexOf("msie 5")>-1){p7LSMcan=false}function P7_LSMset(){var d,e,c,f,a,b;if(!p7LSMcan){return}c=".p7lsm_link {display:none;}\n";c+=".p7lsm_description {display:none;}\n";c+=".p7lsm_content {display:none;}\n";c+=".p7lsm_link {display:none;}\n";c+="#p7LSM_ovr {position:absolute;top:0px;left:0px;display:none;z-index:9999900;}\n";c+="#p7lsm_overlay {position:fixed;width:100%;height:100%;left:0px;top:0px;z-index:9999900;display:none;}\n";c+="#p7LSM_box {position:absolute;display:block;top:0px;left:-9000px;width:100px;overflow:hidden;z-index:9999930;}\n";c+="#p7lsm_abox {position:absolute;top:0px;left:0px;display:none;z-index:9999960;}\n";c+="#p7LSM_loading {display:none;position:absolute;top:0px;left:0px;z-index:9999980;}\n";c+="#p7LSM_helpbox {display:block;position:absolute;top:0px;left:-9000px;z-index:9999990;}\n";c+="#p7LSM_tocbox {display:block;position:absolute;top:0px;left:-9000px;z-index:9999995;}\n";c+="#p7LSM_descboxW {display:block;position:absolute;top:0px;left:-9000px;z-index:9999985;overflow:hidden;}\n";if(P7_LSMisIE6()){c+="#p7lsm_overlay {position:absolute;}\n"}if(document.styleSheets){e='\n<style type="text/css">\n'+c+"\n</style>";document.write(e)}else{e=document.createElement("style");e.type="text/css";e.appendChild(document.createTextNode(c));f=document.getElementsByTagName("head");f[0].appendChild(e)}}P7_LSMset();function P7_LSMaddLoad(){if(!p7LSMcan){return}if(window.addEventListener){window.addEventListener("load",P7_LSMinit,false);window.addEventListener("resize",P7_LSMrsz,false);window.addEventListener("unload",P7_LSMclose,false);document.addEventListener("keydown",P7_LSMkey,false)}else{if(window.attachEvent){window.attachEvent("onload",P7_LSMinit);window.attachEvent("onresize",P7_LSMrsz);window.attachEvent("onunload",P7_LSMclose);document.attachEvent("onkeydown",P7_LSMkey)}}}P7_LSMaddLoad();function P7_LSMop(){if(!document.getElementById||!p7LSMcan){return}p7LSMctl[p7LSMctl.length]=arguments}function P7_LSMinit(){var f,e,r=0,d,c,l,g,n,s,q=0,k,p,b,t,m,a,o;if(p7LSMi||!p7LSMcan){return}p7LSMi=true;P7_LSMbuildpop();d=document.createElement("div");d.setAttribute("id","p7lsm_abox");document.getElementsByTagName("body")[0].appendChild(d);d=document.createElement("div");d.setAttribute("id","p7lsm_overlay");document.getElementsByTagName("body")[0].appendChild(d);d=document.createElement("div");d.setAttribute("id","p7LSM_ovr");c=document.createElement("img");c.setAttribute("id","p7LSM_ovrimg");d.appendChild(c);document.getElementsByTagName("body")[0].appendChild(d);d=document.createElement("div");c=document.createElement("a");c.appendChild(document.createTextNode("X"));c.setAttribute("href","javascript:;");c.setAttribute("title","Close Box");c.onclick=function(){return P7_LSMhelp()};o=document.createElement("div");o.setAttribute("class","p7LSM_helpbox_close");o.appendChild(c);d.appendChild(o);c=document.createElement("p");c.appendChild(document.createTextNode(p7LSMHLP));d.appendChild(c);c=document.createElement("ul");for(f=0;f<p7LSMHelp.length;f++){t=document.createElement("li");t.appendChild(document.createTextNode(p7LSMHelp[f]));c.appendChild(t)}d.appendChild(c);d.setAttribute("id","p7LSM_helpbox");d.p7status="closed";document.getElementsByTagName("body")[0].appendChild(d);d=document.createElement("div");c=document.createElement("a");c.appendChild(document.createTextNode("X"));c.setAttribute("href","javascript:;");c.setAttribute("title","Close Box");c.onclick=function(){return P7_LSMtoc()};o=document.createElement("div");o.setAttribute("class","p7LSM_tocbox_close");o.appendChild(c);d.appendChild(o);c=document.createElement("p");c.appendChild(document.createTextNode(p7LSMTOC));d.appendChild(c);d.setAttribute("id","p7LSM_tocbox");d.p7status="closed";document.getElementsByTagName("body")[0].appendChild(d);d=document.createElement("div");d.setAttribute("id","p7LSM_descboxW");d.p7status="closed";o=document.createElement("div");o.setAttribute("id","p7LSM_descboxInner");d.appendChild(o);c=document.createElement("div");c.setAttribute("id","p7LSM_descbox");o.appendChild(c);document.getElementsByTagName("body")[0].appendChild(d);b=document.getElementById("p7LSM_box");b.p7status="closed";b=document.getElementById("p7LSM_help");if(b){b.onclick=function(){return P7_LSMhelp()}}b=document.getElementById("p7LSM_toc");if(b){b.onclick=function(){return P7_LSMtoc()}}b=document.getElementById("p7LSM_first");if(b){b.onclick=function(){return P7_LSMctrl("first")}}b=document.getElementById("p7LSM_prev");if(b){b.onclick=function(){return P7_LSMctrl("previous")}}b=document.getElementById("p7LSM_next");if(b){b.onclick=function(){return P7_LSMctrl("next")}}b=document.getElementById("p7LSM_last");if(b){b.onclick=function(){return P7_LSMctrl("last")}}b=document.getElementById("p7LSM_pauseplay");if(b){b.onclick=function(){return P7_LSMppTrig()}}b=document.getElementById("p7LSM_close");if(b){b.onclick=function(){return P7_LSMclose()}}b=document.getElementById("p7lsm_overlay");if(b){b.onclick=function(){return P7_LSMclose()}}document.p7lsmpre=[];document.getElementById("p7LSM_desc").p7src=false;document.getElementById("p7LSM_cnt").p7src=false;for(e=0;e<p7LSMctl.length;e++){n=document.getElementById(p7LSMctl[e][0]);if(n){q=-1;n.p7opt=p7LSMctl[e];n.p7slides=[];a=document.getElementById(n.id.replace("_","trg_"));s=a.getElementsByTagName("a");for(f=0;f<s.length;f++){if(s[f].className&&s[f].className.indexOf("p7lsm_type")>-1){q++;n.p7slides[q]=s[f];s[f].onclick=function(){return P7_LSMshow(this)};s[f].parentNode.onmouseover=function(){this.className="over"};s[f].parentNode.onmouseout=function(){this.className=""};s[f].p7lsmdiv=n.id;s[f].p7lsmsnum=q+1;if(s[f].className=="p7lsm_type_img"){if(n.p7opt[10]==1){s[f].onmouseover=function(){P7_LSMrollover(this)};s[f].onmouseout=P7_LSMrollout}document.p7lsmpre[r]=new Image();document.p7lsmpre[r].cmp=false;document.p7lsmpre[r].onload=function(){this.cmp=true};document.p7lsmpre[r].onerror=function(){this.cmp=true;this.width=300;this.height=300};s[f].p7imindex=r;r++}}}n.p7lsmnum=n.p7slides.length}}P7_LSMpause(1);p7LSMf=true}function P7_LSMrollover(i){var h,d,c,e,f,b,j,g,k;h=i.className;if(h&&h.indexOf("_img")>-1){d=document.getElementById("p7LSM_ovr");c=document.getElementById("p7LSM_ovrimg");e=i.getElementsByTagName("img");f=P7_LSMdims(i);c.setAttribute("src",e[0].getAttribute("src"));d.style.visibility="hidden";d.style.display="block";b=d.offsetWidth;j=d.offsetHeight;g=f[1]-j;k=f[0]-((b-f[2])/2);g-=5;if(g<0){g=f[1]+i.offsetHeight+2}if(k<0){k=0}d.style.top=g+"px";d.style.left=k+"px";d.style.visibility="visible"}}function P7_LSMrollout(){var a=document.getElementById("p7LSM_ovr");a.style.display="none"}function P7_LSMctrl(b,e,d){var h,a,c,g,f;if(!p7LSMf){return false}if(!b){b="next"}if(b=="pause"){P7_LSMpause();return false}if(b=="play"){P7_LSMplay();return false}if(b=="close"){P7_LSMclose();return false}if(!e){if(p7LSMcshow[0]){e=p7LSMcshow[0]}else{e=p7LSMctl[0][0]}}if(!p7LSMcshow[0]){p7LSMcshow[0]=e;p7LSMcshow[1]=1}c=document.getElementById(e);if(!c||!c.p7lsmnum){return false}if(e!=p7LSMcshow[0]){p7LSMcshow[1]=1}f=P7_LSMopts();if(b=="first"){h=1;if(f[5]==3&&e!=p7LSMctl[0][0]){e=p7LSMctl[0][0];c=document.getElementById(e);P7_LSMtochelpStat();P7_LSMclose()}else{if(h==p7LSMcshow[1]&&c.p7status=="open"){return false}}}else{if(b=="last"){h=c.p7lsmnum;if(f[5]==3&&e!=p7LSMctl[0][p7LSMctl.length-1]){e=p7LSMctl[p7LSMctl.length-1][0];c=document.getElementById(e);h=c.p7lsmnum;P7_LSMtochelpStat();P7_LSMclose()}else{if(h==p7LSMcshow[1]&&c.p7status=="open"){return false}}}else{if(b=="next"){h=p7LSMcshow[1]+1;if(h>c.p7lsmnum){if(f[5]==0){return false}else{if(c.p7opt[5]==1){h=1}else{if(c.p7opt[5]==2){return false}else{if(f[5]==3){a=P7_LSMnextShow();e=p7LSMctl[a][0];c=document.getElementById(e);h=1;if(p7LSMmode=="auto"){p7LSMnextMode="auto"}P7_LSMtochelpStat();P7_LSMclose()}}}}}}else{if(b=="previous"){h=p7LSMcshow[1]-1;if(h<1){if(f[5]==0){return false}else{if(c.p7opt[5]==1){h=c.p7lsmnum}else{if(c.p7opt[5]==2){return false}else{if(f[5]==3){a=P7_LSMprevShow();e=p7LSMctl[a][0];c=document.getElementById(e);h=c.p7lsmnum;P7_LSMtochelpStat();P7_LSMclose()}else{return false}}}}}}else{h=parseInt(b)}}}}if(!h||h<1){h=1}else{if(h>c.p7lsmnum){h=c.p7lsmnum}}h--;if(f[8]==1&&p7LSMnextMode!="auto"&&d!=1){P7_LSMpause()}P7_LSMshow(c.p7slides[h]);return false}function P7_LSMppTrig(){if(!p7LSMf){return false}var b=document.getElementById("p7LSM_pauseplay");if(b.p7state=="play"){P7_LSMpause()}else{P7_LSMplay()}return false}function P7_LSMplay(c){var d,a=document.getElementById("p7LSM_pauseplay");if(p7LSMmode=="auto"&&c!=1){return}a.p7state="play";p7LSMmode="auto";a.title="Pause";a.className="p7LSM_pause";if(c!=1){P7_LSMctrl("next","",1)}}function P7_LSMpause(c){var a=document.getElementById("p7LSM_pauseplay");if(p7LSMshowtmr){clearTimeout(p7LSMshowtmr)}a.p7state="pause";if(c!=1){p7LSMmode="pause"}a.title="Play";a.className="p7LSM_play"}function P7_LSMdescpop(k,b){var i,m,g,l,h,c,e,j,f,d,a;i=document.getElementById("p7LSM_descboxW");m=document.getElementById("p7LSM_descbox");g=P7_LSMopts();if(k=="show"){i.p7status="open";if(g[1]>1&&b!=1){i.style.width=i.offsetWidth+"px";i.style.visibility="hidden";i.style.height="auto";P7_LSMposdesc();h=parseInt(i.style.top);c=i.offsetHeight;f=h+c-1;a=1;i.style.height=a+"px";i.style.top=f+"px";i.style.visibility="visible";P7_LSMglide(i.id,f,h,a,c,"open")}else{P7_LSMposdesc();P7_LSMshow_fin2()}}else{if(g[1]>1&&b!=1){f=parseInt(i.style.top);a=i.offsetHeight;c=0;h=f+a;P7_LSMglide(i.id,f,h,a,c,"close")}else{i.p7status="closed";i.style.left="-9000px";i.style.top="0px";i.style.height="10px";if(b==2){P7_LSMshowB()}}}}function P7_LSMglide(c,i,j,a,d,e){var f=2,l=10,k=0.08,h,b,g=document.getElementById(c);p7LSMan=true;h=Math.abs(parseInt(Math.abs(i)-Math.abs(j),10));b=f;f=h*k;f=(f<=b)?b:f;f=(e!="open")?f:f*-1;g.style.top=i+"px";g.style.height=a+"px";if(i==j){p7LSMan=false;if(e=="open"){g.style.height="auto";if(g.id=="p7LSM_descboxW"){P7_LSMshow_fin2()}}else{g.style.left="-9000px";g.style.height="10px";g.style.top="0px";if(g.id=="p7LSM_descboxW"){g.p7status="closed";P7_LSMshowB()}}}else{i+=f;a-=f;if(e=="open"&&i<j){i=j;a=d}if(e=="close"&&i>j){i=j;a=d}p7LSMantmr=setTimeout("P7_LSMglide('"+c+"',"+i+","+j+","+a+","+d+",'"+e+"')",l)}}function P7_LSMhelp(c){var d,b,a;d=document.getElementById("p7LSM_helpbox");b=document.getElementById("p7LSM_help");if(null==c){c=(d.p7status=="closed")?"show":"hide"}if(c=="show"){d.p7status="open";if(b){b.className="down"}a=document.getElementById(p7LSMcshow[0]);if(!a){a=document.getElementById(p7LSMctl[0][0])}d.className=a.className;P7_LSMposhelp()}else{if(b){b.className=""}d.style.left="-9000px";d.style.top="0px";d.style.height="10px";d.p7status="closed"}return false}function P7_LSMtitle(c){var e,b,d="Item";e=c.getAttribute("title");if(!e||e==""){b=c.getElementsByTagName("img");if(b&&b[0]){e=b[0].getAttribute("alt")}else{e=c.textContent;if(!e||e==""){e=c.innerText}if(!e||e==""){e=c.innerHTML}}}if(e&&e!=""){d=e}return d}function P7_LSMtoc(w,a){var s,k=0,v,j,u,o,d,m,b,f,l,p,g,e,y,r,c,q,n;v=document.getElementById("p7LSM_tocbox");if(w==null){w=(v.p7status=="closed")?"show":"hide"}r=document.getElementById("p7LSM_toc");if(w=="show"){P7_LSMclrtag(v,"ol");if(!a){d=document.getElementById(p7LSMcshow[0]);if(!d){d=document.getElementById(p7LSMctl[0][0])}}else{d=document.getElementById(a)}v.className=d.className;l=document.createElement("ol");c=document.getElementById(d.id.replace("_","trg_"));e=c.getElementsByTagName("a");for(s=0;s<e.length;s++){if(e[s].className&&e[s].className.indexOf("p7lsm_type")>-1){b=P7_LSMtitle(e[s]);f=document.createElement("a");f.appendChild(document.createTextNode(b));f.setAttribute("href","javascript:;");f.p7num=(k);k++;f.onclick=function(){P7_LSMctrl(this.p7num+1,a);return false};p=document.createElement("li");p.appendChild(f);l.appendChild(p)}}v.appendChild(l);v.p7status="open";if(r){r.className="down"}P7_LSMsetTOC();P7_LSMpostoc()}else{v.style.left="-9000px";v.style.top="0px";v.p7status="closed";if(r){r.className=""}P7_LSMclrtag(v,"ol")}return false}function P7_LSMsetTOC(){var d,c,a,b;b=p7LSMcshow[1]-1;c=document.getElementById("p7LSM_tocbox");a=c.getElementsByTagName("a");if(a&&a.length>b){for(d=0;d<a.length;d++){if((d-1)==b){a[d].className="down"}else{a[d].className=""}}}}function P7_LSMtochelpStat(){var a=document.getElementById("p7LSM_tocbox");if(a.p7status=="open"){p7LSMtocActive=true}else{p7LSMtocActive=false}a=document.getElementById("p7LSM_helpbox");if(a.p7status=="open"){p7LSMhlpActive=true}else{p7LSMhlpActive=false}}function P7_LSMclrtag(a,d){var b,c;c=a.getElementsByTagName(d);if(c&&c[0]){a.removeChild(c[0])}}function P7_LSMshow(b){var c,d;if(!p7LSMf){return false}P7_LSMrollout();if(p7LSMantmr){clearTimeout(p7LSMantmr)}if(p7LSMoptmr){clearTimeout(p7LSMoptmr)}if(p7LSMimtmr){clearTimeout(p7LSMimtmr)}if(p7LSMshowtmr){clearTimeout(p7LSMshowtmr)}document.getElementById("p7LSM_loading").style.display="none";p7LSMcshow[0]=b.p7lsmdiv;p7LSMcshow[1]=b.p7lsmsnum;p7LSMcshow[2]=b;d=P7_LSMopts();c=document.getElementById("p7LSM_descboxW");if(c.p7status=="open"&&d[17]!=1){P7_LSMdescpop("hide",2)}else{P7_LSMshowB()}return false}function P7_LSMshowB(){var h,m,b,f,o,c,k=0,g=0,l,n,d,j,e;m=p7LSMcshow[2];P7_LSMsetTOC();j=P7_LSMopts();P7_LSMbuttons();if(j[19]==0){P7_LSMsetdsp("p7LSM_toolbar","none");document.getElementById("p7LSM_container").className="hideToolbar"}else{P7_LSMsetdsp("p7LSM_toolbar","block");document.getElementById("p7LSM_container").className=""}b=document.getElementById("p7lsm_abox");f=document.getElementById("p7lsm_overlay");o=document.getElementById("p7LSM_box");if(o.p7status=="closed"){if(j[9]==1||p7LSMnextMode=="auto"){if(p7LSMmode!="auto"){p7LSMmode="auto";P7_LSMplay(1)}}}p7LSMnextMode="";o.style.display="block";P7_LSMhsel("hide");f.style.display="block";p7LSMstat=true;e=1;if(!b.filters){b.style.opacity=e}else{b.style.zoom="100%";b.style.filter="alpha(opacity="+e*100+")"}if(o.p7status=="open"){o.p7new=false;k=o.offsetWidth;g=o.offsetHeight;o.p7bl=parseInt(o.style.left);o.p7bt=parseInt(o.style.top);o.p7status="closed"}else{o.p7new=true;c=document.getElementById(p7LSMcshow[0]);o.className=c.className;b.className=c.className;f.className=c.className;document.getElementById("p7LSM_helpbox").className=c.className;document.getElementById("p7LSM_tocbox").className=c.className;document.getElementById("p7LSM_descboxW").className=c.className;if(j[13]==1||p7LSMtocActive){P7_LSMtoc("show");p7LSMtocActive=false}if(j[16]==1||p7LSMhlpActive){P7_LSMhelp("show");p7LSMhlpActive=false}}if(j[1]==1||j[1]>1&&j[7]==1){b.style.height=g+"px";b.style.width=k+"px";b.style.display="block";P7_LSMpos(b.id)}if(j[1]>0){o.style.left="-9000px"}o.p7bw=k;o.p7bh=g;o.style.height="auto";if(m.className=="p7lsm_type_img"){l=m.p7imindex;n=document.p7lsmpre[l];if(!n.cmp){P7_LSMposldng();n.src=m.href;P7_LSMload_img(l)}else{if(j[1]>0){p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly)}else{P7_LSMshow_dsp()}}}else{if(m.className=="p7lsm_type_cnt"){if(j[1]>0){p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly)}else{P7_LSMshow_dsp()}}}}function P7_LSMshow_dsp(){var C,D,j,m,r,s,G,B,x,e,y,d,f,p,o,l,F,n,k,g,q,v,E,c,h,b,u,A,z,H;D=p7LSMcshow[2];P7_LSMrestore();s=document.getElementById("p7LSM_box");r=document.getElementById("p7lsm_abox");z=document.getElementById("p7LSM_descboxW");H=document.getElementById("p7LSM_descbox");m=document.getElementById(p7LSMcshow[0]);d=D.parentNode.childNodes;x=m.p7opt[1];if(m.p7opt[6]==1){e=P7_LSMsetdsp("p7LSM_counter","block");y=document.createTextNode("Slide "+D.p7lsmsnum+" of "+m.p7lsmnum);if(e.hasChildNodes){for(C=0;C<e.childNodes.length;C++){e.removeChild(e.childNodes[C])}}e.appendChild(y)}else{P7_LSMsetdsp("p7LSM_counter","none")}if(m.p7opt[12]==1){e=P7_LSMsetdsp("p7LSM_caption","block");y=document.createTextNode(P7_LSMtitle(D));if(e.hasChildNodes){for(C=0;C<e.childNodes.length;C++){e.removeChild(e.childNodes[C])}}e.appendChild(y)}else{P7_LSMsetdsp("p7LSM_caption","none")}F=m.p7opt[4];s.style.width=F+"px";P7_LSMsetdsp("p7LSM_cnt","none");P7_LSMsetdsp("p7LSM_img","none");P7_LSMsetdsp("p7LSM_desc","none");if(D.className=="p7lsm_type_img"){G=document.getElementById("p7LSMfsim");G.src=D.href;G.setAttribute("width",document.p7lsmpre[D.p7imindex].width);G.setAttribute("height",document.p7lsmpre[D.p7imindex].height);P7_LSMsetdsp("p7LSM_img","block");P7_LSMsetdsp("p7LSM_toolbar","none");P7_LSMsetdsp("p7LSM_info","none");B=D.getElementsByTagName("img")[0];G.setAttribute("alt",B.getAttribute("alt"));s.style.width="auto";F=s.offsetWidth;s.style.width=F+"px";if(m.p7opt[19]!=0){P7_LSMsetdsp("p7LSM_toolbar","block")}P7_LSMsetdsp("p7LSM_info","block");f=document.getElementById("p7LSMfslink");f.removeAttribute("href");f.setAttribute("title","");f.onclick=null;for(C=0;C<d.length;C++){if(d[C].className&&d[C].className=="p7lsm_link"){e=d[C].getElementsByTagName("a");if(e&&e[0]){f.setAttribute("title",P7_LSMtitle(e[0]));f.setAttribute("href",e[0].getAttribute("href"));if(e[0].onclick){f.onclick=e[0].onclick}}}}}else{E=D.hash;if(E&&E.length>1){y=document.getElementById(E.substring(1));if(y){e=P7_LSMsetdsp("p7LSM_cnt","block");P7_LSMcopyCN(e,y);e.p7src=y}}}z.p7show=false;for(C=0;C<d.length;C++){if(d[C].className&&d[C].className=="p7lsm_description"){if(m.p7opt[15]==1){P7_LSMcopyCN(H,d[C]);H.p7src=d[C];z.p7show=true}else{e=P7_LSMsetdsp("p7LSM_desc","block");P7_LSMcopyCN(e,d[C]);e.p7src=d[C]}}}if(m.p7opt[15]==1){if(m.p7opt[17]==1&&z.p7status=="open"){P7_LSMposdesc()}}l=s.offsetHeight;if(m.p7opt[19]!=0&&s.offsetWidth<p7LSMminwidth){if(!m.p7hideButtons){s.style.width=p7LSMminwidth+"px";F=p7LSMminwidth}}if(x==0){P7_LSMpos("p7LSM_box");s.p7status="open";P7_LSMshow_fin()}else{if(x==1){s.style.visiblity="hidden";P7_LSMpos("p7LSM_box");r.style.top=s.style.top;r.style.left=s.style.left;r.style.height=s.offsetHeight+"px";r.style.width=s.offsetWidth+"px";s.style.visbility="visible";P7_LSMfadeOut(r.id,0.99)}else{if(x>1){if(x==2||x==3){g=6;q=20}else{g=F;q=l}if(m.p7opt[7]==1&&!s.p7new){q=(s.p7bh>10)?s.p7bh:q;g=(s.p7bw>20)?s.p7bw:g}else{r.style.width=g+"px";r.style.height=q+"px";r.style.display="block";P7_LSMpos(r.id)}n=parseInt(r.style.left);k=parseInt(r.style.top);s.style.visibility="hidden";P7_LSMpos(s.id);h=parseInt(s.style.left);b=parseInt(s.style.top);v=0;if(m.p7opt[2]==1){v=1;if(m.p7opt[7]!=1||s.p7new){k=parseInt(k-(q/2)+(l/2));v=0}}else{if(m.p7opt[2]==2){v=2;if(m.p7opt[7]!=1||s.p7new){n=parseInt(n-(g/2)+(F/2));v=0}}else{if(m.p7opt[2]==3){v=3;if(m.p7opt[7]!=1||s.p7new){n=parseInt(n-(g/2)+(F/2));k=parseInt(k-(q/2)+(l/2));v=0}}}}P7_LSMgrow(r.id,n,h,k,b,q,l,g,F,x,v)}}}}function P7_LSMshow_fin(){var a,b=P7_LSMopts();p7LSMan=false;if(b[15]==1){a=document.getElementById("p7LSM_descboxW");if((a.p7show&&b[17]!=1)||(b[17]==1&&a.p7status!="open")){P7_LSMdescpop("show")}else{if(b[17]==1){a.p7status="open"}P7_LSMshow_fin2()}}else{P7_LSMshow_fin2()}}function P7_LSMshow_fin2(){var e,d,l,b,s,q,f,r,a,k,p,h,o,g,c=false;p7LSMan=false;k=document.getElementById("p7LSM_box");k.p7status="open";k.p7new=false;P7_LSMrsz();a=document.getElementById(p7LSMcshow[0]);f=a.p7opt;s=p7LSMcshow[1]+1;b=s;g=p7LSMcshow[0];if(f[14]==1){if(s>a.p7lsmnum){if(f[5]==1){r=a.p7slides[0]}else{if(f[5]==3){d=P7_LSMnextShow();g=p7LSMctl[d][0];r=document.getElementById(g).p7slides[0]}else{r=null}}}else{r=a.p7slides[s-1]}if(r&&r.p7imindex){o=r.p7imindex;h=document.p7lsmpre[o];if(!h.cmp){h.src=r.href}}}if(p7LSMmode=="auto"){if(b>a.p7lsmnum&&f[5]==0){P7_LSMpause()}else{if(b>a.p7lsmnum&&f[5]==2){p7LSMshowtmr=setTimeout("P7_LSMclose()",f[11]*1000)}else{p7LSMshowtmr=setTimeout("P7_LSMctrl('next','',1)",f[11]*1000)}}}}function P7_LSMnextShow(){var b,c,a=-1;c=p7LSMcshow[0];for(b=0;b<p7LSMctl.length;b++){if(p7LSMctl[b][0]==c){if(b>=p7LSMctl.length-1){a=0}else{a=b+1}break}}return a}function P7_LSMprevShow(){var b,c,a=-1;c=p7LSMcshow[0];for(b=0;b<p7LSMctl.length;b++){if(p7LSMctl[b][0]==c){if(b==0){a=p7LSMctl.length-1}else{a=b-1}break}}return a}function P7_LSMrestore(){var a;a=document.getElementById("p7LSM_cnt");if(a.p7src){P7_LSMcopyCN(a.p7src,a)}a.p7src=false;a=document.getElementById("p7LSM_desc");if(a.p7src){P7_LSMcopyCN(a.p7src,a)}a.p7src=false;a=document.getElementById("p7LSM_descbox");if(a.p7src){P7_LSMcopyCN(a.p7src,a)}a.p7src=false}function P7_LSMload_img(b,c){var d,e,a=document.p7lsmpre[b];c=(c)?c:0;if(a.cmp){a.cmp=true;document.getElementById("p7LSM_loading").style.display="none";p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly)}else{if(p7LSMimtmr){clearTimeout(p7LSMimtmr)}c++;if(c<500){p7LSMimtmr=setTimeout("P7_LSMload_img("+b+","+c+")",60)}else{document.getElementById("p7LSM_loading").style.display="none";a.cmp=true;a.width=300;a.height=300;e=P7_LSMopts();if(e[1]>0){p7LSMantmr=setTimeout("P7_LSMshow_dsp()",p7lsmdly)}else{P7_LSMshow_dsp()}}}}function P7_LSMbuttons(){var c,d,a,b;d=document.getElementById(p7LSMcshow[0]);a=d.p7lsmnum;if(a==1){d.p7hideButtons=true;P7_LSMsetdsp("p7LSM_toc","none");P7_LSMsetdsp("p7LSM_first","none");P7_LSMsetdsp("p7LSM_prev","none");P7_LSMsetdsp("p7LSM_pauseplay","none");P7_LSMsetdsp("p7LSM_next","none");P7_LSMsetdsp("p7LSM_last","none");P7_LSMsetdsp("p7LSM_help","none")}else{d.p7hideButtons=false;P7_LSMsetdsp("p7LSM_toc","block");P7_LSMsetdsp("p7LSM_first","block");P7_LSMsetdsp("p7LSM_prev","block");P7_LSMsetdsp("p7LSM_pauseplay","block");P7_LSMsetdsp("p7LSM_next","block");P7_LSMsetdsp("p7LSM_last","block");P7_LSMsetdsp("p7LSM_help","block")}}function P7_LSMclose(){var d,f,e,c,b,a;if(p7LSMantmr){clearTimeout(p7LSMantmr)}if(p7LSMoptmr){clearTimeout(p7LSMoptmr)}if(p7LSMimtmr){clearTimeout(p7LSMimtmr)}if(p7LSMshowtmr){clearTimeout(p7LSMshowtmr)}P7_LSMpause();p7LSMstat=false;P7_LSMtoc("hide");P7_LSMhelp("hide");P7_LSMdescpop("hide",1);f=document.getElementById("p7lsm_abox");e=document.getElementById("p7lsm_overlay");c=document.getElementById("p7LSM_box");c.p7status="closed";c.style.left="-9000px";c.style.height="10px";c.style.top="0px";P7_LSMrestore();f.style.display="none";document.getElementById("p7LSM_loading").style.display="none";P7_LSMhsel("show");e.style.display="none";if(P7_LSMisIE6()){e.style.height="10px"}return false}function P7_LSMopts(){var a,b;if(!p7LSMcshow[0]){p7LSMcshow[0]=p7LSMctl[0][0];p7LSMcshow[1]=1}b=document.getElementById(p7LSMcshow[0]);if(b&&b.p7opt){return b.p7opt}else{return["",0,0,0,0,0]}}function P7_LSMrsz(){var a=document.getElementById("p7LSM_box");if(a.p7status=="open"&&!p7LSMan){P7_LSMpos("p7LSM_box");P7_LSMpostoc();P7_LSMposhelp();P7_LSMposdesc()}}function P7_LSMpostoc(){var a,e,c,d,f,b=10;a=document.getElementById("p7LSM_tocbox");d=P7_LSMwin();if(a.p7status=="open"){a.style.height="auto";e=a.offsetHeight;c=d[0]-e-20;if(c<10){e=d[0]-20;c=10;a.style.height=e+"px"}f=P7_LSMsclb();c+=f[1];b+=f[0];c=(c<0)?0:c;a.style.top=c+"px";a.style.left=b+"px"}}function P7_LSMposhelp(){var a,f,c,d,b,e,g;a=document.getElementById("p7LSM_helpbox");e=P7_LSMwin();if(a.p7status=="open"){a.style.height="auto";f=a.offsetHeight;c=a.offsetWidth;d=e[0]-f-20;b=e[1]-c-20;g=P7_LSMsclb();d+=g[1];b+=g[0];d=(d<0)?0:d;a.style.top=d+"px";a.style.left=b+"px"}}function P7_LSMposdesc(){var g,c,d,i,j,b,a,f,e;g=document.getElementById("p7LSM_descboxW");c=document.getElementById("p7LSM_descbox");a=P7_LSMwin();if(g.p7status=="open"){g.style.height="auto";d=g.offsetHeight;i=g.offsetWidth;j=a[0]-d-20;b=a[1]-i-20;f=P7_LSMsclb();j+=f[1];b+=f[0];j=(j<0)?0:j;e=P7_LSMminleft();b=(b<e)?e:b;g.style.top=j+"px";g.style.left=b+"px"}}function P7_LSMposldng(){var f,b,c,a,g,d,d,e;f=document.getElementById("p7LSM_loading");b=document.getElementById("p7LSM_box");f.style.visibility="hidden";f.style.display="block";if(!b.p7new&&b.p7bl){a=parseInt(b.p7bl)+((b.p7bw-f.offsetWidth)/2);g=parseInt(b.p7bt)+((b.p7bh-f.offsetHeight)/2)}else{e=P7_LSMsclb();c=P7_LSMwin();a=((c[1]-f.offsetWidth)/2)+e[0];g=((c[0]-f.offsetHeight)/2)+e[1]}f.style.left=a+"px";f.style.top=g+"px";f.style.visibility="visible"}function P7_LSMminleft(){var a=document.getElementById("p7LSM_box");return parseInt(a.style.left)+a.offsetWidth+5}function P7_LSMpos(z){var k,i,f,b,o,r,l,A,e,g,m,p,n,s,q,c,u,a;f=P7_LSMwin();b=document.getElementById(z);g=P7_LSMopts();l=b.offsetWidth;r=b.offsetHeight;k=parseInt((f[1]-l)/2);k=(k<0)?0:k;i=parseInt((f[0]-r)/2);i=(i<0)?0:i;if(g[2]==1){i=g[3]}else{if(g[2]==2){k=g[18]}else{if(g[2]==3){i=g[3];k=g[18]}}}a=P7_LSMsclb();if(g[2]!=3){if(g[2]!=2){k+=a[0]}if(g[2]!=1){i+=a[1]}}b.style.left=k+"px";b.style.top=i+"px";if(P7_LSMisIE6()){A=document.body.parentNode.scrollHeight;e=document.getElementById("p7lsm_overlay");r=(f[0]>0)?f[0]:r;r=(r>A)?r:A;e.style.height=r+"px";e.style.position="absolute"}}function P7_LSMdims(d){var c,f,b,a=0,e=0,g=[4];c=d;while(c){a+=(c.offsetLeft)?c.offsetLeft:0;e+=(c.offsetTop)?c.offsetTop:0;if(window.opera||navigator.userAgent.indexOf("Safari")>-1){if(c.nodeName=="BODY"){a-=(c.offsetLeft)?c.offsetLeft:0;e-=(c.offsetTop)?c.offsetTop:0}}c=c.offsetParent}g[0]=a;g[1]=e;g[2]=d.offsetWidth;g[3]=d.offsetHeight;return g}function P7_LSMsclb(){var a,b;b=document.body.parentNode.scrollTop;if(!b){b=document.body.scrollTop}b=(b)?b:0;a=document.body.parentNode.scrollLeft;if(!a){a=document.body.scrollLeft}a=(a)?a:0;return[a,b]}function P7_LSMgrow(r,l,e,h,b,p,k,d,u,m){var n=10,j=10,q=1,f=1,o=10,s;var i,t=0,g=0,c=0,w=0,v,a=0.1;v=Math.abs(parseInt(Math.abs(k)-Math.abs(p),10));s=q;q=v*a;q=(q<=s)?s:q;v=Math.abs(parseInt(Math.abs(u)-Math.abs(d),10));s=f;f=v*a;f=(f<=s)?s:f;n=f/2;j=q/2;if(u<d){f=f*-1}if(k<p){q=q*-1}if(b<h){j=j*-1}if(e<l){n=n*-1}p7LSMan=true;i=document.getElementById(r);i.style.height=p+"px";i.style.width=d+"px";i.style.left=l+"px";i.style.top=h+"px";if(p==k&&d==u&&h==b&&l==e){document.getElementById("p7LSM_box").style.visibility="visible";if(m==3){P7_LSMfadeOut(i.id,0.99)}else{i.style.display="none";P7_LSMshow_fin()}}else{c=l+n;w=h+j;if(m==2||m==3){t=d+f;if(d==u){g=p+q}else{g=p;w=h}}if(q<0){g=(g<=k)?k:g}else{g=(g>=k)?k:g}if(f<0){t=(t<=u)?u:t}else{t=(t>=u)?u:t}if(j<0){w=(w<=b)?b:w}else{w=(w>=b)?b:w}if(n<0){c=(c<=e)?e:c}else{c=(c>=e)?e:c}p7LSMantmr=setTimeout("P7_LSMgrow('"+r+"',"+c+","+e+","+w+","+b+","+g+","+k+","+t+","+u+","+m+")",o)}}function P7_LSMfadeOut(h,g){var b,a=10,c=0.01,e,f=document.getElementById(h);p7LSMan=true;e=(window.opera)?0.15:0.04;g=(g<=c)?c:g;if(!f.filters){f.style.opacity=g}else{e=0.1;a=30;f.style.filter="alpha(opacity="+g*100+")"}if(g>c){g-=e;p7LSMoptmr=setTimeout("P7_LSMfadeOut('"+h+"',"+g+")",a)}else{f.style.display="none";P7_LSMpos("p7LSM_box");P7_LSMshow_fin()}}function P7_LSMkey(n){var e,a,o,b,c=true,g=false,h,b,d,l;if(p7LSMstat){n=(n)?n:event;a=(n.target)?n.target:n.srcElement;o=a.nodeName.toLowerCase();if(!n.altKey&&!n.ctrlKey){if(o!="input"&&o!="textarea"){e=n.keyCode;var f=n.charCode;if(e==33||e==37||e==109||e==32&&n.shiftKey){P7_LSMctrl("previous");c=false}else{if(e==34||e==39||e==107||e==32){P7_LSMctrl("next");c=false}else{if(e==35){P7_LSMctrl("last");c=false}else{if(e==36){P7_LSMctrl("first");c=false}else{if(e==80){P7_LSMppTrig();c=false}else{if(e==27||(e==88&&!window.opera)){P7_LSMclose();c=false}else{if(e==72&&!window.opera){P7_LSMhelp();c=false}else{if(e==84){P7_LSMtoc();c=false}}}}}}}}}}}if(!c){if(n.preventDefault){n.preventDefault()}}return c}function P7_LSMwin(){var b,a;if(window.innerHeight){if(document.documentElement.clientWidth){a=document.documentElement.clientWidth}else{a=window.innerWidth}b=window.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){a=document.documentElement.clientWidth;b=document.documentElement.clientHeight}else{if(document.body){a=document.body.clientWidth;b=document.body.clientHeight}}}return[b,a]}function P7_LSMsetdsp(a,c){var b=document.getElementById(a);if(b){b.style.display=c}return b}function P7_LSMcopyCN(b,a){while(b.childNodes.length>0){b.removeChild(b.childNodes[0])}while(a.childNodes.length>0){b.appendChild(a.childNodes[0])}}function P7_LSMbuildpop(){var c,j,e,k,f,b,d,g,h;d=document.createElement("div");d.setAttribute("id","p7LSM_toolbar");e=document.createElement("i");e.appendChild(document.createTextNode("contents"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_toc");j.setAttribute("href","#");j.setAttribute("title","Table of Contents");b=document.createElement("div");b.setAttribute("id","p7LSM_toolbartoc");b.appendChild(j);d.appendChild(b);f=document.createElement("ul");e=document.createElement("i");e.appendChild(document.createTextNode("first"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_first");j.setAttribute("href","#");j.setAttribute("title","First");k=document.createElement("li");k.appendChild(j);f.appendChild(k);e=document.createElement("i");e.appendChild(document.createTextNode("previous"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_prev");j.setAttribute("href","#");j.setAttribute("title","Previous");k=document.createElement("li");k.appendChild(j);f.appendChild(k);e=document.createElement("i");e.appendChild(document.createTextNode("pause/play"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_pauseplay");j.setAttribute("href","#");j.setAttribute("title","Play");j.setAttribute("class","p7LSM_play");k=document.createElement("li");k.appendChild(j);f.appendChild(k);e=document.createElement("i");e.appendChild(document.createTextNode("next"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_next");j.setAttribute("href","#");j.setAttribute("title","Next");k=document.createElement("li");k.appendChild(j);f.appendChild(k);e=document.createElement("i");e.appendChild(document.createTextNode("last"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_last");j.setAttribute("href","#");j.setAttribute("title","Last");k=document.createElement("li");k.appendChild(j);f.appendChild(k);b=document.createElement("div");b.setAttribute("id","p7LSM_vcr");b.appendChild(f);d.appendChild(b);e=document.createElement("i");e.appendChild(document.createTextNode("help"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_help");j.setAttribute("href","#");j.setAttribute("title","Help for Keyboard Users");b=document.createElement("div");b.setAttribute("id","p7LSM_toolbarhelp");b.appendChild(j);d.appendChild(b);e=document.createElement("i");e.appendChild(document.createTextNode("close"));j=document.createElement("a");j.appendChild(e);j.setAttribute("id","p7LSM_close");j.setAttribute("href","#");j.setAttribute("title","Close");b=document.createElement("div");b.setAttribute("id","p7LSM_toolbarclose");b.appendChild(j);d.appendChild(b);h=document.createElement("div");h.setAttribute("id","p7LSM_container");h.appendChild(d);b=document.createElement("div");b.setAttribute("id","p7LSM_cnt");h.appendChild(b);b=document.createElement("div");b.setAttribute("id","p7LSM_img");h.appendChild(b);g=document.createElement("div");g.setAttribute("id","p7LSM_box");g.appendChild(h);c=document.createElement("div");c.setAttribute("id","p7LSM_info");b=document.createElement("div");b.setAttribute("id","p7LSM_caption");c.appendChild(b);b=document.createElement("div");b.setAttribute("id","p7LSM_desc");c.appendChild(b);b=document.createElement("div");b.setAttribute("id","p7LSM_counter");c.appendChild(b);h.appendChild(c);document.getElementsByTagName("body")[0].appendChild(g);c=document.createElement("div");c.setAttribute("id","p7LSM_loading");document.getElementsByTagName("body")[0].appendChild(c);c=document.createElement("a");c.setAttribute("id","p7LSMfslink");b=document.createElement("img");b.setAttribute("id","p7LSMfsim");c.appendChild(b);document.getElementById("p7LSM_img").appendChild(c)}function P7_LSMhsel(b){var a,c,d;if(P7_LSMisIE6()){c=document.getElementsByTagName("select");if(c){d=(b=="hide")?"hidden":"visible";for(a=0;a<c.length;a++){c[a].style.visibility=d}}}}function P7_LSMisIE6(){var c,b,a=false;c=p7lsmA.indexOf("msie");b=parseInt(p7lsmA.substring(c+4,c+6));if(b<9){a=true}return a};