function setCookie(name, value) {
	document.cookie = escape(name) + "=" + escape(value) + "; path=/";
}

function getCookie(name) {
	var exp = new RegExp(escape(name) + "=([^;]+)");
	if(exp.test(document.cookie + ";")) {
		exp.exec(document.cookie + ";");
		return unescape(RegExp.$1);
	}
	else
		return false;
}

function showBlack() {
	fusionLib.overlayActivate(true, 800, 460, 'No Clean Feed');
	fusionLib.overlayContent('<div class="overlayDiv"><p style="font-size:1.1em;font-weight:bold">iNet Webbie Blog is supporting the <strong><a href="http://www.internetblackout.com.au/" title="Great Australian Internet Blackout">Great Australian Internet Blackout</a></strong> on Australia Day, because we want to protect our children, but we do not want to censor ourselves from the rest of the World.</p><div class="overlayDivL"><img src="../js/wng-logo-300x100.png" /><p>&nbsp;</p><p>The Rudd Government is intent on introducing a new law requiring Internet service providers to filter all Internet connections.</p><p>&nbsp;</p><p><strong>But there\'s still time to make your voice heard.</strong></p><ul><li><a href="http://www.getup.org.au/campaign/GreatFirewallOfAustralia" title="Great Firewall of Australia">Great firewall of Australia</a></li><li><a href="http://www.efa.org.au/" title="EFA campaign against Internet filtering &amp; censorship">EFA campaign against Internet filtering &amp; censorship</a></li></ul></div><div class="overlayDivR"><p>&nbsp;</p><p>&nbsp;</p><p>Filtering might stop some content but it\'s trivial to circumvent, therefore if parents assume that content filtering works they are taking less interest in their childs online activities and therefore increasing the risk of the child encountering unacceptable content or individuals.</p><p style="margin:10px 0;font-weight:bold;text-align:center"><a href="http://inetdevguide.com/category/censorshipclean-feed/" title="What we think!">What we think!</a></p><p>Child pornography is mainly shared through \'file sharing\' programs BUT the Australian Government is filtering web pages with their own secret black list. These funds are better spent by increasing the amount of online police in chatrooms, forums &amp; social networks, where the problem really lies for our children.</p></div><div class="clear">&nbsp;</div><p style="text-align:center;font-weight:bold;font-size:1.2em;color:#FF3C00">Censorship does not stop child pornography or protect our Children.</p></div>');
}

// If not yet seen black message show it and then remeber seen
if(getCookie('__blackseen') != 1) {
	setCookie('__blackseen', 1);
	var oldOnLoad = window.onload;
	if(typeof window.onload != 'function') window.onload = showBlack;
	else window.onload = function() { oldOnLoad(); showBlack(); };
}