<?php
include_once('includes.php');
$pageTitle = 'strategyTitle.jpg';
$videoArray = array();
$videoArray[$lang['The Private Sale Strategy']][$lang['Absolute Results Dealer Portal']] = 'dealerportal';
$videoArray[$lang['The Private Sale Strategy']][$lang['Absolute Results Sale Strategy']] = 'strategy2013';
$firstVid = 'dealerportal';
?>
<?php include_once('header.php'); ?>
<table cellspacing="0" cellpadding="0" style="width:100%">
<tr>
<td>
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<ul id="example1" class="accordion">
<?php
foreach($videoArray as $cat => $videoList)
{
?>
<li class="locked">
<h3><?= $cat ?></h3>
<div class="panel loading">
<table cellspacing="0" cellpadding="0" class="videoTable">
<?php
foreach($videoList as $desc => $link)
{
?>
<tr>
<td onClick="viewVideo('<?= $link ?>')" id="<?= $link ?>" onMouseOver="videoMouseOver(this)" onMouseOut="videoMouseOut(this)">
<table cellspacing="0" cellpadding="0">
<tr>
<td style="padding:0px;padding-right:10px;width:26px;"><img src="<?= $lang['imgFdr'] ?>/videoIcon.jpg"></td>
<td style="padding:0px;width:500px"><?= $desc ?></td>
</tr>
</table>
</td>
</tr>
<?php
}
?>
</table>
</div>
</li>
<?php
}
?>
</ul>
</td>
</tr>
</table>
</td>
<td rowspan="2" style="width:700px;height:393px;padding-left:10px">
<video id="videoPlayer" class="video-js vjs-default-skin" controls <?= $videoAutoplay ?> preload="auto" width="700" height="394" data-setup="{}">
</video>
</td>
</tr>
<tr>
<td style="vertical-align:bottom;">
<table cellspacing="0" cellpadding="0" style="border:1px solid #ccc;padding:5px;width:100%;background-color:#b40001;color:white">
<tr>
<td style="vertical-align:middle;height:80px;font-size:12pt">
<?= $lang['click here to log in to your dealer portal'] ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript">
$('#example1').accordion();
$(".loading").removeClass("loading");
var myPlayer = _V_("videoPlayer");
myPlayer.volume(0.5);
<?php if(!$isChrome) { ?>myPlayer.addEvent("ended", videoEnd);<? } ?>
viewVideo('<?= $firstVid ?>');
</script>
<?php include_once('footer.php'); ?>