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 = 767864; photoIds = 0; userId = 38368; photoData = {"photo_id":767864,"user_id":38368,"user_login":"apalkin","user_name":"\u041f\u0430\u0432\u0435\u043b \u0410\u043f\u0430\u043b\u044c\u043a\u0438\u043d","photo_name":"*","src":"http:\/\/ser-apr.35photo.ru\/photos\/20140920\/767864.jpg","link":"http:\/\/35photo.ru\/photo_767864\/","bg":"1A1A1A","comm_count":3,"photo_see":1363,"photo_fav":1,"photo_rating":42,"var_vote":null,"timeAdd":"20 \u0441\u0435\u043d, 2014","user":{"status":"good"},"buyAllow":1,"photo_type":0,"moder":{"yes":"0","no":"0"},"user_data":{"photo_count":"86"},"photo_desc":"www.apalkin.com","exif":true,"tags":null,"other_photos":[{"id":"877589","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/175\/877589_320r.jpg"},{"id":"866522","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/173\/866522_320r.jpg"},{"id":"865650","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/173\/865650_320r.jpg"},{"id":"864919","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/172\/864919_320r.jpg"},{"id":"856919","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/171\/856919_320r.jpg"},{"id":"850225","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/170\/850225_320r.jpg"},{"id":"849498","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/169\/849498_320r.jpg"},{"id":"845272","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/169\/845272_320r.jpg"},{"id":"843543","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/168\/843543_320r.jpg"},{"id":"826971","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/165\/826971_320r.jpg"},{"id":"814324","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/162\/814324_320r.jpg"},{"id":"812450","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/162\/812450_320r.jpg"}],"otherData":"
Taken with: EOS 60D<\/a><\/div>

Style:
Portrait<\/a>
"}; lastRePost = null; thisPageUrl = "http://apalkin.35photo.ru/photo_767864/"; setBgComm = "#444444"; whovotelike = ""; commentTo = "photo_767864"; allowAddComm = false; jQuery(function( $ ){ SetBG('#1A1A1A', '##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 = $( '