//Version 2 of the OKI language selection code
//Seth White, 20/03/2009

function openCourse(cLanguage) 
{
	//to stop browsers caching course.htm (for when languages swap from the holding page to the full course)
	var antiCache = "anticache=" + Math.floor(Math.random()*1001) + "-" + Math.floor(Math.random()*1001) + "-" + Math.floor(Math.random()*1001);
	
	//put all the pieces of the URL together and open it full screen
	var cLink = cLanguage + "/course.htm" + "?" + antiCache;
	MM_openBrWindow(cLink,'course','width=1020,height=714, fullscreen=yes')
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  inovare_course=window.open(theURL,winName,features);
  inovare_course.focus();
  return false;
}


