





/***********************************************

* Image Thumbnail Viewer II script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)

* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts

* This notice must stay intact for legal use

***********************************************/



//Specify image paths and optional link (set link to "" for no link):

var dynimages=new Array()



dynimages[1]=["../../images/pastel/pt_01_B.jpg", "", "'Retrato de niño'<br>73 x 51 cm"]

dynimages[2]=["../../images/pastel/pt_02_B.jpg", "", "'Melancolía'<br>73 x 51 cm"]

dynimages[3]=["../../images/pastel/pt_03_B.jpg", "", "'En algún lugar'<br>73 x 51 cm"]

dynimages[4]=["../../images/pastel/pt_04_B.jpg", "", "'¿Soy bella?'<br>73 x 51 cm"]

dynimages[5]=["../../images/pastel/pt_05_B.jpg", "", "'Las niñas bonitas no pagan dinero'<br>74 x 102 cm"]

dynimages[6]=["../../images/pastel/pt_06_B.jpg", "", "'Como ave fiel, vuelve al nido'<br>100 x 130 cm"]

//dynimages[7]=["../../images/pastel/pt_07_B.jpg", "", "'Enlazados II'<br>73 x 41 cm"]

dynimages[8]=["../../images/pastel/pt_08_B.jpg", "", "'Hermosa Sandra'<br>73 x 51 cm"]

dynimages[9]=["../../images/pastel/pt_09_B.jpg", "", "'Adonis'<br>51 x 73 cm"]

dynimages[10]=["../../images/pastel/pt_10_B.jpg", "", "'En los labios de algunos'<br>100 x 130 cm"]

//dynimages[11]=["../../images/pastel/pt_11_B.jpg", "", "'Ternura'<br>53 x 71 cm"]

dynimages[12]=["../../images/pastel/pt_12_B.jpg", "", "'Enlazados'<br>71 x 53 cm"]

dynimages[13]=["../../images/pastel/pt_13_B.jpg", "", "'Los amantes'<br>73 x 51 cm"]

dynimages[14]=["../../images/pastel/pt_14_B.jpg", "", "'La coqueta'<br>53 x 71 cm"]

//dynimages[15]=["../../images/pastel/pt_15_B.jpg", "", "'Dulzura'<br>53 x 71 cm"]

//dynimages[17]=["../../images/pastel/pt_17_B.jpg", "", "'Oculto deseo'<br>73 x 51 cm"]

dynimages[18]=["../../images/pastel/pt_18_B.jpg", "", "'La Gracia'<br>73 x 51 cm"]

dynimages[19]=["../../images/pastel/pt_19_B.jpg", "", "'El hombre y la máscara'"]

dynimages[20]=["../../images/pastel/pt_20_B.jpg", "", "'David'"]

dynimages[21]=["../../images/pastel/pt_21_B.jpg", "", "'La Oriental'"]

dynimages[16]=["../../images/pastel/pt_16_B.jpg", "", "'Noches de calladas luchas'<br>100 x 70 cm"]


//Preload images ("yes" or "no"):

var preloadimg="yes"



//Set optional link target to be added to all images with a link:

var optlinktarget=""



//Set image border width

var imgborderwidth=0



//Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+:

var filterstring="progid:DXImageTransform.Microsoft.Fade(Duration=0.7)"



///////No need to edit beyond here/////







if (preloadimg=="yes"){

for (x=0; x<dynimages.length; x++){

var myimage=new Image()

myimage.src=dynimages[x][0]

}

}



function returnimgcode(theimg){

var imghtml=""

if (theimg[1]!="")

imghtml='<a href="'+theimg[1]+'" target="'+optlinktarget+'">'

imghtml+='<img src="'+theimg[0]+'" border="'+imgborderwidth+'" class="imagen">'

if (theimg[1]!="")

imghtml+='</a>'

return imghtml

}



function modifyimage(loadarea, imgindex){

if (document.getElementById){

var imgobj=document.getElementById(loadarea)

if (imgobj.filters && window.createPopup){

imgobj.style.filter=filterstring

imgobj.filters[0].Apply()

}

imgobj.innerHTML=returnimgcode(dynimages[imgindex])+'<div id="titulo">'+dynimages[imgindex][2]+'</div>'

if (imgobj.filters && window.createPopup)

imgobj.filters[0].Play()

return false

}

}










