<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script type="text/javascript">
<!--
var xmlHttp;
function createRequest(){
if(window.ActiveXObject){
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
} else if(window.XMLHttpRequest){
xmlHttp = new XMLHttpRequest();
}
}
function page(url){
createRequest();
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = updatepage;
xmlHttp.send(null);
}
function updatepage(){
document.getElementById('page').innerHTML = "<div><img src='loading.gif'><br>Requesting Content ...</div>"
if(xmlHttp.readyState == 4){
document.getElementById('page').innerHTML = xmlHttp.responseText
}
}
//-->
</script>
</head>
<body>
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="#" onclick="page('http://www.yahoo.com');">اخبار</a></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><div id="page">تست تست تست</div></td>
</tr>
</table>
</body>
</html>