11 ($rels{$2} = $1) if /^<link href="([^#]*)[^"]*" rel="([^"]*)" title/;
12 if(/^<div class="header">$/){
13 print "$_<center><p>";
14 if(defined $rels{"prev"}){
15 print "<a href=\"$rels{'prev'}\">[<<<]</a>";
17 if(defined $rels{"up"}){
18 print "<a href=\"$rels{'up'}\">[^^^]</a>";
20 if(defined $rels{"next"}){
21 print "<a href=\"$rels{'next'}\">[>>>]</a>";
25 if($header && /^<.div>$/){
26 print "</p></center>$_";