$(document).ready(function(){	
	
	var con = $(".news-content,.article-content");
	
	// Loop over each hottie.
	$( ".comment-link" ).each(
 
	// For each hottie, run this code. The "indIndex" is the
	// loop iteration index on the current element.
	function( intIndex ){
 
		// Bind the onclick event to simply alert the
		// iteration index value.
		$( this ).bind (
			"click",
			function(){				
				$("#comment").show().appendTo(con[intIndex]);
				$(".comments").show();
				return false;
			}
		);
 
	}
 
	);
	
	$( ".view-comment-link" ).each(
 
	// For each hottie, run this code. The "indIndex" is the
	// loop iteration index on the current element.
	function( intIndex ){
 
		// Bind the onclick event to simply alert the
		// iteration index value.
		$( this ).bind (
			"click",
			function(){				
				$(".comments").show().appendTo(con[intIndex]);	
				$("#comment").appendTo(".comments").show();
				return false;
			}
		);
 
	}
 
	);

})

