<div id="ProductList_C">
<?php foreach($results as $i) { ?>
	<table width="100%" cellpadding="0" cellspacing="0" border="0" class="GC4 Product">
	<tr>
		<td class="GC5 ProductTitle" colspan="2">
			<?php echo $i['title'] ?>
		</td>
	</tr>


	<tr>
	<td class="GC57 ProductContainer1 <?php if($i['type'] == 2 || $i['type'] == 3) { ?>line<?php } ?>">
	<?php if($i['thumbnail']) { ?>
		<img class="ProductImage" src="<?php echo $i['thumbnail'] ?>" <?php echo ($i['thumbnail_width'] > $i['thumbnail_height'] ? 'width' : 'height') ?>="150">
	<?php } ?>

			<?php if($i['type'] == 2 && $i['discount_msg']) { ?>
				<div class="GC21">
					<?php echo $i['discount_msg'] ?>
				</div>
			<?php } ?>
			<?php if($i['intro'] != "") { ?><p class="GC11 ProductIntroduction"><?php echo $i['intro'] ?></p><?php } ?>
			<?php if($i['description'] != "") { ?><p class="GC12 ProductDescription"><?php echo $i['description'] ?></p><?php } ?>
			<?php if($i['long_description'] != "") { ?><p class="GC12 ProductLongDescription"><?php echo $i['long_description'] ?></p><?php } ?>
			<?php if($i['type'] == 2 || $i['type'] == 3) { ?>
				<div class="MoreDetails"><a href="<?php echo getResultLinkToProductURL($i['url']); ?>"><span id="LD.LD_SEARCH_MOREDETAILS" name="LD.LD_SEARCH_MOREDETAILS"></span></a></div>
			<?php } else { ?>
				<div class="MoreDetails"><a href="<?php echo getResultLinkToDepartmentURL($i['url']); ?>"><span id="LD.LD_SEARCH_MOREDETAILS" name="LD.LD_SEARCH_MOREDETAILS"></span></a></div>
			<?php } ?>

	</td>
		<?php if($shopEnabled) { ?>
			<?php if($i['type'] == 2 || $i['type'] == 3) { ?>
				<td width="190px" class="GC4 ProductContainer2">
						<div id="ProductPrice-<?php echo $i['id'] ?>" class="GC20 ProductPrice">
							<div id="ProductPriceCalculated-<?php echo $i['id'] ?>" class="GC56 ProductPriceCalculated"></div>
							<div id="ProductPriceOriginal-<?php echo $i['id'] ?>" class="GC20 ProductPriceOriginal"></div>
						</div>
				</td>
			<?php } ?>
		<?php } ?>
	</tr>
	</table>
<?php } ?>
<script type="text/javascript">
if(tf.autoText.apply)tf.autoText.apply();
</script>
</div>