<?php
 
 //  $src = $input->get('src');
 //print_r('sssssssssss'. $src);
 if($src =='src2'){?>
 <div class='tableauPlaceholder' id='viz1608021506184' style='position: absolute'>
 <noscript><a href='#'>
 <img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Vi&#47;VistaComarcas_16079276317650&#47;VistaComarcas&#47;1_rss.png' style='border: none' />
 </a></noscript>
 <object class='tableauViz'  style='display:none;'>
 <param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' />
 <param name='embed_code_version' value='3' />
 <param name='site_root' value='' />
 <param name='name' value='VistaComarcas_16079276317650&#47;VistaComarcas' />
 <param name='tabs' value='no' /><param name='toolbar' value='yes' />
 <param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;Vi&#47;VistaComarcas_16079276317650&#47;VistaComarcas&#47;1.png' />
 <param name='animate_transition' value='yes' />
 <param name='display_static_image' value='yes' />
 <param name='display_spinner' value='yes' />
 <param name='display_overlay' value='yes' />
 <param name='display_count' value='yes' />
 <param name='language' value='es' />
 </object></div>              
 <script type='text/javascript'> 
 var divElement = document.getElementById('viz1608021506184');
 var vizElement = divElement.getElementsByTagName('object')[0]; 
 vizElement.style.width='1016px';vizElement.style.height='991px'; 
 var scriptElement = document.createElement('script'); 
 scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';
 vizElement.parentNode.insertBefore(scriptElement, vizElement);
 </script>
<?php }else{ ?>
 <div class='tableauPlaceholder' id='viz1608021601323' style='position: relative'>
 <noscript>
 <a href='#'>
 <img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;An&#47;AnalisisPoblacionC&#47;AnalisisPoblacion&#47;1_rss.png' style='border: none' />
 </a></noscript>
 <object class='tableauViz'  style='display:none;'>
 <param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /> 
 <param name='embed_code_version' value='3' /> 
 <param name='site_root' value='' />
 <param name='name' value='AnalisisPoblacionC&#47;AnalisisPoblacion' />
 <param name='tabs' value='no' /><param name='toolbar' value='yes' />
 <param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;An&#47;AnalisisPoblacionC&#47;AnalisisPoblacion&#47;1.png' />
 <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' />
 <param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' />
 <param name='display_count' value='yes' /><param name='language' value='es' />
 <param name='filter' value='publish=yes' /></object></div> 
 <script type='text/javascript'>   
 var divElement = document.getElementById('viz1608021601323'); 
 var vizElement = divElement.getElementsByTagName('object')[0];
 vizElement.style.width='1016px';vizElement.style.height='991px';
 var scriptElement = document.createElement('script');     
 scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js'; 
 vizElement.parentNode.insertBefore(scriptElement, vizElement);    
 </script>
<?php } ?>

 

 