.scientificnamediv {clear:both;font-size:10pt;}
			.identifiedbydiv {float:left;font-size:8pt;margin-top:5px;}
			.dateidentifieddiv {float:left;font-size:8pt;}
			.identificationreferences {clear:both;font-size:8pt;margin-top:5px;}
			.identificationremarks {clear:both;font-size:8pt;margin-top:5px;}
			.lfooter {clear:both;width:100%;text-align:center;font:bold 9pt arial,sans-serif;margin-top:18px;}
		</style>
	</head>
	<body style="background-color:#ffffff;">
		<div>
			<?php 
if ($isEditor) {
    if ($action) {
        $labelArr = $labelManager->getAnnoArray($_POST['detid'], $speciesAuthors);
        if ($clearQueue) {
            $labelManager->clearAnnoQueue($_POST['detid']);
        }
        $labelCnt = 0;
        foreach ($labelArr as $occid => $occArr) {
            $headerStr = trim($lHeader);
            $footerStr = trim($lFooter);
            $dupCnt = $_POST['q-' . $occid];
            for ($i = 0; $i < $dupCnt; $i++) {
                $labelCnt++;
                if ($rowsPerPage == 1 || $labelCnt % $rowsPerPage == 1) {
                    echo '<table class="labels"><tr>' . "\n";
                }
                ?>
							<td class="" valign="top">
								<?php 
                if ($headerStr) {