function showmenu(obj)
{
	for(i=1;i<8;i++)
	{
		if(obj!="m"+i)
		{
			$a("m"+i).className="menu";
			$a("m"+i+"_lk").className="lk_nav";
			$a("m"+i+"_sub").style.display="none";
		}
	}
	$a(obj).className="menu_on";
	$a(obj+"_lk").className="lk_nav_on";
	$a(obj+"_sub").style.display="";
}

function getPos(el,sProp) { 
    var iPos = 0;
    while (el!=null) {
        iPos+=el["offset" + sProp];
        el = el.offsetParent;
    }
	return iPos;
}
 
function selhome(obj)
{
	hidemenu();
	document.getElementById(obj).className="menu_on";
	document.getElementById(obj+"_lk").className="lk_m0";
}

function unselhome(obj)
{
	document.getElementById(obj).className="menu";
	document.getElementById(obj+"_lk").className="lk_wt";
}

function pozi(obj,left,top){ 
	
	if(obj=="m9")
	{
		left=left-119;	
	}
	if(obj=="m8")
	{
		left=left-119;	
	}
	if(obj=="m7")
	{
		left=left-119;	
	}
	if(obj=="m6")
	{
		left=left-119;	
	}

	//alert(obj+left+top);
	document.getElementById("m2").className="menu";
	document.getElementById("m3").className="menu";
	document.getElementById("m4").className="menu";
	document.getElementById("m5").className="menu";
	document.getElementById("m6").className="menu";
	document.getElementById("m7").className="menu";
	document.getElementById("m8").className="menu";
	document.getElementById("m9").className="menu";
	document.getElementById("m2_sub").style.display="none";
	document.getElementById("m3_sub").style.display="none";
	document.getElementById("m4_sub").style.display="none";
	document.getElementById("m5_sub").style.display="none";
	document.getElementById("m6_sub").style.display="none";
	document.getElementById("m7_sub").style.display="none";
	document.getElementById("m8_sub").style.display="none";
	document.getElementById("m9_sub").style.display="none";


	document.getElementById(obj+"_sub").style.display="none";
	//document.getElementById("menu2").style.display="none";
	//document.getElementById("menu3").style.display="none";
	//document.getElementById("menu4").style.display="none";


	document.getElementById(obj).className="menu_on";
	document.getElementById(obj+"_sub").style.display="block";
	//return;
	var Sys = {};    
	FF = (navigator.userAgent.indexOf("Firefox")!=-1);
	if(FF){
		document.getElementById(obvj).style.top=(top+1)+"px";
		document.getElementById(obj).style.left=(left)+"px";
	}
	var ua = navigator.userAgent.toLowerCase();    
	window.ActiveXObject ? Sys.ie = ua.match(/msie ([\d.]+)/)[1] :    
	document.getBoxObjectFor ? Sys.firefox = ua.match(/firefox\/([\d.]+)/)[1] :    
	window.MessageEvent && !document.getBoxObjectFor ? Sys.chrome = ua.match(/chrome\/([\d.]+)/)[1] :    
	window.opera ? Sys.opera = ua.match(/opera.([\d.]+)/)[1] :    
	window.openDatabase ? Sys.safari = ua.match(/version\/([\d.]+)/)[1] : 0;   
	//top=116;
	if(Sys.ie=="6.0")
	{
		document.getElementById(obj+"_sub").style.top=top-1;
		document.getElementById(obj+"_sub").style.left=left;
	}
	else if(Sys.ie=="7.0")
	{
		document.getElementById(obj+"_sub").style.top=top;
		document.getElementById(obj+"_sub").style.left=left;
	}
	else
	{
		document.getElementById(obj+"_sub").style.top=top+0;
		document.getElementById(obj+"_sub").style.left=left;
	}
} 

function hidemenu(){ 
	document.getElementById("m2").className="menu";
	document.getElementById("m3").className="menu";
	document.getElementById("m4").className="menu";
	document.getElementById("m5").className="menu";
	document.getElementById("m6").className="menu";
	document.getElementById("m7").className="menu";
	document.getElementById("m8").className="menu";
	document.getElementById("m9").className="menu";
	document.getElementById("m2_sub").style.display="none";
	document.getElementById("m3_sub").style.display="none";
	document.getElementById("m4_sub").style.display="none";
	document.getElementById("m5_sub").style.display="none";
	document.getElementById("m6_sub").style.display="none";
	document.getElementById("m7_sub").style.display="none";
	document.getElementById("m8_sub").style.display="none";
	document.getElementById("m9_sub").style.display="none";

	//document.getElementById(obj+"_sub").style.display="none" 
} 

function showmenu(obj){ 
	document.getElementById(obj).className="menu_on";
	document.getElementById(obj+"_sub").style.display="block" 
} 

function showyy()
{
	 document.getElementById("yy_post").style.display="";
	 document.getElementById("dv_sub").style.display="none";
}

function hideyy()
{
	 document.getElementById("dv_sub").style.display="";
	 document.getElementById("yy_post").style.display="none";
}

function vt_ac(objid,objac)
{
     
	 var   msgw,msgh,bordercolor;     
     msgw=593;
     msgh=222;   
     titleheight=25;     
     bordercolor="#336699";    
     titlecolor="#99CCFF";   
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;     
     sHeight=screen.height;
	 
	 var str=str_frm_obj("dv_post","add","");
	 if(str=="rd=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 

	 str+="id="+objid+"&ac="+objac+"";
	 var bk_str=Aj_post(str,"/ajapi/vote_ac.asp","");
	 //document.getElementById("dv_post").innerHTML=bk_str;
     var   bgObj=document.createElement("div");//
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//
   
   
   
     var   msgObj=document.createElement("div")//  
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
     msgObj.style.marginTop   =   -85+document.documentElement.scrollTop+"px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//  
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){// 
         document.body.removeChild(bgObj);//
         document.getElementById("msgDiv").removeChild(title);//
         document.body.removeChild(msgObj);//
     }     
     document.body.appendChild(msgObj);//
     document.getElementById("msgDiv").appendChild(title);// 
   
     var   txt=document.createElement("p");//   
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//
     document.getElementById("msgDiv").appendChild(txt);//
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}


function vt_ac_w(objid,objac)
{
     
	 var   msgw,msgh,bordercolor;     
     msgw=593;
     msgh=302;   
     titleheight=25;     
     bordercolor="#336699";    
     titlecolor="#99CCFF";   
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;     
     sHeight=screen.height;
	 
	 var str=str_frm_obj("dv_post","add","");
	 if(str=="rd=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 

	 str+="id="+objid+"&ac="+objac+"";
	 var bk_str=Aj_post(str,"/ajapi/vote_yy_acw.asp","");
	 //document.getElementById("dv_post").innerHTML=bk_str;
     var   bgObj=document.createElement("div");//
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//
   
   
   
     var   msgObj=document.createElement("div")//  
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
     msgObj.style.marginTop   =   -85+document.documentElement.scrollTop+"px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//  
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){// 
         document.body.removeChild(bgObj);//
         document.getElementById("msgDiv").removeChild(title);//
         document.body.removeChild(msgObj);//
     }     
     document.body.appendChild(msgObj);//
     document.getElementById("msgDiv").appendChild(title);// 
   
     var   txt=document.createElement("p");//   
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//
     document.getElementById("msgDiv").appendChild(txt);//
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}


function vt_ac_c(objid,objac)
{
     
	 var   msgw,msgh,bordercolor;     
     msgw=593;
     msgh=222;   
     titleheight=25;     
     bordercolor="#336699";    
     titlecolor="#99CCFF";   
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;     
     sHeight=screen.height;
	 
	 var str=str_frm_obj("dv_post","add","");
	 if(str=="rd=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 

	 str+="id="+objid+"&ac="+objac+"";
	 var bk_str=Aj_post(str,"/ajapi/vote_ac_c.asp","");
	 //document.getElementById("dv_post").innerHTML=bk_str;
     var   bgObj=document.createElement("div");//
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//
   
   
   
     var   msgObj=document.createElement("div")//  
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
     msgObj.style.marginTop   =   -85+document.documentElement.scrollTop+"px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//  
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){// 
         document.body.removeChild(bgObj);//
         document.getElementById("msgDiv").removeChild(title);//
         document.body.removeChild(msgObj);//
     }     
     document.body.appendChild(msgObj);//
     document.getElementById("msgDiv").appendChild(title);// 
   
     var   txt=document.createElement("p");//   
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//
     document.getElementById("msgDiv").appendChild(txt);//
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}


function vt_ac_t(objid,objac)
{
     
	 var   msgw,msgh,bordercolor;     
     msgw=593;
     msgh=222;   
     titleheight=25;     
     bordercolor="#336699";    
     titlecolor="#99CCFF";   
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;     
     sHeight=screen.height;
	 
	 var str=str_frm_obj("dv_post","add","");
	 if(str=="rd=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 

	 str+="id="+objid+"&ac="+objac+"";
	 var bk_str=Aj_post(str,"/ajapi/vote_ac_t.asp","");
	 //document.getElementById("pltxt").innerHTML=bk_str;
	 
	 //return;
     var   bgObj=document.createElement("div");//
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//
   
   
   
     var   msgObj=document.createElement("div")//  
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
    // msgObj.style.marginTop   =   -185+document.documentElement.scrollTop+"px";     
     msgObj.style.marginTop   = "2px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//  
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){// 
         document.body.removeChild(bgObj);//
         document.getElementById("msgDiv").removeChild(title);//
         document.body.removeChild(msgObj);//
     }     
     document.body.appendChild(msgObj);//
     document.getElementById("msgDiv").appendChild(title);// 
   
     var   txt=document.createElement("p");//   
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//
     document.getElementById("msgDiv").appendChild(txt);//
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}


function vt_ac_yy(objid,objac)
{
     var   msgw,msgh,bordercolor;     
     msgw=593;//提示窗口的宽度     
     msgh=282;//提示窗口的高度     
     titleheight=25   //提示窗口标题高度     
     bordercolor="#336699";//提示窗口的边框颜色     
     titlecolor="#99CCFF";//提示窗口的标题颜色     
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;//浏览器工作区域内页面宽度     
     sHeight=screen.height;//屏幕高度（垂直分辨率）     
     //背景层（大小与窗口有效区域相同，即当弹出对话框时，背景显示为放射状透明灰色） 
	 
	 var str=str_frm_obj("yy_post","add","");
	 //alert(str);
	 //return;
	 if(str=="yy=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 str+="id="+objid+"&ac="+objac+"";
	 //alert("wer");
	 var bk_str=Aj_post(str,"/ajapi/vote_yy_ac.asp","");
	 
	 //alert(bk_str);
	 //return;
	 //document.getElementById("dv_post").innerHTML=bk_str;
     var   bgObj=document.createElement("div");//创建一个div对象（背景层） 
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//在body内添加该div对象     
   
   
   
     var   msgObj=document.createElement("div")//创建一个div对象（提示框层）     
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
     msgObj.style.marginTop   =   -85+document.documentElement.scrollTop+"px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//创建一个h4对象（提示框标题栏）     
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){//点击标题栏触发的事件     
         document.body.removeChild(bgObj);//删除背景层Div     
         document.getElementById("msgDiv").removeChild(title);//删除提示框的标题栏     
         document.body.removeChild(msgObj);//删除提示框层     
     }     
     document.body.appendChild(msgObj);//在body内添加提示框div对象msgObj     
     document.getElementById("msgDiv").appendChild(title);//在提示框div中添加标题栏对象title     
   
     var   txt=document.createElement("p");//创建一个p对象（提示框提示信息）     
     //定义p的属性，即相当于     
     // <p   style="margin:1em   0;"   id="msgTxt"> 测试效果 </p>     
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//来源于函数调用时的参数值     
     document.getElementById("msgDiv").appendChild(txt);//在提示框div中添加提示信息对象txt 
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}

function vt_ac_ts(objid,objac)
{
     var   msgw,msgh,bordercolor;     
     msgw=593;//提示窗口的宽度     
     msgh=282;//提示窗口的高度     
     titleheight=25   //提示窗口标题高度     
     bordercolor="#336699";//提示窗口的边框颜色     
     titlecolor="#99CCFF";//提示窗口的标题颜色     
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;//浏览器工作区域内页面宽度     
     sHeight=screen.height;//屏幕高度（垂直分辨率）     
     //背景层（大小与窗口有效区域相同，即当弹出对话框时，背景显示为放射状透明灰色） 
	 
	 var str=str_frm_obj("yy_post","add","");
	 //alert(str);
	 //return;
	 if(str=="yy=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 str+="id="+objid+"&ac="+objac+"";
	 var bk_str=Aj_post(str,"/ajapi/vote_sp_ac.asp","");
	 
	 //alert(bk_str);
	 //return;
	 //document.getElementById("dv_post").innerHTML=bk_str;
     var   bgObj=document.createElement("div");//创建一个div对象（背景层） 
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//在body内添加该div对象     
   
   
   
     var   msgObj=document.createElement("div")//创建一个div对象（提示框层）     
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
     //msgObj.style.marginTop   =   -85+document.documentElement.scrollTop+"px";     
     msgObj.style.marginTop   = "-61px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//创建一个h4对象（提示框标题栏）     
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){//点击标题栏触发的事件     
         document.body.removeChild(bgObj);//删除背景层Div     
         document.getElementById("msgDiv").removeChild(title);//删除提示框的标题栏     
         document.body.removeChild(msgObj);//删除提示框层     
     }     
     document.body.appendChild(msgObj);//在body内添加提示框div对象msgObj     
     document.getElementById("msgDiv").appendChild(title);//在提示框div中添加标题栏对象title     
   
     var   txt=document.createElement("p");//创建一个p对象（提示框提示信息）     
     //定义p的属性，即相当于     
     // <p   style="margin:1em   0;"   id="msgTxt"> 测试效果 </p>     
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//来源于函数调用时的参数值     
     document.getElementById("msgDiv").appendChild(txt);//在提示框div中添加提示信息对象txt 
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}


function vt_ac_tsn(objid,objac)
{
     var   msgw,msgh,bordercolor;     
     msgw=593;//提示窗口的宽度     
     msgh=282;//提示窗口的高度     
     titleheight=25   //提示窗口标题高度     
     bordercolor="#336699";//提示窗口的边框颜色     
     titlecolor="#99CCFF";//提示窗口的标题颜色     
     var   sWidth,sHeight;     
     sWidth=document.body.offsetWidth-30;//浏览器工作区域内页面宽度     
     sHeight=screen.height;//屏幕高度（垂直分辨率）     
     //背景层（大小与窗口有效区域相同，即当弹出对话框时，背景显示为放射状透明灰色） 
	 
	 var str=str_frm_obj("yy_post","add","");
	 //alert(str);
	 //return;
	 if(str=="yy=&" && objac=="vote")
	 {
		alert("请选择你要提交的选项!");	 
	 return;
	 }
	 str+="id="+objid+"&ac="+objac+"";
	 var bk_str=Aj_post(str,"/ajapi/vote_spn_ac.asp","");
	 
	 //alert(bk_str);
	 //return;
	 //document.getElementById("dv_post").innerHTML=bk_str;
     var   bgObj=document.createElement("div");//创建一个div对象（背景层） 
	 
     var str=bk_str;  
	 //str=str+"<div>关闭</div>";
     bgObj.setAttribute("id","bgDiv");    
     //alert("***********")    
     bgObj.style.position="absolute";     
     bgObj.style.top="0";     
     bgObj.style.background="#777";     
     bgObj.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=3,opacity=25,finishOpacity=75";     
     bgObj.style.opacity="0.6";     
     bgObj.style.left="0";     
     //bgObj.style.width=sWidth   +   "px";     
     bgObj.style.width="100%";     
     
	 bgObj.style.height="1500";     
     bgObj.style.zIndex   =   "10000";     
     document.body.appendChild(bgObj);//在body内添加该div对象     
   
   
   
     var   msgObj=document.createElement("div")//创建一个div对象（提示框层）     
     msgObj.setAttribute("id","msgDiv");     
     msgObj.setAttribute("align","center");     
     msgObj.style.background="white";     
     msgObj.style.border="1px   solid   "   +   bordercolor;     
     msgObj.style.position   =   "absolute";     
     msgObj.style.left   =   "50%";     
     msgObj.style.top   =   "50%";     
     msgObj.style.font="12px/1.6em   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     msgObj.style.marginLeft   =   "-315px"   ;     
     msgObj.style.marginTop   =   -85+document.documentElement.scrollTop+"px";     
     msgObj.style.width   =   msgw   +   "px";     
     msgObj.style.height   =msgh   +   "px";     
     msgObj.style.textAlign   =   "center";     
     msgObj.style.lineHeight   ="25px";     
     msgObj.style.zIndex   =   "10001";     
     //alert("***********")    
     var   title=document.createElement("h4");//创建一个h4对象（提示框标题栏）     
     //定义h4的属性，即相当于     
     // <h4   id="msgTitle"   align="right"   style="margin:0;   padding:3px;   background-color:#336699;   filter:progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);   opacity:0.75;   border:1px   solid   #336699;   height:18px;   font:12px   Verdana,Geneva,Arial,Helvetica,sans-serif;   color:white;   cursor:pointer;"   onclick=""> 关闭 </h4>     
     title.setAttribute("id","msgTitle");     
     title.setAttribute("align","right");     
     title.style.margin="0";     
     title.style.padding="3px";     
     title.style.background=bordercolor;     
     title.style.filter="progid:DXImageTransform.Microsoft.Alpha(startX=20,   startY=20,   finishX=100,   finishY=100,style=1,opacity=75,finishOpacity=100);";     
     title.style.opacity="0.75";     
     title.style.border="1px   solid   "   +   bordercolor;     
     title.style.height="18px";     
     title.style.font="12px   Verdana,   Geneva,   Arial,   Helvetica,   sans-serif";     
     title.style.color="white";     
     title.style.cursor="pointer";     
     title.innerHTML="关闭";     
     title.onclick=removeObj;     
     function   removeObj(){//点击标题栏触发的事件     
         document.body.removeChild(bgObj);//删除背景层Div     
         document.getElementById("msgDiv").removeChild(title);//删除提示框的标题栏     
         document.body.removeChild(msgObj);//删除提示框层     
     }     
     document.body.appendChild(msgObj);//在body内添加提示框div对象msgObj     
     document.getElementById("msgDiv").appendChild(title);//在提示框div中添加标题栏对象title     
   
     var   txt=document.createElement("p");//创建一个p对象（提示框提示信息）     
     //定义p的属性，即相当于     
     // <p   style="margin:1em   0;"   id="msgTxt"> 测试效果 </p>     
     txt.style.margin="1em   0"     
     txt.setAttribute("id","msgTxt");     
     txt.innerHTML=str;//来源于函数调用时的参数值     
     document.getElementById("msgDiv").appendChild(txt);//在提示框div中添加提示信息对象txt 
	 //var txt_bt="sdfs";
	 //document.getElementById("msgDiv").appendChild(txt_bt);
}


function vt_ac_ws(objid,objac)
{
 var str=str_frm_obj("dv_post","add","");
 if(str=="rd=&" && objac=="vote")
 {
	alert("请选择你要提交的选项!");	 
 return;
 }
 str+="id="+objid+"&ac="+objac+"";
 var bk_str=Aj_post(str,"vote_ws","");
 document.getElementById("dv_post").innerHTML=bk_str;

}
function deldiv(divid){
var div=document.getElementById(divid);
div.parentNode.removeChild(div);
}

function   removediv(){//
         
		 //alert("adsfsd");
		 deldiv("bgDiv");
		 deldiv("msgDiv");
		 //document.body.removeChild("bgDiv");//
         //document.getElementById("msgDiv").removeChild(title);//
         //document.body.removeChild(msgObj);//
     }  

function   showobj(objid,objac){     
   
}     


