$(function() {
	$("#level1 a").after("<img class='bullet' src='/assets/images/bullet.gif'>");
	$("#level2 a").after("<img class='bulleti' src='/assets/images/bulleti.gif'>");
	$(".bulleti:last").remove();
	$(".bullet:last").remove();
	if ($("#logo")){
		$("#logo").click(function(){
			window.location.href='index.php';
		});
	}
	$('.studioPic, .galleryImg').load(function(){
		var img = this;
		var imgWidth = parseInt($(img).attr("width"));
		var imgHeight = parseInt($(img).attr("height"));
		if ((imgWidth>600) && (imgHeight<611)) {
			$(img).attr("width",700);
			$(img).removeAttr("height");
		}
		if (imgHeight>610) {
			$(img).attr("height",610);
			$(img).removeAttr("width");
		}
	});
});
var _kmq = _kmq || [];
  function _kms(u){
    setTimeout(function(){
    var s = document.createElement('script'); var f = document.getElementsByTagName('script')[0]; s.type = 'text/javascript'; s.async = true;
    s.src = u; f.parentNode.insertBefore(s, f);
    }, 1);
  }
  _kms('//i.kissmetrics.com/i.js');_kms('//doug1izaerwt3.cloudfront.net/d5ee147a165798dcd8c16180f0bd73203f9d9992.1.js');
