<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--TEMPLATE: trademykeys -->
<title>
<?php
if(in_array($selectedDealer,array('lasalle'))) echo "REVOLUTION FIAT"; else echo "Trade My Keys Event";
?>
</title>
<style>
body,html {margin:0px;background-color:white;}
.mainTbl {background-color:white;}
.mainTbl td {vertical-align:top;font-family:tahoma,arial}
.headerTbl td a {text-decoration:none;color:yellow}
@font-face {
font-family: impacts;
src: url(scripts/impact.ttf);
}
@font-face {
font-family: tahomas;
src: url(scripts/tahoma.ttf);
}
@font-face {
font-family: tahomas;
src: url(scripts/tahomabd.ttf);
font-weight:bold;
}
</style>
<script language=javascript>
function onlyNumbers(e)
{
var key = window.event ? e.keyCode : e.which;
var keychar = String.fromCharCode(key);
reg = /[^0-9]/g;
return !reg.test(keychar);
}
</script>
</head>
<body>
<!-- <?= $dealerInfo[$selectedDealer]['eventDate'] ?> -->
<center>
<?php
// if(in_array($selectedDealer,array('renfrew_XYZ'))) $img = 'banner';
//if (in_array($dealerInfo[$selectedDealer]['logo'], array('red'))) $img = 'Banner_2.jpg';
//if (in_array($dealerInfo[$selectedDealer]['logo'], array('wb_banner'))) $img = 'wb_banner.png';
//else $img = 'Banner_1.jpg';
if(in_array($selectedDealer,array('knightdodge','knightnissan'))) $img = 'bannerNissan.jpg';
else if(in_array($selectedDealer,array('lasalle'))) $img = 'revolution.jpg';
else if(in_array($selectedDealer,array('lebanon'))) $img = 'lebanon_banner.jpg';
else $img = 'banner.jpg';
?>
<table cellspacing="0" cellpadding="0" class="mainTbl">
<tr>
<td style="width:940px;height:459px;background-image:url('images/<?= $img ?>');background-repeat:no-repeat;background-position:center top;">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:40px;padding-top:240px;padding-bottom:30px;text-align:left;color:white;">
<div style="padding-top:10px;padding-right:200px;background-image:url('images/whiteBG.png');background-position:right top;background-repeat:no-repeat">
<font style="font-size:30pt;font-family:impact,arial;color:black"><?= strtoupper($dealerInfo[$selectedDealer]['name']) ?></font>
<br>
<font style="font-size:13pt;color:#333"><?= $dealerInfo[$selectedDealer]['address'] ?></font>
<br>
<font style="font-size:13pt;color:#333"><a href="http://<?= $dealerInfo[$selectedDealer]['website'] ?>" target="_blank"><?= $dealerInfo[$selectedDealer]['website'] ?></a></font>
</div>
</td>
</tr>
</table>