// JavaScript Document
function dispnone(passvalue) { 
	var ValuetxtString=passvalue;
	for(i=0;i<ValuetxtString.split("|").length;i++) { 
		document.getElementById(ValuetxtString.split("|")[i].toString()).style.display='none';
	} 
}
function dispblock(passblockvalue) { 
	var ValueblockString=passblockvalue;
	for(i=0;i<ValueblockString.split("|").length;i++) { 
		document.getElementById(ValueblockString.split("|")[i].toString()).style.display='block';
	} 
}

<!--  ***************************************** AJAX  START ***************************************** -->
function getXMLHTTP()
{	var xmlhttp=true;
    try { xmlhttp=new XMLHttpRequest(); }
	catch(e) { try { xmlhttp= new ActiveXObject("Microsoft.XMLHTTP"); }
	catch(e) { try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } 
	catch(e1){ xmlhttp=false; }
	} } return xmlhttp; }

function browser_support() {
	xmlHttp=getXMLHTTP(); if (xmlHttp==null) { alert("Your browser does not support AJAX!"); return; } }

function getXmlHttpRequestObject() {
   if (window.XMLHttpRequest) { return new XMLHttpRequest();
   } else if (window.ActiveXObject) { return new ActiveXObject("Microsoft.XMLHTTP"); //IE
   } else {  alert("Your browser doesn't support the XmlHttpRequest object."); }
   } var receiveReq = getXmlHttpRequestObject();
   
   
function inside_tab(url) {
	browser_support();
	//url=url+"?type="+type+"&id="+id; 
	url=url+"?sid="+Math.random(); 
	xmlHttp.onreadystatechange=getcontent;
	xmlHttp.open("GET",url,true); xmlHttp.send(null); }
	
function getcontent(){ if(xmlHttp.readyState==4) { 
	document.getElementById('ajax_txt_inner_new').innerHTML=xmlHttp.responseText; 	} }
	
<!--  ***************************************** AJAX  END ***************************************** -->

