/* storyNav.js is used to rotate pieces of each story via css *//* if javascript is turned off, user should be able to navigate with traditional methods *//* moreText changes display for each story section */curPage=1;function moreText(s){if(!s) return false;if(s == 'more') s=(curPage*1)+1;if(artT < s) s=1;for(var i=1; i<=artT; i++){tH="homePage"+i;tEl=document.getElementById(tH);tEl.className="moreText";tL="storyLink"+i;tL=document.getElementById(tL).className="";}l="storyLink"+s;document.getElementById(l).className="activePage";h="homePage"+s;el=document.getElementById(h);xl=(window.xImg !== undefined) ? xImg.length : 1;if(xl > 2 && artT > 1){c=(s >= (xl-1)) ? (xl-1) : s;im=document.getElementById("story_image").src=xImg[c];}curPage=s;return el.className="copy";return false;}