function FindType() {

var x = document.getElementsByTagName('a');
for (var i=0;i<x.length;i++) {
	if (x[i].getAttribute('type') == 'popup') {
		x[i].onclick = function () {
			return pop(this.href)
		}
		x[i].title += ' (Popup)';
	}
}
}


function pop(url) {
	newwindow=window.open(url,'name','height=480,width=480');
	if (window.focus) {newwindow.focus()}
	return false;
}




function OpenPopup(url) {
	newwindow=window.open(url,'name','height=480,width=480');
	if (window.focus) {newwindow.focus()}
	return false;
}
