/*window.onload = function()
  {
  var lis = document.getElementById('cssdropdown').getElementsByTagName('li');
  for(i = 0; i < lis.length; i++)
  {
  var li = lis[i];
  if (li.className == 'headlink')
  {
  li.onmouseover = function() { this.getElementsByTagName('ul').item(0).style.display = 'block'; }
  li.onmouseout = function() { this.getElementsByTagName('ul').item(0).style.display = 'none'; }
  }
  }
  }*/
// or with jQuery:
$(document).ready(function(){
		$('#cssdropdown li.headlink').hover(
			function() { $('ul', this).css('display', 'block'); },
			function() { $('ul', this).css('display', 'none'); });
		});

var timer=new Array();
var browser = navigator.appName;
var ver=0;
if(browser=="Netscape" || browser=="Opera")
ver=1;
function scroller(asd,updown,aaa){
	var thediv=document.getElementById(asd);
	if(updown==1){
		var thehight=thediv.childNodes[ver].offsetHeight-parseInt(thediv.style.height);
		if(aaa==1)
			thediv.scrollTop=thehight;
		aaa=0;
		if(thediv.scrollTop==0)
			thediv.scrollTop=thehight;
		thediv.scrollTop=thediv.scrollTop-1;
	}
	else{
		if(aaa==document.getElementById(asd).scrollTop)
			thediv.scrollTop=0;
		aaa=thediv.scrollTop;
		thediv.scrollTop=thediv.scrollTop+1;
	}
	timer[asd]=setTimeout("scroller('"+asd+"',"+updown+","+aaa+")",40);
}
function stopscroller(asd2){
	clearTimeout(timer[asd2]);
}

