function animateSponsors( )
{
	jQuery( function( $ ){
	//borrowed from jQuery easing plugin
	//http://gsgd.co.uk/sandbox/jquery.easing.php
		$.easing.backout = function(x, t, b, c, d)
		{
			var s=1.70158;
			return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
		};
	
		$('#lectures').scrollShow({
			view:'#view',
			content:'#images',
			easing:'backout',
			wrappers:'link,crop',
			navigators:'a[id]',
			navigationMode:'sr',
			circular:true,
			start:0
		});
	});
 
	$(document).ready(
	    function(){
	        $('.fade').innerfade({
	            speed: 1,
	            timeout: 5000,
	            type: 'random_start',
	            containerheight: '1.5em'
	        });
	    });
	
	var arrIPath = [ ]
	
	var arrImages = new Array();
	for (var i=0; i<arrIPath.length; i++) {
		arrImages[i] = new Image();
		arrImages[i].src = arrIPath[i];
	}
	
	var scroller, scroller2, scroller3, scroller_organiz;
	var images = [ ];
	
	window.onload = function () {
		scroller4 = new brxScroller('sponsors', {width: '650px', height: '120px'});
		scroller4.initInnerDiv();
		if (scroller4._elememnts.length > 4) scroller4.start(-1, 30, 'h');
		
		scroller_organiz = new brxScroller('sponsors3', {width: '650px', height: '120px'});
		scroller_organiz.initInnerDiv();
		if (scroller_organiz._elememnts.length > 4) scroller_organiz.start(-1, 30, 'h');
	}        

}

function animateOrganizators( )
{ 
	var arrIPath = [ ]
	
	var arrImages = new Array();
	for (var i=0; i<arrIPath.length; i++) {
		arrImages[i] = new Image();
		arrImages[i].src = arrIPath[i];
	}
	
	var scroller_organiz;
	var images = [ ];
	
	window.onload = function () {
		scroller_organiz = new brxScroller('sponsors3', {width: '610px', height: '120px'});
		scroller_organiz.initInnerDiv();
		if (scroller_organiz._elememnts.length > 4) scroller_organiz.start(-1, 30, 'h');
	}        

}


function animateSmallSponsors( ) {
	var func=window.onload;
	
	window.onload = function () {
		func();

		scroller5 = new brxScroller('sponsors2', {width: '650px', height: '90px'});
		scroller5.mywidth=100;
		scroller5.initInnerDiv();
		if (scroller5._elememnts.length > 6) scroller5.start(-1, 30, 'h');
	}        
}