
/*Bloque 1*/
/* 1.- Simple - This function build all Podcast object elements*/	
 function showLayerPod()
  {  
	
/* This function creates the backgroung of the Podcast object*/	
	var apDiv = document.createElement('div');
	apDiv.style.zIndex = 1800;
	apDiv.style.width = '510px';
	apDiv.style.height = '170px';
	apDiv.style.display = "none"; 
	apDiv.style.backgroundColor = 'black';
	apDiv.id = 'apDiv';
	apDiv.style.border = '2px solid white';
	apDiv.style.position = 'absolute';
    apDiv.style.top = '223px';
    apDiv.style.left = '238px';
	document.body.appendChild(apDiv); 	
	
/*  This function creates the video Podcast*/
	var apDiv1 = document.createElement('div');
	apDiv1.style.zIndex = 1900;
	apDiv1.style.display = "none"; 
	apDiv1.id = 'apDiv1';
	apDiv1.style.position = 'absolute';
    apDiv1.style.top = '232px';
    apDiv1.style.left = '245px';
	document.body.appendChild(apDiv1);  

/* This function creates the black screen in the background*/
    var width = document.documentElement.clientWidth + document.documentElement.scrollLeft; 
    var layer = document.createElement('div');
    layer.style.zIndex = 1001;
	layer.style.display = "none"; 
    layer.id = 'layer';
    layer.style.position = 'absolute';
    layer.style.top = '0px';
    layer.style.left = '0px';
    layer.style.height = document.documentElement.scrollHeight + 'px';
    layer.style.width = width + 'px';
    layer.style.backgroundColor = 'black';
    layer.style.opacity = '.6';
    layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=60)");
    document.body.appendChild(layer);  
}


/* 2.- Picture - This function build all Podcast object elements*/	
function showLayerPicturePod()
  {  
/* This function creates the callOut Image*/	
	var callOut = document.createElement('div');
	callOut.style.zIndex = 1800;
	callOut.style.width = '22px';
	callOut.style.height = '12px';
	callOut.style.display = "none"; 
	callOut.style.backgroundImage = 'url(/services/images/callout.gif)';
	callOut.style.backgroundRepeat = 'no-repeat';
	callOut.style.backgroundColor = 'transparent';
	callOut.id = 'callOut';
	callOut.style.position = 'absolute';
    callOut.style.top = '500px';
    callOut.style.left = '440px';
	document.body.appendChild(callOut); 
	
  
/* This function creates the backgroung of the Picture - Podcast object*/	
	var apDiv = document.createElement('div');
	apDiv.style.zIndex = 1800;
	apDiv.style.width = '510px';
	apDiv.style.height = '255px';
	apDiv.style.display = "none"; 
	apDiv.style.backgroundColor = 'black';
	apDiv.id = 'apDiv';
	apDiv.style.border = '2px solid white';
	apDiv.style.position = 'absolute';
    apDiv.style.top = '245px';
    apDiv.style.left = '280px';
	document.body.appendChild(apDiv); 
	
/* This function creates the Podcast Picture - object*/
	var apDiv1 = document.createElement('div');
	apDiv1.style.zIndex = 1900;
	apDiv1.style.display = "none"; 
	apDiv1.id = 'apDiv1';
	apDiv1.style.position = 'absolute';
    apDiv1.style.top = '255px';
    apDiv1.style.left = '287px';
	document.body.appendChild(apDiv1);  

/* This function creates the black screen in the background*/
    var width = document.documentElement.clientWidth + document.documentElement.scrollLeft; 
    var layer = document.createElement('div');
    layer.style.zIndex = 1001;
	layer.style.display = "none"; 
    layer.id = 'layer';
    layer.style.position = 'absolute';
    layer.style.top = '0px';
    layer.style.left = '0px';
    layer.style.height = document.documentElement.scrollHeight + 'px';
    layer.style.width = width + 'px';
    layer.style.backgroundColor = 'black';
    layer.style.opacity = '.6';
    layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=60)");
    document.body.appendChild(layer);  
}

/* 3.- Complete - This function build all Podcast object elements*/	
function showLayerCompletePod()
  {  
  
/* This function creates the backgroung of the Picture - Podcast object*/	
	var apDiv = document.createElement('div');
	apDiv.style.zIndex = 1800;
	apDiv.style.width = '510px';
	apDiv.style.height = '380px';
	apDiv.style.display = "none"; 
	apDiv.style.backgroundColor = 'black';
	apDiv.id = 'apDiv';
	apDiv.style.border = '2px solid white';
	apDiv.style.position = 'absolute';
    apDiv.style.top = '223px';
    apDiv.style.left = '238px';
	document.body.appendChild(apDiv); 
	
/* This function creates the Compltete Podcast - object*/
	var apDiv1 = document.createElement('div');
	apDiv1.style.zIndex = 1900;
	apDiv1.style.display = "none"; 
	apDiv1.id = 'apDiv1';
	apDiv1.style.position = 'absolute';
    apDiv1.style.top = '234px';
    apDiv1.style.left = '243px';
	document.body.appendChild(apDiv1);  

/* This function creates the black picture in the background*/
    var width = document.documentElement.clientWidth + document.documentElement.scrollLeft; 
    var layer = document.createElement('div');
    layer.style.zIndex = 1001;
	layer.style.display = "none"; 
    layer.id = 'layer';
    layer.style.position = 'absolute';
    layer.style.top = '0px';
    layer.style.left = '0px';
    layer.style.height = document.documentElement.scrollHeight + 'px';
    layer.style.width = width + 'px';
    layer.style.backgroundColor = 'black';
    layer.style.opacity = '.6';
    layer.style.filter += ("progid:DXImageTransform.Microsoft.Alpha(opacity=60)");
    document.body.appendChild(layer);  
}
  
  
/*Bloque 2*/
/* 1.- Simple -*/	
/* This function Show the Simple Podcast*/
function showPod1() {
showLayerPod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hidePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center><br><object height='112' width='500'><param name='allowFullScreen' id='object' value='true'><param name='allowScriptAccess' value='always'/><param name='movie' value='http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=ef80b11a0486be8dc1a1eaecf065080657a0ec56&rf=bm&AutoPlay=true'/> <embed src= 'http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=ef80b11a0486be8dc1a1eaecf065080657a0ec56&rf=bm&AutoPlay=true' height='112'width='500'allowFullScreen='true' allowScriptAccess='always'/></object>"
}

function showPod2() {
showLayerPod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hidePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center><br><object height='112' width='500'><param name='allowFullScreen' id='object' value='true'><param name='allowScriptAccess' value='always'/><param name='movie' value='http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=62a26adf7c9b68c6cf6b4fe4d3453735bcec30e4&AutoPlay=true'/> <embed src= 'http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=62a26adf7c9b68c6cf6b4fe4d3453735bcec30e4&AutoPlay=true' height='112'width='500'allowFullScreen='true' allowScriptAccess='always'/></object>"
}

function showPod3() {
showLayerPod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hidePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center><br><object height='112' width='500'><param name='allowFullScreen' id='object' value='true'><param name='allowScriptAccess' value='always'/><param name='movie' value='http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=50dc699e4ec8121360501b719597551946c6deeb&AutoPlay=true'/> <embed src= 'http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=50dc699e4ec8121360501b719597551946c6deeb&AutoPlay=true' height='112'width='500'allowFullScreen='true' allowScriptAccess='always'/></object>"
}

function showPod4() {
showLayerPod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hidePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center><br><object height='112' width='500'><param name='allowFullScreen' id='object' value='true'><param name='allowScriptAccess' value='always'/><param name='movie' value='http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=50d43d5c46ec713964d8513e751b8b9644864cd5&AutoPlay=true'/> <embed src= 'http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=50d43d5c46ec713964d8513e751b8b9644864cd5&AutoPlay=true' height='112'width='500'allowFullScreen='true' allowScriptAccess='always'/></object>"
}

/* 2.- Picture -*/	
/* This function Show the Picture - Podcast*/
function showPicturePod1() {
showLayerPicturePod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('callOut').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hidePicturePod()'><img src='/services/images/overlay_close.gif' name'close' alt='close' border='0'> </a><center><img src='/enterprise/images/pic_78x96-AndyIsherwood.jpg' alt='Andy Isherwood' border='0'><strong>   Andy Isherwood</strong><br><br /><object height='112' width='500'><param name='allowFullScreen' id='object' value='true'><param name='speaker1' name='allowScriptAccess' value='always'/><param name='movie' value='http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=86f9671512e8a0d51f39713b029e181a04c1ff02&AutoPlay=true'/> <embed src= 'http://hptv.pb.feedroom.com/hp/hptv/audio/player.swf?site=hptv&skin=audio&fr_story=86f9671512e8a0d51f39713b029e181a04c1ff02&AutoPlay=true' height='112'width='500'allowFullScreen='true' allowScriptAccess='always'/></object>"
}


/* 3.- Complete -*/	
/* This function Show the Complete - Podcast*/
function showCompletePod1() {
showLayerCompletePod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hideCompletePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center>Alan Goodrum<br><div style='display:none'></div><script language='JavaScript' type='text/javascript' src='http://admin.brightcove.com/js/BrightcoveExperiences.js'></script><object id='myExperience' class='BrightcoveExperience'><param name='bgcolor' value='#FFFFFF' /><param name='width' value='500' /><param name='height' value='314' /><param name='playerID' value='1199515872001' /><param name='playerKey' value='AQ~~,AAABAeI3VIE~,N0OfmZCPaxgw7KPyLb8C3mi9vmynNr7i' /><param name='isVid' value='true' /><param name='isUI' value='true' /><param name='dynamicStreaming' value='true' /><param name='@videoPlayer'  value='d80f6d551a3d51dbbef5d26e3aa2c3106539f50e' /></object><script type='text/javascript'>brightcove.createExperiences();</script>";

}

function showCompletePod2() {
showLayerCompletePod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hideCompletePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center>George Daniels<br><div style='display:none'></div><script language='JavaScript' type='text/javascript' src='http://admin.brightcove.com/js/BrightcoveExperiences.js'></script><object id='myExperience' class='BrightcoveExperience'><param name='bgcolor' value='#FFFFFF' /><param name='width' value='500' /><param name='height' value='314' /><param name='playerID' value='1199515872001' /><param name='playerKey' value='AQ~~,AAABAeI3VIE~,N0OfmZCPaxgw7KPyLb8C3mi9vmynNr7i' /><param name='isVid' value='true' /><param name='isUI' value='true' /><param name='dynamicStreaming' value='true' /><param name='@videoPlayer'  value='404d13caa2c9aab840986f76a8e75e8312c54711' /></object><script type='text/javascript'>brightcove.createExperiences();</script>";

}

function showCompletePod3() {
showLayerCompletePod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hideCompletePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center>Ken Jansen<br><div style='display:none'></div><script language='JavaScript' type='text/javascript' src='http://admin.brightcove.com/js/BrightcoveExperiences.js'></script><object id='myExperience' class='BrightcoveExperience'><param name='bgcolor' value='#FFFFFF' /><param name='width' value='500' /><param name='height' value='314' /><param name='playerID' value='1199515872001' /><param name='playerKey' value='AQ~~,AAABAeI3VIE~,N0OfmZCPaxgw7KPyLb8C3mi9vmynNr7i' /><param name='isVid' value='true' /><param name='isUI' value='true' /><param name='dynamicStreaming' value='true' /><param name='@videoPlayer'  value='b564c11f4cddae982f8463663442ecff2b5663d7' /></object><script type='text/javascript'>brightcove.createExperiences();</script>";

}

function showCompletePod4() {
showLayerCompletePod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hideCompletePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center>Gary Thome<br><div style='display:none'></div><script language='JavaScript' type='text/javascript' src='http://admin.brightcove.com/js/BrightcoveExperiences.js'></script><object id='myExperience' class='BrightcoveExperience'><param name='bgcolor' value='#FFFFFF' /><param name='width' value='500' /><param name='height' value='314' /><param name='playerID' value='1199515872001' /><param name='playerKey' value='AQ~~,AAABAeI3VIE~,N0OfmZCPaxgw7KPyLb8C3mi9vmynNr7i' /><param name='isVid' value='true' /><param name='isUI' value='true' /><param name='dynamicStreaming' value='true' /><param name='@videoPlayer'  value='dee6abc2213bb786514fee60ed4f9cc5fa5067b2' /></object><script type='text/javascript'>brightcove.createExperiences();</script>";

}

function showCompletePod5() {
showLayerCompletePod();
document.getElementById('layer').style.display = "block";
document.getElementById('apDiv').style.display = "block";
document.getElementById('apDiv1').style.display = "block";
document.getElementById('apDiv1').style.color ='white';
document.getElementById("apDiv1").innerHTML = "<a href='javascript:hideCompletePod()'><img src='/products/servers/platforms/images/overlay_close.gif' alt='close' border='0'> </a><center>Alex Ekrot<br><div style='display:none'></div><script language='JavaScript' type='text/javascript' src='http://admin.brightcove.com/js/BrightcoveExperiences.js'></script><object id='myExperience' class='BrightcoveExperience'><param name='bgcolor' value='#FFFFFF' /><param name='width' value='500' /><param name='height' value='314' /><param name='playerID' value='1199515872001' /><param name='playerKey' value='AQ~~,AAABAeI3VIE~,N0OfmZCPaxgw7KPyLb8C3mi9vmynNr7i' /><param name='isVid' value='true' /><param name='isUI' value='true' /><param name='dynamicStreaming' value='true' /><param name='@videoPlayer'  value='7da5e1a70651b33a6dd14ec205ba247474076a7f' /></object><script type='text/javascript'>brightcove.createExperiences();</script>";

}

/*Bloque 3*/	
/* 1.- Simple -*/	
/* This function Hide the Podcast elements*/
function hidePod(){
document.getElementById('apDiv1').style.display = "none";
document.getElementById('layer').style.display = "none";
document.getElementById('apDiv').style.display = "none";
closeLayerPod();
}

/* 2.- Picture -*/	
/* This function hide the Picture - Podcast*/
function hidePicturePod(){
document.getElementById('apDiv1').style.display = "none";
document.getElementById('layer').style.display = "none";
document.getElementById('apDiv').style.display = "none";
document.getElementById('callOut').style.display = "none";
closeLayerPicturePod();
}

/* 3.- Complete -*/	
/* This function close the Complete - Podcast*/
function hideCompletePod(){
document.getElementById('apDiv1').style.display = "none";
document.getElementById('layer').style.display = "none";
document.getElementById('apDiv').style.display = "none";
closeLayerCompletePod();
}


/*Bloque 4*/
/* 1.- Simple -*/	
/* This function Close/destroy the Podcast elements*/
function closeLayerPod()
  {  
   document.body.removeChild(document.getElementById('layer'));
   document.body.removeChild(document.getElementById('apDiv1'));
   document.body.removeChild(document.getElementById('apDiv'));
  }
  
/* 2.- Picture -*/	
/* This function Close the Picture - Podcast*/  
function closeLayerPicturePod()
  {  
   document.body.removeChild(document.getElementById('layer'));
   document.body.removeChild(document.getElementById('apDiv1'));
   document.body.removeChild(document.getElementById('apDiv'));
   document.body.removeChild(document.getElementById('callOut'));
  }

/* 3.- Complete -*/	
 /* This function Close the Complete - Podcast*/  
function closeLayerCompletePod()
  {  
   document.body.removeChild(document.getElementById('layer'));
   document.body.removeChild(document.getElementById('apDiv1'));
   document.body.removeChild(document.getElementById('apDiv'));
  }
  
