// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
//
function email() {
  email = 'web@' + 'englishsummer.com';
  document.write('<A href="mailto:' + email + '">email</a>');
}

function progressPercent(bar, percentage) {
  document.getElementById(bar).style.width =  parseInt(percentage*6)+"px";
  document.getElementById(bar).innerHTML= "<div align='left'>"+percentage+"%</div>"
}
