<?php /* Smarty version Smarty-3.1.8, created on 2021-01-07 11:32:36
         compiled from "/home/agmc/beta/application/core/views/manage/standard/BrandAdd.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6769751135fa6691466c118-27031234%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b462b6ae75362cb485b940260456614fa3ce7320' => 
    array (
      0 => '/home/agmc/beta/application/core/views/manage/standard/BrandAdd.tpl',
      1 => 1605520856,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6769751135fa6691466c118-27031234',
  'function' => 
  array (
    'categories' => 
    array (
      'parameter' => 
      array (
        'level' => 0,
        'catValues' => 0,
      ),
      'compiled' => '',
    ),
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5fa66914721242_75005085',
  'variables' => 
  array (
    'brandID' => 0,
    'language' => 0,
    'view_styles' => 0,
    'class' => 0,
    'listBrand' => 0,
    'brandIcon' => 0,
    'data' => 0,
    'productCategory' => 0,
    'level' => 0,
    'categoryIDList' => 0,
    'catValues' => 0,
    'categoryName' => 0,
    'resProductcategory' => 0,
    'children' => 0,
    'categoryValue' => 0,
    'resCategories' => 0,
    'common_js' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => 0,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5fa66914721242_75005085')) {function content_5fa66914721242_75005085($_smarty_tpl) {?><!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php $_smarty_tpl->tpl_vars["brandID"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['brandID']->value)===null||$tmp==='' ? '' : $tmp), null, 0);?>
<title><?php echo $_smarty_tpl->tpl_vars['language']->value['lblAdmin'];?>
 : <?php if ($_smarty_tpl->tpl_vars['brandID']->value>0){?>  <?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandEdit'];?>
  <?php }else{ ?> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandAddNew'];?>
 <?php }?></title>
<?php echo $_smarty_tpl->getSubTemplate ("CommonStyles.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ("CommonCustomStyles.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<?php echo $_smarty_tpl->getSubTemplate ("CommonJavaScript.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

<link rel="stylesheet" type="text/css" href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/add-edit.css" media="screen" />	
</head><body>
<div class="outer_container"> <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
  <!--End:Header Container--> 
  <!--*************************************************START CONTAINER SECTION*************************************************-->
  <div class="content_container equalHeight">
    <div class="content_wrapper">
     <noscript>
      <div class="message_info"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblJsEnable'];?>
 !!</div>
      </noscript>
      <div class="fixing_right space-t-l"><?php echo $_smarty_tpl->getSubTemplate ('ContentLanguageOptions.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
</div>
      <h2>
		<?php if ($_smarty_tpl->tpl_vars['brandID']->value>0){?>
			<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandEdit'];?>

		<?php }else{ ?>	
			<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandAddNew'];?>
 
			
		<?php }?>
		</h2>
	<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formBrand",'action'=>'','method'=>"post"),$_smarty_tpl);?>

	 <div class="inner_content_wrapper"> 
     <div id="common_message"></div>
 <div class="tab-content-outer  clearfix ">
 		<div class="left_block fixing_left">
              <div class="tab-block-01">
                <h2><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"product-details-save",'caption'=>"<span>&nbsp;</span>".($_smarty_tpl->tpl_vars['language']->value['lblBrandDetails'])),$_smarty_tpl);?>
</h2>
              </div>
              <ul class="left-tab" id="maintab">
                <li class="sub"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"basic-info",'caption'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblGeneral'])."</span>",'class'=>"left-tab-a active",'id'=>"general"),$_smarty_tpl);?>
</li>
                 <li class="sub"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('rel'=>"basic-info",'caption'=>"<span>".($_smarty_tpl->tpl_vars['language']->value['lblFeaturedInCategory'])."</span>",'class'=>"left-tab-a",'id'=>"qtyPrice"),$_smarty_tpl);?>
</li>  
               
              </ul>
            </div>
            <!-- tab General tab-1 starts -->              
             <div class="right_block fixing_right">
		   <div id="basic-info-section" class="save-floating-section">
        <div class="cm-buttons-floating" id="menuSubmit">
			<div class="submit-position"> 
				<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->submit(array('name'=>"submitBrand",'id'=>"submit",'class'=>"curve-3 button03",'value'=>($_smarty_tpl->tpl_vars['language']->value['lblSave']),'tabindex'=>"9"),$_smarty_tpl);?>
 
				
				<?php echo $_smarty_tpl->tpl_vars['language']->value['lblOr'];?>

				
				<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('priv_href'=>"brand/index/",'href'=>"/brand/index/",'tabindex'=>"10",'content'=>$_smarty_tpl->tpl_vars['language']->value['lblCancel']),$_smarty_tpl);?>
 
			</div>
        </div>
        <div class="cm-buttons"> </div>
        </div>
            <div  class="tabpane" style="display:block">
            
              <div class="tabpane_inner"> <span class="BreadCrump">
                <ul class="clearfix">
                  <li> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandDetails'];?>
 &raquo; </li>
                  <li> <span> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblGeneral'];?>
 </span></li>
                </ul>
                </span>
                <div class="form_listing">
			<ul class="levl-00">
			<li class="clearfix">
				<div class="left1 mandatory">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandbrandName'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"brandName",'class'=>"textbox",'tabindex'=>"1",'validate'=>"required",'error'=>($_smarty_tpl->tpl_vars['language']->value['errBrandbrandNameRequired'])),$_smarty_tpl);?>
 
				</div>
				<!--End:right-->
			  </li>
			 <li class="clearfix">
				<div class="left1 mandatory">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandbrandKey'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"brandKey",'class'=>"textbox",'tabindex'=>"2",'validate'=>"required~*callback_checkBrandKeyExist",'error'=>($_smarty_tpl->tpl_vars['language']->value['errBrandbrandKeyRequired'])."~*".($_smarty_tpl->tpl_vars['language']->value['errBrandbrandKeyExists'])),$_smarty_tpl);?>
 
				</div>
				<!--End:right-->
			  </li> 
			   <li class="clearfix">
					<div class="left1">
						<?php echo $_smarty_tpl->tpl_vars['language']->value['lblParent'];?>

					</div>
					<div class="right1"> 
						<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->select(array('class'=>($_smarty_tpl->tpl_vars['class']->value)." selectbox-width",'name'=>"parentID",'options'=>$_smarty_tpl->tpl_vars['listBrand']->value,'caption'=>"->".($_smarty_tpl->tpl_vars['language']->value['lblSelectBrand'])),$_smarty_tpl);?>

					</div>
			   </li> 
			 <li class="clearfix">
				<div class="left1">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandbrandIcon'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
                  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->upload_image(array('name'=>"brandIcon",'path'=>"uploads/brand/small/",'file'=>(($tmp = @$_smarty_tpl->tpl_vars['brandIcon']->value)===null||$tmp==='' ? '' : $tmp),'delete_icon_title'=>($_smarty_tpl->tpl_vars['language']->value['lblDelete']),'tabindex'=>"3"),$_smarty_tpl);?>
						
				</div>
				<!--End:right-->
			  </li> 
			 <li class="clearfix">
				<div class="left1 ">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandbrandDescription'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
               <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->editor(array('name'=>"brandDescription",'id'=>"brandDescription",'skin'=>2,'mode'=>"simple"),$_smarty_tpl);?>
 
					
				</div>
				<!--End:right-->
			  </li>
			<li class="clearfix">
				<div class="left1">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblShippingCharge'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('class'=>"textbox",'maxlength'=>"5",'name'=>"shippingCharge",'validate'=>"isPrice",'error'=>$_smarty_tpl->tpl_vars['language']->value['errValidAmount']),$_smarty_tpl);?>

				</div>
				<!--End:right-->
			  </li>
			<li class="clearfix">
				<div class="left1">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandmetaTitle'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"metaTitle",'class'=>"textbox",'tabindex'=>"5"),$_smarty_tpl);?>
 
				</div>
				<!--End:right-->
			  </li>
			<li class="clearfix">
				<div class="left1 ">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandmetaDescription'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('name'=>"metaDescription",'id'=>"metaDescription",'tabindex'=>"6"),$_smarty_tpl);?>
 
				</div>
				<!--End:right-->
			  </li>
			<li class="clearfix">
				<div class="left1 ">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandMetaKeyword'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textarea(array('name'=>"searchKeywords",'id'=>"searchKeywords",'tabindex'=>"7"),$_smarty_tpl);?>
 
				</div>
				<!--End:right-->
			  </li>
			
			  <li class="clearfix">
				<div class="left1 mandatory">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandstatus'];?>

				</div>
				<!--End:Left-->
				<div class="right1"> 
					<div id="perioddiv">
					<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->radio(array('name'=>"status",'class'=>"customradio",'tabindex'=>"8",'value'=>"A",'options'=>"A->".($_smarty_tpl->tpl_vars['language']->value['lblActive'])."~*I->".($_smarty_tpl->tpl_vars['language']->value['lblInactive'])),$_smarty_tpl);?>
 
					</div>
				</div>
				<!--End:right-->
			  </li> 
					</ul>
					</div>
				</div>
				<!--End:right-->
		  </div>
          <div class="tabpane" style="display:none;">
          <div class="tabpane_inner"> <span class="BreadCrump">
            <ul class="clearfix">
             <li> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrandDetails'];?>
 &raquo; </li>
                  <li> <span> <?php echo $_smarty_tpl->tpl_vars['language']->value['lblFeaturedInCategory'];?>
 </span></li>
            </ul>
            </span>
            <div class="form_listing">
              <ul class="levl-00">
                <li>
                  <h3><span><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFeaturedInCategory'];?>
</span></h3>
                </li>           
                <li class="clearfix">
				<div class="left1">
					<?php echo $_smarty_tpl->tpl_vars['language']->value['lblFeaturedInCategory'];?>

				</div>					
					
					

				<div class="right1"> 

				 <div class="category-section pos-relative">
				  <div class="div-city">
                      <div class="fixed-section">
                          <h2><?php echo $_smarty_tpl->tpl_vars['language']->value['lblProductCategory'];?>
</h2>
                      <?php $_smarty_tpl->tpl_vars["categoryValue"] = new Smarty_variable('', null, 0);?>

				<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->textbox(array('name'=>"filterCategories",'class'=>"filterBrands text-box margin-bottom",'placeholder'=>"Search Categories"),$_smarty_tpl);?>

                          </div>
				<?php $_smarty_tpl->tpl_vars["categoryValue"] = new Smarty_variable('', null, 0);?>
			        <ul  class="dragtree categoryList" id="categoryList">
							  

                <!--menu function-->
                 <?php if (!function_exists('smarty_template_function_categories')) {
    function smarty_template_function_categories($_smarty_tpl,$params) {
    $saved_tpl_vars = $_smarty_tpl->tpl_vars;
    foreach ($_smarty_tpl->smarty->template_functions['categories']['parameter'] as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);};
    foreach ($params as $key => $value) {$_smarty_tpl->tpl_vars[$key] = new Smarty_variable($value);}?>

                <?php  $_smarty_tpl->tpl_vars["productCategory"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["productCategory"]->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["productCategory"]->key => $_smarty_tpl->tpl_vars["productCategory"]->value){
$_smarty_tpl->tpl_vars["productCategory"]->_loop = true;
?> 
					
					 <?php if ($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryStatus']=='Inactive'){?>
				  <?php $_smarty_tpl->tpl_vars["categoryName"] = new Smarty_variable((("<span class='inactive'>").($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryName'])).("</span>"), null, 0);?>              
				  <?php }else{ ?>
				  <?php $_smarty_tpl->tpl_vars["categoryName"] = new Smarty_variable($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryName'], null, 0);?> 
				  <?php }?>
					
		
                        <li  data-level="<?php echo $_smarty_tpl->tpl_vars['level']->value;?>
" category="<?php echo $_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID'];?>
" catname="<?php echo $_smarty_tpl->tpl_vars['productCategory']->value['productCategoryName'];?>
" class="left-spacing <?php if ($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID']==1){?> ui-state-disabled <?php }?> li_catIDs" >
                     
                           
                                  
							
									<?php if (!(in_array($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID'],(($tmp = @$_smarty_tpl->tpl_vars['categoryIDList']->value)===null||$tmp==='' ? array() : $tmp)))){?>
                                    <span class="expand <?php if (!(!empty($_smarty_tpl->tpl_vars['productCategory']->value['children'])&&is_array($_smarty_tpl->tpl_vars['productCategory']->value['children']))){?>hide<?php }?>"></span>
									<?php }else{ ?>
									<span class="expand colapse <?php if (!(!empty($_smarty_tpl->tpl_vars['productCategory']->value['children'])&&is_array($_smarty_tpl->tpl_vars['productCategory']->value['children']))){?>hide<?php }?>"></span>
									<?php }?>
																		  
									 <?php $_smarty_tpl->tpl_vars["categoryValue"] = new Smarty_variable((($_smarty_tpl->tpl_vars['catValues']->value).(",")).($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID']), null, 0);?>
										


									<?php ob_start();?><?php if (in_array($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID'],$_smarty_tpl->tpl_vars['resProductcategory']->value)){?><?php echo $_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID'];?><?php }?><?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->checkbox(array('name'=>"categoryIDs",'class'=>"categoryTree",'id'=>"category",'options'=>((($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID']).("->")).("&nbsp;")).($_smarty_tpl->tpl_vars['categoryName']->value),'value'=>$_tmp1),$_smarty_tpl);?>
 
								
                         
							<?php $_smarty_tpl->tpl_vars["children"] = new Smarty_variable((($tmp = @$_smarty_tpl->tpl_vars['productCategory']->value['children'])===null||$tmp==='' ? '' : $tmp), null, 0);?>
                             <?php if (isset($_smarty_tpl->tpl_vars['productCategory']->value['children'])&&is_array($_smarty_tpl->tpl_vars['productCategory']->value['children'])&&!empty($_smarty_tpl->tpl_vars['productCategory']->value['children'])){?>
                               <ul id="" class="categoryList <?php if (!(in_array($_smarty_tpl->tpl_vars['productCategory']->value['productCategoryID'],(($tmp = @$_smarty_tpl->tpl_vars['categoryIDList']->value)===null||$tmp==='' ? array() : $tmp)))){?>hide <?php }?>"> 
                            <?php smarty_template_function_categories($_smarty_tpl,array('data'=>$_smarty_tpl->tpl_vars['children']->value,'level'=>$_smarty_tpl->tpl_vars['level']->value+1,'catValues'=>$_smarty_tpl->tpl_vars['categoryValue']->value));?>
  <!--menu function calling-->
                            </ul>
                          
                        <?php }else{ ?>
                             <?php if ((is_array($_smarty_tpl->tpl_vars['productCategory']->value))&&(isset($_smarty_tpl->tpl_vars['productCategory']->value['menuItemID']))&&(is_numeric($_smarty_tpl->tpl_vars['productCategory']->value['menuItemID']))){?>
                        </li>	
                        <?php }?>
                    <?php }?>
            <?php } ?>  
          <?php $_smarty_tpl->tpl_vars = $saved_tpl_vars;}}?>

          <?php smarty_template_function_categories($_smarty_tpl,array('data'=>$_smarty_tpl->tpl_vars['resCategories']->value));?>
 <!--menu function calling-->
             	 </ul>  
</div>
				</div>
				</li>						
					
					
					
					
					
					
                    </div>
                    
            </div>
            </div>
		  <!--End:From Listing--> 
		</div>
        </div>
         
        </div>
        
		<!--End:Border 3--> 
	  </div>
	  <!--End:Border 2--> 
	  <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>
 
	  </div>
	<!--End: left Block-->
	<div class="clear"></div>
  </div>
  <!--End: left Block-->
  <div class="clear"></div>
</div>
<!--*********************************************END CONTAINER SECTION******************************************************--> 
<!--End:Content Container--> 
<?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

</div>
<!--End:Outer Container--> 
<?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/validate.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/jquery.autoSuggest.js"></script>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/underscore.plugin.js"></script> 
<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->basepath_script(array(),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->validate_script(array('form'=>'formBrand'),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('id'=>"common_message"),$_smarty_tpl);?>

<?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->editor_script(array('names'=>"brandDescription"),$_smarty_tpl);?>


<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/custom-radiobutton.js"></script>
<script type="text/javascript">
	
	$(function(){
		 $('#perioddiv input').customInput('');
	});	
	
	var preFillCategory ="";
	var lblSelect ="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblSelect'];?>
";
	$(document).ready(function () {
	$(document).on("click","ul.left-tab>li>a",function () {
        $("ul.left-tab>li>a").removeClass("active");
        $(this).addClass("active");
		var thisIndex = $("ul.left-tab>li>a").index(this);
        $(".tabpane").hide();
        $(".tabpane:eq(" + thisIndex + ")").show();
		setActiveTabSaveButton();
		});
setActiveTabSaveButton();
});
function setActiveTabSaveButton()
{
	var thisRel =   $(".left-tab li a.active").attr("rel");
	var cmButtonsFloating = $("#"+thisRel+"-section").children(".cm-buttons-floating");
	var cmButtons = $("#"+thisRel+"-section").children(".cm-buttons");
	$.scrollPane({
			floating: cmButtonsFloating,
			fixed: cmButtons,
			padding: 71
			});
	$.fn.hasScrollBar = function()
	{
		var thisRel =   $(".left-tab li a.active").attr("rel");
		toggleSaveButton(thisRel);
	}
	var thisRel =   $(".left-tab li a.active").attr("rel");
	toggleSaveButton(thisRel);
}
function toggleSaveButton(thisRel)
{
	$(".save-floating-section").hide();
	$("#"+thisRel+"-section").show();
}
</script>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['common_js']->value;?>
/uploadImage.plugin.js"></script> 
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['view_javascript']->value;?>
/brandadd.page.js"></script> 
</body>
</html>
<?php }} ?>