	function mypopup(msg, locale) {

		/*
		// pass $content directly, without using extra .php file where msg is $content
		// directly passing content would have two drawback
		// 1. "'" need to be addslashes()
		// 2. length of content is limited to ???? bytes
		
		win = window.open("", "win", "menubar=0,status=0,scrollbar=0,location=0,resizable=0,width=500,height=600");
		win.document.write(msg);
		*/

		/* use extra .php file to show popup window, where msg is $nid */
		/* add locale also */
		/* hard code host here ! */
		win = window.open("http://www.sebc.org.hk/sebc/eng/sites/all/modules/local/popup.php?nid=" + msg + "&locale=" + locale, "win", "menubar=0,status=0,scrollbars=yes,location=0,resizable=0,width=500,height=600");

		win.moveTo(100,100);
		win.document.getElementsByTagName("body")[0].style.backgroundColor = "#ffffff";
	}
