var $j = jQuery.noConflict();
var win;

$j('html').addClass('jsActivated'); 

// safari, opera, msie, mozilla
$j.each($j.browser, function(i, val) {
  if(val && i != 'version')$j('html').addClass(i);
});

$j(document).ready(function(){			
	ProLib.initRollOverImg(document,"rollover","rollover_on", "_on", "activate"); //$j('#container1')

	$j("a[href*=.pdf]").click(function(){
		window.open(this.href);
		return false;
	});
	
	$j("a[href*=.gif]").click(function(){
		win = window.open(this.href);
		return false;
	});
});

function showChatBlock() {
	var d = new Date();
	var currentHour = d.getHours();
	
	if(currentHour > 0 && currentHour < 0)  {
		document.getElementById('chatBlock').style.display='block';
	} 
}
