$location_create_class  = '';
    }

    // 350 x 245 is about the size of the box
    $background_image = '';
    if(!is_null($campaign)) {
	$temp_filename = $campaign->field_dw_campaign_image[0]['filepath'];
        if(file_exists($temp_filename)) {
            $image_params = array(
                'w' => 620,
            );
            $thumb = $image = _dw_campaigns_thumb($temp_filename, $image_params);
            $background_image = "background:transparent url('$thumb') no-repeat left top;";
        }

        $vid = dw_campaigns_get_youtube($campaign->field_dw_campaign_youtube[0]['value']);
    }    
?>
<script type="text/javascript">
$(document).ready(function() {
    
    var my_loc = <?php echo $my_location;?>;
    
    $(".location-not-found").click(function(){
        alert('Please Select a Location from the Find a Walk Menu before Creating A Fundraising Page');
        return false;
    });
    
    $(".location-mismatch").click(function(e){
        var res = confirm('<?php echo t('You already have a Walking Campaign for a Different Location - Click OK to Go to your Walk Location'); ?>');
        if(res) {
    $params = dw_campaigns_get_merge_object($campaign, $pcp);
    $rawurl = dw_campaigns_user_get_pcp_url($thisUser, $campaign, TRUE);

    $url = urlencode($rawurl);
    $text = urlencode( t("Help me support !title", array('!title' => $campaign->title)) );
    $twitter_text = variable_get('dw-campaigns-twitter-text', $text);
    $facebook_text = variable_get('dw-campaigns-facebook-text', $text);

    dw_campaigns_do_merge($twitter_text, $params);
    dw_campaigns_do_merge($facebook_text, $params);
    dw_campaigns_do_merge($text, $params);
    dw_campaigns_do_merge($form['invitation-text'], $params);

    $extra          = _dw_campaigns_get_pcp_extra($pcp->id);
    $vid            = dw_campaigns_get_youtube($extra->youtube_url);
?>
<div class="users-pcp-page-left">
    <h2><?php echo $pcp->title;?></h2>
<?php
    if(empty($vid)) {
?>
    <img src="<?php echo $imageSrc; ?>">
<?php
    } else {
        printf('<iframe class="youtube-video" width="260" height="225" src="http://www.youtube.com/embed/%s?rel=0" frameborder="0" allowfullscreen></iframe>', $vid);
    }
?>
</div>
<div class="users-pcp-page-right">
    <div class="share-this-cause">