$(document).ready(function() {

				$("#c_name, #author").focus(function() {
					if ($(this).val() == 'Your name') {
						$(this).val("");
					}
				});

				$("#c_name, #author").blur(function() {
					if ($(this).val() == '') {
						$(this).val("Your name");
					}
				});



				$("#c_email, #email").focus(function() {
					if ($(this).val() == 'E-mail') {
						$(this).val("");
					}
				});

				$("#c_email, #email").blur(function() {
					if ($(this).val() == '') {
						$(this).val("E-mail");
					}
				});

				$("#c_message, #comment").focus(function() {
					if ($(this).val() == 'Your message') {
						$(this).val("");
					}
				});

				$("#c_message, #comment").blur(function() {
					if ($(this).val() == '') {
						$(this).val("Your message");
					}
				});

	$('.content .post_content img').each(function() {
    var maxWidth = 470; // Max width for the image
    var ratio = 0;  // Used for aspect ratio
    var width = $(this).width();    // Current image width
    var height = $(this).height();  // Current image height

    // Check if the current width is larger than the max
    if(width > maxWidth){
         ratio = maxWidth / width;
        $(this).css("width", maxWidth); // Set new width
        $(this).css("height", height * ratio);  // Scale height based on ratio
    }
            });


});

