function track(arg){
	var s = s_gi(s_account);
	s.linkTrackVars='server,prop33,eVar50';
	s.server='read180institute';
	s.tl(true,'o',arg);
}

function trackPageView(arg) {
	var s = s_gi(s_account);
	s.manageVars("clearVars");
	s.pageName=arg;
	s.channel="Read 180";
	s.server="read180institute";
	s.prop42="Read 180";
	s.prop3="Teachers:Content:ProductInfo:Read180:Institute";
	s.hier1="Teachers|Content|ProductInfo|Read180|Institute";
	s.t();
}

function change_tab(id) {
  var d = document;
  for (i=1; i <= 5; i++) {
    eb = d.getElementById('btn' + i);
    et = d.getElementById('tab' + i);
    if (eb && et) {
      eb.className = '';
      et.style.display = 'none';
    }
  }

  if(1 == id || 4 == id){
	jQuery('#days').css('height', 500);
	jQuery('#days').css('background-image', 'url(/products/read180institute/images/days_bg_height.png)');
  }else{
    jQuery('#days').css('height', 388);
	jQuery('#days').css('background-image', 'url(/products/read180institute/images/days_bg_height400.png)');
  }

  d.getElementById('btn' + id).className = 'active';
  d.getElementById('tab' + id).style.display = 'block';
}

