sub mTutorials { if ( $Request->ServerVariables("SERVER_NAME")->item() =~ /tempohelp/i ) { $str.=mLeftIndex(); my $xml = xmlFileData("Content", "tempotutorials.xml", "mTutorials()"); if ($Request->item("DocID")->item()) { my $id = $Request->item("DocID")->item(); $xml =~ /()/s; $str .= $1; } else { $xml =~ /()/s; $str .= shadowBox("Tempo Tutorials", "".$1."", ($g_docWidth/5*4-(2*$g_docSpace))); $xml =~ /()/s; $str .= shadowBox("General PC Tutorials", "".$1."", ($g_docWidth/5*4-(2*$g_docSpace))); } #$str.=mLeftIndex(); return $str; } else { $str.=mLeftIndex(); my $xml=xmlFileData("Content", "tutorials.xml", "mTutorials()"); if ($Request->item("DocID")->item()) { #my $id = $Request->item("DocID")->item(); $xml =~ /()/s; $str .= $1; } else { $xml =~ /()/s; $xml .=~/()/s; $str .= shadowBox("MLXchange Tutorials & Demos", "".$1."", ($g_docWidth/5*4-(2*$g_docSpace))); $xml =~ /()/s; $str .= shadowBox("General PC Tutorials", "".$1."", ($g_docWidth/5*4-(2*$g_docSpace))); } return $str; } }