var sorry="Copyright by Teresa Tam-Morris"
function click(e) {
	if (document.all) {
		if (event.button == 2) {
			alert(sorry);
			return false;
		}
	}
	if (document.layers) {
		if (e.which == 3) {
			alert(sorry);
			return false;
		}
	}
}
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;



function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features, true);	// open a bigger window
}

function opening()
{
	window.open("index_main.html", "moments_main", 'width=800, height=600, resizable, scrollbars', true);
	//window.open("index_main.html", "moments_main", 'fullscreen, resizable, scrollbars', true);	//occupy the whole Windows
	//window.self.resizeTo('650','400');	//not resizable
}

function getMenu_e()
{
	menu="<table border=\"0\" width=\"101\" height=\"381\" bordercolor=\"#9966FF\" align=\"center\">"
        +"<tr><td>&nbsp;</td></tr>"
		//+"<tr><td bgcolor=\"#9933CC\"> <div align=\"right\"><font face=\"Arial\"><a href=\"promotion.html\" style=\"text-decoration:none\"><img src=\"promotion_button.gif\" border=0></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#8144D2\"> <div align=\"right\"><font face=\"Arial\"><a href=\"approach.html\" style=\"text-decoration:none\"><font color=\"#FFFFFF\">Approach</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"experience.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Experience</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"ideas.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Ideas</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#3F1B70\"> <div align=\"right\"><font face=\"Arial\"><a href=\"gallery.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Gallery</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#461F7C\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../MyGallery/index.php\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">MyGallery</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"questions.php\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Questions</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"stories.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Stories</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#8144D2\"> <div align=\"right\"><font face=\"Arial\"><a href=\"contact.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Contact</font></a></font></div></td></tr>"
		+"</table>";
	return menu;
}

function getMenu_c()
{
	menu="<table border=\"0\" width=\"101\" height=\"381\" bordercolor=\"#9966FF\" align=\"center\">"
        +"<tr><td>&nbsp;</td></tr>"
		//+"<tr><td bgcolor=\"#9933CC\"> <div align=\"right\"><font face=\"Arial\"><a href=\"promotion.html\" style=\"text-decoration:none\"><img src=\"promotion_button.gif\" border=0></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#8144D2\"> <div align=\"right\"><font face=\"Arial\"><a href=\"approach.html\" style=\"text-decoration:none\"><font color=\"#FFFFFF\">關於我們</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"experience.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">攝影的一刻</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"ideas.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">我們的概念</font></a></font></div></td></tr>"
		//+"<tr><td bgcolor=\"#3F1B70\"> <div align=\"right\"><font face=\"Arial\"><a href=\"gallery.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Gallery</font></a></font></div></td></tr>"
		//+"<tr><td bgcolor=\"#461F7C\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../MyGallery/index.php\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">MyGallery</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"questions.php\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">常見問題</font></a></font></div></td></tr>"
		//+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"stories.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Stories</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#8144D2\"> <div align=\"right\"><font face=\"Arial\"><a href=\"contact.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">聯絡我們</font></a></font></div></td></tr>"
		+"</table>";
	return menu;
}

function getMenuFromSub_e()
{
	menu="<table border=\"0\" width=\"101\" height=\"381\" bordercolor=\"#9966FF\" align=\"center\">"
        +"<tr><td>&nbsp;</td></tr>"
		//+"<tr><td bgcolor=\"#9933CC\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/promotion.html\" style=\"text-decoration:none\"><font color=\"#FFFFFF\">Special Offer</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#8144D2\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/approach.html\" style=\"text-decoration:none\"><font color=\"#FFFFFF\">Approach</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/experience.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Experience</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/ideas.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Ideas</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#3F1B70\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/gallery.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Gallery</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#461F7C\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../MyGallery/index.php\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">MyGallery</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/questions.php\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Questions</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#642BB3\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/stories.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Stories</font></a></font></div></td></tr>"
		+"<tr><td bgcolor=\"#8144D2\"> <div align=\"right\"><font face=\"Arial\"><a href=\"../Eng/contact.html\"style=\"text-decoration:none\"><font color=\"#FFFFFF\">Contact</font></a></font></div></td></tr>"
		+"</table>";
	return menu;
}

function show_copyright_e()
{
	//return "Copyright &copy; Teresa Tam-Morris";
	return "All images, ideas and information on this website, as well as "
		+"products and services provided by us are the intellectual properties of Moments. "
		+"Any unauthorized or improper use is prohibited by law. ";
}

function show_copyright_c()
{
	return "網頁中的一切文字和圖片皆為版權所有 不得轉載";
}

//window.history.forward(1);

