<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
$page = $_GET['video'];
$pws = $_GET['pws'];
$learnmore = $_GET['learnmore'];
$cfld = $_GET['_cfld'];
$ename = $_GET['_ename'];
$aid = $_GET['_aid'];
include ("00_pages/".$page.".php"); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php include("00_includes/jp-incl-headspace.html") ?>

<!------------------------------------------------------------------->
<!------------------------------------------------------------------->
<!--- OMNITURE CODE ------------------------------------------------->
<!------------------------------------------------------------------->
<?php include("00_includes/incl-omniture.html") ?>

<body id="shk-videos">
<div id="" class="container"> 
    
    <!-------------------------------------------------------------------> 
    <!---NEW ROW --------------------------------------------------------> 
    <!------------------------------------------------------------------->
    <div id="" class="row row-masthead">
        <div class="row-inner">
            <div id="" class="span12">
                <h1 id="logo"><?php echo $title; ?></h1>
            </div>
        </div>
    </div>
    
    <!-------------------------------------------------------------------> 
    <!---NEW ROW --------------------------------------------------------> 
    <!------------------------------------------------------------------->
    <div id="" class="row row-video">
        <div class="row-inner">
            <div id="" class="span12 media clearfix">
                <div class="media-object pull-left">
                <?php
	                include("00_includes/jp-incl-player.php");
                ?>
                </div>
                <div class="media-body pull-left">
					<?php
                    if (isset($pws)) {
						$sharepws = preg_replace("(https?://)", "", $pws ); }
                    $addedcode = '00_addedcode/'.$page.'.html';
                    if (file_exists($addedcode)) {
                        include $addedcode;
                    }
                    if ((is_null($pws)) && (isset($corplink)) && (is_null($learnmore))) {
                        echo "<a class='btn btn-warning btn-large' href='".$corplink."'>Buy Now</a>"; }
                    if ((isset($pws)) && (isset($corplink)) && (is_null($learnmore))) {
						$domain = parse_url($pws, PHP_URL_HOST);
						$thepath = parse_url($corplink, PHP_URL_PATH);
						$thequery = parse_url($corplink, PHP_URL_QUERY);
                        echo "<a class='btn btn-warning btn-large' href='http://".$domain."".$thepath."?".$thequery."'>Buy Now</a>"; }
                    if ((isset($pws)) && (is_null($corplink)) && (is_null($learnmore))) {
                        echo "<a class='btn btn-warning btn-large' href='http://".$sharepws."'>Buy Now</a>"; }
					$learnmorepage = '00_learnmore/'.$page.'.html';
					if (file_exists($learnmorepage)) {
						include $learnmorepage;
					}
                    if ($share == "yes") {
                        include("00_includes/jp-share.html"); }
                    ?>
                </div>
            </div>
            <div class="shadow-inner shadow-top"></div>
        </div>
    </div>
        
    <!-------------------------------------------------------------------> 
    <!---NEW ROW --------------------------------------------------------> 
    <!------------------------------------------------------------------->
    <div id="" class="row row-info">
        <div class="row-inner">
            <div id="" class="span12">
                <h2><?php echo $title; ?></h2>
				<?php
                    $marketingcopy = '00_marketingcopy/'.$page.'.html';
                    if (file_exists($marketingcopy)) {
                        echo "<div class='mktcopy clearfix'>";
                        include $marketingcopy;
                        echo " </div>";
                    }
                ?>
            </div>
            <div class="shadow-inner shadow-top"></div>
        </div>
    </div>

    <!-------------------------------------------------------------------> 
    <!---NEW ROW --------------------------------------------------------> 
    <!------------------------------------------------------------------->
    <div id="" class="row row-footer">
        <div class="row-inner">
            <div id="" class="span12">
                <?php
                    include("00_includes/jp-incl-footer.html");
                ?>
            <img class="posterImg" src="http://content.shaklee.com/shaklee/video/<?php echo $directory; ?>/<?php echo $videoname; ?>.jpg" />
            </div>
            <div class="shadow-inner shadow-top"></div>
        </div>
    </div>
</div>
</body>
</html>
