// Create interstitial on an external link

function carryOn() {
	//load the link after the warning has been hidden
	Modalbox.hide({afterHide: function() {window.location=destLink; } }); 
}

function fireWarning(url) {
	destLink = url;
	//show interstitial
	Modalbox.show('<p>You are now leaving a Wild Planet site to go to another site that we don&acute;t control.</p><p>Ask your parents or legal guardians for permission to visit this website. It may have a different privacy policy from our site, or it may try to collect information from you.</p><p><em>Get your parent\'s or legal guardian\'s permission before giving out any personal information (for example, your email address, name, age or mailing address) to anyone on the Internet.</em></p><h2>Come back soon!</h2><input type=\'button\' value=\'Continue\' onclick=\'carryOn()\' /><input type=\'button\' value=\'Stay on this Wild Planet site\' onclick=\'Modalbox.hide()\' />',{title:'Thanks for Visiting!', closeString:'', closeValue:''});
	return false;
}



