sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

document.write('<div id="traildiv"></div>');

$(document).ready(function(){
	$('#articleLists').change(function(){
			if(this.selectedIndex == 1) window.location = '/mcms_page_articlelist_sort.php?groupby=series';
			if(this.selectedIndex == 2) window.location = '/mcms_page_articlelist_sort.php?groupby=category';
			if(this.selectedIndex == 3) window.location = '/mcms_page_articlelist_sort.php?groupby=month';
			if(this.selectedIndex == 4) window.location = '/mcms_page_articlelist_sort.php?groupby=author';	
	});
	
});