$User = $Request->item("Login")->item(); $Site = $Request->item("Site")->item(); $topic= $Request->item("Topic")->item(); my $Referer = $Request->ServerVariables("HTTP_REFERER")->item(); $Request->ServerVariables("QUERY_STRING")->item(); use CGI; use OLE; use CGI::Simple; $query= new CGI; %ttopics = ( home => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-01-1.html', listingmgr => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-06-1.html', cma => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-11-1.html', hotsheetmgr => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-10-1.html', clientmgr => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-05-1.html', tempofinancials => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-14-1.html', tools => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-18-1.html', rep => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-12-01.html', taxmgr => 'Content/HELP/TPO\/default\//TEMPO 5 Help Topics-13-1.html', TempoMemberInfo => 'Content/HELP/TPO\/default\//Tempo_help-01-1.html', email => 'Content/HELP/TPO\/default\//Tempo_help-01-1.html', ); if (!defined($topic)) { my $startpoint='Content/HELP/TPO/default/Tempo_help-08-1.html'; } my $baseurl='http://www.tempohelp.com/index.asp?tab=Help&View=#'; $nightmare = $ttopics{$topic}; my @topicvalues=$nightmare; my @baseurl=$baseurl; tHelp(@baseurl,@startpoint);