function showPopup(url) {
	newwindow=window.open(url,'name','height=400,width=240,top=500,left=300,resizable');
	if (window.focus) {newwindow.focus()}
}


$('document').ready(function() {	
	
	
	$(".gallery-icon a").attr("rel", "prettyPhoto");
	$("a[rel^='prettyPhoto']").prettyPhoto();
	

})
