﻿  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-332214-2']);
  _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);
  })();
$(document).ready(function(){ 
	$('a[href^="http"], area[href^="http"]').live('click',function(){
		if($(this).attr('href').search(window.location.host) == -1){
			window.open(this.href);
			return false;
		}
	});   	     
	$(".programcontent").hide();
    $(".programname").click(function(){
		var name=$(this).parent().next('div').attr('id');
		var top = $(this).position().top;
		//$(".programcontent").fadeOut();
		$('body,html').animate({scrollTop:top},1000);$('#'+name).fadeToggle('500','linear');return false;;					
		return false;})
}); 
