Videos
Your browser must have JavaScript enabled and have the current Flash player to view this video.
'; //blob = 'This is my new code'; var output=document.getElementById("output") // write code to designated point in page if (instance && stream) { document.write(blob); showDescription(); showTitle(); } else { document.write('Video cannot play: Instance and/or stream name not supplied.'); } } function showDescription () { var descriptionElement=document.getElementById("description"); var description = getQueryVariable('description'); if (description) { description = replace(replace(description, "+", " "), "%20", " "); // change plus sign, %20 to spaces descriptionElement.innerHTML="
"+description+"
"; } } function showTitle () { var title = getQueryVariable('title'); if (title) { title = replace(replace(title, "+", " "), "%20", " "); // change plus sign, %20 to spaces document.title = "BU Law | Videos | " + title; } } function replace(string, text, by) { // Replaces text with by in string var i = string.indexOf(text), newstr = ''; if ((!i) || (i == -1)) return string; newstr += string.substring(0, i) + by; if (i + text.length < string.length) newstr += replace(string.substring(i + text.length, string.length), text, by); return newstr; }