function isInt(x) { var y=parseInt(x); if (isNaN(y)) return false; return x==y && x.toString()==y.toString(); } 

$(function(){
	$("a[rel^='prettyPopin']").prettyPopin({
		modal : false, /* true/false */
		width : false, /* false/integer */
		height: false, /* false/integer */
		opacity: 0.5, /* value from 0 to 1 */
		animationSpeed: 'fast', /* slow/medium/fast/integer */
		followScroll: true, /* true/false */
		loader_path: '/img/prettyPopin/loader.gif', /* path to your loading image */
		callback: function(){} /* callback called when closing the popin */
	});
});

