/*
Start Get Object value
*/
function g_o(id){
return document.getElementById(id).value;
	}
	
/*
End Get Object value
*/
function ajax_do_2( thisurl , thisid,type){
document.getElementById(thisid).innerHTML = "<div align='center'><br /><br /><img src='/images/ajax-loader1.gif' border='0'></div>"; 
    var xmlhttp=false;
	 /*@cc_on @*/
/*@if (@_jscript_version >= 5)
try {
xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
} catch (e) {
try { xmlhttp = new ActiveXObject('Microsoft.XMLHTTP'); } 
catch (E) 
{ xmlhttp = false; }
}
@end @*/





    if(!xmlhttp) { xmlhttp=new XMLHttpRequest(); }
    xmlhttp.open('POST',thisurl, true);
    xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xmlhttp.send(thisurl);
    xmlhttp.onreadystatechange = function() {
		
        if(xmlhttp.readyState==4) {
			if(type=="eval"){
eval(xmlhttp.responseText);
document.getElementById(targetdivname).innerHTML =forprint;
				}else{
					
        document.getElementById(thisid).innerHTML = xmlhttp.responseText; }

		  
        }
    }

}
 function show_2(id,idshow,type){

var rand=new Date;

 ajax_do_2('set.php?'+rand+'&action='+id , idshow,type);

 }