jQuery(document).ready(function($) {
	var regex =  new RegExp('\.(jp(e)?g|png|gif)\s*$', 'i');
	$('a').filter(function(i){
 		return regex.test($(this).attr('href'))
 	}).nyroModal();
 	
 	//$('a').filter(function(i){
 	//	return regex.test($(this).attr('href'))
 	//}).xwkCursor();
});

