 window.addEvent('domready', function(){

	
 });
 var jaxajax;
 

function move_up(url, div) {
	
	//div.scrollTop=div.scrollHeight + 50;
	getstuff(url, div);
	scroll(0,0);
}

 
function getstuff(url, div) {

 /* $(div).setHTML('<img src=http://media.bordersstores.com/giftcenter2008/images/ajax_load.gif> Loading...'); */
  jaxajax = new Ajax(url, {
    method: 'get',
    update: div,
    evalScripts: true 
  });


var myFx = new Fx.Style(div, 'opacity');
myFx.start(1,0).chain(
    //Notice that "this" refers to the calling object (in this case, the myFx object).
    function(){ this.start(0,1); },
    function(){ this.start(1,0); },
    function(){ this.start(0,1); }
); //Will fade the Element out and in twice.


setTimeout('jaxajax.request();',350);

//move_up(div);

  return false;
}



function fadeinout(){
//Fx.Tween has already implemented the Chain class because of inheritance of the Fx class.
var myFx = new Fx.Style('lists', 'opacity');
myFx.start(1,0).chain(
    //Notice that "this" refers to the calling object (in this case, the myFx object).
    function(){ this.start(0,1); },
    function(){ this.start(1,0); },
    function(){ this.start(0,1); }
); //Will fade the Element out and in twice.
	
}



