var photoCoor = {"lat":"0","lng":"0"}; function initialize() { if(google){ var myLatlng = new google.maps.LatLng(photoCoor.lat,photoCoor.lng); var myOptions = { zoom: 2, center: myLatlng, disableDefaultUI: true, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("map"), myOptions); var marker = new google.maps.Marker({ position: myLatlng, map: map }); } } photoId = 151253; photoIds = 0; userId = 2344; photoData = {"photo_id":151253,"user_id":2344,"user_login":"silfida","user_name":"Silfida","photo_name":"\u041a\u043e\u0447\u0435\u0432\u043d\u0438\u0446\u0430.","src":"http:\/\/ser-apr.35photo.ru\/photos\/20100529\/151253.jpg","link":"http:\/\/35photo.ru\/photo_151253\/","bg":"000000","comm_count":76,"photo_see":11160,"photo_fav":3,"photo_rating":90,"var_vote":null,"timeAdd":"29 \u043c\u0430\u0439, 2010","user":{"status":"good"},"buyAllow":0,"photo_type":0,"moder":{"yes":"0","no":"0"},"user_data":{"photo_count":"163"},"photo_desc":"\u0421\u043d\u0438\u043c\u043e\u043a \u0441\u0434\u0435\u043b\u0430\u043d \u041b\u044b\u043c\u0430\u0440\u0435\u0432\u044b\u043c \u0412\u0430\u043b\u0435\u0440\u0438\u0435\u043c, \u0432 \u0440\u043e\u043b\u0438 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u0446\u044b \u043f\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u044f. \u041b\u043e\u0448\u0430\u0434\u044c \u043f\u043e\u0440\u043e\u0434\u044b \"\u0424\u0440\u0430\u043d\u0446\u0443\u0437\u043a\u0438\u0439 \u0441\u0435\u043b\u044c\" \u043f\u043e \u043a\u043b\u0438\u0447\u043a\u0435 \u0422\u0435\u043f\u043b\u0438\u0446\u0430 - \u0447\u0435\u043c\u043f\u0438\u043e\u043d\u043a\u0430 \u0440\u0435\u0441\u043f\u0443\u0431\u043b\u0438\u043a\u0438 \u043f\u043e \u043a\u043e\u043d\u043d\u043e\u043c\u0443 \u0442\u0440\u043e\u0435\u0431\u043e\u0440\u044c\u044e. \u0427\u0430\u0441\u0442\u044c \u0440\u0435\u043a\u0432\u0438\u0437\u0438\u0442\u0430, \u043d\u0430\u0433\u0440\u0443\u0434\u043d\u0430\u044f \u0431\u0440\u043e\u043d\u044f, \u043b\u0443\u043a, \u043a\u043e\u043b\u0447\u0430\u043d.....\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u043b\u0438\u043d\u043d\u0438\u043a\u0430\u043c\u0438, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u044d\u043f\u043e\u0445\u0435 \u0440\u0430\u043d\u043d\u0438\u0445 \u043a\u043e\u0447\u0435\u0432\u043d\u0438\u043a\u043e\u0432. \u0416\u0435\u043d\u0441\u043a\u0430\u044f \u0441\u0430\u0431\u043b\u044f \u0438\u0437\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u0430 \u0432 \u0421\u0430\u043c\u0430\u0440\u043a\u0430\u043d\u0434\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 19 \u0432\u0435\u043a\u0430 (\u0432\u0437\u044f\u0442\u0430 \u043d\u0430 \u043f\u0440\u043e\u043a\u0430\u0442 \u0443 \u0430\u043b\u043c\u0430\u0442\u0438\u043d\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u043e\u043d\u0435\u0440\u0430 \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0430 \u0421\u0442\u0430\u0440\u043a\u043e\u0432\u0430)","exif":true,"tags":["\u043b\u043e\u0448\u0430\u0434\u044c","\u043d\u0430\u0435\u0437\u0434\u043d\u0438\u0446\u0430","\u0432\u043e\u0438\u043d."],"other_photos":[{"id":"990529","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/198\/990529_320r.jpg"},{"id":"981712","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/196\/981712_320r.jpg"},{"id":"943981","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/188\/943981_320r.jpg"},{"id":"941102","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/188\/941102_320r.jpg"},{"id":"847753","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/169\/847753_320r.jpg"},{"id":"834076","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/166\/834076_320r.jpg"},{"id":"826120","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/165\/826120_320r.jpg"},{"id":"588129","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/117\/588129_320r.jpg"},{"id":"567371","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/113\/567371_320r.jpg"},{"id":"559896","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/111\/559896_320r.jpg"},{"id":"541189","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/108\/541189_320r.jpg"},{"id":"535141","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/107\/535141_320r.jpg"}],"otherData":"
Style: Uncategorized<\/a>
<\/div>"}; lastRePost = null; thisPageUrl = "http://silfida.35photo.ru/photo_151253/"; setBgComm = "#444444"; whovotelike = ""; commentTo = "photo_151253"; allowAddComm = false; jQuery(function( $ ){ SetBG('#000000', '##CCCCCC'); loadComm(); showSimilar(); //resizeAllImages(); ilike.checkAll(); facebookGraph(); showBgBlock(); }); function getPhotoByJson( url ){ showLoadingPhoto( "loading" ); $("#moVotes23").hide(); $.ajax({ type: "GET", dataType: "jsonp", data: {}, url: url, error: function (jqXHR, textStatus, errorThrown) { //console.log("error load Photo"); }, success: function (data) { for (var p in data.data){ if (data.data.propertyIsEnumerable(p)){ //update banner rand = Math.floor(Math.random()*99999999999); clickurl_enc = encodeURI(window.location); $("#a139d7a2").attr( "src", "http://adv.muslib.ru/www/delivery/afr.php?zoneid=4&target=_blank&cb=" + rand + "&ct0=" + clickurl_enc ); //$("#a139d7a2").attr( "src", function ( i, val ) { return val; }); //console.log("banner update: " + $("#a139d7a2").attr( "src" ) ); photoData = data.data[p]; showPhotoByJson(); $("#liveinternetBlock").html( liveinternet() ); //1000x90 $(".ac662eaa").attr( "src", "http://adv.muslib.ru/www/delivery/afr.php?zoneid=5&target=_blank&cb=" + rand + "&ct0=" + clickurl_enc ); return true; }else{ showAlert("Last photo."); return true; } } showAlert("The End. No more photo. Choose other direction"); $( mainPhoto ).hide().fadeIn(100); showLoadingPhoto(); } }); }; function getCommByJson( photoId ){ var url = "http://35photo.ru/show_block.php?type=comments&type2=showAllPhotoComm&photoId=" + photoId; $.ajax({ type: "GET", dataType: "jsonp", data: {}, url: url, error: function (jqXHR, textStatus, errorThrown) { //console.log("error load comm"); }, success: function (data) { //console.log("show comm - ok"); $("#commentsBlock").html( data.data ); loadComm(); } }); }; function showSeriesPohotoPrev(){ //$(".seriesPhotoPrev").remove(); selectPhotoInSeries = 0; $("#zonePhotoInScroll").html(""); $("#zonePhotoInScroll").css("height", "auto" ); //SeriesPhoto if( photoData.series ){ //vertical //$("#zonePhotoInScroll").css("min-height", zonePhotoInScrollH ); //$("#btn_photo_right").hide(); //seriesPoints = $( '