this.imageviewer = function(source,target) {
	
	var timer = null;
	
	$('#'+source).find('img').each(function(){ 
		$(this).wrap('<a class="screenshot" rel="'+this.src+'" target="_parent" href="javascript:void(0);" />');
	});
   
    $("a.screenshot").hover(function(e){
		var el = this;
		timer = setTimeout(function(){
			el.t = el.title;
			el.title = "";    
			var c = (el.t != "") ? "<br/>" + el.t : "";
			$('#news_item_detail').hide(); 
			$("#"+target).append("<p id='screenshot'><img src='"+ el.rel +"' title='' alt='' />"+ c +"</p>");                                
			$("#screenshot").fadeIn(500);
		},500);
    }, function(){
		this.title = this.t;    
        $('#news_item_detail').show();
		$("#screenshot").remove();
		if(timer) clearTimeout(timer);
    });
	
};
