<!--
// function to handle right-click anywhere on page
document.oncontextmenu = new Function("return false");
//full screen main window
function OpenWin(sFileName, sName) {
	iWpos = 0;
	iHpos = 0;

	iWidth = screen.availWidth-5;
	iHeight = screen.availHeight-5;

	//iWidth = 800;
	//iHeight = 600;

	if (navigator.appName == "Microsoft Internet Explorer")
		objWin = window.open(sFileName,sName,"top=" + iHpos + ", left=" + iWpos + ", height=" + iHeight + ",width=" + iWidth + ",location=no,menubar=no,scrollbars=yes,status=no,titlebar=no,toolbar=no");
	else {
		objWin = window.open(sFileName,sName,"height=" + iHeight + ",width=" + iWidth + ",location=no,menubar=no,scrollbars=yes,status=no,titlebar=no,toolbar=no");	
		objWin.moveTo(iWpos, iHpos);
	}
	objWin.opener = parent;
}
//handler click via the DOM
function clickPop(sFileName, sName) {
	if (!document.getElementById) {
		return false; 
	} 
	var popuplinks = document.getElementById("popup");
	popuplinks.onclick = function() {
		OpenWin(sFileName, sName);
		return false; 	
	}
	 
} 
//write flash shell
function embedObject() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="600" id="FlashMovie">\n');
        document.write('<param name="movie" value="shell.swf" />\n');
        document.write('<param name="menu" value="false" />\n');
        document.write('<param name="quality" value="high" />\n');
	document.write('<param name="AllowScriptAccess" value="always" />\n');
        document.write('<embed src="shell.swf" menu="false" quality="high" AllowScriptAccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="600" id="FlashMovie"></embed>\n');
	document.write('</object>\n');
}
//close shell window
function closeWin() {
	if (!window.opener) window.opener = "x";
	self.close();
}
//redirect to oup elt
function eltWin() {
	url = "http://www.oup.com/elt";
	window.location.href = url;
}
//redirect to oup elt technical support
function techWin() {
	url = "http://www.oup.com/elt/multimedia";
	window.location.href = url;
}
//-->