fotos_id=new Array(); fotos_name=new Array(); fotos_width=new Array(); fotos_height=new Array(); fotos_id[1]='f498f39f800bb70.00051469' fotos_name[1]='' fotos_width[1]='751' fotos_height[1]='500'; fotos_id[2]='f498f3a024bdae8.72081862' fotos_name[2]='' fotos_width[2]='750' fotos_height[2]='500'; fotos_id[3]='f498f3a103221a2.25301488' fotos_name[3]='' fotos_width[3]='751' fotos_height[3]='500'; fotos_id[4]='f498f3a195c5053.39766388' fotos_name[4]='' fotos_width[4]='751' fotos_height[4]='500'; fotos_id[5]='f498f3fc93dbd14.00716596' fotos_name[5]='' fotos_width[5]='750' fotos_height[5]='500'; fotos_id[6]='f49829fd74fc133.58207879' fotos_name[6]='' fotos_width[6]='751' fotos_height[6]='500'; fotos_id[7]='f49829fd7a19850.20855207' fotos_name[7]='' fotos_width[7]='752' fotos_height[7]='500'; fotos_id[8]='f498f379c6dadd2.95197072' fotos_name[8]='' fotos_width[8]='750' fotos_height[8]='500'; fotos_id[9]='f498f3804669468.82053177' fotos_name[9]='' fotos_width[9]='751' fotos_height[9]='500'; fotos_id[10]='f498f36f93d6cb7.02976710' fotos_name[10]='' fotos_width[10]='750' fotos_height[10]='500'; fotos_id[11]='f498f380e8c1b94.63052627' fotos_name[11]='' fotos_width[11]='751' fotos_height[11]='500'; fotos_id[12]='f498f382f346670.57013436' fotos_name[12]='' fotos_width[12]='750' fotos_height[12]='500'; fotos_id[13]='f498f38dc408859.60981736' fotos_name[13]='' fotos_width[13]='750' fotos_height[13]='500'; fotos_id[14]='f498f3c05a75d36.73684138' fotos_name[14]='' fotos_width[14]='751' fotos_height[14]='500'; fotos_id[15]='f498f3c14a5bf85.79569682' fotos_name[15]='' fotos_width[15]='751' fotos_height[15]='500'; fotos_id[16]='f498f3c1ee0efd8.01432184' fotos_name[16]='' fotos_width[16]='751' fotos_height[16]='500'; fotos_id[17]='f498f3c2de386d2.63296543' fotos_name[17]='' fotos_width[17]='750' fotos_height[17]='500'; fotos_id[18]='f49984aea545de7.61463507' fotos_name[18]='' fotos_width[18]='751' fotos_height[18]='500'; fotos_id[19]='f498fd278852489.78454123' fotos_name[19]='' fotos_width[19]='750' fotos_height[19]='500'; fotos_id[20]='f498fd2789e7588.10362262' fotos_name[20]='' fotos_width[20]='750' fotos_height[20]='500'; fotos_id[21]='f498fdbe45031d4.53541666' fotos_name[21]='' fotos_width[21]='750' fotos_height[21]='500'; fotos_id[22]='f498fdbe468aaf5.00377994' fotos_name[22]='' fotos_width[22]='750' fotos_height[22]='500'; fotos_id[23]='f49904f5f72cf43.30876277' fotos_name[23]='' fotos_width[23]='751' fotos_height[23]='500'; fotos_id[24]='f49904f5f908c05.93068726' fotos_name[24]='' fotos_width[24]='750' fotos_height[24]='500'; fotos_id[25]='f49904f5fa576f6.04245395' fotos_name[25]='' fotos_width[25]='750' fotos_height[25]='500'; fotos_id[26]='f4a5ee919791728.49056698' fotos_name[26]='' fotos_width[26]='751' fotos_height[26]='500'; fotos_id[27]='f4a5ee98696bef1.77525965' fotos_name[27]='' fotos_width[27]='751' fotos_height[27]='500'; fotos_id[28]='f4a5ee991901882.46437676' fotos_name[28]='' fotos_width[28]='750' fotos_height[28]='500'; fotos_id[29]='f4a5ee9ba9c0375.97743199' fotos_name[29]='' fotos_width[29]='751' fotos_height[29]='500'; fotos_id[30]='f4a5ee9d1020ad4.09610874' fotos_name[30]='' fotos_width[30]='751' fotos_height[30]='500'; fotos_id[31]='f4a5ee9d124ebf7.57718389' fotos_name[31]='' fotos_width[31]='751' fotos_height[31]='500'; fotos_id[32]='f4a5ee9d1423313.16461078' fotos_name[32]='' fotos_width[32]='751' fotos_height[32]='423'; fotos_max=32; parent_id='weddings'; function set_img(num){ var foto_left; var foto_right; document.getElementById('loading').style.display="block"; if (fotos_max>1) { if (num>1) foto_left=num-1; else foto_left=fotos_max; if (num"; txt+="»<\/a>"; txt+="»<\/a>"; //предзагрузка следующей фото txt+=""; // txt+="\"Михаил"; txt+="<\/div>"; txt+="

"; txt+="\"""; txt+="<\/h2>"; // alert(txt); document.getElementById("foto_out").innerHTML=txt; document.getElementById('main_foto').style.visibility="hidden"; document.getElementById('main_foto').onload=img_load; a_id="a_" + fotos_id[num]; if (a_id_last) document.getElementById(a_id_last).className="ordinary"; document.getElementById(a_id).className="active"; a_id_last=a_id; // } catch(err){} return false; } function img_load() { document.getElementById('loading').style.display="none"; document.getElementById('main_foto').style.visibility="visible"; }