var notFirstPage = (((document.location.toString()).indexOf('pagenum') != -1) && ((document.location.toString()).indexOf('pagenum=1') == -1))
var specialFeature = (currentPageType == 'article' && currentSection.toLowerCase() == 'features' && currentSubsection.toLowerCase() == 'specials')? true : null;
//alert(typeof specialFeature);
if (currentPageType == "article" || currentPageType == "related" && currentSection != 'In the Magazine')
{
// headline
document.write('
');
document.write('
',currentSubsection.toUpperCase(),'
');
document.write('
');
document.write('
');
var addthis_pub = 'rogertech';
document.write('
');
document.write('
');
if(!specialFeature)
{
document.write('',currentHeadline,'
');
if (currentSection!="Showroom" && currentSection!="Videos" && currentSection!="Galleries" && currentSection!="In the Magazine")
{
document.write('');
if(!notFirstPage)
{
document.write('',currentIntro,'
');
}
}
}
}
// email form
if (currentPageType == "EmailForm")
{
document.write('Email a link
');
document.write('Use this form to send a link to the page you selected to a colleague or friend
');
}