
function replacer(bef, aft, ork)
{
	//window.alert(bef);
	//window.alert(aft);
	//window.alert(ork);
	return aft + '/thumbcrp15x15-' +ork;
};
//window.alert("/images/articles/thumb200x200-12.12.jpg".replace(/([A-Za-z0-9_\/\-]*)\/thumb\d*x\d*-([A-Za-z0-9_.]+)/, replacer));

$('#cycle') 
.cycle({ 
    fx:     'fade', 
    speed:  'fast', 
    timeout: 0, 
    pager:  '#nav', 
    pagerAnchorBuilder: function(idx, slide) { 
		//window.alert(slide.firstChild);
        return '<a href="#"><img src="' + slide.firstChild.firstChild.src.replace(/([A-Za-z0-9_\/\-]*)\/thumb\d*x\d*-([A-Za-z0-9_.]+)/, replacer) + '" /></a>'; 
    } 	
});




