jQuery.fn.bnrs = function(options)
{
    var me       = this;
    var selected = 0;
    function nextFrame()
    {
    	var lis = jQuery(me).find('ul li');
    	lis.each(function(key){
    		if(jQuery(me).find('ul li').length < selected + 1)
                  selected = 0;

    		if (selected==key)
    		{
    			rnd = Math.round(Math.random());
			rnd=2
    			if (rnd==0)
    			{
    				$(this).slideDown();
    			}
    			else
    			{
    				$(this).fadeIn();
    			}
    		}
    		else
    			$(this).hide();
    	});
    	selected++;
    			
    }  
    function onEnterFrame()
    {
    	nextFrame();
        window.setInterval(function()
        {
           nextFrame()
        }, 4 * 1000)
    }
    jQuery(document).ready(function()
    {
    	//jQuery(me).css({'height': 190, 'width': 250});
        jQuery(me).find('ul').css({'position': 'relative', 'top': '0px', 'padding' : '0px', 'padding-top': '-50px', 'mragin':'0px'});
        jQuery(me).find('ul li').css({'float':'left', 'list-style': 'none'});
        onEnterFrame();
    });
}
