var xmlHttp;
function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
}
function showChild(pageId){
createXMLHttpRequest();
xmlHttp.onreadystatechange = handleStateChange;
xmlHttp.open("GET", "/navChild.asp?pageId="+pageId+"&a=new Date().getTime()", true);
xmlHttp.send(null);
}
function handleStateChange() {
if(xmlHttp.readyState == 4) {
if(xmlHttp.status == 200) {
document.getElementById("tdChild").innerHTML = xmlHttp.responseText;
}
}
}
function hidChild(){
document.getElementById("tdChild").innerHTML = "";
}
function setPosition(position){
var obj = document.getElementById("tdChild");
//alert(position-400);
if(position < 400)
{
obj.style.paddingLeft = position-50;
}
else
{
obj.style.paddingLeft=position-60;
}
}
document.write("
");