// JavaScript Document // imgfor1 es un array que contiene las fotos de forniture var timername;tpho1=0 var timer_out=0;var timer5; var alert1 =0; var m_loadtot=0 var m_screenw=screen.availWidth; var m_screenh=screen.availHeight; var mdesfade=40;var mdesfade1=0;var v_fadeoff=30; var v_fadeofftimer; var imgt1=0 ; var tt1=0; var t2=0;var timeout1="" var nro=0; var imgsf=new Array() var imgsin=new Array(); var imgsph=new Array(); var i2=0 var ns6 = (!document.all && document.getElementById); var ie4 = (document.all); var ns4 = (document.layers); var imgfor1= "Images/furniture/a-d mynt/" imgsf[0]= imgfor1 + "ad20.jpg"; imgsf[1]= imgfor1 + "ad21.jpg"; imgsf[2]= imgfor1 + "ad22.jpg"; imgsf[3]= imgfor1 + "ad23.jpg"; imgsf[4]= imgfor1 + "ad24.jpg"; imgsf[5]= imgfor1 + "ad25.jpg"; imgsf[6]= imgfor1 + "ad26.jpg"; imgsf[7]= imgfor1 + "ad27.jpg"; imgfor1= "Images/furniture/a-d/" imgsf[8]= imgfor1 + "ad1.jpg"; imgsf[9]= imgfor1 + "ad2.jpg"; imgsf[10]= imgfor1 + "ad3.jpg"; imgsf[11]= imgfor1 + "ad4.jpg"; imgsf[12]= imgfor1 + "ad5.jpg"; imgsf[13]= imgfor1 + "ad6.jpg"; var imgint= "Images/interiors/comercial/A-D SHOWROOM/" imgsin[0] = imgint+"a-d 3D.jpg" imgsin[1] = imgint+"a-d larger view.jpg" imgsin[2] = imgint+"a-dview.JPG" imgsin[3] = imgint+"ALBERTWATSON.jpg" imgsin[4] = imgint+"books view moon.jpg" imgsin[5] = imgint+"VIEW1[1].JPG" imgsin[6] = imgint+"VIEW2[1].JPG" imgsin[7] = imgint+"VIEW3[1].JPG" var imgint= "Images/interiors/comercial/CASAS REIGNER GALLERY/" imgsin[8] = imgint+"casas riegner.jpg" var imgint= "Images/interiors/comercial/ROOM MIAMI/" imgsin[9] = imgint+"chaisebig.jpg" imgsin[10] = imgint+"coffetable1big.jpg" imgsin[11] = imgint+"dinningtablebig.jpg" imgsin[12] = imgint+"palmachairbig.jpg" imgsin[13] = imgint+"room1.jpg" var imgint= "Images/interiors/hospitality/" imgsin[14] = imgint+"front view.jpg" imgsin[15] = imgint+"idx0202jcad2.jpg" imgsin[16] = imgint+"idx0202jcad3.jpg" imgsin[17] = imgint+"idx0202jcad4.jpg" imgsin[18] = imgint+"lounge.jpg" imgsin[19] = imgint+"MYNT ULTRA BAR.jpg" imgsin[20] = imgint+"MYNT ULTRALOUNGE.jpg" var imgint= "Images/interiors/projects in progress/Coral Gables Residence/" imgsin[21] = imgint+"housebig.jpg" var imgint= "Images/interiors/projects in progress/traffic shoe altamonte mall/" imgsin[22] = imgint+"Render front.jpg" var imgint= "Images/interiors/projects in progress/traffic shoe store citrus mall/" imgsin[23] = imgint+"o1.jpg" imgsin[24] = imgint+"o2.jpg" imgsin[25] = imgint+"o3.jpg" var imgint= "Images/interiors/projects in progress/traffic shoe store florida mall/" imgsin[26] = imgint+"m1.jpg" imgsin[27] = imgint+"m2.jpg" imgsin[28] = imgint+"m3.jpg" imgsin[29] = imgint+"m4.jpg" var imgint= "Images/interiors/residential/" imgsin[30] = imgint+"r1.jpg" imgsin[31] = imgint+"r2.jpg" imgsin[32] = imgint+"r3.jpg" imgsin[33] = imgint+"r4.jpg" imgsin[34] = imgint+"r7.jpg" var t_img9=0 var imgpho="Images/pho/ALBERT WATSON/" imgsph[t_img9] = imgpho+"w1.jpg"; t_img9+=1; imgpho="Images/pho/ARAKI/main/" var mtem=1; for (mm1=1;mm1 <10;mm1++) { imgsph[t_img9] = imgpho + mm1 + "araki.jpg"; t_img9+=1 mtem+=1; } imgpho="Images/pho/celsocastro/main/" for (mm1=1;mm1 <8;mm1++) { imgsph[t_img9] = imgpho + "c" + mm1 + ".jpg"; t_img9+=1 mtem+=1; } imgpho="Images/pho/HARRY BENSON/" for (mm1=1;mm1 <3;mm1++) { imgsph[t_img9] = imgpho + "b" + mm1 + ".jpg"; t_img9+=1 mtem+=1; } imgpho="Images/pho/HELMUT NEWTON/" imgsph[t_img9] = imgpho+"h1.jpg" t_img9+=1 imgpho="Images/pho/HORST P. HORST/" imgsph[t_img9] = imgpho+"Horst.jpg" t_img9+=1 imgpho="Images/pho/IRAN ISSA KHAN/flowers/main/" for (mm1=0;mm1 <7;mm1++) { imgsph[t_img9] = imgpho + "f" + mm1 + ".jpg"; t_img9+=1 mtem+=1; } imgpho="Images/pho/IRAN ISSA KHAN/shells/main/" for (mm1=0;mm1 <4;mm1++) { imgsph[t_img9] = imgpho + "f" + mm1 + ".jpg"; t_img9+=1 mtem+=1; } imgpho="Images/pho/PETER BEARD/" for (mm1=1;mm1 <8;mm1++) { imgsph[t_img9] = imgpho + "p" + mm1 + ".jpg"; t_img9+=1 mtem+=1; } imgpho="Images/pho/SARAH MOON/" imgsph[t_img9] = imgpho+"sa1.jpg" var path_press var imgpress=new Array() path_press="Images/press/" imgpress[0]=path_press+"architectural.jpg" imgpress[1]=path_press+"Channels.jpg" imgpress[2]=path_press+"COLLAGE.jpg" imgpress[3]=path_press+"HAUTEDECOR.JPG" imgpress[4]=path_press+"HOUSEBEAUTIFUL.JPG" imgpress[5]=path_press+"magazine.jpg" imgpress[6]=path_press+"newmagazine.jpg" function changeimg(imgname) { t1+=1; if (imgname=="press") { t1 = Math.round(Math.random() * 6); document.images(imgname).src=imgpress[t1]; } if (imgname=="imgforniture") { if (tt1==14) {tt1=0;} document.images(imgname).src=imgsf[tt1]; tt1+=1; } if (imgname=="interior") { if (imgt1>34) {imgt1=0} document.images(imgname).src=imgsin[imgt1]; imgt1+=1 } if (imgname=="photos") { if (tpho1==(t_img9+1)) tpho1=0 document.images(imgname).src=imgsph[tpho1];tpho1+=1; } if (mdesfade==40) { clearTimeout(timeout1); t1=0; } else { timeout1=setTimeout("changeimg('" + imgname+ "'" + ")",1000); // alert(imgsph[t1]); } } function desfade(mlayer,imgname,mtext) { var mca='lcap'; if (m_loadtot==1) { if (mdesfade==100) {clearTimeout(timeout1);timeout1=""; changeimg(imgname);} else { mdesfade+=5; mdesfade1+=8; if (mdesfade==100) {mdesfade1=100}; document.all[mlayer].style.filter="alpha(opacity=" + mdesfade + ")" ; var m_pleft=parseInt(document.all[mlayer].style.left); document.all[mca].style.fontfamily="Century Gothic" document.all[mca].style.top="412px"; document.all[mca].style.left=m_pleft+"px"; document.all[mca].style.filter="alpha(opacity=" + mdesfade1 + ")" ; document.all[mca].innerText=mtext; timeout1=setTimeout("desfade('" + mlayer+ "','" + imgname + "','" + mtext + "')",100); } } } function fadeout(mlayer,imgname) { if (m_loadtot==1) { var mca='lcap'; mdesfade1=0; mdesfade=40; clearTimeout(timeout1); document.all[mlayer].style.filter="alpha(opacity=" + mdesfade + ")" ; document.all[mca].style.filter="alpha(opacity=0)"; t1=0; var gtt2=document.all[mlayer].style.top } } function sclick(x, _sndObj, sndFile) { // MM_controlSound('play','document.CS985293562780','Images/open09.wav'); var i, method = "", sndObj = eval(_sndObj); if (sndObj != null) { if (ns4) method = "play"; else { if (window.MM_WMP == null) { window.MM_WMP = false; for(i in sndObj) if (i == "ActiveMovie") { window.MM_WMP = true; break; } } if (window.MM_WMP) method = "play"; else if (sndObj.FileName) method = "run"; } } if (method) eval(_sndObj+"."+method+"()"); else window.location = sndFile; } function fadeoff(m_img) { if (v_fadeoff<100) { v_fadeoff+=5 document.all[m_img].style.filter="alpha(opacity=" + v_fadeoff + ")" ; v_fadeofftimer= setTimeout("fadeoff('" + m_img+ "')",100); if (v_fadeoff==100) {clearTimeout(v_fadeofftimer);v_fadeofftimer=""; } } } var tot_tot=0 var timeout_01 function fadeonprogress(m_ob,tot) { if (tot==tot_tot){ clearTimeout(timeout_01);timeout_01="";tot_tot=0 } else { tot_tot+=5; document.all[m_ob].style.filter="alpha(opacity=" + tot_tot+ ")" ; timeout_01=setTimeout("fadeonprogress('" + m_ob + "','" + tot + "')",200); } } function fadeon(m_img) { v_fadeoff=30; document.all[m_img].style.filter="alpha(opacity=" + v_fadeoff + ")" ; } var m_show1=0; var tot_arr=0; function show_layers(){ var m_arra=new Array() m_arra[0]='l0'; m_arra[1]='l1'; m_arra[2]='l2'; m_arra[3]='l3'; m_arra[4]='l4'; m_arra[5]='l5'; if (m_show1==0) { if (tot_arr