<a href="/Special:Randomizer" id="gatRandom" accesskey='x'>View a Random Article</a>
			<?php 
if (class_exists('Randomizer') && Randomizer::DEBUG && $wgTitle && $wgTitle->getNamespace() == NS_MAIN && $wgTitle->getArticleId()) {
    ?>
				<?php 
    echo Randomizer::getReason($wgTitle);
    ?>
			<?php 
}
?>
		</div><!--end top_links-->
		
		<?php 
if ($wgUser->getID() == 0 && !$isMainPage && $action != 'edit' && $wgTitle->getText() != 'Userlogin' && $wgTitle->getNamespace() == NS_MAIN) {
    //comment out next line to turn off HHM ad
    if (wikihowAds::isMtv() && $wgLanguageCode == 'en') {
        echo wikihowAds::getMtv();
    } elseif (wikihowAds::isHHM() && $wgLanguageCode == 'en') {
        echo wikihowAds::getHhmAd();
    } else {
        echo wikihowAds::getAdUnitPlaceholder(4);
    }
}
//<!-- <a href="#"><img src="/skins/WikiHow/images/imgad.jpg" /></a> -->
?>
	<?php 
$likeDiv = "";
if (class_exists('CTALinks') && CTALinks::isArticlePageTarget()) {
    $fb_wikiHow_iframe = <<<EOHTML
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fwikihow&amp;layout=standard&amp;show_faces=false&amp;width=215&amp;action=like&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:215px; height:40px;" allowTransparency="true"></iframe>
EOHTML;