//<jsp:include page=\"/hksite/js/ominature.jsp\" flush="true">

function openwindow_decade(PageURL,WinName) 
{

	//var winOptions = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=730,height=380";

	var winOptions = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=416,height=320";

	var barTitle = "Leaving_Site_" + WinName;

	WinName = window.open("",barTitle,winOptions);

	writeToPopuponline_decade(WinName, PageURL);

}



function writeToPopuponline_decade(WinName, PageURL) {

	var doc = WinName.document;

	var POP_HTML;

	POP_HTML = "<HTML><HEAD><TITLE>Leaving Site</TITLE><link rel=\"stylesheet\" type=\"text/css\" href=\"/common/css/styles.css\"></head>\n";

	POP_HTML += "<body bgcolor=\"red\" LEFTMARGIN=\"0\" TOPMARGIN=\"0\" MARGINWIDTH=\"0\" MARGINHEIGHT=\"0\">\n";

	POP_HTML += "<table width=416 cellpadding=5 cellspacing=0 border=0>";

	
	POP_HTML += "<tr><TD bgcolor=\"#E8F1FF\"><IMG border=0 height=10  src=\"/img/s.gif\" width=1></TD>"

	POP_HTML +="<td height=150 class=verdana9 bgcolor=\"#E8F1FF\" valign=top width=748>\n";

	POP_HTML += "<img src=/images/nada.gif width=1 height=15>The Barron’s list of Fund-Family Rankings is based on our U.S.-based funds’ performance. These funds are not authorized by the Commission in Hong Kong and not available to the Hong Kong public. If you wish to invest in any Hong Kong authorized fund, you should read carefully the Explanatory Memorandum (including the section “Risk Considerations”) for the relevant risks associated with the investment in the fund before investing. Investments are subject to investment risks, fund value may go up as well as down and past performance is not indicative of future performance. Investment in the Funds involves risk and you may lose part or all of your investment. The investment decision is yours but you should not invest unless the intermediary who sells it to you has advised you that it is suitable for you and has explained why, including how buying it would be consistent with your investment objectives. Franklin Templeton Investments (Asia) Limited is the issuer of this document. This document has not been reviewed by the Securities and Futures Commission of Hong Kong.\n<p>&nbsp;</td>";

		POP_HTML +="<TD width=1 bgcolor=\"#E8F1FF\"><IMG border=0 height=10  src=\"/img/s.gif\" width=1></TD></tr>\n";

	POP_HTML += "<tr >";

	POP_HTML += "<tr><TD width=1><IMG border=0 height=10  src=\"/img/s.gif\" width=1></TD>";

	 POP_HTML +="<td height=150 valign=top width=748></SPAN><form>\n";

	//doc.write("<input type=button value='OK' name='ok' onclick=\"window.opener." + FrameName + ".location.href='" + PageURL + "'\;window.close();//\">\n");

	if (PageURL == "stay") {

		POP_HTML += "<input class=verdana11b type=button value='Close Window' name='cancel' onclick=\"window.close();\">\n";

	} else {

		POP_HTML += "<input class=verdana11b type=button value='OK' name='ok' onclick=\"openWindowonline();\">\n";

		POP_HTML += "<input class=verdana11b type=button value='Cancel' name='cancel' onclick=\"window.close();\">\n";

	}

	POP_HTML += "</form></td>";

	POP_HTML +="<TD width=1><IMG border=0 height=10  src=\"/img/s.gif\" width=1></TD></tr></table></BODY></HTML>\n";

			POP_HTML +="<script language=javascript>function openWindowonline(){window.open(\""+PageURL+"\", \"infowin3\",\"menubar=1,toolbar=1,location=1,resizable=1,scrollbars=1,status=1,width=750,height=400,left=0,top=0\"); window.close();}</script>"
			

	///////////////////////////////////
		POP_HTML +="<script language='JavaScript' src=\'/hksite/s_code_hk_leave-site.js\'></script>";		
		
		
		/*s.pageName="document.title + " - " + window.location.pathname + window.location.search";
	s.server="";
	s.channel="";
	s.pageType="";
	s.prop1="";
	s.prop2="";
	s.prop3="";
	s.prop4="";
	s.prop5="";
	s.campaign="";
	s.state="";
	s.zip="";
	s.events="";
	s.products="";
	s.purchaseID="";
	s.eVar1="";
	s.eVar2="";
	s.eVar3="";
	s.eVar4="";
	s.eVar5="";
	var s_code=s.t();
	if(s_code)document.write(s_code);
	
	if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-');*/


	/*
	POP_HTML +="<script language='JavaScript' src='http://www.franklintempleton.com.hk/hksite/s_code_hk.js'></script>;
	
	s.pageName="document.title + " - " + window.location.pathname + window.location.search";
	s.server="";
	s.channel="";
	s.pageType="";
	s.prop1="";
	s.prop2="";
	s.prop3="";
	s.prop4="";
	s.prop5="";
	s.campaign="";
	s.state="";
	s.zip="";
	s.events="";
	s.products="";
	s.purchaseID="";
	s.eVar1="";
	s.eVar2="";
	s.eVar3="";
	s.eVar4="";
	s.eVar5="";
	var s_code=s.t();
	if(s_code)document.write(s_code);
	
	if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-');
	
	POP_HTML +="<noscript><img src='http://frktempletoncomhk.122.2O7.net/b/ss/frktempletoncomhk/1/H.2--NS/0' height='1' width='1' border='0' alt='' /></noscript>";
	*/
	///////////////////////////////////	
	doc.write(POP_HTML);

	doc.close();

	WinName.focus();

}


	//POP_HTML +="<script language='JavaScript' src=\'http://www.franklintempleton.com.hk/hksite/s_code_hk.js\'></script>";
