// target _blank & Active Class by B>
(function() { 
	var a = document.getElementsByTagName('a'),
		l = window.location.hostname, 
		p = window.location.pathname; 
	for (i=0; i<a.length; i++) { 
		var h = a[i].href, 
			t = a[i].target, 
			c = a[i].className;
		// a[i].target = h.indexOf(l) == -1 ? "_blank" : t ;
		h = h.split(l)[1];
		a[i].className = p.indexOf(h) != -1 ? c + ' active' : c ;
	}
})();

// Google plus
(function() {
  var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
  po.src = 'https://apis.google.com/js/plusone.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
