/* FILE ARCHIVED ON 8:08:08 Jan 3, 2013 AND RETRIEVED FROM THE AN OPENWAYBACK INSTANCE ON 7:27:36 Sep 27, 2024. JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ var playWindowFlashUrl="";url=document.location.href;xend=url.lastIndexOf("/")+1;var base_url=url.substring(0,xend);counterForFeatureHeadline=1;counterForFeatureDesc=1;var counterForFeatureHeadlineTicker=0;var ticker=null;function makeRequest(url){http_request="";if('http'!=url.substring(0,4)){url=base_url+url;} var jsel=document.createElement('SCRIPT');jsel.type='text/javascript';jsel.src=url;document.body.appendChild(jsel);} function processReadyStateChange(xmldoc,wwoDivCounter){if(window.ActiveXObject){var doc=new ActiveXObject("Microsoft.XMLDOM");doc.async="false";doc.loadXML(xmldoc);}else{var parser=new DOMParser();var doc=parser.parseFromString(xmldoc,"text/xml");} var root=doc.documentElement;var arr=new Array();arr['titleBar']=titleBarNameArray[wwoDivCounter];addrow(arr,brArray[wwoDivCounter]['brAfterTitleBar'],wwoDivCounter);for(var iNode=0;iNode
';} if(playWindowFlashUrl){var tmpFlashWidth=350;var tmpFlashHeight=30;tmpStr+='\ \ \ \ \ \ ';} if(tmpStr.length>0){wwoMyFlashMovieDivObj=d.getElementById("wwoMyFlashMovieDiv");if(wwoMyFlashMovieDivObj){wwoMyFlashMovieDivObj.innerHTML=tmpStr;}}} function generateNumberOfBR(no,className){str="";if((no)&&(!isNaN(no))){for(var i=0;i";}} return str;} function stringTobrForPHP(str){if(str.length>0){var str_check=str.indexOf("=BR=BR=");if(-1!=str_check){str=str.replace(/=BR=BR=/g,"
");}} return str;} function addImgsrvInImageSource(changeImgSrc){if(changeImgSrc){changeImgSrc=changeImgSrc.replace("www.","");} if(-1!=changeImgSrc.indexOf("http")){var myRegExp=/http:\/\//g;return changeImgSrc.replace(myRegExp,"https://webarchive.library.unt.edu/web/20130103080808/http://imgsrv.");}} function replaceOpenPlayerWithOpenPlayerForWWO(str){if(-1!=str.indexOf("openPlayer")){var myRegExp=/javascript:openPlayer/g;return str.replace(myRegExp,"javascript:openPlayerForWWO");} return str;} function addPreTagInStr(str){if(str){str="

"+str+"

";} return str;} function showFeature(node,wwoDivCounter){noOFBr="";tmpVar="";if(("true"==showBulletArray[wwoDivCounter])||("1"==showBulletArray[wwoDivCounter])){if(featureBulletImageUrlArray[wwoDivCounter]){tmpHeight=(featureBulletImageHeightArray[wwoDivCounter])?featureBulletImageHeightArray[wwoDivCounter]:"10px";tmpWidth=(featureBulletImageWidthArray[wwoDivCounter])?featureBulletImageWidthArray[wwoDivCounter]:"10px";showBulletString="";}else{showBulletString="•";}}else{showBulletString="";} for(i=0;i0){sibl3=sibl2.childNodes.item(0);} switch(sibl2.nodeName){case"totalFeatures":if(sibl3.data){wwoTotalFeatureGroupArray[wwoDivCounter]=sibl3.data;}else{wwoTotalFeatureGroupArray[wwoDivCounter]=0;} break;case"content":if(sibl3.data){arr['content']=sibl3.data;} break;case"contentId":if((sibl3.data)&&(sibl3.data!=0)&&(sibl3.data!="")){arr['contentId']=sibl3.data;var strCheck=baseUrlForWWOArray[wwoDivCounter].indexOf("?");if(-1!=strCheck){tmpBaseUrl=baseUrlForWWOArray[wwoDivCounter]+"&contentId="+sibl3.data;}else{tmpBaseUrl=baseUrlForWWOArray[wwoDivCounter]+"?contentId="+sibl3.data;} if(wwoFeatureGroupIdArray[wwoDivCounter]){tmpBaseUrl+="&featureGroupId="+wwoFeatureGroupIdArray[wwoDivCounter];} if(baseUrlWindowTargetArray[wwoDivCounter]){targetVar="target='"+baseUrlWindowTargetArray[wwoDivCounter]+"'";}else{targetVar="";} linkStart="";linkEnd="";linkForFeatureDescription="..."+linkStart+"Read More"+linkEnd;} break;case"headline":if(sibl3.data){arr['featureHeadline']=showBulletString+linkStart+sibl3.data+linkEnd;} break;case"teaserText":if(sibl3.data){teaserText=sibl3.data;} break;case"longTeaserText":if(sibl3.data){longTeaserText=sibl3.data;} break;case"featureImageWidth":if(sibl3.data){featureImageWidth=" width="+sibl3.data+" ";} break;case"fileName":tmpVar="";if(sibl3.data){var tmpString="";tmpString=sibl3.data;if(-1!=tmpString.indexOf("http")){tmpVar=""+tmpString+"";}else{var changedImageSrcPath=addImgsrvInImageSource(domainUrlForWWO);tmpVar=""+tmpString+"";} tmpString="";} if(tmpVar){arr['lightGraphicImage']=linkStart+tmpVar+linkEnd;} break;} if(longTeaserText){arr['featureDescription']=longTeaserText;}else{arr['featureDescription']=teaserText;}} for(var key in arr){switch(key){case"featureDescription":noOFBr=brArray[wwoDivCounter]['brAfterFeatureGroupDesc'];if(arr[key]){tmpStr=arr[key];strReplaceAll="";if(-1!=tmpStr.search("

")){tmpArr=tmpStr.split("

");len=tmpArr.length;for(var j=0;j<(len);j++){if((tmpArr[j].length>0)&&(j==(len-2))){strReplaceAll+=tmpArr[j]+linkForFeatureDescription+"

";}else if(tmpArr[j].length>0){strReplaceAll+=tmpArr[j]+"

";}} if(strReplaceAll.length>0){arr[key]=strReplaceAll;}}else{arr[key]="

"+tmpStr+linkForFeatureDescription+"

";}} break;}} addrow(arr,noOFBr,wwoDivCounter);}} function showBlurb(node,wwoDivCounter){noOFBr="";for(i=0;i0){sibl3=sibl2.childNodes.item(0);} switch(sibl2.nodeName){case"blurb":if(sibl3.data){arr['blurbHeadline']=sibl3.data;} break;case"largeText":if(sibl3.data){noOFBr=brArray[wwoDivCounter]['brAfterBlurbDesc'];arr['blurbDescription']=replaceOpenPlayerWithOpenPlayerForWWO(sibl3.data);} break;case"graphicFileName":if(sibl3.data){arr['graphicFileName']=sibl3.data;} break;case"copyright":if(sibl3.data){arr['copyright']=sibl3.data;} break;case"blurbTimePosted":if(sibl3.data){arr['blurbTimePosted']=sibl3.data;} break;}} addrow(arr,noOFBr,wwoDivCounter);}} function showSponsor(node,wwoDivCounter){noOFBr="";for(i=0;i0){sibl3=sibl2.childNodes.item(0);} switch(sibl2.nodeName){case"sponsorName":noOFBr=brArray[wwoDivCounter]['brAfterSponsorHeadline'];if(sibl3.data){arr['sponsorName']=sibl3.data;} break;case"url":if(sibl3.data){arr['sponsorUrl']=sibl3.data;} break;case"smallFileName":if(sibl3.data){smallFileName=sibl3.data;} break;case"smallHeight":if(sibl3.data){smallHeight=sibl3.data;} break;case"smallWidth":if(sibl3.data){smallWidth=sibl3.data;} break;case"largeFileName":if(sibl3.data){largeFileName=sibl3.data;} break;case"largeHeight":if(sibl3.data){largeHeight=sibl3.data;} break;case"largeWidth":if(sibl3.data){largeWidth=sibl3.data;} break;} if("small"==sponsorImageTypeArray[wwoDivCounter]){arr['sponsorImagePath']=smallFileName;arr['sponsorImageHeight']=smallHeight;arr['sponsorImageWidth']=smallWidth;}else{arr['sponsorImagePath']=largeFileName;arr['sponsorImageHeight']=largeHeight;arr['sponsorImageWidth']=largeWidth;}} addrow(arr,noOFBr,wwoDivCounter);}} function addrow(arr,noOFBr,wwoDivCounter){wwoDivObj=wwoDivFGObjArray[wwoDivCounter];divStart="";divEnd="";titleBar="";feature="";tmpFeature="";featureHeadline="";lightGraphicImage="";blurb="";blurbHeadline="";blurbImage="";blurbDesc="";blurbCopyright="";blurbTimePosted="";sponsorName="";sponsorImage="";sponsorUrl="";sponsorImagePath="";sponsorImageHeight="";sponsorImageWeight="";marqueeFeature="";for(var key in arr){if(noOFBr){brStr=generateNumberOfBR(noOFBr,key);}else{brStr="";} switch(key){case"titleBar":titleBar="\n
"+arr[key]+"
"+brStr;break;case"lightGraphicImage":lightGraphicImage=arr[key];break;case"featureHeadline":if(tickerArray[wwoDivCounter]){featureGroupArrayForTicker[counterForFeatureHeadlineTicker]=arr[key];counterForFeatureHeadlineTicker++;}else{var className="featureGroupHeader";var featureGroupSpanClass="spanClass";if((featureHeadlineEvenInfoArray[wwoDivCounter])&&(0==counterForFeatureHeadline%2)){className="featureGroupHeader_Even";featureGroupSpanClass="featureGroupSpan_Even";counterForFeatureHeadline=1;}else{counterForFeatureHeadline++;if((featureHeadlineEvenInfoArray[wwoDivCounter])){featureGroupSpanClass="featureGroupSpan";}} featureHeadline="\n
"+addPreTagInStr(arr[key])+"
";} break;case"featureDescription":if(!tickerArray[wwoDivCounter]){var className="featureGroupDesc";if((featureDescEvenInfoArray[wwoDivCounter])&&(0==counterForFeatureDesc%2)){className="featureGroupDesc_Even";counterForFeatureDesc=1;} else{counterForFeatureDesc++;} tmpStr1=stringTobrForPHP(arr[key]);tmpStr1=addPreTagInStr(tmpStr1);featureDescription="\n
"+tmpStr1+"
"+brStr;} break;case"graphicFileName":var changedImageSrcPath=addImgsrvInImageSource(domainUrlForWWO);blurbImage="\n"+arr[key]+"";break;case"blurbHeadline":blurbHeadline="\n
"+addPreTagInStr(arr[key])+"
";break;case"blurbDescription":tmpStr2=stringTobrForPHP(arr[key]);blurbDesc="\n
"+addPreTagInStr(tmpStr2)+"
"+brStr;break;case"copyright":blurbCopyright="\n

"+arr[key]+"
"+brStr;break;case"blurbTimePosted":blurbTimePosted="\n
"+arr[key]+"
";break;case"sponsorName":sponsorName="\n
"+arr[key]+"
"+brStr;break;case"sponsorUrl":sponsorUrl=arr[key];break;case"sponsorImagePath":sponsorImagePath=arr[key];break;case"sponsorImageHeight":sponsorImageHeight=arr[key];break;case"sponsorImageWeight":sponsorImageWeight=arr[key];break;} if(!tickerArray[wwoDivCounter]){if(lightGraphicImage&&featureHeadline&&featureDescription){tmpFeature="\n
"+lightGraphicImage+featureHeadline+featureDescription+"
";}else if(featureHeadline&&featureDescription){tmpFeature="\n
"+featureHeadline+featureDescription+"
";} if(blurbImage&&blurbHeadline&&blurbDesc){blurb="\n
"+blurbImage+blurbHeadline+blurbDesc+blurbCopyright+"
";}else if(blurbHeadline&&blurbDesc){blurb="\n
"+blurbHeadline+blurbDesc+blurbCopyright+"
";} if(sponsorImagePath&&sponsorUrl){var changedImageSrcPath=addImgsrvInImageSource(domainUrlForWWO);sponsorImage="\n";}}} if(tickerArray[wwoDivCounter]){if(counterForFeatureHeadlineTicker==(wwoTotalFeatureGroupArray[wwoDivCounter])){counterForFeatureHeadlineTicker=0;counterForFeatureHeadline=1;counterForFeatureDesc=1;displyFeatureTicker(wwoDivObj);}}else{if((tmpFeature)&&(tmpFeature.length>0)){addFeatureGroupInArray(tmpFeature);} if(wwoFeatureGroupColumnDisplayCounter==wwoTotalFeatureGroupArray[wwoDivCounter]){counterForFeatureHeadlineTicker=0;counterForFeatureHeadline=1;counterForFeatureDesc=1;feature=formatFeatureGroupArray(wwoDivCounter);} wwoDivObj.innerHTML+=titleBar+feature+blurb+sponsorName+sponsorImage;} return false;} function displyFeatureTicker(wwoDivObj){if(!wwoDivObj){return"";} var directionVar="left";str='';for(var i in featureGroupArrayForTicker){str+=featureGroupArrayForTicker[i]+"   ";} str+="";wwoDivObj.innerHTML=str;objScroller=document.getElementById("scroller");if(objScroller){if(objScroller.direction==directionVar){objScroller.start();}} featureGroupArrayForTicker=new Array();} function addFeatureGroupInArray(tmpFeature){tmpFeatureArray[wwoFeatureGroupColumnDisplayCounter]=tmpFeature;wwoFeatureGroupColumnDisplayCounter++;} function formatFeatureGroupArray(wwoDivCounter){wwoFeatureGroupColumnDisplayCounter=0;var str="";var tableStr="";var arrLen=tmpFeatureArray.length;var localFeatureGroupString=tmpFeatureArray;var noOfTds=featureGroupColumnDisplayArray[wwoDivCounter];var noOfBlankTds=(noOfTds)?eval(noOfTds-1):0;var noOfBlankTdsCounter=0;if(noOfTds&&noOfTds>1){var widthOfTds=parseInt(eval(100/noOfTds));var stringForTdWidth=(widthOfTds>1)?" width="+widthOfTds+"% ":"";for(var i=0;i";} tableStr+="";if(noOfBlankTdsCounter ";noOfBlankTdsCounter++;}else{noOfBlankTdsCounter=0;}} if(i==arrLen){totalExtraTds=(Math.ceil(arrLen/noOfTds)*noOfTds)-1;for(var j=i;j<=totalExtraTds;j++){tableStr+="";if(noOfBlankTdsCounter ";noOfBlankTdsCounter++;}else{noOfBlankTdsCounter=0;}} tableStr+="
"+tmpFeatureArray[i]+" 
";} tmpFeatureArray=new Array();return tableStr;}else{for(var k=0;k