#!/usr/bin/perl
use CGI;
use CGI qw(:standard Vars);

my $record = param('AppraisalID');

$url = "http://www.bestbets.org/appraisals/appraisal.php?id=".$record;

my $q = CGI->new(); 
print $q->redirect( 
-location => $url, 
-status => 301, 
);

