function addEvent(obj, evType, fn){
	if (obj.addEventListener){
		obj.addEventListener(evType, fn, true);
		return true;
	} else if (obj.attachEvent){
		var r = obj.attachEvent("on"+evType, fn);
		return r;
	} else {
		return false;
	}
}

function find_mov_innewwindow() {
	links = document.getElementById("content_inner").getElementsByTagName("a");
	for(i=0;i<links.length;i++) {
		if (/movinnewwindow/.test(links[i].className)) {
			//alert("found: "+href);
			links[i].onclick = function() { window.open(this.getAttribute("href"), "movie", "resizable=yes,width=330,height=387"); return(false)};
		}
	}
}
addEvent(window, 'load', find_mov_innewwindow);

function find_mp3_innewwindow() {
	links = document.getElementById("content_inner").getElementsByTagName("a");
	for(i=0;i<links.length;i++) {
		if (/mp3innewwindow/.test(links[i].className)) {
			//alert("found: "+href);
			links[i].onclick = function() { window.open(this.getAttribute("href"), "mp3", "resizable=yes,width=330,height=80"); return(false)};
		}
	}
}
addEvent(window, 'load', find_mp3_innewwindow);