#!/usr/bin/perl
#    Last change:  23 January 2002


#Copyright Coherent Software Australia Pty Ltd 1999-2002

$|=1;

use CGI qw/:standard :html3/;
use CGI::Carp;
#require "secure.pl";

# following file contains code to read in seminar
# locations, and format them for display


$mailprog = '/usr/sbin/sendmail';

@required_fields = (
		    'TITLE',
		    'CUSTOMER1',
			'CUSTOMER2',
		    'ADDRESS',
		    'SUBURB',
		    'STATE',
		    'COUNTRY',
		    'POSTCODE',
		    'TELEPHONE_NUMBER',
		    'EMAIL_ADDRESS',
			'ALLOW'
		   );
		    
 @month = ( 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' );
		    
#who made it and where to send the info (recipient)

#$recipient = 'info@newline.com.au';
$recipient = 'info@gbpaints.com.au';

$subject = 'Thanks from GB Paints';

$subject3 = 'GB Paints Online Information Request';

$today = localtime;


$missing = all_supplied();

# copy all form variables into $R package
import_names('R');

if( $missing == 2 )
  {
    # all required info supplied, so process
    #$thisref = $fulldata{ $R::SEMINAR_DATE };
    %info = %$thisref;
    email_newline();
    email_user();
    send_thanks();
  }
else
  {
    # some fields missing ($missing=1), or first time here ($missing=0)
    show_form( $missing );
  }

# checks that all required info supplied
# returns 0 if form not previously displayed,
# 1 if form previously displayed nut not all required
# fields filled in, and 2 if all okay.
sub all_supplied
  {
    if( !defined( param('NOT_FIRST') ) )
      {
	# haven't seen the form before
	return 0;
      }
    foreach $fld (@required_fields)
      {
	my $tmp = param($fld);
	if( !defined($tmp) || $tmp =~ /^\s*$/ )
	  {
	    return 1;  # means a required field is not present
	  }
      }		

	# Remove any spaces from email address before proceeding
	my ( $eaddress ) = param('EMAIL_ADDRESS');  
  	$eaddress =~ s/\s//g; 
	# removes any and all spaces
  	#now set emailaddress to changed value
  	param( -name=>'EMAIL_ADDRESS', -value=>"$eaddress" ); 

    # check if email address plausible
    if( param('EMAIL_ADDRESS') =~ /\S+\@\S+\.\S+/ )
      {
	# email okay
		return 2;
      }
    	else
      {
	# email not okay
	return 1;
      }

  }

sub send_thanks
  {
  	 print <<EOF1;
Content-type: text/html

<html>

<head>

<title>The G.B. Paint Co. Pty. Ltd. - > Contact Us</title>


<LINK REL="stylesheet" HREF="/gbpaints.css">

<META http-equiv="Expires" content="Tue, 20 May 2004 14:25:27 GMT">


<!-------------------- BEGIN COPYING THE JAVASCRIPT SECTION HERE ------------------->
<script language="JavaScript">
<!-- hide this script from non-javascript-enabled browsers
function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

/* Functions that swaps ../images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

// stop hiding -->
</script>
<!-------------------------- STOP COPYING THE JAVASCRIPT HERE -------------------------->

</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- fwtable fwsrc="main4.png" fwbase="main4.gif" -->
  <script language="JavaScript">
  <!-- hide 
  if (document.images) {
  abobut_f2 = new Image(67 ,23); abobut_f2.src = "/images/but/abobut_f2.gif";
  abobut_f1 = new Image(67 ,23); abobut_f1.src = "/images/but/abobut.gif";
  probut_f2 = new Image(68 ,23); probut_f2.src = "/images/but/probut_f2.gif";
  probut_f1 = new Image(68 ,23); probut_f1.src = "/images/but/probut.gif";
  qasbut_f2 = new Image(67 ,23); qasbut_f2.src = "/images/but/qasbut_f2.gif";
  qasbut_f1 = new Image(67 ,23); qasbut_f1.src = "/images/but/qasbut.gif";
  conbut_f2 = new Image(68 ,23); conbut_f2.src = "/images/but/conbut_f2.gif";
  conbut_f1 = new Image(68 ,23); conbut_f1.src = "/images/but/conbut.gif";
  }
  // stop hiding -->
  </script>

  <tr valign="top"><td rowspan="2"><a href="/index.html"><img name="logo" src="/images/but/logo.gif" width="227" height="105" border="0" alt="G.B. Paint Co. Pty. Ltd."></a></td><td rowspan="2" width="100%" background="/images/but/sp0.gif"><br></td><td colspan="7" width="361" background="/images/but/display.jpg"><img src="/images/gen/fill.gif" width="361" height="82" border="0" alt=""></td></tr><tr valign="top"><td width="14"><img name="sp1" src="/images/but/sp1.gif" width="14" height="23" border="0"></td><td width="67"><a href="/company/about.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('abobut','','/images/but/abobut_f2.gif',1);" ><img name="abobut" src="/images/but/abobut.gif" width="67" height="23" border="0"></a></td><td width="68"><a href="/products/index.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('probut','','/images/but/probut_f2.gif',1);" ><img name="probut" src="/images/but/probut_f2.gif" width="68" height="23" border="0"></a></td><td width="67"><a href="/company/faqs.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('qasbut','','/images/but/qasbut_f2.gif',1);" ><img name="qasbut" src="/images/but/qasbut.gif" width="67" height="23" border="0"></a></td><td width="68"><a href="/cgi-bin/contact.pl" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('conbut','','/images/but/conbut_f2.gif',1);" ><img name="conbut" src="/images/but/conbut.gif" width="68" height="23" border="0"></a></td><td><img name="sp2" src="/images/but/sp2.gif" width="68" height="23" border="0"></td></tr>
  
</table>





<table cellpadding="0" cellspacing="0"><tr><td valign="top">

<br>

<div class="head"><img src="/images/gen/conhd.gif" width="260" height="20" border="0" alt="Contact GB Paints"></div>
<table cellspacing="2" cellpadding="2" border="0">
<tr>
    <td valign="top">
	
	<br>


<p class="mainh"><strong>Thanks $R::CUSTOMER1!</strong></p>

<p class="mainh">Your form has been completed successfully and your details have been sent to our office. A company representative will contact you shortly.</p>

<p class="mainh">In the unlikely event we have not contacted you within 48 hours, please call <strong>(03) 9583 7055</strong>.</p>

<p class="mainh">Click <a href="/products/index.html" class="link2">here</a> to return to our <a href="/products/index.html" class="link2">products</a> section.</p>



</td>

</tr>

</table>

<br>


</td>



<td valign="Top" width="260" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="320">


  <tr valign="top"><!-- row 1 -->
   <td colspan="2"><a href="/products/index.html"><img name="h1" src="/images/gen/h1.gif" width="320" height="117" border="0"></a></td>

  </tr>
  <tr valign="top"><!-- row 2 -->
   <td><a href="/products/index.html"><img name="h2" src="/images/gen/h2.gif" width="202" height="115" border="0"></a></td>
   <td><a href="/products/index.html"><img name="h3" src="/images/gen/h3.gif" width="118" height="115" border="0"></a></td>
  
  </tr>
  <tr valign="top"><!-- row 3 -->
   <td colspan="2"><a href="/cgi-bin/contact.pl"><img name="h4" src="/images/gen/h4.gif" width="320" height="118" border="0"></a></td>
  
  </tr>

</table>

</td></tr></table>



<table width="100%">

<tr><td align="Center">
<br><br><div class="txtlinks">

<a href="/index.html" class="link3">Home</a> | <a href="/company/about.html" class="link3">About</a> | <a href="/products/index.html" class="link3">Products</a> | <a href="/company/faqs.html" class="link3">Q &amp; A</a> | <a href="/cgi-bin/contact.pl" class="link3">Contact</a></div>

</td></tr></table>

<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td width="100%" class="pgbot"><div class="copy">&copy; 2005 - The G.B. Paint Co. Pty. Ltd.</div>

<div class="webby"><a href="http://www.newline.com.au/" target="_blank" class="newline">Web site by Newline Development Pty Ltd</a></div>


</td></tr></table>

</body>

</html>



EOF1
;	 
  }

sub email_newline
  {
    open( MAIL, "|$mailprog -t" );

    print MAIL "To: $recipient\n";
    print MAIL "From: info\@gbpaints.com.au\n";
    print MAIL "Bcc: gbpaints\@newline.com.au\n";
    print MAIL "Subject: $subject3\n\n";

      print MAIL "On $today\n$R::TITLE $R::CUSTOMER1 $R::CUSTOMER2 \<$R::EMAIL_ADDRESS\> of\n\n";
      print MAIL "$R::ADDRESS\n";
      print MAIL "$R::SUBURB\n";
      print MAIL "$R::STATE $R::POSTCODE\n";
      print MAIL "$R::COUNTRY\n\n";
      
      print MAIL "Phone: $R::PHONE_TYPE - $R::TELEPHONE_NUMBER\n";
      print MAIL "Email: $R::EMAIL_ADDRESS\n\n";
           
      print MAIL "completed your online more information form.\n\n";

     print MAIL "$R::TITLE $R::CUSTOMER2 also had this to say:\n\n";

      print MAIL "$R::QUEST\n\n";

print MAIL "\n\n\n";
      print MAIL "    This service provided by\n";
      print MAIL "Newline Development Pty Ltd\n";
	  print MAIL "      www.newline.com.au    \n";
      print MAIL "         Have a great day!\n          --------------------\n\n";
            
      print MAIL ".\n";
      close (MAIL);


  }

sub email_user
  {
    open( UMAIL, "|$mailprog -t" );
    
    print UMAIL "To: ".$R::EMAIL_ADDRESS."\n";
    print UMAIL "From: $recipient  \"The GB Paint Co. Pty. Ltd.\"\n";
    print UMAIL "Reply-to: $recipient\n";
    print UMAIL "Subject: $subject\n\n";
      
    print UMAIL "\n";
    
    print UMAIL "______________________________________________\n";
    
    print UMAIL "\n";
    
    print UMAIL "Dear $R::CUSTOMER1,\n\n";

      print UMAIL "Thank you for your interest in the G.B Paint Co. Pty. Ltd. A company representative will contact you shortly.\n\n";

      print UMAIL "In the unlikely event we have not contacted you within 48 hours, please call (03) 9583 7055.\n\n\n";

      print UMAIL "Kind Regards,\n\n";

      print UMAIL "Charlie Fallace\nGeneral Manager\n\n";
      print UMAIL "______________________________________________\n\n";
      print UMAIL "The G.B Paint Co. Pty. Ltd.\nABN: 14 090 739 727\n\n";
      print UMAIL "Postal:     46 Taunton Drive, Cheltenham, Vic 3192\n";
      print UMAIL "Phone:     (03) 9583 7055\n";
	  print UMAIL "Fax:         (03) 9583 7077\n";
      print UMAIL "Email:      info\@gbpaints.com.au\n";
      print UMAIL "Internet:    http://www.gbpaints.com.au/\n\n";
      print UMAIL "______________________________________________\n\n";
	    	   

    print UMAIL "If you wish to have your email address removed from our database, please reply to this email and type \'UNSUBSCRIBE\' in the subject heading.\n\n";
    

    close(UMAIL);
  }

sub show_form
  {
    my ($missing ) = shift;

#    my (@options) = keys(%fulldata); 
    my( $optref ) = $listref;

 print <<EOF2;
Content-type: text/html

<html>

<head>

<title>The G.B. Paint Co. Pty. Ltd. - > Contact Us</title>


<LINK REL="stylesheet" HREF="/gbpaints.css">

<META http-equiv="Expires" content="Tue, 20 May 2004 14:25:27 GMT">


<!-------------------- BEGIN COPYING THE JAVASCRIPT SECTION HERE ------------------->
<script language="JavaScript">
<!-- hide this script from non-javascript-enabled browsers
function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

/* Functions that swaps ../images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

// stop hiding -->
</script>
<!-------------------------- STOP COPYING THE JAVASCRIPT HERE -------------------------->

</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- fwtable fwsrc="main4.png" fwbase="main4.gif" -->
  <script language="JavaScript">
  <!-- hide 
  if (document.images) {
  abobut_f2 = new Image(67 ,23); abobut_f2.src = "/images/but/abobut_f2.gif";
  abobut_f1 = new Image(67 ,23); abobut_f1.src = "/images/but/abobut.gif";
  probut_f2 = new Image(68 ,23); probut_f2.src = "/images/but/probut_f2.gif";
  probut_f1 = new Image(68 ,23); probut_f1.src = "/images/but/probut.gif";
  qasbut_f2 = new Image(67 ,23); qasbut_f2.src = "/images/but/qasbut_f2.gif";
  qasbut_f1 = new Image(67 ,23); qasbut_f1.src = "/images/but/qasbut.gif";
  conbut_f2 = new Image(68 ,23); conbut_f2.src = "/images/but/conbut_f2.gif";
  conbut_f1 = new Image(68 ,23); conbut_f1.src = "/images/but/conbut.gif";
  }
  // stop hiding -->
  </script>

  <tr valign="top"><td rowspan="2"><a href="/index.html"><img name="logo" src="/images/but/logo.gif" width="227" height="105" border="0" alt="G.B. Paint Co. Pty. Ltd."></a></td><td rowspan="2" width="100%" background="/images/but/sp0.gif"><br></td><td colspan="7" width="361" background="/images/but/display.jpg"><img src="/images/gen/fill.gif" width="361" height="82" border="0" alt=""></td></tr><tr valign="top"><td width="14"><img name="sp1" src="/images/but/sp1.gif" width="14" height="23" border="0"></td><td width="67"><a href="/company/about.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('abobut','','/images/but/abobut_f2.gif',1);" ><img name="abobut" src="/images/but/abobut.gif" width="67" height="23" border="0"></a></td><td width="68"><a href="/products/index.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('probut','','/images/but/probut_f2.gif',1);" ><img name="probut" src="/images/but/probut.gif" width="68" height="23" border="0"></a></td><td width="67"><a href="/company/faqs.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('qasbut','','/images/but/qasbut_f2.gif',1);" ><img name="qasbut" src="/images/but/qasbut.gif" width="67" height="23" border="0"></a></td><td width="68"><a href="/cgi-bin/contact.pl" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('conbut','','/images/but/conbut_f2.gif',1);" ><img name="conbut" src="/images/but/conbut_f2.gif" width="68" height="23" border="0"></a></td><td><img name="sp2" src="/images/but/sp2.gif" width="68" height="23" border="0"></td></tr>
  
</table>





<table cellpadding="0" cellspacing="0"><tr><td valign="top">

<br>


<div class="head"><img src="/images/gen/conhd.gif" width="260" height="20" border="0" alt="Contact the GB Paint Company"></div>

<table cellspacing="2" cellpadding="2" border="0">
<tr>
    <td valign="top">
	
<p class="mainh">If you are considering your next paint project, we would like to speak with you. Feel free to contact us via the following or by our <a href="#form" class="link2">information form</a>:</p>

<table cellpadding="0" cellspacing="4" border="0" width="80%">

<tr><td class="con1" valign="top">Postal:</td><td class="con2" valign="top">46 Taunton Drive, Cheltenham, Vic 3192</td></tr>
<tr><td class="con1" valign="top">Phone:</td><td class="con2" valign="top">(+613) 9583 7055</td></tr>
<tr><td class="con1" valign="top">Fax:</td><td class="con2" valign="top">(+613) 9583 7077</td></tr>
<tr><td class="con1" valign="top">ABN:</td><td class="con2" valign="top">14 090 739 727</td></tr>
<tr><td class="con1" valign="top">Email:</td><td class="con2" valign="top"><a href="mailto:info\@gbpaints.com.au"><img src="/images/gen/emaillink.gif" width="180" height="14" border="0" hspace="0" vspace="0" alt="Email us"></a></td></tr>
<tr><td class="con1" valign="top"><a name="form">Web:</a></td><td class="con2" valign="top"><a href="http://www.gbpaints.com.au" target="_blank" class="link6">www.gbpaints.com.au</a></td></tr>
</table>

<div class="head2"><img src="/images/gen/reqhd.gif" width="260" height="20" border="0" alt="Request Further Information"></div>

<p class="mainh">For further information on our range of quality paint products, please complete the form below and a company representative will contact you:</p>
 

EOF2
;
    print start_form( -method=>POST, -name=>'enter' );
	
	 if( $missing == 1 )
  {
    print '<h1 class="alert1">Error</h1> <p class="mainh"><strong>Please complete all <span class="alert2">*</span> fields.</strong></p><br>';
  }

    print '<table border="0" cellspacing="0" cellpadding="2" bgcolor="#ffffff" width="80%">';

 print '<tr><td class="headmain" valign="top">';

 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }
  
    print ' Title:</td><td valign="top">';
    print popup_menu( -name=>'TITLE', -values=>['','Mr', 'Mrs', 'Ms', 'Miss', 'Dr', 'Other'], -class=>'myfield' );
	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }
  
    print ' First name:</td><td valign="top">';
    print textfield( -name=>'CUSTOMER1', -size=>21, -class=>'myfield' );
	print '</td></tr><tr><td class="headmain" valign="top">';
	
	if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }
  
    print ' Surname:</td><td valign="top">';
    print textfield( -name=>'CUSTOMER2', -size=>21, -class=>'myfield' );
	print '</td></tr><tr><td class="headmain" valign="top">';


	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' Address:</td><td valign="top">';
    print textfield( -name=>'ADDRESS', -size=>21, -class=>'myfield' );
	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' Suburb:</td><td valign="top">';
    print textfield( -name=>'SUBURB', -size=>21, -class=>'myfield' );
	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' State:</td><td valign="top">';
 print popup_menu( -name=>STATE, -values=>['VIC', 'SA', 'TAS', 'WA', 'NT', 'QLD', 'NSW', 'ACT', 'Other'], -class=>'myfield' );
 	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' Postcode:</td><td valign="top">';
    print textfield( -name=>'POSTCODE', -size=>21, -class=>'myfield' );
 	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' Country:</td><td valign="top">';
    print textfield( -name=>'COUNTRY', -size=>21, -value=>'Australia', -class=>'myfield' );
 	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' Phone:</td><td valign="top">';

print popup_menu( -name=>PHONE_TYPE, -values=>['Home', 'Work', 'Mobile'], -class=>'myfield' );

    print textfield( -name=>'TELEPHONE_NUMBER', -size=>9, -class=>'myfield' );
 	print '</td></tr><tr><td class="headmain" valign="top">';
	
	 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }

    print ' Email Address: &#160; </td><td valign="top">';
    print textfield( -name=>'EMAIL_ADDRESS', -size=>21, -class=>'myfield' );
	print '</td></tr>';
		

 	print '<tr><td class="headmain" valign="top" colspan="3"><br>';
  
    print ' Do you have any questions to ask?</p>';
      print textarea( -name=>'QUEST', -rows=>5, -cols=>55, -class=>'myfield' );
	   	print '</td></tr>';
	
					
		print '<tr><td colspan="3" class="headmain" valign="top"><br><span style="font-size: 7pt; font-family: tahoma, arial;">';
		
		 	 if( $missing == 1 )
  {
    print '<span class="alert2">*</span>';
  }
		
		print checkbox_group( -name=>'ALLOW', -value=>['I UNDERSTAND THAT BY COMPLETING THIS FORM I WILL BE CONTACTED BY THE GB PAINT COMPANY PTY LTD.'] );

 print '</span><br><br>';
 
     print submit( -value=>'CLICK HERE TO SEND FORM', -class=>'send2', -name=>'enter' );

    print '<br><br>';

	     print reset( -value=>'Clear', -class=>'send3' );

    print '</td></tr></table>';


	 
    print "\n";
    print "\n";


    print hidden( -name=>'NOT_FIRST', -value=>'TRUE' ); # keeps track of whether the user has
                                                        # seen this form before.
    print "\n";

    print end_form();
	
print <<EOF3;



</td></tr></table>

<br>


</td>

<td valign="Top" width="260" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="320">


  <tr valign="top"><!-- row 1 -->
   <td colspan="2"><a href="/products/index.html"><img name="h1" src="/images/gen/h1.gif" width="320" height="117" border="0"></a></td>

  </tr>
  <tr valign="top"><!-- row 2 -->
   <td><a href="/products/index.html"><img name="h2" src="/images/gen/h2.gif" width="202" height="115" border="0"></a></td>
   <td><a href="/products/index.html"><img name="h3" src="/images/gen/h3.gif" width="118" height="115" border="0"></a></td>
  
  </tr>
  <tr valign="top"><!-- row 3 -->
   <td colspan="2"><a href="/cgi-bin/contact.pl"><img name="h4" src="/images/gen/h4.gif" width="320" height="118" border="0"></a></td>
  
  </tr>

</table>

</td></tr></table>



<table width="100%">

<tr><td align="Center">
<br><br><div class="txtlinks">

<a href="/index.html" class="link3">Home</a> | <a href="/company/about.html" class="link3">About</a> | <a href="/products/index.html" class="link3">Products</a> | <a href="/company/faqs.html" class="link3">Q &amp; A</a> | <a href="/cgi-bin/contact.pl" class="link3">Contact</a></div>

</td></tr></table>

<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td width="100%" class="pgbot"><div class="copy">&copy; 2005 - The G.B. Paint Co. Pty. Ltd.</div>

<div class="webby"><a href="http://www.newline.com.au/" target="_blank" class="newline">Web site by Newline Development Pty Ltd</a></div>


</td></tr></table>

</body>

</html>



EOF3
;	 
	
  }