var d, s, t;
var MinMilli = 1000 * 60;
var HrMilli = MinMilli * 60;
var DyMilli = HrMilli * 24;
d = new Date();
t = d.getTime();

var hours = d.getHours();

var a, b, c = 0;    

var theLargeNumber = Math.round(t / DyMilli);
   
if (hours < 12){
  theLargeNumber = theLargeNumber + 1;
}


var how_many_ads = 18;

var newDay = (theLargeNumber % how_many_ads) + 1;

var titleArray = new Array(20); 

var descriptionArray = new Array(20);

var imageArray = new Array(20);

var linkArray = new Array(20);

var buyimage = new Array(20);

var buylink = new Array(20);

var downloadlink = new Array(20);

var I = newDay;

var I2 = I + 2;
var I3 = I + 3

if (I2 > how_many_ads){
	I2 = I - 3;
}

if (I3 > how_many_ads){
   I3 = I - 5;
}


titleArray[1] = 'AddPrint';
descriptionArray[1] = 'AddPrint has been specifically developed to print envelopes from a database of names and addresses. Entries in the database can be added, modified and deleted from within the AddPrint software. AddPrint can be use in a number of situation, for example mailing to clients, friends and relatives. Its versatility also allows it to be used to create inserts for window envelopes.';
imageArray[1] = '../images/softimages/Addprint.jpg';
linkArray[1] = 'software/addprint.html';
buyimage[1] = '../images/siteimages/buy3.gif';
buylink[1] = 'http://www.regsoft.net/purchase.php3?productid=33051'
downloadlink[1] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?addprint.exe';

titleArray[2] = 'PCL Ledgers';
descriptionArray[2] = 'PCL Ledgers is a simplified sales and purchase ledger package with integrated invoicing. It has been designed specifically for service industries, where no stock control is required. The package takes care of all invoicing procedures for both clients and sundry sales and offers quarterly reports to correspond with VAT returns.';
imageArray[2] = '../images/softimages/ledgers.jpg';
linkArray[2] = 'software/ledgers.html';
buyimage[2] = '../images/siteimages/buy3.gif';
buylink[2] = 'http://www.regsoft.net/purchase.php3?productid=32327'
downloadlink[2] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?ledgers.exe';

titleArray[3] = 'Baker';
descriptionArray[3] = 'Order processing and invoicing package that offers various methods of processing to produce daily or weekly invoices, depending on the individual\'s choice. Daily processing of customer orders can be carried out effortlessly, and the application incorporates an auto-process feature that removes the usual mundane repetitive processing operation.';
imageArray[3] = '../images/softimages/Baker.jpg';
linkArray[3] = 'software/baker.html';
buyimage[3] = '../images/siteimages/buy3.gif';
buylink[3] = 'http://www.regsoft.net/purchase.php3?productid=32314'
downloadlink[3] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?baker.exe';

titleArray[4] = 'BarPlus';
descriptionArray[4] = 'The Barplus 2000 system is a fully year 2000 compliant system which has been designed for the external stock taker, and which allows multiple client files to be stored.';
imageArray[4] = '../images/softimages/barplus.jpg';
linkArray[4] = 'software/barplus.html';
buyimage[4] = '../images/siteimages/buy3.gif';
buylink[4] = 'http://www.regsoft.net/purchase.php3?productid=32324'
downloadlink[4] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?barplus.exe';

titleArray[5] = 'FlashMaster | Creative |';
descriptionArray[5] = 'FlashMaster Creative is the latest screensaver creator for Macromedia Flash and Macromedia Director, giving you all the power you require whilst developing and distributing fully interactive multimedia screensavers.';
imageArray[5] = '../images/softimages/Fmc.jpg';
linkArray[5] = 'software/fmcreative.html';
buyimage[5] = '../images/siteimages/buy3.gif';
buylink[5] = 'http://www.regsoft.net/purchase.php3?productid=35624'
downloadlink[5] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?fmcreative.exe';

titleArray[6] = 'Resource Manager';
descriptionArray[6] = 'Double bookings are a thing of the past when you use Resource 2000 Booking Manager. This useful little package is a remake of our original Resource Manager which was designed to take care of booking rooms for training courses and other training equipment such as computers and overhead projectors. Hairdressers and beauticians, sports therapists, training centres, cyber cafes to name just a few users of the original package. This package can be run on a single PC or as a network package if you purchase the relevant license. It is easy to install and use.';
imageArray[6] = '../images/softimages/Resource.jpg';
linkArray[6] = 'software/resource.html';
buyimage[6] = '../images/siteimages/buy3.gif';
buylink[6] = 'http://www.regsoft.net/purchase.php3?productid=32776'
downloadlink[6] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?resource.exe';

titleArray[7] = 'Resource Manager';
descriptionArray[7] = 'Double bookings are a thing of the past when you use Resource 2000 Booking Manager. This useful little package is a remake of our original Resource Manager which was designed to take care of booking rooms for training courses and other training equipment such as computers and overhead projectors. Hairdressers and beauticians, sports therapists, training centres, cyber cafes to name just a few users of the original package. This package can be run on a single PC or as a network package if you purchase the relevant license. It is easy to install and use.';
imageArray[7] = '../images/softimages/Resource.jpg';
linkArray[7] = 'software/resource.html';
buyimage[7] = '../images/siteimages/buy3.gif';
buylink[7] = 'http://www.regsoft.net/purchase.php3?productid=32776'
downloadlink[7] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?resource.exe';

titleArray[8] = 'Stills Forever';
descriptionArray[8] = 'This is a must for all genealogists, photographers, historians, collectors. Its an excellent application that will help you catalog and index all your photographs and any other documentary material. It could be used in several situations from stock photography to family photographs or even archives at a museum. Now includes portable catalogue facility. SUPER FAMILY GIFT - Build yourself a family heirloom - add the information plus photos and some historical documents and make the best present for your family in a FAMILY CD. Why not download your FREE 30-Day trial today?';
imageArray[8] = '../images/softimages/Stills.jpg';
linkArray[8] = 'software/stills.html';
buyimage[8] = '../images/siteimages/buy3.gif';
buylink[8] = 'http://www.regsoft.net/purchase.php3?productid=33238'
downloadlink[8] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?stillsforever.exe';

titleArray[9] = 'AddPrint Pro';
descriptionArray[9] = 'AddPrintPro is an envelope addressing solution, packaged with its own database option, allowing you to create and maintain records, categorised to suit your needs.  In this age of postal security this package is the total solution.  With its ability to display a logo or company information anywhere on your envelope, you can easily let your addressee know the source of the letter.';
imageArray[9] = '../images/softimages/AddprintPro.jpg';
linkArray[9] = 'software/addprintpro.html';
buyimage[9] = '../images/siteimages/buy3.gif';
buylink[9] = 'http://www.regsoft.net/purchase.php3?productid=32318'
downloadlink[9] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?addprintpro.exe';

titleArray[10] = 'Options';
descriptionArray[10] = 'Options is a must for all training departments, because with Options you can automate your appraisal and induction courses and aptitude tests with one easy to use application. Supervisors may build questions in two formats and final questionnaires are compiled randomly or to a specified format, so that a relevant set of questions are presented to the candidate.';
imageArray[10] = '../images/softimages/options.jpg';
linkArray[10] = 'software/options.html';
buyimage[10] = '../images/siteimages/buy3.gif';
buylink[10] = 'http://www.regsoft.net/purchase.php3?productid=32991'
downloadlink[10] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?options.exe';

titleArray[11] = 'FlashMaster | Creative |';
descriptionArray[11] = 'FlashMaster Creative is the latest screensaver creator for Macromedia Flash and Macromedia Director, giving you all the power you require whilst developing and distributing fully interactive multimedia screensavers.';
imageArray[11] = '../images/softimages/Fmc.jpg';
linkArray[11] = 'software/fmcreative.html';
buyimage[11] = '../images/siteimages/buy3.gif';
buylink[11] = 'http://www.regsoft.net/purchase.php3?productid=35624'
downloadlink[11] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?fmcreative.exe';

titleArray[12] = 'Quotation Manager';
descriptionArray[12] = 'Quotes has been designed for companies who offer a manufacturing service to customers and who have the need to quote for jobs before commencing work. The software allows you to follow a quotation through from its origin as a provisional quotation to its acceptance when a workshop jobsheet can be produced and finally the conversion to an invoice. Sales and purchase ledger options are included in this package.';
imageArray[12] = '../images/softimages/quotes.jpg';
linkArray[12] = 'software/quotes.html';
buyimage[12] = '../images/siteimages/buy3.gif';
buylink[12] = 'http://www.regsoft.net/purchase.php3?productid=32524'
downloadlink[12] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?quotes.exe';

titleArray[13] = 'BarStock';
descriptionArray[13] = 'This is one for Clubs and Pubs! If you would rather do your own monthly or quarterly stock take, rather than pay a stock taker, why not try out our BarStock 2000 package.';
imageArray[13] = '../images/softimages/Barstock.jpg';
linkArray[13] = 'software/barstock.html';
buyimage[13] = '../images/siteimages/buy3.gif';
buylink[13] = 'http://www.regsoft.net/purchase.php3?productid=32523'
downloadlink[13] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?barstock.exe';

titleArray[14] = 'Retailer';
descriptionArray[14] = 'Retailer system is a complete Point of Sale package that caters for up to 20 departments with sub groups within each department. With its modular system, Retailer is versatile enough to suit a vast range of retail solutions. Also included is a simplified sales and purchase ledger package with integrated invoicing procedures for both clients and sundry sales and offering quarterly VAT reports to help with filling in VAT Returns.';
imageArray[14] = '../images/softimages/retailer.jpg';
linkArray[14] = 'software/retailer.html';
buyimage[14] = '../images/siteimages/buy3.gif';
buylink[14] = 'http://www.regsoft.net/purchase.php3?productid='
downloadlink[14] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?retailer.exe';

titleArray[15] = 'FlashMaster | Creative |';
descriptionArray[15] = 'FlashMaster Creative is the latest screensaver creator for Macromedia Flash and Macromedia Director, giving you all the power you require whilst developing and distributing fully interactive multimedia screensavers.';
imageArray[15] = '../images/softimages/Fmc.jpg';
linkArray[15] = 'software/fmcreative.html';
buyimage[15] = '../images/siteimages/buy3.gif';
buylink[15] = 'http://www.regsoft.net/purchase.php3?productid=35624'
downloadlink[15] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?fmcreative.exe';

titleArray[16] = 'Personal Diary';
descriptionArray[16] = 'This personal diary is simple and convenient to use. Its like a best friend, its always there when you need it, sitting unobtrusively in your system tray. A single click on the icon makes it spring into action, allowing appointments to be entered. While sitting in the system tray it continues to monitor your appointments and reminder alarms are activated 30 minutes before the appointment is due.';
imageArray[16] = '../images/softimages/Diary.jpg';
linkArray[16] = 'software/diary.html';
buyimage[16] = '../images/siteimages/buy3.gif';
buylink[16] = 'http://www.regsoft.net/purchase.php3?productid=40008'
downloadlink[16] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?diary.exe';

titleArray[17] = 'Multi-Company Ledgers';
descriptionArray[17] = 'Multi-Company Ledgers provides a sales and purchase ledger system which also incorporates client and sundry invoicing. There is no limit to the number of companies that can be set up with this software, so making the package very cost effective to those who have interests in more than one business. This system is fully compliant with a workgroup environment and incorporates password protection separately on each company data set.';
imageArray[17] = '../images/softimages/mcledgers.jpg';
linkArray[17] = 'software/mcledgers.html';
buyimage[17] = '../images/siteimages/buy3.gif';
buylink[17] = 'http://www.regsoft.net/purchase.php3?productid=32327'
downloadlink[17] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?mcledgers.exe';

titleArray[18] = 'FlashMaster | Creative |';
descriptionArray[18] = 'FlashMaster Creative is the latest screensaver creator for Macromedia Flash and Macromedia Director, giving you all the power you require whilst developing and distributing fully interactive multimedia screensavers.';
imageArray[18] = '../images/softimages/Fmc.jpg';
linkArray[18] = 'software/fmcreative.html';
buyimage[18] = '../images/siteimages/buy3.gif';
buylink[18] = 'http://www.regsoft.net/purchase.php3?productid=35624'
downloadlink[18] = 'http://www.prosof.net/cgi-bin/countdown2.cgi?fmcreative.exe';

var titleOne = titleArray[I] + ' Information...';

var desOne = descriptionArray[I];

titleOne = titleOne.fontsize(2);
var xstr = 'Buy Online';
var ystr = 'Software Download';
desOne = desOne.fontsize(2);
xstr = xstr.fontsize(1);
ystr = ystr.fontsize(1);

document.write('<P>');
document.write('<table width=\"600\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
document.write('<tr>'); 
document.write('<td rowspan=\"3\" width=\"90\" valign=\"top\"><a href=\"' + linkArray[I]+ '\"target =\"_blank\"><img src=\"' + imageArray[I] + '\" width=80 height=120 alt=\"' + titleArray[I] + '\" border=0></A>');
document.write('<td align=center  width=\"125\" valign=\"top\">' + xstr + '<a href=\"' + buylink[I]   + '\"><img src=\"' + buyimage[I] + '\" width=80 height=25 alt=\"' + "Buy Online" + '\" border=0></A>');
document.write('<td 			  width=\"385\" valign=\"top\"><a href=\"' + linkArray[I] + '\"target =\"_blank\"><B>' + titleOne + '</B></A></td>');
document.write('</tr>');
document.write('<tr>'); 
document.write('<td align=center  width=\"125\" valign=\"bottom\">' + ystr +  '<a href=\"' +  downloadlink[I] + '\"><img src=\"' + '../images/siteimages/disk.gif' + '\" width=50 height=50 alt=\"' + "Download" +  '\" border=0></A>');
document.write('<td 			  width=\"385\" valign=\"top\">' + desOne + '</td>');
document.write('</tr>');
document.write('</table>');
document.write('</P>');



