<!--
var verticalPos=0;
var currentScrollItem=0;
var scrollItems=0;
var clearTimer=0;
scrolltxt=Array();
 
function popup(ID,TB)
{window.open('popup.asp?ID='+parseInt(ID)+'&TB='+TB,'','screenX='+(self.screen.width-650)/2+',screenY='+(self.screen.height-450)/2+',left='+(self.screen.width-650)/2+',top='+(self.screen.height-450)/2+',width=650,height=450,status=no,resizable=no,scrollbars=yes,toolbar=no,menubar=no');}

function forum_msg(ID)
{window.open('forumreadmsg.asp?ID='+parseInt(ID),'','screenX='+(self.screen.width-466)/2+',screenY='+(self.screen.height-400)/2+',left='+(self.screen.width-466)/2+',top='+(self.screen.height-400)/2+',width=466,height=400,status=no,resizable=no,scrollbars=yes,toolbar=no,menubar=no');}

function wai_forum_msg(ID)
{window.open('wai_forumreadmsg.asp?ID='+parseInt(ID),'','screenX='+(self.screen.width-466)/2+',screenY='+(self.screen.height-400)/2+',left='+(self.screen.width-466)/2+',top='+(self.screen.height-400)/2+',width=466,height=400,status=no,resizable=no,scrollbars=yes,toolbar=no,menubar=no');}

function forum_write(ID,LV)
{window.open('forumwritemsg.asp?ID='+parseInt(ID)+'&LV='+parseInt(LV),'','screenX='+(self.screen.width-450)/2+',screenY='+(self.screen.height-229)/2+',left='+(self.screen.width-450)/2+',top='+(self.screen.height-229)/2+',width=450,height=229,status=no,resizable=no,scrollbars=no,toolbar=no,menubar=no');}

function wai_forum_write(ID,LV)
{window.open('wai_forumwritemsg.asp?ID='+parseInt(ID)+'&LV='+parseInt(LV),'','screenX='+(self.screen.width-550)/2+',screenY='+(self.screen.height-270)/2+',left='+(self.screen.width-550)/2+',top='+(self.screen.height-270)/2+',width=550,height=270,status=no,resizable=no,scrollbars=no,toolbar=no,menubar=no');}

function ClearVerticalPos()
{verticalPos=0;}

function initScroller()
{if (document.layers){return false;}
 if (!document.getElementById('scrollContainer')){return false;}
 var NS6=0;
 var IE5=0;
 if (document.getElementById && !document.all){NS6=1;}
 if (document.all){IE5=1;}
 if (IE5){scrollWidth=document.body.clientWidth;}
 if (NS6){scrollWidth=window.innerWidth-16;}
 var scrollPause=3000;

 if (IE5==1 || NS6==1)
 {document.getElementById('scrollContainer').style.backgroundColor='#006699'
  if (IE5==1 && parseInt(scrollWidth)<760){scrollWidth=800;}
  if (NS6==1 && parseInt(scrollWidth)<760){scrollWidth=794;}
  document.getElementById('scrollContainer').style.width=parseInt(scrollWidth)-354;
  document.getElementById('scrollLayer').style.backgroundColor='#FFFFFF'
  document.getElementById('scrollLayer').style.width=parseInt(scrollWidth)-356;
  if (clearTimer!=0){clearInterval(clearTimer);}
  clearTimer=setInterval('startScroll()',scrollPause);
 }
}

function startScroll()
{if (currentScrollItem<scrollItems)
  {currentScrollItem +=1;} 
 else
  {currentScrollItem=1;}
 innertxt='<table border="0" cellspacing="0" cellpadding="3"><tr><td width="20">&nbsp;</td><td><font face="Verdana, Arial, Helvetica, sans-serif" size="1"><b>'+scrolltxt[currentScrollItem]+'</b></font></td><td width="20">&nbsp;</td></tr></table>';
 document.getElementById('scrollLayer').innerHTML=innertxt;
}
//-->