
<!-- open new window -->

var name1=" ";
var name2=" ";
function window1(name1,name2)
{
window.open(name1,name2,'width=320,height=330,resizable=yes')
}
function window2(name1,name2,windowsize)
{
window.open(name1,name2,windowsize)
}






<!-- status bar message -->

var timerID = null;
var Running = false;
var message = new Array();
var currentMessage = 0;
var offset = 0;
var typespeed =120; // This is the amount of time between letters
var MessagePause =4000; // This is the amount of time that the full message stays visible
message[0] = "M27"
message[1] = "not only fast and easy to sail"
message[2] = "but she looks like a yacht should!"

function Display() {
var text = message[currentMessage];
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++

var partMessage = text.substring(0, offset + 1);

window.status = partMessage;
offset++
timerID = setTimeout("Display()", typespeed);
Running = true;
} else {
offset = 0;
currentMessage++
if (currentMessage == message.length)
currentMessage = 0;
timerID = setTimeout("Display()", MessagePause);
Running = true;
}
}

function stop() {
if (Running)
clearTimeout(timerID);
Running = false
}

function start() {
stop();
Display();
}

start();





/*
Break-out-of-frames script
*/

if (window!= top)
top.location.href=location.href



<!-- mail a friend  -->

// Copyright 1996 Jon Eyrick 
var mailsys="Netscape mail"; 
var author="Jon Eyrick"; 
if (author == "Jon Eyrick"){ 
phrompt=prompt; 
snarkconf=confirm; 
} 
function mailsome1(){ 

who=phrompt("Enter a friend's email address: ",""); 

what=phrompt("Enter the subject: ","Check Out This Site www.m27.org.au For M27 Yacht."); 

if (snarkconf("Are you sure you want to mail "+who+" with the subject of "+what+"?")==true){ 

parent.location.href='mailto:'+who+'?subject='+what+''; 
}


 
} 



<!-- whats new  -->

//set the below to the image you wish to use as the "new" image
var imagetag='<img src="images/Bottle 500mlNew.jpg">'
var today=new Date()
function expireat(expiredate){
var expire=new Date(expiredate)
if (today.getTime()<=expire.getTime())
document.write(imagetag)
}



