$(document).ready(function() {
	$('input[title], textarea[title]').each(function() {
		if($(this).val() === '') {
			$(this).val($(this).attr('title'));
		}

		$(this).focus(function() {
			if($(this).val() === $(this).attr('title')) {
				$(this).val('').addClass('focused');
			}
		});

		$(this).blur(function() {
			if($(this).val() === '') {
				$(this).val($(this).attr('title')).removeClass('focused');
			}
		});
	});
	$("ul#listticker").newsticker(4500);
	$("ul#listticker2").newsticker(4500);
	
	$('.bodytext').masonry({ 
columnWidth: 310, 
itemSelector: '.onecoolarticle',
singleMode: true,

});

$(".onecoolarticle a")

	  .attr({ target: "_blank" });

});




