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 = 46997; photoIds = 0; userId = 1070; photoData = {"photo_id":46997,"user_id":1070,"user_login":"vlad","user_name":"vlad s","photo_name":"\u0412\u043e\u0437\u0434\u0443\u0448\u043d\u0430\u044f","src":"http:\/\/ser-apr.35photo.ru\/photos\/20080623\/46997.jpg","link":"http:\/\/35photo.ru\/photo_46997\/","bg":"4D4D4D","comm_count":9,"photo_see":2997,"photo_fav":0,"photo_rating":23,"var_vote":null,"timeAdd":"23 \u0438\u044e\u043d, 2008","user":{"status":"good"},"buyAllow":1,"photo_type":0,"moder":{"yes":"0","no":"0"},"user_data":{"photo_count":"355"},"photo_desc":"\u041c\u043e\u0434\u0435\u043b\u044c: \u0418\u0440\u0438\u043d\u0430 ( http:\/\/irina1805.fotokritik.ru)","tags":null,"other_photos":[{"id":"1661699","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/332\/1661699_320r.jpg"},{"id":"1584757","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/316\/1584757_320r.jpg"},{"id":"1577502","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/315\/1577502_320r.jpg"},{"id":"1574846","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/314\/1574846_320r.jpg"},{"id":"1499795","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/299\/1499795_320r.jpg"},{"id":"1493966","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/298\/1493966_320r.jpg"},{"id":"1492549","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/298\/1492549_320r.jpg"},{"id":"1472841","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/294\/1472841_320r.jpg"},{"id":"1245251","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/249\/1245251_320r.jpg"},{"id":"1245248","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/249\/1245248_320r.jpg"},{"id":"1227689","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/245\/1227689_320r.jpg"},{"id":"1227682","src":"http:\/\/ser-apr.35photo.ru\/photos_col\/r2\/245\/1227682_320r.jpg"}],"otherData":"
Taken with: EOS 1Ds Mark III<\/a><\/div>
Lens: EF 70-200 mm F\/2.8 L IS USM<\/a><\/div>

Model name:
Iren Lauren<\/a>

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