<!-- hide from old browsers
// Original JavaScript code by Duncan Crombie: dcrombie at chirp.com.au 
// Please acknowledge use of this code by including this header. 

var bikky = document.cookie;

function getCookie(name) { // use: getCookie("name");
	var index = bikky.indexOf(name + "=");
	if (index == -1) return null;
	index = bikky.indexOf("=", index) + 1;
	var endstr = bikky.indexOf(";", index);
	if (endstr == -1) endstr = bikky.length;
	return unescape(bikky.substring(index, endstr));
}

function setCookie(name, value) { // use: setCookie("name", value);
	var today = new Date();
	var expiry = new Date(today.getTime() + 10 * 60 * 1000); // plus 10 minutes
	if (value != null && value != "")
		document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString() + "; path=/";
	bikky = document.cookie; // update bikky
} 

function myMessage()  {		// the code in use from onUnload at present
	if (!getCookie("visited") && !getCookie("subscribed")) {
		RW=window.open("http://www.marketmasters.com.au/popup.php","EANITHING","location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no,width=550,height=390");
		setCookie('visited',true);
	}
}

// Stop hiding here -->