
<!--

ns6=0;ie5=0;sc=4;var e;op=0;
function getLocation(which) {
	loc=(which=='x')?this.offsetLeft:this.offsetTop
	parnt=this.offsetParent
	while (parnt) {
	loc+=(which=='x')?parnt.offsetLeft:parnt.offsetTop
	parnt=parnt.offsetParent
		}
return loc		
}
		
function setUpScroll() {




	regexp=/compatible/;
	if (navigator.userAgent.match(regexp)) {
		regexp=/opera/;
		if (navigator.userAgent.match(regexp)) { op=1;}

		else {
			ie5=1;
	
			}	
		}
	else {
			 ns6=1;event=0; 

			 }			

		}

t=null;on=0;previousY=0;


function move(n) {
num=n*sc
if (num>20) num=20;
if (num<-20) num=-20
if ((num + objs['insidebulletin'].objGetTop())>0) { objs['insidebulletin'].objSetTop(0) } 
else if (num + objs['insidebulletin'].objGetTop()<-(insidebulletin.offsetHeight-200)) {return}
else {y=objs['insidebulletin'].objMoveVert(num) }
}

function toTop(e) {
objs['insidebulletin'].objSetTop(0);
}

function downPage(e) {
objs['insidebulletin'].objMoveVert(-(outerDivHeight-30));
}
function scrol(n) {
t=setInterval("move("+n+")",25)
}

function stop() {
if (t) {clearInterval(t);t=null;}
}

function turnon(e) {
if (ns6) {
try { if (e.which == 1) {return false; }} catch(e) { return false }
  }
if ((ie5 && event.button == 1) ) return false;
on=1;document.getElementById('insidebulletin').style.cursor='n-resize'
}

function turnoff(e) { 
	on=0;document.getElementById('insidebulletin').style.cursor=(ie5)?'hand':'pointer';
	status='';
	if (op) return false
	return true;
	}

function checkit(e) {
evt=e?e:event;
if (ns6) { status=''}
var st='Hold down the '
if (!op)  st+='middle or right ';
st+='mouse button to scroll up and down the page.';
status=st;
if (on) {
if (previousY) {
move((previousY-evt.clientY))
event.cancelBubble=1
}
}
previousY=evt.clientY
}
document.oncontextmenu = new Function("return false");
//-->

