function ajaxLoader(url,id) { 
  if (document.getElementById) { 
    var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); 
  } 
  if (x) { 
    x.onreadystatechange = function() { 
      if (x.readyState == 4 && x.status == 200) { 
        el = document.getElementById(id); 
        el.innerHTML = x.responseText; 
      } 
    } 
    x.open("GET", url, true); 
    x.send(null); 
  } 
}  


window.onload = function() {
ajaxLoader('module/module/forum_album.asp?view=album&albumid=<%=mtintalbumid%>','forumalbumf') ;
 }

window.onload = function() {
ajaxLoader('module/module/top10.asp','mttoptop') ;

		
}


function showHide(TDID)
	{
		var onoff = toggleDisplay(TDID);
		document.getElementById(TDID).style.display = onoff;
	}



function ShowHide(id1, id2) {
	  if (id1 != '') expMenu(id1);
	  if (id2 != '') expMenu(id2);
	}
	
	function expMenu(id) {
	  var itm = null;
	  if (document.getElementById) {
		itm = document.getElementById(id);
	  } else if (document.all){
		itm = document.all[id];
	  } else if (document.layers){
		itm = document.layers[id];
	  }
	
	  if (!itm) {
	   // do nothing
	  }
	  else if (itm.style) {
		if (itm.style.display == "none") { itm.style.display = ""; }
		else { itm.style.display = "none"; }
	  }
	  else { itm.visibility = "show"; }
	}