function update_news_details(news_id) {
	update_news_desc(news_id);
	update_news_image(news_id);
	update_news_title(news_id);
	update_news_date(news_id);
	update_news_footer(news_id);
	
	var myDiv=document.getElementById("news_content_scroll");
	if(myDiv!=null&&myDiv.scrollUpdate) myDiv.scrollUpdate();
	
}

function update_news_image(news_id) {
	
	var ajax_url = '../ajax/ajax_update_news_details.php';
	new Ajax.Updater("news_update_image", ajax_url, {
		parameters: {news: news_id,
					 type: 'image'
		}});		
}

function update_news_title(news_id) {
	
	var ajax_url = '../ajax/ajax_update_news_details.php';
	new Ajax.Updater("news_update_title", ajax_url, {
		parameters: {news: news_id,
					 type: 'title'
		}});		
}

function update_news_date(news_id) {
	
	var ajax_url = '../ajax/ajax_update_news_details.php';
	new Ajax.Updater("news_update_date", ajax_url, {
		parameters: {news: news_id,
					 type: 'date'
		}});		
}

function update_news_desc(news_id) {
	
	var ajax_url = '../ajax/ajax_update_news_details.php';
	new Ajax.Updater("news_update_body", ajax_url, {
		asynchronous : false,
		parameters: {news: news_id,
					 type: 'body'
		},
		onSuccess: function(transport){
			 
		}
		});	
}

function update_news_footer(news_id) {
	
	var ajax_url = '../ajax/ajax_update_news_details.php';
	new Ajax.Updater("news_update_footer", ajax_url, {
		parameters: {news: news_id,
					 type: 'footer'
		}});		
}

function update_label_details(label_id) {
	update_label_desc(label_id);
	update_label_image(label_id);
	update_label_title(label_id);
	update_label_footer(label_id);
	update_latest_release(label_id);
	
	var myDiv=document.getElementById("label_content_scroll");
	if(myDiv!=null&&myDiv.scrollUpdate) myDiv.scrollUpdate();
	
}

function update_label_image(label_id) {
	
	var ajax_url = '../ajax/ajax_update_label_details.php';
	new Ajax.Updater("label_update_image", ajax_url, {
		parameters: {label: label_id,
					 type: 'image'
		}});		
}

function update_label_title(label_id) {
	
	var ajax_url = '../ajax/ajax_update_label_details.php';
	new Ajax.Updater("label_update_title", ajax_url, {
		parameters: {label: label_id,
					 type: 'title'
		}});		
}

function update_label_desc(label_id) {
	
	var ajax_url = '../ajax/ajax_update_label_details.php';
	new Ajax.Updater("label_update_body", ajax_url, {
		asynchronous : false,
		parameters: {label: label_id,
					 type: 'body'
		},
		onSuccess: function(transport){
			 
		}
		});	
}

function update_label_footer(label_id) {
	
	var ajax_url = '../ajax/ajax_update_label_details.php';
	new Ajax.Updater("label_update_footer", ajax_url, {
		parameters: {label: label_id,
					 type: 'footer'
		}});		
}

function update_latest_release(label_id) {
	
	var ajax_url = '../ajax/ajax_update_label_details.php';
	new Ajax.Updater("label_update_footer", ajax_url, {
		parameters: {label: label_id,
					 type: 'release'
		}});		
}


function update_event_details(event_id) {
	update_event_desc(event_id);
	update_event_image(event_id);
	update_event_title(event_id);
	update_event_date(event_id);
}

function update_event_image(event_id) {
	
	var ajax_url = '../ajax/ajax_update_event_details.php';
	new Ajax.Updater("event_update_image", ajax_url, {
		parameters: {event: event_id,
					 type: 'image'
		}});		
}

function update_event_title(event_id) {
	
	var ajax_url = '../ajax/ajax_update_event_details.php';
	new Ajax.Updater("event_update_title", ajax_url, {
		parameters: {event: event_id,
					 type: 'title'
		}});		
}

function update_event_date(event_id) {
	
	var ajax_url = '../ajax/ajax_update_event_details.php';
	new Ajax.Updater("event_update_date", ajax_url, {
		parameters: {event: event_id,
					 type: 'date'
		}});		
}

function update_event_desc(event_id) {
	
	var ajax_url = '../ajax/ajax_update_event_details.php';
	new Ajax.Updater("event_update_body", ajax_url, {
		asynchronous : false,
		parameters: {event: event_id,
					 type: 'body'
		},
		onSuccess: function(transport){
			 
		}
		});	
}

function update_radio_details(radio_id) {
	update_radio_desc(radio_id);
	update_radio_title(radio_id);
	update_radio_date(radio_id);
	
	var myDiv=document.getElementById("radio_content_scroll");
	if(myDiv!=null&&myDiv.scrollUpdate) myDiv.scrollUpdate();
	
}

function update_radio_title(radio_id) {
	
	var ajax_url = '../ajax/ajax_update_radio_details.php';
	new Ajax.Updater("radio_update_title", ajax_url, {
		parameters: {radio: radio_id,
					 type: 'title'
		}});		
}

function update_radio_date(radio_id) {
	
	var ajax_url = '../ajax/ajax_update_radio_details.php';
	new Ajax.Updater("radio_update_date", ajax_url, {
		parameters: {radio: radio_id,
					 type: 'date'
		}});		
}

function update_radio_desc(radio_id) {
	
	var ajax_url = '../ajax/ajax_update_radio_details.php';
	new Ajax.Updater("radio_update_body", ajax_url, {
		asynchronous : false,
		parameters: {radio: radio_id,
					 type: 'body'
		},
		onSuccess: function(transport){
			 
		}
		});	
}


