$(document).ready(function(){

$(document).ready(function(){
			$("a[rel^='lightbox']").prettyPhoto({theme:'light_rounded'}); // можно сменить стиль бокса на - facebox, light_rounded, dark_rounded, light_square, dark_square
		});

$("#mystext TABLE[border=0] TD").css({ 'border':'0px' });

$(".mine_collection_item").bind( { 
								click: function() {	document.location.href = $("a", this).attr("href");	}
								} );

$("#mycarousel LI").bind( {
					  click: function() { 
					  $("#mycarousel LI IMG").css( { "width":"54px", "height":"54px", "border":"0px solid #cfcfd1" } );
					  $("IMG", this).css( { "width":"47px", "height":"47px", "border":"4px solid #cfcfd1" } ); 
					  $('#drop-down').html('Загрузка...'); $.post('/ajax-answere/?method=actionReportSimple',{'my_sub':$(this).attr('view')},function(data){$('#drop-down').fadeOut(0).html(data).show('slide', {}, 450);});
					  $("#mystext TABLE[border=0] TD").css({ 'border':'0px' });}
					  } );

$("#mycarousel LI[skladen|=1]").prepend("<div class='t_sklad'></div>");

if(navigator.userAgent.indexOf ('Chrome') != -1 || navigator.userAgent.indexOf ('Safari') != -1){ $('#drop-down[sitemap|=1]').css({ 'margin-top':'40px' }); }

if(navigator.userAgent.indexOf ('Safari') != -1){ $('.sitemap_skladen').css({ 'margin-bottom':'10px' }); }
}
);
