<%@ Language=VBScript%>
<%
Response.Buffer=false
Response.Expires=0
%>
<!-- #include file="./dsnroot.asp" -->
<!-- #include file="./links.asp" -->
<%
set cn=Server.CreateObject("ADODB.Connection")
set rs=Server.CreateObject("ADODB.Recordset")
set rs1=Server.CreateObject("ADODB.Recordset")
cn.Open mycnstr
sqltext="select id,flag,body from danwei where pid=18 order by pl"
rs.Open sqltext,cn,1,1
if not rs.EOF then
		if rs("flag")=0 then
				about_content=trim(rs("body"))
			else	
				sqltext="selec body from cdanwei where pid="&rs("pid")&" and enable=1 order by pl"
				rs1.Open sqltext,cn,1,1
				do while not rs1.eof
					about_content=about_content&trim(rs1("body"))
				rs1.MoveNext 
				loop
				rs1.Close 
		end if
		about_content=checkstr(cutstr(about_content,400,0),0)		
end if
rs.Close 
sqltext="select * from count where enable=1 order by pl"
rs.Open sqltext,cn,1,1
if not rs.EOF then
		toemail=rs("email")
		totel=rs("tel")
		tofax=rs("fax")
		toadd=rs("add")
end if
rs.Close 
%>
<!-- #include file="./func.inc" -->
<!-- #include file="./begin.asp" -->
      <table width="778" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="208" bgcolor="#FFFFEC" align="center" valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="36">
              <tr> 
                <td width="20" background="images/nav2_bg.gif">&nbsp;</td>
                <td background="images/nav2_bg.gif"><img src="images/bt_home.gif" width="55" height="18"></td>
              </tr>
            </table>
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table>
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><img src="images/title_business.gif"></td>
              </tr>
            </table>
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table>
            <%sqltext="select top 6 id,title from danwei where enable=1 and ppid=13 and pid=28 order by creatdate desc"
              rs.Open sqltext,cn,1,1
              do while not rs.EOF
            %>
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td colspan="2" height="6"></td>
              </tr>
              <tr> 
                <td width="16" valign="top"><img src="images/arrow_news4.gif" width="12" height="12"></td>
                <td><a href="business_display.asp?id=<%=rs("id")%>" class="a12"><%=trim(rs("title"))%></a></td>
              </tr>
            </table>
            <%rs.MoveNext 
              loop
              rs.Close 
            %>
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="50">&nbsp;</td>
              </tr>
            </table>
            <table width="96%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="68"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="65" height="65" id=ShockwaveFlash3>
                    <param name=movie value="images/banner_service2.swf">
                    <param name=quality value=high>
                    <param name="wmode" value="transparent">
                    <embed src="images/banner_service2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="65" height="65">
                    </embed> 
                  </object></td>
                <td width="68"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="65" height="65" id=ShockwaveFlash4>
                    <param name=movie value="images/banner_business2.swf">
                    <param name=quality value=high>
                    <param name="wmode" value="transparent">
                    <embed src="images/banner_business2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="65" height="65">
                    </embed> 
                  </object></td>
                <td>&nbsp;</td>
              </tr>
            </table>
          </td>
          <td width="263" bgcolor="#FFFFFF" valign="top" align="center"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="36">
              <tr>
                <td width="263" background="images/nav2_bg2.gif" align="center"><img src="images/title_productshow.gif" width="74" height="21"></td>
              </tr>
            </table>
             <table width="82%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="20">&nbsp;</td>
              </tr>
            </table>
            <table width="82%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="220" height="250" id=ShockwaveFlash5>
                    <param name=movie value="images/products_m.swf">
                    <param name=quality value=high>
                    <param name="wmode" value="transparent">
                    <embed src="images/products_m.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="220" height="250">
                    </embed> 
                  </object></td>
              </tr>
            </table>
            <table width="82%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="20">&nbsp;</td>
              </tr>
            </table>
            <%sqltext="select id,title from classes where pid=9 and enable=1 order by pl"
              rs.Open sqltext,cn,1,1
              do while not rs.EOF 
            %>
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr height="25">
                 <td width="12"><img src="images/arrow_news4.gif" width="12" height="12"></td>
                 <td><a href="products.asp?id=<%=rs("id")%>" class="a12"><font color="#996600"><%=trim(rs("title"))%></font></a></td>
              </tr>
            </table>
            <%
            rs.MoveNext 
            loop
            rs.Close 
            %>
          </td>
          <td bgcolor="#FFF7D9" valign="top" align="center" background="images/shadow_right.jpg" style="background-repeat:no-repeat"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="80">&nbsp;</td>
              </tr>
            </table>
            <table width="92%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><img src="images/title_company.gif" width="90" height="18"></td>
              </tr>
            </table>
            <table width="92%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td class="font1"><font color="#555555"><%=about_content%></font></td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td align=right><a href="company.asp" class=a11><font color="#555555">Detail...</font></a>&nbsp;&nbsp;</td>
              </tr>
            </table>
            <table width="92%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="40">&nbsp;</td>
              </tr>
            </table>
            <table width="92%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><img src="images/title_contact.gif" width="90" height="18"></td>
              </tr>
            </table>
            <table width="92%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td class="font1">
                <font color="#555555">
                  <%if toadd<>"" then%>
					ADD:<%=toadd%><br>
				  <%end if%>	
				  <%if totel<>"" then%>
					TEL:<%=totel%><br>
				  <%end if%>	
				  <%if tofax<>"" then%>
					FAX:<%=tofax%><br>
				  <%end if%>	
				  <%if toemail<>"" then%>
					Email:<a href="mailto:<%=toemail%>" class="a11"><font color="#555555"><%=toemail%></font></a>
				  <%end if%>	
				</font></td>
              </tr>
            </table>
            <table width="92%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="150">&nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td width="208" bgcolor="#FFFFEC" height="36" valign="top">&nbsp;</td>
          <td width="263" bgcolor="#FFFFFF" valign="top" align="center">&nbsp;</td>
          <td bgcolor="#FFF7D9" valign="top" align="center">&nbsp;</td>
        </tr>
      </table>
<!-- #include file="./end.asp" -->
<script LANGUAGE="JavaScript">
var brOK=false;
var mie=false;
var aver=parseInt(navigator.appVersion.substring(0,1));
var aname=navigator.appName;
function checkbrOK()
{if(aname.indexOf("Internet Explorer")!=-1)
   {if(aver>=4) brOK=navigator.javaEnabled();
    mie=true;
   }
 if(aname.indexOf("Netscape")!=-1)
   {if(aver>=4) brOK=navigator.javaEnabled();}
}
var vmin=2;
var vmax=5;
var vr=0.02;
var timer1;
function Chip(chipname,width,height)
{this.named=chipname;
 this.vx=vmin+vmax*Math.random();
 this.vy=vmin+vmax*Math.random();
 this.w=width;
 this.h=height;
 this.xx=0;
 this.yy=0;
 this.timer1=null;
}
function movechip(chipname)
{
 if(brOK)
  {eval("chip="+chipname);
   if(!mie)
    {pageX=window.pageXOffset;
     pageW=window.innerWidth;
     pageY=window.pageYOffset;
     pageH=window.innerHeight;
    }
   else
    {pageX=window.document.body.scrollLeft;
     pageW=window.document.body.offsetWidth-22;
     pageY=window.document.body.scrollTop;
     pageH=window.document.body.offsetHeight-34;
    }

   chip.xx=chip.xx+chip.vx;
   chip.yy=chip.yy+chip.vy;

   chip.vx+=vr*(Math.random()-0.5);
   chip.vy+=vr*(Math.random()-0.5);
   if(chip.vx>(vmax+vmin))  chip.vx=(vmax+vmin)*2-chip.vx;
   if(chip.vx<(-vmax-vmin)) chip.vx=(-vmax-vmin)*2-chip.vx;
   if(chip.vy>(vmax+vmin))  chip.vy=(vmax+vmin)*2-chip.vy;
   if(chip.vy<(-vmax-vmin)) chip.vy=(-vmax-vmin)*2-chip.vy;


   if(chip.xx<=pageX)
     {chip.xx=pageX;
      chip.vx=vmin+vmax*Math.random();
     }
   if(chip.xx>=pageX+pageW-chip.w)
     {chip.xx=pageX+pageW-chip.w;
      chip.vx=-vmin-vmax*Math.random();
     }
   if(chip.yy<=pageY)
     {chip.yy=pageY;
      chip.vy=vmin+vmax*Math.random();
     }
   if(chip.yy>=pageY+pageH-chip.h)
     {chip.yy=pageY+pageH-chip.h;
      chip.vy=-vmin-vmax*Math.random();
     }

   if(!mie)
      {eval('document.'+chip.named+'.top ='+chip.yy);
       eval('document.'+chip.named+'.left='+chip.xx);
      }
   else
      {eval('document.all.'+chip.named+'.style.pixelLeft='+chip.xx);
       eval('document.all.'+chip.named+'.style.pixelTop ='+chip.yy);
      }
   chip.timer1=setTimeout("movechip('"+chip.named+"')",140);
  }
}

function hide(chipname){
        if(brOK){
                eval("chip="+chipname);
                if(!mie)
                        eval('document.'+chip.named+'.visibility ='+"'hide'");
                else
                        eval('document.all.'+chip.named+'.style.visibility ='+"'hidden'");
        }
}

function stopme(chipname)
{if(brOK)
  {//alert(chipname)
   eval("chip="+chipname);
   if(chip.timer1!=null)
    {clearTimeout(chip.timer1)}
  }
}
var chip1;
function pagestart()
{checkbrOK();
 chip1=new Chip("chip1",117,75);
  if(brOK)
   { movechip("chip1");
    }
}
//if(brOK) {stopme('chip1');}
</script>

<DIV id=chip1 style="height: 84px; position: absolute; visibility: visible; width: 111px; left: 67px; top: 71px;z-index:100"> 
<TABLE border=0 cellPadding=4 cellSpacing=0 class=bd width=60>
  <TBODY>
    <TR>
      <TD align=middle class=bg2>
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"      codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="200" height="100" id=ShockwaveFlash1>
         <param name=movie value="../images/lucky.swf">
         <param name=quality value=high>
         <param name="wmode" value="transparent">
         <embed src="images/lucky.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="200" height="100"></embed> 
        </object>
      </TD>
    </TR>
  </TBODY>
</TABLE>
</DIV> 
<SCRIPT event=onload for=window language=JavaScript>
pagestart();
</SCRIPT>