





		
// JavaScript Document
$(document).ready(function() {
	document.getElementById('page-wrapper').style.display = 'none';
	if(!readCookie("uk-disclaimer")) {
		showDisclaimer();
	}
	else {
		showContent();
	}
});

/* Adding the disclaimer div dynamically and then fading it in */
function showDisclaimer() {
	var newdiv = document.createElement('div');
	newdiv.innerHTML = '<div id="popup-wrapper-2" style="display: none;"><div id="content-wrapper"><div id="popup"><h3><strong>Please read the following important  information</strong></h3><p><strong>This site is for professional financial advisers in the UK only and is not for use by private investors. </strong></p><p><input type="checkbox" name="checkbox" value="checkbox" id="chk_adviser" onclick="javascript:showDisclaimerButtons();" />I confirm that I am a professional financial adviser. I have read the Important Information and agree with the terms of use of this site.</p><h3>Important information and terms of use</h3><p>The information on this site is issued by Macquarie Bank International Limited, which is authorised and regulated by the Financial Services Authority <strong>(FSA)</strong>. Macquarie Bank International Limited <strong>(Macquarie)</strong> is a member of the Macquarie Group, which means Macquarie Group Limited and its worldwide affiliates and subsidiaries.</p><p>The information on this site is not to be distributed to, accessed by, used by or relied upon by any person in any jurisdiction outside the UK. The information on this site is not an offer or solicitation for the purchase or sale of any financial instrument in any jurisdiction other than the UK. </p><p>Macquarie does not give investment advice or recommendations in respect of the financial instruments referred to on this site. Nothing on this site should be construed as the giving of investment advice or recommendations.</p><p>The information on this site is subject to change without notice. Macquarie provides the information on this site in good faith. However, to the full extent permitted by law, it accepts no responsibility for the accuracy, completeness or timeliness of the information and waives all responsibility for any loss arising from accessing this site, including without limitation, loss resulting from reliance upon information on this site.</p><p>Investments can fluctuate in value and the value of investments can fall as well as rise and investors may not get back the amount originally invested. </p><p>Investments in any financial instrument referred to on this site are not deposits or other liabilities of Macquarie Bank Limited or of any entity in the Macquarie Group, and are subject to investment risk, including possible delays in repayment and loss of income and capital invested.  Neither Macquarie Bank Limited nor any other member of the Macquarie Group guarantees any particular rate of return or the performance of any financial instrument referred to on this site, nor do they guarantee the repayment of capital from any financial instrument referred to on this site.</p><p>Further important information is set out <a href="/uk/mfg/important_information.htm" target="_blank">here</a>. </p><div id="div_close"><p align="center"><input onclick="javascript:window.location=\'http://www.macquariefunds.co.uk/uk/mfg/index.htm\';" type="button" value="Back to MFG UK" name="Back" /></p></div><div id="div_proceed"><p>Do you wish to proceed?</p><p align="center"><input onclick="javascript:cookiedDiv();" type="button" value="Yes" name="Agree" /><input onclick="javascript:window.location=\'http://www.macquariefunds.co.uk/uk/mfg/index.htm\';" type="button" value="No" name="Cancel" /></p></div></div></div><div id="footer-wrapper"><div id="page-menu"><a class="btn-top float-left" href="#">Back to top</a> <a class="btn-print float-left" href="javascript:window.print();">Print this page</a></div><div id="footer"> <a href="http://www.macquarie.com.au/uk/mfg/important_information.htm" target="_blank">Important Information</a> | <a href="http://www.macquarie.com.au/au/privacy_policy.htm" target="_blank">Privacy policy</a><br>  &copy; 1996-2009 <a href="http://www.macquarie.com/eu/index.htm" target="_blank">Macquarie Group Limited</a></div></div></div>';
	document.body.appendChild(newdiv);
	$('#popup-wrapper-2').fadeIn('slow');
}

/* Swap the active divs when the user clicks OK */
function cookiedDiv() {
	createCookie('uk-disclaimer','true',30);
	$('#popup-wrapper-2').hide();
	document.getElementById('chk_adviser').checked = false;
	$('#page-wrapper').fadeIn('slow');
}

function showContent() {
	$('#page-wrapper').fadeIn();
}

/* Cookie cutter */
function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
