// rollover
function initRollOverImages() {
  var image_cache = new Object();
  $("img.swap, input.swap").each(function(i) {
    var imgsrc = this.src;
    var dot = this.src.lastIndexOf('.');
    var imgsrc_ov = this.src.substr(0, dot) + '_ov' + this.src.substr(dot, 4);
    image_cache[this.src] = new Image();
    image_cache[this.src].src = imgsrc_ov;
    $(this).hover(
      function() { this.src = imgsrc_ov; },
      function() { this.src = imgsrc; });
  });
}
$(document).ready(initRollOverImages);





// year
$(document).ready(function(){
	var day = new Date();
	var year = day.getFullYear();
	$("span#thisYear").text(year);
});





// popUpWindows
function windowPopin(URL,windowName,features) {
  window.open(URL,windowName,features);
}





// print window
function printThis() {
	this.print();
}

