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 = 1544268; photoIds = 0; userId = 110846; photoData = {"photo_id":1544268,"user_id":110846,"user_login":"takashi","user_name":"Takashi","photo_name":"Melting snow on the Pagoda","src":"http:\/\/ser-apr.35photo.ru\/photos\/20161129\/1544268.jpg","link":"http:\/\/35photo.ru\/photo_1544268\/","bg":"000000","comm_count":17,"photo_see":139,"photo_fav":3,"photo_rating":40,"var_vote":null,"timeAdd":"29 \u043d\u043e\u044f, 2016","user":{"status":"good"},"buyAllow":0,"photo_type":0,"moder":{"yes":"0","no":"0"},"user_data":{"photo_count":"84"},"photo_desc":"There was a heavy snowfall at Fujiyoshida City about 60 miles away from Tokyo. The next day, after climbing the 397 stairs where snow is piled and slippery, I arrived at this place famous for cherry blossoms. The melted snow on twigs falls on my head and camera. Water droplets photographed in the upper left of this pic gives out a realistic feeling of snow melting. Cherry blossom, fresh greens, autumn leaves, snow scene. Around Mt Fuji area, we can see wonderful sights in four seasons.","exif":true,"tags":["Fuji","Japan","mountain","snow","pagoda","tree","sky","blue","white",""],"other_photos":[{"id":"1703243","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/340\/1703243_320r.jpg"},{"id":"1695607","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/339\/1695607_320r.jpg"},{"id":"1687235","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/337\/1687235_320r.jpg"},{"id":"1680826","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/336\/1680826_320r.jpg"},{"id":"1671028","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/334\/1671028_320r.jpg"},{"id":"1656490","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/331\/1656490_320r.jpg"},{"id":"1644705","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/328\/1644705_320r.jpg"},{"id":"1635249","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/327\/1635249_320r.jpg"},{"id":"1626421","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/325\/1626421_320r.jpg"},{"id":"1623978","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/324\/1623978_320r.jpg"},{"id":"1599843","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/319\/1599843_320r.jpg"},{"id":"1589961","src":"http:\/\/a1.35photo.ru\/photos_col\/r2\/317\/1589961_320r.jpg"}],"otherData":"
Style: Landscapes<\/a>
<\/div>"}; lastRePost = null; thisPageUrl = "http://takashi.35photo.ru/photo_1544268/"; setBgComm = "#444444"; whovotelike = ""; commentTo = "photo_1544268"; 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 = $( '