Can’t see this video?
// NOTE: This doesn't work in IE6
function popContent() {
//alert('popContent() invoked');
var content = document.getElementsByTagName("a");
for (var i=0; i<content.length; i++) {
if (content[i].getAttribute("class") == "pop-content") {
content[i].onclick = function() {
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height) {
if(popUpWin) {
if(!popUpWin.closed) popUpWin.close();
}
popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
return false;
}
popUpWindow(this.href, 440, 312, 400, 400);
return false;
}
}
}
}
function switchPage() {
var selectOptions = document.getElementsByTagName("select");
for (var i=0; i<selectOptions.length; i++) {
if (selectOptions[i].getAttribute("class") == "switch-page") {
// NOTE: This doesn't work in IE6
selectOptions[i].onchange = function() {
location.href = this.value;
return false;
}
}
}
}
addLoadEvent(switchPage);
addLoadEvent(popContent);