function get_link_section_by_page(page,product_id) 
{
  var notationS = document.getElementById('id_' + product_id);
  if (notationS.style.display == 'none'){
    var url = "get_links_by_page.php?page=" + escape(page) + "&id=" + escape(product_id);
	notationS.innerHTML = '<img src="decor/small_preloader.gif" width="16" height="16" border="0" alt="..." />';
    notationS.style.display = '';	
	http.open("GET", url, true);
	http.onreadystatechange =  function() {
	if (http.readyState == 4) {
	    var results = http.responseText;
		var notationS = document.getElementById('id_' + product_id);
		notationS.innerHTML = results;
		notationS.style.display = '';
	   }
     }
	http.send(null);
	}else{notationS.style.display = 'none';}
}


function get_link_section_by_dvd_page(base_name,product_id) 
{
  var notationS = document.getElementById('id_' + product_id);
  if (notationS.style.display == 'none'){
    var url = "get_links_by_dvd_page.php?base_name=" + escape(base_name) + "&id=" + escape(product_id);
	notationS.innerHTML = '<img src="decor/small_preloader.gif" width="16" height="16" border="0" alt="..." />';
    notationS.style.display = '';	
	http.open("GET", url, true);
	http.onreadystatechange =  function() {
	if (http.readyState == 4) {
	    var results = http.responseText;
		var notationS = document.getElementById('id_' + product_id);
		notationS.innerHTML = results;
		notationS.style.display = '';
	   }
     }
	http.send(null);
	}else {notationS.style.display = 'none';}
}



/*---------------------------*/

function getHTTPObject() { 
	var xmlhttp;
	/*@cc_on
	@if (@_jscript_version >= 5)
		try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (E) {
					xmlhttp = false;
				}
		}
	@else xmlhttp = false;
	@end @*/
	if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
		try {
			xmlhttp = new XMLHttpRequest();
		} catch (e) {
			xmlhttp = false;
		}
	}
	return xmlhttp;
}
var http = getHTTPObject(); // We create the HTTP Object 
//#############################################################