$(function() {
	$(".reimage").jQIR("png", "images/");
	$(".reimage-g").jQIR("gif", "images/");
});

jQuery(document).ready(function(){
	jQuery('a[href*=#]').click(function() {
			$.scrollTo('body', 800, {easing:'swing'});
			return false;
	});
});

function converter(M){
	var str="", str_as="";
	for(var i=0;i<M.length;i++){
		str_as = M.charCodeAt(i);
		str += String.fromCharCode(str_as + 1);
	}
	return str;
}
function mail_to(k_1,k_2) {
	eval(String.fromCharCode(108,111,99,97,116,105,111,110,46,104,114,101,102,32,61,32,39,109,97,105,108,116,111,58) 
	+ escape(k_1) + converter(String.fromCharCode(105,110,97,63,116,97,104,112,45,98,110,45,105,111,62,114,116,97,105,100,98,115,60)) + escape(k_2) + "'");
}


// Google Analytics

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17407278-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

