// JavaScript Document


// googlplus
  (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);
  })();
  
  
  
  
  
  
  // twitter rollover
  function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function imagerollover(){
 var allimages=document.getElementsByTagName("img")
 var preloadimages=[]
 for (var i=0; i<allimages.length; i++){
  if (allimages[i].getAttribute("data-over")){ //if image carries "data-over" attribute
   preloadimages.push(new Image()) //preload "over" image
   preloadimages[preloadimages.length-1].src=allimages[i].getAttribute("data-over")
   allimages[i].onmouseover=function(){
    this.src=this.getAttribute("data-over")
   }
   allimages[i].onmouseout=function(){
    this.src=this.getAttribute("data-out")
   }
  } //end if
 } //end for loop
}
//Following function should be called at the end of the page:
imagerollover()



  // facebook
//(function(d, s, id) {
//  var js, fjs = d.getElementsByTagName(s)[0];
//  if (d.getElementById(id)) {return;}
//  js = d.createElement(s); js.id = id;
//  js.src = "//connect.facebook.net/en_US/all.js#appId=162582167161448&xfbml=1";
//  fjs.parentNode.insertBefore(js, fjs);
//}(document, 'script', 'facebook-jssdk'));




