<div class="container" style="background-repeat:repeat-x;padding:20px 0px;color:white">
<center>
<script>
function tooglePrivacy() {
if ($('#privacy').css('display') == 'none') {
$('#privacy-read-more').css('display', 'none');
$('#privacy').css('display', 'inline');
} else {
$('#privacy-read-more').css('display', 'inline');
$('#privacy').css('display', 'none');
}
}
</script>
<div style="width:90%;font-size:9pt;color:#ccc"><?= $lang['privacy'] ?><a href=""
id="privacy-read-more" onclick="tooglePrivacy(); return false;" style="color:yellow">
<?= $lang['readmore'] ?></a>
<div style="display:none" id="privacy">
<?= $lang['privacy2'] ?>
</div>
</div>
<br>
<?= $lang['copy'] ?>
</center>
</div>
<!-- -->
<?php if($dealerInfo[$_SESSION['registration']['selectedDealer']]['eventID'] != "") { ?>
<!-- End Document
================================================== -->
<?php
if(!isset($_SESSION['webhit']) && $_SESSION['registration']['selectedDealer'] != "")
{
$_SESSION['webhit'] = true;
?>
<iframe height="0" width="0" src="http://ar.absoluteresults.com/misc/webHits.php?url=<?= str_replace(array('www.'),'',$_SERVER['HTTP_HOST']) ?>&dealer=<?= $_SESSION['registration']['selectedDealer'] ?>&eventID=<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['eventID'] ?>" frameborder="0"></iframe>
<?php
}
?>
<iframe id="emailFrame" height="0" width="0" frameborder="0" onload="emailSent()" style="margin:0px;padding:0px"></iframe>
<iframe id="smsFrame" height="0" width="0" frameborder="0" onload="smsSent()"></iframe>
<?php } ?>
<script src="scripts/jquery.backstretch.min.js"></script>
<script>
<?php
$brand = $dealerInfo[$_SESSION['registration']['selectedDealer']]['brand'];
$imgCount = count(glob("images/".$brand."/*.jpg"));
$rNum = rand(1, $imgCount);
$bg = "images/".$brand."/BG".$rNum.".jpg";
?>
if("<?=$dealerInfo[$_SESSION['registration']['selectedDealer']]['brand']?>" == "Santa" || "<?=$dealerInfo[$_SESSION['registration']['selectedDealer']]['brand']?>" == "BeSelfish" || "<?=$dealerInfo[$_SESSION['registration']['selectedDealer']]['brand']?>" == "LexusDowntown"){
$('#section-topper').css('background','transparent');
}
$.backstretch("<?=$bg?>");
</script>
</body>
</html>