<!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>
<title>{if $pagetitle ne ""}{$pagetitle} - {/if}{$site_name}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="{if $pagetitle ne ""}{$pagetitle} - {/if}{if $metadescription ne ""}{$metadescription} - {/if}{$site_name}">
<meta name="keywords" content="{if $pagetitle ne ""}{$pagetitle},{/if}{if $metakeywords ne ""}{$metakeywords},{/if}{$site_name}">

<!-- JavaScript Includes Begin -->
<script src="{$baseurl}/ajax/cpaint2.inc.js" type="text/javascript"></script>
<script src="{$baseurl}/js/variables.js" type="text/javascript"></script>
<script language=JavaScript src={$baseurl}/js/ajax.js></script>
<script language=JavaScript src={$baseurl}/js/videowatchpromenu.js></script>
<script type="text/javascript" src="{$baseurl}/js/swfobject.js"></script>
<script type="text/javascript" src="{$baseurl}/js/videowatchproswap.js"></script>
<script src="{$baseurl}/js/pngfix.js" type="text/javascript"></script>
{if $issignuppage eq "1"}
<script type="text/javascript" src="{$baseurl}/js/passwordmeter.js"></script>
{/if}
{if $isvideouploadpage eq "1"}
<script language="javascript" type="text/javascript">
	var tmp_sid = "{$tmp_sid}";
	var disallow_extensions = {$disallow_extensions}
	var allow_extensions = {$allow_extensions};
	var path_to_ini_status_script = "{$path_to_ini_status_script}";
	var check_file_name_format = {$check_file_name_format};
	var check_disallow_extensions = {$check_disallow_extensions};
	var check_allow_extensions = {$check_allow_extensions};
	var check_null_file_count = {$check_null_file_count};
	var check_duplicate_file_count = {$check_duplicate_file_count};
	var max_upload_slots = {$max_upload_slots};
	var progress_bar_width = {$progress_bar_width};
</script>
<script type="text/javascript" src="{$baseurl}/js/uploadformvalidation.js"></script>
<script type="text/javascript" src="{$baseurl}/js/uu_file_upload.js"></script>
{literal}
<style>
.error {
font-family: Tahoma;
font-size: 8pt;
color: red;
background-color: "#FFFF99";
font-weight: bold;
margin-left: 5px;
display:none;
} 
</style>
{/literal}
{/if}
<!-- JavaScript Includes End -->

<!-- StyleSheets Includes Begin -->
<link href="{$cssurl}/style1.css" rel="stylesheet" type="text/css">
<link href="{$cssurl}/style2.php?lang={$smarty.session.language}" rel="stylesheet" type="text/css">
<link href="{$cssurl}/style3.css" rel="stylesheet" type="text/css">
<!-- StyleSheets Includes End -->  

</head>
<body class="default" {if $isvideouploadpage eq "1"}onLoad="iniFilePage()"{/if}>

<!-- Top Navigation Begin -->
<div id="topnav">
	<div id="topnav_top">
		<div id="topnav_user">
        		<table cellpadding="0" cellspacing="0" border="0"><tr><td>
        		{if $smarty.session.USERID ne ""}
                Welcome, <a href="{$baseurl}/members/profile/{$smarty.session.USERID}/{$smarty.session.USERNAME}">{$smarty.session.USERNAME}</a> |
                <a href="{$baseurl}/myinbox.php">{$lang32} ({insert name=get_member_unread_messages_count value=var USERID=$smarty.session.USERID})</a> | 
                <a href="{$baseurl}/account.php">{$lang3}</a> | 
                <a href="#" onclick="showMe('searchBlock')">{$lang168}</a> | 
                {$lang10}: <a href="{$baseurl}/familyfilter.php"><strong>{if $smarty.session.FAMILYFILTER eq "0"}{$lang12}{else}{$lang11}{/if}</strong></a> |
                <a href="{$baseurl}/logout.php" name="{$lang169}">{$lang169}</a>
                {else}
                <a href="{$baseurl}/login.php" name="{$lang170}">{$lang170}</a> | 
                <a href="#" onclick="showMe('searchBlock')">{$lang168}</a> | 
				<a href="{$baseurl}/login.php?action={$lang171}">{$lang171}</a> | 
                {$lang10}: <a href="{$baseurl}/familyfilter.php"><strong>{$lang11}</strong></a>	
                {/if}
                &nbsp;|&nbsp;</td><td><form name="langselecten" id="langselecten" method="post" style="padding:0; margin:0">
                    <INPUT type=image value="english" src="{$imageurl}/en.png" height="11px" style="height:11px;padding:0; margin:0; border:0;" border="0" name="language"><input type="hidden" name="language" id="language" value="english" />
                    </form></td><td>&nbsp;</td><td><form name="langselectes" id="langselectes" method="post">
                    <INPUT type=image value="spanish" src="{$imageurl}/es.png" height="11px" style="height:11px;padding:0; margin:0; border:0;" border="0" name="language"><input type="hidden" name="language" id="language" value="spanish" />
                    </form></td></tr></table>
		</div>
	
	</div>

	<div id="searchBlock" style="display:none; position: absolute; top: 20px; left: 700px; width: 230px; height:70px; background-color:#ffffff; border:1px solid #dfdfdf; padding: 5px; margin: 0px; z-index: 100000000;">
    			<div id="searchformdiv" style="width:100%;" align="left">
 					<form name="searchform" method="POST" action="{$baseurl}/searchengine.php">
                    {$lang168}&nbsp;<a href="#" onclick="hideMe('searchBlock')">[{$lang172}]</a>
                    <br />
                    <input type="text" value="{$smarty.request.searchterm}"}  name="searchterm" id="searchterm"/>
                    
                    <b> in </b>
                    <select name="searchfor" id="searchfor"> 
                    <option value="videos" {if $smarty.request.searchfor eq "videos"}selected="selected"{/if}>{$lang41}
                    <option value="members" {if $smarty.request.searchfor eq "members"}selected="selected"{/if}>{$lang59}
                    <option value="series" {if $smarty.request.searchfor eq "series"}selected="selected"{/if}>{$lang44}
                    <option value="channels" {if $smarty.request.searchfor eq "channels"}selected="selected"{/if}>{$lang37}
					</select>
                    <div style="padding-bottom:5px;"></div>
                    <input type="hidden" name="submitsearch" value="submitsearch" />
        			<INPUT type=image value="submitsearch" src="{$imageurl}/buttons/{$smarty.session.language}/searchsmall.gif" height="20px" style="height:20px;" border="0" name=submitsearch>
					</form>
                    
            	</div>
    </div>
    
	<div id="topnav_main">
		<a href="{$baseurl}" id="topnav_logo"></a>
		<ul id="headerlinks" class="toplinks">
			<li {if $mainmenu eq "0"}class="selected"{/if}><a href="{$baseurl}">{$lang173}</a></li>
			<li {if $mainmenu eq "1"}class="selected"{else}onMouseOver="javascript:showSMenu('main_1');" onMouseOut="javascript:hideSMenu('main_1');"{/if}><a href="{$baseurl}/browse/videos/z/0/1/{$lang174}">{$lang41}</a></li>
			<li {if $mainmenu eq "2"}class="selected"{else}onMouseOver="javascript:showSMenu('main_2');" onMouseOut="javascript:hideSMenu('main_2');"{/if}><a href="{$baseurl}/browse/videoseries/z/0/1/{$lang175}">{$lang44}</a></li>
			<li {if $mainmenu eq "3"}class="selected"{else}onMouseOver="javascript:showSMenu('main_3');" onMouseOut="javascript:hideSMenu('main_3');"{/if}><a href="{$baseurl}/browse/members/z/0/1/{$lang176}">{$lang59}</a></li>
			<li {if $mainmenu eq "4"}class="selected"{else}onMouseOver="javascript:showSMenu('main_4');" onMouseOut="javascript:hideSMenu('main_4');"{/if}><a href="{$baseurl}/browse/channels/z/0/1/{$lang175}">{$lang37}</a></li>
			<li {if $mainmenu eq "5"}class="selected"{else}{/if}><a href="{$baseurl}/uploadvideo.php">{$lang177}</a></li>
		</ul>
			
		<!-- Menu Dropdown Begin -->                                                   
		<ul id="main_1_drop" onMouseOver="javascript:showSMenu('main_1');" onMouseOut="javascript:hideSMenu('main_1');">
			<li><a href="{$baseurl}/browse/videos/z/0/1/{$lang174}">{$lang191}</a></li>
			<li><a href="{$baseurl}/browse/videos/z/1/1/{$lang178}">{$lang192}</a></li>
			<li><a href="{$baseurl}/browse/videos/z/2/1/{$lang179}">{$lang193}</a></li>
			<li><a href="{$baseurl}/browse/videos/z/3/1/{$lang180}">{$lang194}</a></li>
			<li><a href="{$baseurl}/browse/videos/z/4/1/{$lang182}">{$lang195}</a></li>
			<li><a href="{$baseurl}/browse/videos/z/5/1/{$lang181}">{$lang181}</a></li>
		</ul>
		<ul id="main_2_drop" onMouseOver="javascript:showSMenu('main_2');" onMouseOut="javascript:hideSMenu('main_2');">
			<li><a href="{$baseurl}/browse/videoseries/z/0/1/{$lang183}">{$lang196}</a></li>
			<li><a href="{$baseurl}/browse/videoseries/z/1/1/{$lang175}">{$lang198}</a></li>
			<li><a href="{$baseurl}/browse/videoseries/z/2/1/{$lang184}">{$lang199}</a></li>
			<li><a href="{$baseurl}/browse/videoseries/z/3/1/{$lang185}">{$lang200}</a></li>
		</ul>
		<ul id="main_3_drop" onMouseOver="javascript:showSMenu('main_3');" onMouseOut="javascript:hideSMenu('main_3');">
			<li><a href="{$baseurl}/browse/members/z/0/1/{$lang176}">{$lang201}</a></li>
			<li><a href="{$baseurl}/browse/members/z/1/1/{$lang186}">{$lang202}</a></li>
			<li><a href="{$baseurl}/browse/members/z/2/1/{$lang189}">{$lang203}</a></li>
			<li><a href="{$baseurl}/browse/members/z/3/1/{$lang190}">{$lang204}</a></li>
            <li><a href="{$baseurl}/browse/members/a/4/1/{$lang53}">{$lang53}</a></li>
		</ul>
		<ul id="main_4_drop" onMouseOver="javascript:showSMenu('main_4');" onMouseOut="javascript:hideSMenu('main_4');">
			<li><a href="{$baseurl}/browse/channels/z/0/1/{$lang175}">{$lang198}</a></li>
            <li><a href="{$baseurl}/browse/channels/z/1/1/{$lang183}">{$lang196}</a></li>
            <li><a href="{$baseurl}/browse/channels/z/2/1/{$lang188}">{$lang197}</a></li>
            <li><a href="{$baseurl}/browse/channels/z/3/1/{$lang179}">{$lang193}</a></li>
			<li><a href="{$baseurl}/browse/channels/z/4/1/{$lang187}">{$lang205}</a></li>
		</ul>
		<!-- Menu Dropdown End --> 
        
	</div>
	
    <!-- Sub-Navigation Begin -->
    {if $mainmenu eq "1"}
    <div id="topnav_subnav">
		<div id="topnav_subnav_spacer1">&nbsp;</div>
		<a href="{$baseurl}/browse/videos/z/0/1/{$lang174}" target="_top" name="{$lang191}" {if $submenu eq "0"}class="subnav_selected"{/if}>{$lang191}</a>
		<a href="{$baseurl}/browse/videos/z/1/1/{$lang178}" target="_top" name="{$lang192}" {if $submenu eq "1"}class="subnav_selected"{/if}>{$lang192}</a>
		<a href="{$baseurl}/browse/videos/z/2/1/{$lang179}" target="_top" name="{$lang193}" {if $submenu eq "2"}class="subnav_selected"{/if}>{$lang193}</a>
		<a href="{$baseurl}/browse/videos/z/3/1/{$lang180}" target="_top" name="{$lang194}" {if $submenu eq "3"}class="subnav_selected"{/if}>{$lang194}</a>
		<a href="{$baseurl}/browse/videos/z/4/1/{$lang182}" target="_top" name="{$lang195}" {if $submenu eq "4"}class="subnav_selected"{/if}>{$lang195}</a> 
		<a href="{$baseurl}/browse/videos/z/5/1/{$lang181}" target="_top" name="{$lang181}" {if $submenu eq "5"}class="subnav_selected"{/if}>{$lang181}</a> 
	</div>
    {/if}
    
    {if $mainmenu eq "2"}
    <div id="topnav_subnav">
		<div id="topnav_subnav_spacer2">&nbsp;</div>
        <a href="{$baseurl}/browse/videoseries/z/0/1/{$lang183}" target="_top" name="{$lang196}" {if $submenu eq "0"}class="subnav_selected"{/if}>{$lang196}</a>
        <a href="{$baseurl}/browse/videoseries/z/1/1/{$lang175}" target="_top" name="{$lang198}" {if $submenu eq "1"}class="subnav_selected"{/if}>{$lang198}</a>
        <a href="{$baseurl}/browse/videoseries/z/2/1/{$lang184}" target="_top" name="{$lang199}" {if $submenu eq "2"}class="subnav_selected"{/if}>{$lang199}</a>
        <a href="{$baseurl}/browse/videoseries/z/3/1/{$lang185}" target="_top" name="{$lang200}" {if $submenu eq "3"}class="subnav_selected"{/if}>{$lang200}</a>
	</div>
    {/if}
    
    {if $mainmenu eq "3"}
    <div id="topnav_subnav">
		<div id="topnav_subnav_spacer2">&nbsp;</div>
        <a href="{$baseurl}/browse/members/z/0/1/{$lang176}" target="_top" name="{$lang201}" {if $submenu eq "0"}class="subnav_selected"{/if}>{$lang201}</a>
        <a href="{$baseurl}/browse/members/z/1/1/{$lang186}" target="_top" name="{$lang202}" {if $submenu eq "1"}class="subnav_selected"{/if}>{$lang202}</a>
        <a href="{$baseurl}/browse/members/z/2/1/{$lang189}" target="_top" name="{$lang203}" {if $submenu eq "2"}class="subnav_selected"{/if}>{$lang203}</a>
        <a href="{$baseurl}/browse/members/z/3/1/{$lang190}" target="_top" name="{$lang204}" {if $submenu eq "3"}class="subnav_selected"{/if}>{$lang204}</a>
        <a href="{$baseurl}/browse/members/a/4/1/{$lang53}" target="_top" name="{$lang53}" {if $submenu eq "4"}class="subnav_selected"{/if}>{$lang53}</a>
	</div>
    {/if}
    
    {if $mainmenu eq "4"}
    <div id="topnav_subnav">
		<div id="topnav_subnav_spacer2">&nbsp;</div>
        <a href="{$baseurl}/browse/channels/z/0/1/{$lang175}" target="_top" name="{$lang198}" {if $submenu eq "0"}class="subnav_selected"{/if}>{$lang198}</a>
        <a href="{$baseurl}/browse/channels/z/1/1/{$lang183}" target="_top" name="{$lang196}" {if $submenu eq "1"}class="subnav_selected"{/if}>{$lang196}</a>
        <a href="{$baseurl}/browse/channels/z/2/1/{$lang188}" target="_top" name="{$lang197}" {if $submenu eq "2"}class="subnav_selected"{/if}>{$lang197}</a>
        <a href="{$baseurl}/browse/channels/z/3/1/{$lang179}" target="_top" name="{$lang193}" {if $submenu eq "3"}class="subnav_selected"{/if}>{$lang193}</a>
        <a href="{$baseurl}/browse/channels/z/4/1/{$lang187}" target="_top" name="{$lang205}" {if $submenu eq "4"}class="subnav_selected"{/if}>{$lang205}</a>
	</div>
    {/if}
    
    {if $mainmenu eq "5"}
    <div id="topnav_subnav">
		<div id="topnav_subnav_spacer3">&nbsp;</div>
		<a href="{$baseurl}/uploadvideo.php" target="_top" name="{$lang42}" {if $submenu eq "0"}class="subnav_selected"{/if}>{$lang42}</a>
		<a href="{$baseurl}/createseries.php" target="_top" name="{$lang119}" {if $submenu eq "2"}class="subnav_selected"{/if}>{$lang119}</a>
	</div>
    {/if}
    
    {if $mainmenu eq "7"}
    <div id="topnav_subnav">
		<div id="topnav_subnav_spacer1">&nbsp;</div>
        <a href="{$baseurl}/members/profile/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang26}" {if $submenu eq "0"}class="subnav_selected"{/if}>{$lang26}</a>
        <a href="{$baseurl}/members/videos/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang41}" {if $submenu eq "1"}class="subnav_selected"{/if}>{$lang41}</a>
        <a href="{$baseurl}/members/channels/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang37}" {if $submenu eq "2"}class="subnav_selected"{/if}>{$lang37}</a>
        <a href="{$baseurl}/members/comments/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang63}" {if $submenu eq "3"}class="subnav_selected"{/if}>{$lang63}</a>
        <a href="{$baseurl}/members/favorites/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang206}" {if $submenu eq "4"}class="subnav_selected"{/if}>{$lang206}</a>
        <a href="{$baseurl}/members/subscribers/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang207}" {if $submenu eq "5"}class="subnav_selected"{/if}>{$lang207}</a>
        <a href="{$baseurl}/members/friends/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang34}" {if $submenu eq "6"}class="subnav_selected"{/if}>{$lang34}</a>
        <a href="{$baseurl}/members/series/{$profilearray[0].USERID}/{$profilearray[0].username}" target="_top" name="{$lang44}" {if $submenu eq "7"}class="subnav_selected"{/if}>{$lang44}</a>
	</div>
    {/if}
	<!-- Sub-Navigation End -->
</div>
<!-- Top Navigation End -->