#!/usr/local/bin/perl

require './samples-lib.pl';

&main;

sub main {
    &header( $text{'index_title'}, "", undef, 0, 1 );
    &body();
    &footer( "", $text{'index_title'} );
}

sub body {
   print "<br>\n";
   print "The below images should have poped up at the same time, as they are pre-loaded.<br>\n";
   print "<br>\n";
   &jimg_preload("images/sample1/mscbadge_off.jpg", "images/sample1/mscbadge_on.jpg");
   print "<img src=\"images/sample1/mscbadge_off.jpg\">\n";
   print "<img src=\"images/sample1/mscbadge_on.jpg\">\n";
   print "<br>\n";
   print "<hr>\n";
   print "<br>\n";
   print "<a href=\"jimg_preload.cgi.txt\">[View Source]</a>\n";
   print "<br><br>\n";
}
