
/* rolling */  
	$rolling_item = new Array(
'<a href="http://www.csobpoj.cz"><img width="153" alt="Čsob pojišťovna" src="common/images/tmp/csob.png"/></a>',
'<a href="http://www.pojistovnacs.cz"><img width="153" alt="Pojišťovna ČS" src="common/images/tmp/pcp.png"/></a>',
'<a href="http://www.axa.cz"><img width="153" alt="Axa" src="common/images/tmp/axa.png"/></a>',
'<a href="http://www.uniqa.cz"><img width="153" alt="Uniqa" src="common/images/tmp/uniqa.png"/></a>',
'<a href="http://www.slavia-pojistovna.cz"><img width="153" alt="Slavia" src="common/images/tmp/slavia.png"/></a>',
'<a href="http://www.wuestenrot.cz"><img width="153" alt="Wüstenrot" src="common/images/tmp/wustenrot.png"/></a>',
'<a href="http://www.atradius.cz"><img width="153" alt="Atradius" src="common/images/tmp/atradius.png"/></a>',
'<a href="http://www.koop.cz"><img width="153" alt="Kooperativa" src="common/images/tmp/kooperativacz.png"/></a>',
'<a href="http://www.allianz.cz"><img width="153" alt="Allianz" src="common/images/tmp/allianz.png"/></a>',
'<a href="http://www.hdiczech.cz"><img width="153" alt="HDI" src="common/images/tmp/hdi.png"/></a>',
'<a href="http://www.generali.cz"><img width="153" alt="" src="common/images/tmp/generali.png"/></a>',
'<a href="http://www.chartispojisteni.com"><img width="153" alt="Chartis" src="common/images/tmp/chartis.png"/></a>',
'<a href="http://www.ceskapojistovna.cz"><img width="153" alt="Česká pojišťovna" src="common/images/tmp/cp.png"/></a>',
'<a href="http://www.koop.sk"><img width="153" alt="" src="common/images/tmp/kooperativa.png"/></a>',
'<a href="http://www.cpp.cz"><img width="153" alt="ČPP,a.s." src="common/images/tmp/cpp.png"/></a>',
'<a href="http://www.egap.cz"><img width="153" alt="Egap" src="common/images/tmp/egap.png"/></a>',
'<a href="http://www.ing.cz"><img width="153" alt="ING nationale" src="common/images/tmp/ing.png"/></a>',
'<a href="http://www.das.cz"><img width="153" alt="DAS" src="common/images/tmp/das.png"/></a>');

 var rollingDiv = $("#rolling");
rollingDiv.rolling("right", 201, 70, 5);
rollingDiv.bind("mouseover", function() {
	$("#rolling").stopRolling();
});
rollingDiv.bind("mouseout", function() {
	$("#rolling").resumeRolling();
});

for(var x = 0; x < $rolling_item.length; x++){
	rollingDiv.addRollingItem($rolling_item[x]);
}

rollingDiv.bindRollingEvent(function(event, currentRollingItem) {
	// write code when rolling
});
rollingDiv.bindViewingEvent(function(event, currentRollingItem) {
	// write code when viewing
});
rollingDiv.bindStartEvent(function(event) {
	// write code when start
});
rollingDiv.bindStopEvent(function(event) {
	// write code when stop
});
rollingDiv.bindReverseEvent(function(event) {
	// write code when reverse
	// alert($("#rolling").getRollingDirection());
});
rollingDiv.startRolling(10, 1000, 200);
