<!-- Begin

// Rotating Banner Ad Script for awcommunity.org
// Adapted from one found off the Net :)
// Feel free to adapt for your own site :)

var how_many_ads = 12;			// Add to this number to add banners
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;

// Add ads below using this template:
// if (ad==#) {
// txt="Text to go below ad";
// url="URL to link to";
// alt="ALT text for IMG tag";
// banner="URL of banner";
// width="###";					usually 468
// height="##";					usually 60

// showoff 010414
// added 010308 - expires 010310
if (ad==10) {
txt="The monthly Community Show Off event, April 14th @ 6PM VRT";
url="http://www.hinsides.no/awcomreg/showoff.html";
alt="Don't miss it!";
banner="http://www.awcommunity.org/awcomreg/ads/banner/010414-showoff.jpg";
width="468";
height="60";
}

// Alphasville
// added 020622 - long term
if (ad==12) {
txt="Welcome to Alphasville!";
url="http://www.awcommunity.org/awcomreg/PL4.html#Alphasville";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/020622-alphasville.jpg";
width="468";
height="60";
}

// Kalaville
// added 020527 - long term
if (ad==11) {
txt="Welcome to Kalaville!";
url="http://www.awcommunity.org/awcomreg/PL5.html#Kalaville";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/020527-kalaville2.jpg";
width="468";
height="60";
}

// Kalaville
// added 020527 - long term
if (ad==10) {
txt="Welcome to Kalaville!";
url="http://www.awcommunity.org/awcomreg/PL5.html#Kalaville";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/020527-kalaville1.jpg";
width="468";
height="60";
}

// Saint Louis
// added 010909 - long term
if (ad==9) {
txt="Welcome to St. Louis!";
url="http://www.awcommunity.org/awcomreg/PL4.html#St. Louis";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/010909-saintlouis.gif";
width="468";
height="60";
}

// The Game
// added 010818 - long term
if (ad==8) {
txt="Welcome to TheGame!";
url="http://www.awcommunity.org/awcomreg/PL3.html#THEGAME";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/010818-thegame.gif";
width="468";
height="60";
}

// cinema long term
// added 010401 - expires never
if (ad==7) {
txt="Will the next film be presenting your community? Contact us!";
url="http://www.awcommunity.org/awcomreg/awcc.html#cinema";
alt="Monthly films!";
banner="http://www.awcommunity.org/awcomreg/ads/banner/cinemabanner.gif";
width="468";
height="60";
}

// Horizon City
// added 010114 - renewd 010508 - long term
if (ad==6) {
txt="Welcome to Horizon City!";
url="http://www.awcommunity.org/awcomreg/PL4.html#Horizon City";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/010114-horizoncity.jpg";
width="468";
height="60";
}

// Dash Town
// added 030510 - long term
if (ad==5) {
txt="Welcome to DashTown!";
url="http://www.awcommunity.org/awcomreg/PL4.html#DashTown";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/banner/030510-dashtown.jpg";
width="468";
height="60";
}

// AWCC - 1999 advertisement
// added 001220 - long term
if (ad==4) {
txt="Welcome to Active Worlds Community Center";
url="http://www.awcommunity.org/awcomreg/PL6.html#Active Worlds Community Center";
alt="Click to find out more!";
banner="http://www.awcommunity.org/awcomreg/ads/awcc.jpg";
width="468";
height="60";
}

// SW City - general advertisement
// added 0918 - long term
if (ad==3) {
txt="Visit SW City - largest city in AlphaWorld";
url="http://www.awcommunity.org/awcomreg/PL4.html#SW City";
alt="AW ComReg Banner Service! Click...";
banner="http://www.awcommunity.org/awcomreg/ads/000918-swcity.gif";
width="468";
height="60";
}

// announcement banner rotation
// added 000930 - forever
if (ad==2) {
txt="Promote your Community! Join the ComReg Banner Rotation!";
url="http://www.awcommunity.org/awcomreg/awcc.html#banner";
alt="Join the ComReg Banner Rotation!";
banner="http://www.awcommunity.org/awcomreg/ads/bannerad02.jpg";
width="468";
height="60";
}

// announcement banner rotation
// added 000930 - forever
if (ad==1) {
txt="Promote your Community! Join the ComReg Banner Rotation!";
url="http://www.awcommunity.org/awcomreg/awcc.html#banner";
alt="Join the ComReg Banner Rotation!";
banner="http://www.awcommunity.org/awcomreg/ads/bannerad01.jpg";
width="468";
height="60";
}

document.write('<div align=center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('<font size=-1>' + txt + '</font></a>');
document.write('</div>');

// End -->