function SubmitAjax(file, data, div)
{
	/*alert(file+"?"+data);*/
	$.ajax({
	   type: "POST",
	   url: file,
	   data: data,
	   cache: false,
	   success: function(html){
	   	/*alert(html);*/
	     $("#"+div).html(html);
	   }
	});
}

function reloadAjax(file, data, div)
{
	var stop = document.getElementById('pause').value;
	if(stop == 'n')
	{
		SubmitAjax(file, data, div);
		document.getElementById('news_play_pause').innerHTML = "<dt><a href='#'  onclick=\"document.getElementById('pause').value='n'; reloadAjax('ajax_php/ajax_small_hot_index.php', 'play=y', 'show_hot_ajax'); return false;\"><img src=\"i/pause.png\" alt=''/></a></dt>";
		setTimeout('reloadAjax("'+file+'","'+ data+'","'+ div+'")', 4000);
	}else{
		document.getElementById('news_play_pause').innerHTML = "<dt><a href='#'  onclick=\"document.getElementById('pause').value='n'; reloadAjax('ajax_php/ajax_small_hot_index.php', 'play=y', 'show_hot_ajax'); return false;\"><img src=\"i/play.png\" alt=''/></a></dt>";
	}
}

function inner_html_show(param)
{
	document.getElementById('news_play_pause').innerHTML = "<dt><a href='#'  onclick=\"document.getElementById('pause').value='y'; reloadAjax('ajax_php/ajax_small_hot_index.php', 'play=y', 'show_hot_ajax'); return false;\"><img src=\"i/play.png\" alt=''/></a></dt>";
}