Esta es la continuación del código de antes Código PHP:
/* ---- get value of query string param ---- */
deconcept.util = {
getRequestParameter: function(param){
var q = document.location.search || document.location.hash;
if(q){
var startIndex = q.indexOf(param +"=");
var endIndex = (q.indexOf("&", startIndex) > -1) ? q.indexOf("&", startIndex) : q.length;
if (q.length > 1 && startIndex > -1) {
return q.substring(q.indexOf("=", startIndex)+1, endIndex);
}
}
return "";
}
}
/* fix for video streaming bug */
/*
deconcept.SWFObjectUtil.cleanupSWFs = function() {
var objects = document.getElementsByTagName("OBJECT");
for (var i=0; i < objects.length; i++) {
for (var x in objects[i]) {
if (typeof objects[i][x] == 'function') {
objects[i][x] = null;
}
}
}
}
if (typeof window.onunload == 'function') {
var oldunload = window.onunload;
window.onunload = function() {
deconcept.SWFObjectUtil.cleanupSWFs();
oldunload();
}
} else {
window.onunload = deconcept.SWFObjectUtil.cleanupSWFs;
}
*/
/* add Array.push if needed (ie5) */
if (Array.prototype.push == null) { Array.prototype.push = function(item) { this[this.length] = item; return this.length; }}
/* add some aliases for ease of use/backwards compatibility */
var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for legacy support
var SWFObject = deconcept.SWFObject;
</script>
<script language="JavaScript1.2" type="text/javascript">
function loadFlash()
{
// <![CDATA[
var so = new FlashObject("flash/documentacion.swf", "FondoEficacia_07", "1097", "718", "Version1", null);
so.addVariable("lang", "es");
so.addParam("menu", "false");
so.addParam("wmode", "transparent");
so.write("flashContent");
// ]]>
}
</script>
<script language="JavaScript1.2" type="text/javascript">
var anima
function abajo()
{
pixel = parseInt(document.getElementById("contenido" ).style.top);
if (pixel<0)
{
document.getElementById("contenido").style.top = pixel + 5
anima = setTimeout("abajo()",50)
}
}
function arriba()
{
pixel = parseInt(document.getElementById("contenido" ).style.top);
altura=parseInt(document.getElementById("contenido").style.height)
if (pixel>-altura)
{
document.getElementById("contenido").style.top = pixel - 5
anima = setTimeout("arriba()",50)
}
}
function para()
{
clearTimeout(anima)
}
</script>
</head>
<body onload="loadFlash();">
<table cellpadding="0" cellspacing="0" width="100%" style="height:100%" border="0">
<tr>
<td width="100%" height="100%" align="center" valign="middle">
<table cellpadding="0" cellspacing="0" width="100%" style="height:100%" border="0">
<tr>
<td height="94" class="sp" align="center" valign="bottom"><a href="home.php"><img src="img/logo_efi.gif" width="325" height="59" alt="Eficacia" border="0"></a></td>
</tr>
<tr>
<td width="100%" align="center">
<div id="flashContainer">
<div id="flashContent" class="contenido"></div>
<? include_once("includes/menu.php"); ?>
<div id="documentacionContent" class="a11_000000_bold">
<div id="documentacion_container" style="position:relative;display:inline;float:left;top:0px;left:0px;width:255px;height:162px;overflow:hidden;">
<div id="contenido" style="position:relative;width:255px;height:480px;top:0px;left:0px;">
<img src="img/documentacion/bases.gif" width="177" height="17" alt=""><br><br>
<span class="a12_660000">Bases de participaciòn</span><br><a href="pdf/Bases_de_participacion_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<span class="a12_660000"><img src="img/documentacion/formularios.gif" width="207" height="17" alt=""></span><br><br>
<span class="a12_660000">Formulario de Candidatura Eficacia en Comunicación Comercial</span><br><a href="pdf/Formulario_de_Candidatura_Eficacia_Com_Com_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<span class="a12_660000">Formulario de Candidatura Eficacia en Medios</span><br><a href="pdf/Formulario_de_Candidatura_Eficacia_en_Medios_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<span class="a12_660000">Formulario de Candidatura Categorías Especiales</span><br><a href="pdf/Formulario_de_Candidatura_Categorias_Especiales_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<span class="a12_660000">Formulario de Candidatura Premios Especiales</span><br><a href="pdf/Formulario_de_Candidatura_Premios_Especiales_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<img src="img/documentacion/derechos.gif" width="186" height="17" alt=""><br>
<span class="a12_660000">Derechos de Inscripción</span><br><a href="pdf/Derechos_de_Inscripcion_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<img src="img/documentacion/confidencialidad.gif" width="119" height="17" alt=""><br>
<span class="a12_660000">Confidencialidad</span><br><a href="pdf/Confidencialidad_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
<img src="img/documentacion/certificacion.gif" width="166" height="17" alt=""><br>
<span class="a12_660000">Certificació Conjunta</span><br><a href="pdf/Certificacion_Conjunta_2007.pdf" target="_blank" class="a11_000000_bold">Descargar archivo en PDF</a><br><br>
</div>
</div>
<div id="scrollButtons">
<div id="documentacion_up" style="position:absolute;top:180px;left:25px;width:16px;height:20px;cursor:pointer;display:inline"><img src="img/contBulletUp01.gif" width="16" height="20" alt="" onmouseover="abajo()" onmouseout="para()"></div>
<div id="documentacion_down" style="position:absolute;top:180px;left:0px;width:16px;height:20px;cursor:pointer;display:inline"><img src="img/contBulletDwn01.gif" width="16" height="20" alt="" onmouseover="arriba()" onmouseout="para()"></div>
</div>
</div>
</div>
<div id="divCodigo" style="position:absolute;top:0px;height:0px;width:300px;height:200px;border:2px solid red"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Gracias de antemano a todos