Gets the number of slide for a specific scene - requires a specific structure
function getNumOfSlides(xmlIn, scNum) {
var num = (xmlIn.getElementsByTagName("links")[0].childNodes[scNum].childNodes[0].childNodes.length);
return num
}
//use with getCourseLayout()