
var content;
var newsnumber=0;

function openAjax(theurl,thebox)
{	
				var timestamp=Date.parse(new Date());
				var character;
				if (theurl.indexOf('?')>0)
				character="&";
				else character="?";
				$(thebox).innerHTML="";
				var url = theurl+character+"time="+timestamp;
			
				var res= new Ajax(url, {
					method: 'get',
					evalScripts: true,
					update: $(thebox)
				}).request();
				
			fadeIn(thebox);
}

var fadeIn= function(thebox){

var div = $(thebox).setStyles({
display:'inline',
opacity: 0
});
new Fx.Style(div, 'opacity', {duration: 1200} ).start(1);
}
