//POPUP TESTIOMONIOS
function popup_testimonios(mylink, windowname) {
var winleft = (screen.width - 540) / 2;
var winUp = (screen.height - 450) / 2;
if (! window.focus)return true;
  var href;
  if(typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
    window.open(href, windowname, 'top='+((screen.height - 450) / 2)+',left='+((screen.width - 540) / 2)+'+,toolbar=0 status=1,resizable=0,Width=540,height=450,scrollbars=2');
}


//POPUP VIDEO
function popup_video(mylink, windowname) {
var winleft = (screen.width - 540) / 2;
var winUp = (screen.height - 450) / 2;
if (! window.focus)return true;
  var href;
  if(typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
    window.open(href, windowname, 'top='+((screen.height - 450) / 2)+',left='+((screen.width - 540) / 2)+'+,toolbar=0 status=1,resizable=0,Width=540,height=450,scrollbars=0');
}


//POPUP MARCOS FLOREZ
function popup_marcos_florez(mylink, windowname) {
var winleft = (screen.width - 540) / 2;
var winUp = (screen.height - 450) / 2;
if (! window.focus)return true;
  var href;
  if(typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
    window.open(href, windowname, 'top='+((screen.height - 450) / 2)+',left='+((screen.width - 540) / 2)+'+,toolbar=0 status=1,resizable=0,Width=540,height=450,scrollbars=0');
}

//POPUP NOTICIAS
function popup_noticias(mylink, windowname) {
var winleft = (screen.width - 570) / 2;
var winUp = (screen.height - 450) / 2;
if (! window.focus)return true;
  var href;
  if(typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
    window.open(href, windowname, 'top='+((screen.height - 450) / 2)+',left='+((screen.width - 570) / 2)+'+,toolbar=0 status=1,resizable=0,Width=570,height=450,scrollbars=2');
}

//POPUP PRENSA
function popup_prensa(mylink, windowname) {
var winleft = (screen.width - 640) / 2;
var winUp = (screen.height - 450) / 2;
if (! window.focus)return true;
  var href;
  if(typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
    window.open(href, windowname, 'top='+((screen.height - 450) / 2)+',left='+((screen.width - 640) / 2)+'+,toolbar=0 status=1,resizable=0,Width=640,height=450,scrollbars=2');
}