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 = 320568; photoIds = 0; userId = 6309; photoData = {"photo_id":320568,"user_id":6309,"user_login":"fotomelnikova","user_name":"\u041d\u0430\u0442\u0430\u043b\u044c\u044f \u041c\u0435\u043b\u044c\u043d\u0438\u043a\u043e\u0432\u0430","photo_name":"","src":"http:\/\/ser-apr.35photo.ru\/photos\/20120212\/320568.jpg","link":"http:\/\/35photo.ru\/photo_320568\/","bg":"000000","comm_count":8,"photo_see":12782,"photo_fav":1,"photo_rating":53,"var_vote":null,"timeAdd":"12 \u0444\u0435\u0432, 2012","user":{"status":"good"},"buyAllow":1,"photo_type":0,"moder":{"yes":"0","no":"0"},"user_data":{"photo_count":"137"},"photo_desc":"No description<\/i>","exif":true,"tags":["\u0434\u0435\u0432\u0443\u0448\u043a\u0430","\u0431\u044c\u044e\u0442\u0438","\u043f\u043e\u0440\u0442\u0440\u0435\u0442","\u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0444\u043e\u0442\u043e","\u0433\u043b\u0430\u043c\u0443\u0440","\u043d\u044e"],"other_photos":[{"id":"683888","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/136\/683888_320r.jpg"},{"id":"683485","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/136\/683485_320r.jpg"},{"id":"669483","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/133\/669483_320r.jpg"},{"id":"668613","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/133\/668613_320r.jpg"},{"id":"668052","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/133\/668052_320r.jpg"},{"id":"665150","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/133\/665150_320r.jpg"},{"id":"663704","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/132\/663704_320r.jpg"},{"id":"662585","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/132\/662585_320r.jpg"},{"id":"662446","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/132\/662446_320r.jpg"},{"id":"661970","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/132\/661970_320r.jpg"},{"id":"603226","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/120\/603226_320r.jpg"},{"id":"601859","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/120\/601859_320r.jpg"}],"otherData":"

Model name:
LidiaS<\/a>

Style:
Nude<\/a>
"}; lastRePost = null; thisPageUrl = "http://fotomelnikova.35photo.ru/photo_320568/"; setBgComm = "#444444"; whovotelike = ""; commentTo = "photo_320568"; 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 = $( '