 <!-- Hide from older 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));
	  }
	
	  var today = new Date();
	  var expiry = new Date(today.getTime() + 28 * 24 * 60 * 60 * 1000); // plus 28 days
	
	  function setCookie(name, value) { // use: setCookie("name", value);
		 if (value != null && value != "")
			document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString();
		 bikky = document.cookie; // update bikky
	  }

	// this is for the cookie "showTransferMessage" to know if we display the warning message about the transfer to seekbook web site
			function goToSeekbook() {
				if (getCookie("showTransferMessage") == 0) {
					window.location.href = "http://www.seekbooks.com.au/default.asp?shopurl=BOOKCITY"
					//alert("http://www.seekbooks.com.au/default.asp?shopurl=BOOKCITY")
					}
				else {
					window.location.href = "http://www.bookcity.com.au/toSeekbook.asp"
					//alert("toSeekbook.asp")
					}
			}			
			function setUnsetCookie(checkBox) {
				if (checkBox.checked)
					setCookie('showTransferMessage','0');
				else
					setCookie('showTransferMessage','1');
				//alert(getCookie('showTransferMessage'));
			}
	
// Stop Hiding -->
