var WEBADDROOT="http://www.mianfei800.cn/";//网址
var WEBADDR=WEBADDROOT+"mob800.asp";//此处提交的网址
var eid="0103000003E";//此行配置使用企业的企业ID号
var pcnt=1;//此行定义企业部门个数或人员个数,跟下面epid[n]和e_part[n]中的n+1相等
var i;
var lefttag=1;//此行定义是否在主页左侧显示：1为显示，0为隐藏
var righttag=0;//此行定义是否在主页右侧显示：1为显示，0为隐藏
var e_part=new Array(pcnt);
var epid=new Array(pcnt);

if(lefttag==1)//在左侧显示
{
	document.write("<form name='fleft' method='post' target='_blank' action='"+WEBADDR+"'><input type='hidden' name='EID' value='"+eid+"'><input type='hidden' name='PID' value=''><div id='flycnidc_left' style='position: absolute;left:2px;width:100px;top:300;visibility: visible;z-index: 1'>")
	document.write("<table width='100' border='0' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr>")
		for(i=0;i<pcnt;i++)
		{
		document.write("  <tr><td height='180'><a href='#'onmouseover=\"javascript:fleft.PID.value='"+epid[i]+"';\" onclick='javascript:fleft.submit();'><img src='"+WEBADDROOT+"mob800/mob800.gif' border='0'></a></td> </tr>")
		}
document.write("<tr><td></td></tr></table>")
	document.write("</div></form>");
	flycnidc_leftload();
}

if(righttag==1)//在右侧显示
{
	document.write("<form name='fright' method='post' target='_blank' action='"+WEBADDR+"'><input type='hidden' name='EID' value='"+eid+"'><input type='hidden' name='PID' value=''><div id='lqdell' style='position: absolute;width:100px;top:300;visibility: visible;z-index: 1'>")
	document.write("<table width='100' border='0' cellspacing='0' cellpadding='0'><tr><td height='0'></td></tr>")
		for(i=0;i<pcnt;i++)
		{
		document.write("  <tr><td height='180'><a href='#'onmouseover=\"javascript:fright.PID.value='"+epid[i]+"';\" onclick='javascript:fright.submit();'><img src='"+WEBADDROOT+"mob800/mob800.gif' border='0'></a></td> </tr>")
		}
	document.write(" <tr><td></td></tr></table>")
	document.write("</div></form>");	
lqdellload();
}
/**********************show left start****************************************/
function flycnidc_leftload()
{
flycnidc_left.style.top=document.body.scrollTop+document.body.offsetHeight-368;
flycnidc_left.style.right=document.body.offsetWidth-130;
//flycnidc_left2.style.top=document.body.scrollTop+document.body.offsetHeight-368;
//flycnidc_left2.style.right=document.body.offsetWidth-310;
flycnidc_leftmove();
}
function flycnidc_leftmove()
{
flycnidc_left.style.top=document.body.scrollTop+document.body.offsetHeight-368;
flycnidc_left.style.right=document.body.offsetWidth-130;
//flycnidc_left2.style.top=document.body.scrollTop+document.body.offsetHeight-368;
//flycnidc_left2.style.right=document.body.offsetWidth-310;
setTimeout("flycnidc_leftmove();",5)
}
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
/************************show left end*********************************/
/************************show right start********************************/
function lqdellload()
{
lqdell.style.top=document.body.scrollTop+document.body.offsetHeight-368;
lqdell.style.left=document.body.offsetWidth-160;
//lqdell2.style.top=document.body.scrollTop+document.body.offsetHeight-368;
//lqdell2.style.left=document.body.offsetWidth-310;
lqdellmove();
}
function lqdellmove()
{
lqdell.style.top=document.body.scrollTop+document.body.offsetHeight-368;
lqdell.style.left=document.body.offsetWidth-160;
//lqdell2.style.top=document.body.scrollTop+document.body.offsetHeight-368;
//lqdell2.style.left=document.body.offsetWidth-310;
setTimeout("lqdellmove();",5)
}
/************************show right end********************************/

