function open_news2_comments(ids) {
		var params_div = get_item('news2_comment_div');
		params_div.style.display = "";
		
		var handleCancel = function() {
			this.cancel();
		}

		var handleSubmit = function() {
			this.submit();
		}
				
		var onSuccess = function(o) {
			window.location.reload(true);
		}
		 
		news2Commnets = new YAHOO.widget.Dialog('news2_comment_div', { modal:true, visible:false, width:"350px", fixedcenter:true, constraintoviewport:true, draggable:true });
		var listeners = new YAHOO.util.KeyListener(document, { keys : 27 }, {fn:handleCancel,scope:news2Commnets,correctScope:true} );

		news2Commnets.cfg.queueProperty("keylisteners", listeners);
		news2Commnets.cfg.queueProperty("buttons", [ { text:"Submit", handler:handleSubmit } ]);
		
		news2Commnets.render();		
		
		news2Commnets.show();
		
		news2Commnets.callback.success = onSuccess; 
		
}


function toggle_news2_comments(targ) {
	
	var itm = get_item('news2_' + targ);
	
	var itm2 = get_item('news2_img_' + targ);

	
	if ( itm.style.display == "" ) {
		
		itm.style.display = "none";

		//itm2.src = itm2.src.replace("minus", "plus"); 
		itm2.src = itm2.src.replace("collapse", "expand"); 
	}
	 else {
	 	
	 	itm.style.display = "";
		//itm2.src = itm2.src.replace("plus", "minus"); 
		itm2.src = itm2.src.replace("expand", "collapse"); 
				
	}
	

}
	
