<!--
var displayText = "BRAND NEW JUST RELEASED!   Auratech's Guide to Automating Your Business! \n\n For a VERY limited time, when you subscribe to Auratech's FREE Monthly Newsletter \n\n\  \n\n  On TOP of all the great regular information in the newsletter, \n\n You'll also receive our 'GUIDE TO AUTOMATING YOUR BUSINESS' \n\n The guide is JAM Packed with ways to put your business on Auto-Pilot and even Increase Sales! /n/n ** Simply clicking on 'OK' will subscribe you via your default email program! **\n\n (Or you can click 'Cancel' and signup using the form on the page.";
var delay = "0";
var email = "admin@auratech.com.au";
var buttonText = "Click To Subscribe and Receive a copy of our Guide!";
var clickText = "Subscribe to our Monthly Newsletter!";
var emailSubject = "Subscribe Me To The Auratech Newsletter";
var cookie = "optinauratech";
function optin(text){
setCookie();
if(confirm(text)){
document.mailer.subscribe.click();
}
}
function showButton(){
document.write("<form name=mailer id=mailer method=post action='http://www.auratech.com.au/newsletter/subscribers/subscribe.asp");
document.write("'><input type=hidden value=submit name=submit>");
document.write("<input type='submit' onclick='setPermCookie();' STYLE='cursor:hand;background:#C6D1FF' onMouseOver=\"this.style.backgroundColor = '#F0F8FF'\" onMouseOut=\"this.style.backgroundColor = '#C6D1FF'\" value='"+clickText);
document.write("' name=subscribe id=subscribe></form>");
}
function Go(){
if (getCookie(cookie)==""){
setTimeout("optin(displayText);",delay * 1000);
}
}
function getCookie(cookieName) {
var id = cookieName + "=";
var cookievalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(id);
if (offset != -1) {
cookievalue = "x";
}
}
return cookievalue;
}
function setCookie () {
var today = new Date();
var expdate = new Date(today.getTime() + 1 * 24 * 60 * 60 * 1000);
document.cookie = cookie + "=done;expires=" + expdate.toGMTString();
}
function setPermCookie () {
var today = new Date();
var expdate = new Date(today.getTime() + 311040000000);
document.cookie = cookie + "=done;expires=" + expdate.toGMTString();
}
//-->
