function scroll(){ var scroll = ""; pos++; if (pos == strLen) pos = 1 - width; if (pos<0) { for (var i=1; i<=Math.abs(pos); i++) scroll = scroll + " "; scroll = scroll + scrlStr.substring(0, width - i + 1); } else scroll = scroll + scrlStr.substring(pos, pos + width); document.forms[0].Tx_DisplayBannerText.value = scroll; setTimeout("scroll()",100); } function LoadOneOrTwo(url1, frameone, url2, frametwo, number){ if(number=='1') { tut=frameone+".location.href=";tut=tut+"'"+url1+"'"; eval(tut); } else { tut=frameone+".location.href=";tut=tut+"'"+url1+"'"; tut2=frametwo+".location.href=";tut2=tut2+"'"+url2+"'"; eval(tut);eval(tut2) } } function LoadTwo(url1, frameone, url2, frametwo){ tut=frameone+".location.href=";tut=tut+"'"+url1+"'"; tut2=frametwo+".location.href=";tut2=tut2+"'"+url2+"'"; eval(tut);eval(tut2)}; function LinkTarget(target, url) { if (target == 'top') {top.location.href = url;} if (target == 'bottom') {top.bottom.location.href = url;} if (target == 'menu') {top.bottom.menu.location.href = url;} if (target == 'view') {top.bottom.view.location.href = url;} if (target == 'bulletin') {top.bottom.bulletin.location.href = url;} if (target == 'Mitten') {top.bottom.Mitten.location.href = url;} } function LinkOptions(number, target1, url1, target2, url2, target3, url3) { if (number =='0') {open(url1,'helpwindow');} if (number =='1') {LinkTarget(target1,url1);} if (number =='2') {LinkTarget(target1,url1); LinkTarget(target2,url2);} if (number =='4') {top.parent.location = url1;} } function PrintDocument() { window.open("../" + printurl + "&NoFrame=1&Printstatus=Yes", "printVersion", "width=800, height=600, toolbar=1, directories=0, menubar=1, status=1, resizable=1, location=0, scrollbars=1"); } function OpenSendURL() { window.open("/" + contactDb+ "/SendURL?OpenForm&URL="+thisDb+"/" + printurl + "EndURL", "SendURL", "width=370, height=360, toolbar=0, directories=0, menubar=0, status=1, resizable=1, location=0, scrollbars=0"); } function checkFrames(){ noOfFrames=parent.frames.length; switch (noOfFrames) { case 0: reloadFrames(); break; case 1: break; default : break; } } function reloadFrames(){ menu=escape(""); view=escape(this.location.href); banner=escape(settingsDb+"LookupAdm/BannerForm?OpenDocument"); top.location.href=settingsDb+"GenerateTopFrameset?ReadForm&menu="+menu+"&view="+view+"&banner="+banner; }