// keiciam pagrindini img
function keistiImg(id, src) {
 pasirinkta = src;
 img = $(id).firstDescendant();
 img.src = src;
}

Event.observe(window, 'load', function() {
	createCookie('offset_cat',cat_id,1);
	if($('scroll')) {
		Event.observe('scroll', 'click', function() {
			var nuotolis = $('scroll').cumulativeScrollOffset();
			createCookie('offset',nuotolis[1],1);
		});
	}
});


