function setOverrideCookie() {
	// Set a cookie to allow them to view the normal version of our website
	document.cookie = "ts05forceversion=norm; path=/";
	location.reload();
}
function hidemessage() {
	document.getElementById("plainmessage").parentNode.removeChild(document.getElementById("plainmessage"));
}
function showmessage() {
	document.write('<div id="plainmessage"> \
		<h1>Welcome to tasmanstudios ltd</h1> \
		<p>You are looking at the &quot;Ugly as Hell&quot; version of our web site. We built this specifically for search engines \
		and people who don\'t have the latest Macromedia Flash player, or a modern browser.</p> \
		\
		<p>You can get flash here - <a href="http://www.macromedia.com/go/getflash">http://www.macromedia.com/go/getflash</a></p> \
		\
		<p>The fancy version of our site works in the following browsers:</p> \
			<ul> \
			<li><a href="http://www.getfirefox.com">Firefox</a> 1.0+ (and other Gecko-based browsers) on Mac or Windows</li> \
			<li><a href="http://www.microsoft.com/ie">Internet Explorer</a> 5.5+ on Windows</li> \
			<li><a href="http://www.apple.com/macosx/features/safari/">Safari</a> 2.0+ on Mac</li> \
			</ul>\
		</p> \
		\
		<p>It won\'t work on <a href="http://www.opera.com">Opera</a> or operating systems other than MacOS X and Windows because Macromedia are still \
		working on their Flash 8 Player for these systems. We apologise - we are waiting as well.</p>\
		\
		<p>If you believe your computer is capable of showing you our site, you can <a href="#" onclick="setOverrideCookie(); return false;">click here</a> to try again, \
		or call us on 04 381 4440 and we can tell you about all the cool stuff you are missing out on.</p> \
		\
		<p>We would appreciate feedback on this issue, so please <a href="mailto:admin'+'@tas'+'manstudios.co.nz?subject=tasmanstudios%20website%20-%20browser%20compatibility%20feedback">drop us an email</a></p> \
		\
		<p style="text-align: center;"> \
			<a href="#" onclick="hidemessage();">Click here to hide this message</a> \
		</p> \
		</div>'
	);
}

// (re)set their cookie to keep on the plain version until they click the override link
document.cookie = "ts05forceversion=plain; path=/";
