function createObject() {
var xmlHttp;
	if(window.XMLHttpRequest) {  
		xmlHttp = new XMLHttpRequest(); //firefox下执行此语句
	}
	else if(window.ActiveXObject) {
	try{
		xmlHttp = new ActiveXObject("Msxm12.XMLHTTP");
	}catch(e) {
		try{
			xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
		}catch(e) {}
		}
	}
	return xmlHttp;
}
window.onload =function(){ group_style_default(); topic_top();}

function group_style_default(){
	var sURL;
	sURL = "default_ajax.php?act=group_style_default";
	var xmlHttp = createObject();
	xmlHttp.onreadystatechange = function(){
		if(xmlHttp.readyState == 4) {
			if(xmlHttp.status == 200) {
				$('group_add_id').innerHTML = xmlHttp.responseText;
				$("grouplist1").style.display = '';
				$("groupcl").removeChild($('group_loading'));
			}
		}		
	}
	xmlHttp.open("GET",sURL,true);
	xmlHttp.send(null);
}
function topic_top(){
	$('div1').innerHTML = $('div2').innerHTML;
}