$(document).ready( 
		function()
		{
			$('#news').innerfade({ 
			animationtype: 'slide', 
			speed: 750, 
			timeout: 2000, 
			type: 'random', 
			containerheight: '1em' 
			})
		 
			; $('ul#pub').innerfade({ 
			speed: 'slow', 
			timeout: 4000, 
			type: 'sequence', 
			containerheight: '60px' 
			}); 
		 
			$('.fade').innerfade({ 
			speed: 'slow', 
			timeout: 1000, 
			type: 'sequence', 
			containerheight: '1.5em' 
			}); 
		} 
	); 


	function showhide(id){ 
		if (document.getElementById){ 
			obj = document.getElementById(id); 
			if (obj.style.display == "none"){ 
				obj.style.display = ""; 
			} else { 
				obj.style.display = "none"; 
			} 
		} 
	} 
	function show(id){ 
		if (document.getElementById){ 
			obj = document.getElementById(id); 
			obj.style.display = ""; 
		} 
	} 
	function hide(id){ 
		if (document.getElementById){ 
			obj = document.getElementById(id); 
			obj.style.display = "none"; 
		} 
	} 
	function obi(objn) {
		return document.getElementById(objn);
	}
	function sel_txt(obj) {
		obj.focus();
		obj.select();
	}
	function str_replace(needle, replacement,haystack) {
	    var temp = haystack.split(needle);
	    return temp.join(replacement);
	}	
	function ifeature_image(theimage) {
		obi('fifr').src=theimage;
	}