La verdad exprésate bien ya que no se te entiende mucho :S
Código HTML:
<script language="JavaScript1.1">
var specifyimage=new Array() //Your images
specifyimage[0]="http://www.google.com.pe/logos/frida10-hp.gif"
specifyimage[1]="http://www.miportal.edu.sv/sitios/12485/images/google.jpg"
specifyimage[2]="http://www.tecnocracia.es/wp-content/uploads/2008/02/yahoo.gif"
var delay=5000 //5 seconds
//Counter for array
var count =1;
var cubeimage=new Array()
for (i=0;i<specifyimage.length;i++){
cubeimage[i]=new Image()
cubeimage[i].src=specifyimage[i]
}
function movecube(){
if (window.createPopup)
cube.filters[0].apply()
document.images.cube.src=cubeimage[count].src;
if (window.createPopup)
cube.filters[0].play()
count++;
if (count==cubeimage.length)
count=0;
setTimeout("movecube()",delay)
}
window.onload=new Function("setTimeout('movecube()',delay)")
</script>
<img src="org1.jpg" name="cube" width="294" height="103" border=0 style="filter:progid:DXImageTransform.Microsoft.St retch(stretchStyle='PUSH')">
si quieres ejecutar
otro <img src="org1.jpg" name="cube" width="294" height="103" border=0 style="filter:progid:DXImageTransform.Microsoft.St retch(stretchStyle='PUSH')">
solo cambia el name a las funciones y aplicaciones okz x).
Te doy esto, mas sencillo si te sirve.
Código HTML:
<table align="center" width="281" height="111" border="0" style="border: dashed red">
<tr>
<td><script type="text/javascript" src="/js-css/frase.js"></script>
<script type="text/javaScript">
var i=0;
var frase1 = '<img src="http://raykimb.com/shop/imagenes/dl/lplate.jpg"/>';
var frase2 = '<img src="http://raykimb.com/shop/imagenes/dl/round.jpg"/>';
var frase3 = '<img src="http://raykimb.com/shop/imagenes/dl/steel.jpg"/>';
var frase4 = '<img src="http://raykimb.com/shop/imagenes/dl/master.jpg"/>';
var frase5 = '<img src="http://raykimb.com/shop/imagenes/dl/glorious.jpg"/>';
var frase6 = '<img src="http://raykimb.com/shop/imagenes/dl/pegasus.jpg"/>';
var frases = new Array(frase1,frase2,frase3,frase4,frase5,frase6);
function cambiaFrase(){
document.getElementById('frase').innerHTML=frases[i];
i++;
if(i==frases.length){
i=0;
}
}
</script>
<MARQUEE SCROLLAMOUNT=1 BEHAVIOR=ALTERNATE>
<body onload="setInterval(cambiaFrase,5000)"><span id="frase" class="letra1">Hola chamaco no te marees x).</span>
</MARQUEE></td>
</tr>
</table>