<!--
function storiesNewWindow(urlpath) {

		window.open(urlpath,'Longman','toolbar=no,location=no,directories=no,menubar=no,status=no,scrollbars=no,resizable=no,copyhistory=no, width=612, height=530, top=80, left=200');

}

function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
	win = window.open(mypage, myname, winprops);
	if(window.focus) {
		if (win != null) {
			win.focus();
		}
	}
}

function NewWindowWithTools(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'+',toolbar=yes, location=yes, status=yes, menubar=yes, directories=yes';

	win = window.open(mypage, myname, winprops);
	if(window.focus) {
		if (win != null) {
			win.focus();
		}
	}
}

function printWindow() {
	bV = parseInt(navigator.appVersion);
	if (bV >= 4) window.print();
}

function changeMainContent(){
	var theUrl = window.location;
	alert(theUrl);
}

function menuOnChangeEvent(value) {
	if (value != "--- please select ---") {
//		NewWindowWithTools(value,'thePopup2','700','500','yes');
		NewWindow(value, "past_event", 620, 400, "yes")
		return false;
	}
}

function smallPop(mypage) {
	var winl = (screen.width - 100) / 2;
	var wint = (screen.height - 100) / 2;
	winprops = 'height=100, width=100, top='+wint+', left='+winl+',scrollbars=no';
	win = window.open(mypage, "Pronouncing", winprops);
	if(window.focus) {
		if (win != null) {
			win.focus();
		}
	}
}

-->