// JavaScript Document
	function AbirVentadaDocumentoGral(documento)
	{
		
		
		var DocumentoAbrir = documento;
		window.open("Portales/imgs/Upload/"+DocumentoAbrir, "Documento_Asociado","toolbar=no,width=800,height=600,scroll=yes");
	}
	
	function AbirVentadaDocumentoPortal(documento)
	{
		
		
		var DocumentoAbrir = documento;
		window.open("Portales/imgs/Upload/"+DocumentoAbrir, "Documento_Asociado","toolbar=no,width=800,height=600,scroll=yes");
	}
	
	
	<!--//
//pre load your image in here
newimage0 = new Image();
newimage0.src = "imgs/PresentacionJS/2.jpg";

newimage1 = new Image();
newimage0.src = "imgs/PresentacionJS/3.jpg";

newimage2 = new Image();
newimage0.src = "imgs/PresentacionJS/4.jpg";

newimage3 = new Image();
newimage0.src = "imgs/PresentacionJS/5.jpg";

newimage4 = new Image();
newimage0.src = "imgs/PresentacionJS/6.jpg";

var i_strngth=1
var i_image=0

//enter your image urls here
var imageurl = new Array()

imageurl[0] ="imgs/PresentacionJS/2.jpg";
imageurl[1] ="imgs/PresentacionJS/3.jpg";
imageurl[2] ="imgs/PresentacionJS/4.jpg";
imageurl[3] ="imgs/PresentacionJS/5.jpg";
imageurl[4] ="imgs/PresentacionJS/6.jpg";


function showimage() { 

if(document.all) {

if (i_strngth <=110) {


testimage.innerHTML="<img style='filter:alpha(opacity="+i_strngth+")' src="+imageurl[i_image]+" border=0>";i_strngth=i_strngth+10

var timer=setTimeout("showimage()",200)

}       

else {

clearTimeout(timer)

var timer=setTimeout("hideimage()",2500)

}

}       

if(document.layers) {

clearTimeout(timer)

document.testimage.document.write("<img src="+imageurl[i_image]+" border=0 >")

document.close()

i_image++

if (i_image >= imageurl.length) 

{i_image=0}     

var timer=setTimeout("showimage()",10000)

 }
//window.open("PopUpNavidad.asp", "Feliz Navidad","toolbar=no,width=300,height=300,scroll=no");
}

function hideimage() {

if (i_strngth >=-10) {


testimage.innerHTML="<img style='filter:alpha(opacity="+i_strngth+")'src="+imageurl[i_image]+" border=0>";

i_strngth=i_strngth-10

var timer=setTimeout("hideimage()",80)

}       

else {

clearTimeout(timer)

i_image++

if (i_image >= imageurl.length) {i_image=0}

i_strngth=1

var timer=setTimeout("showimage()",400) 

}

}
//-->
