var tPrev;

var ttbPrev;

function them(time,obj){

	if(tPrev==null){

		tPrev=document.getElementById("tbt").getElementsByTagName("li")[0]

	}

	if(ttbPrev==null){

		ttbPrev=document.getElementById("ttb").getElementsByTagName("div")[0]

	}

	tPrev.className="";	

	ttbPrev.style.display="none";

	obj.className="topnav_01_";

	document.getElementById(time).style.display="block";

	tPrev=obj;

	ttbPrev=document.getElementById(time);

}
onecount=71; 
function redirect(locationid){ 
document.myform.smalllocation.length = 0; 
var locationid=locationid; 
var i; 
document.myform.smalllocation.options[0] = new Option('请选择分公司...',''); 
for (i=0;i < onecount; i++){ 
if (subcat[i][1] == locationid){ 
document.myform.smalllocation.options[document.myform.smalllocation.length] = new Option(subcat[i][0], subcat[i][2]); }}} 
  //--> 
  
<!--- 首页下方 栏目切换 --->

<!-- 
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);
// -->
 
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
 
function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->




<!--- 首页案例--颜色风格 --->

<!-- 
 

  var onecount3; 
  onecount3=0; 
  subcat3 = new Array(); 
   subcat3[0] = new Array("黑色","01","/webcase01_black.html"); 
  subcat3[1] = new Array("灰色","01","/webcase01_gray.html"); 
  subcat3[2] = new Array("紫红色","01","/webcase01_purple.html"); 
  subcat3[3] = new Array("黄色","01","/webcase01_yellow.html"); 
  subcat3[4] = new Array("澄色","01","/webcase01_orange.html"); 
  subcat3[5] = new Array("黄色","02","/webcase02_yellow.html"); 
  subcat3[6] = new Array("灰色","02","/webcase02_gray.html"); 
  subcat3[7] = new Array("黑色","03","/webcase03_black.html"); 
  subcat3[8] = new Array("黄色","03","/webcase03_yellow.html"); 
  subcat3[9] = new Array("黑色","04","/webcase04_black.html"); 
  subcat3[10] = new Array("黄色","04","/webcase04_yellow.html"); 
  subcat3[11] = new Array("灰色","04","/webcase04_gray.html"); 
  subcat3[12] = new Array("蓝色","04","/webcase04_blue.html"); 
  subcat3[13] = new Array("澄色","04","/webcase04_orange.html"); 
  onecount3=14; 
function redirecta(locationid3){ 
document.myform3.smalllocation3.length = 0; 
var locationid3=locationid3; 
var a; 
document.myform3.smalllocation3.options[0] = new Option('请选择颜色风格...',''); 
for (a=0;a < onecount3; a++){ 
if (subcat3[a][1] == locationid3){ 
document.myform3.smalllocation3.options[document.myform3.smalllocation3.length] = new Option(subcat3[a][0], subcat3[a][2]); }}} 
  //--> 

<!--flash--->
function writeflashhtml( arg )

{

var parm = []

var _default_version = "8,0,24,0";

var _default_quality = "high";

var _default_align = "middle";

var _default_menu = "false";



for(i = 0; i < arguments.length; i ++)

{

parm[i] = arguments[i].split(' ').join('').split('=')

for (var j = parm[i].length-1; j > 1; j --){

parm[i][j-1]+="="+parm[i].pop();

}

switch (parm[i][0])

{

case '_version' : var _version = parm[i][1] ; break ; 

case '_swf' : var _swf = parm[i][1] ; break ; 

case '_base' : var _base = parm[i][1] ; break ; 

case '_quality' : var _quality = parm[i][1] ; break ; 

case '_loop' : var _loop = parm[i][1] ; break ; 

case '_bgcolor' : var _bgcolor = parm[i][1] ; break ; 

case '_wmode' : var _wmode = parm[i][1] ; break ; 

case '_play' : var _play = parm[i][1] ; break ; 

case '_menu' : var _menu = parm[i][1] ; break ; 

case '_scale' : var _scale = parm[i][1] ; break ; 

case '_salign' : var _salign = parm[i][1] ; break ; 

case '_height' : var _height = parm[i][1] ; break ; 

case '_width' : var _width = parm[i][1] ; break ; 

case '_hspace' : var _hspace = parm[i][1] ; break ; 

case '_vspace' : var _vspace = parm[i][1] ; break ; 

case '_align' : var _align = parm[i][1] ; break ; 

case '_class' : var _class = parm[i][1] ; break ; 

case '_id' : var _id = parm[i][1] ; break ; 

case '_name' : var _name = parm[i][1] ; break ; 

case '_style' : var _style = parm[i][1] ; break ; 

case '_declare' : var _declare = parm[i][1] ; break ; 

case '_flashvars' : var _flashvars = parm[i][1] ; break ; 

default :;

}

}

var thtml = ""

thtml += "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" + ((_version)?_version:_default_version) + "'"

if(_width) thtml += " width='" + _width + "'"

if(_height) thtml += " height='" + _height + "'"

if(_hspace) thtml += " hspace='" + _hspace + "'"

if(_vspace) thtml += " vspace='" + _vspace + "'"

if(_align) thtml += " align='" + _align + "'"

else thtml += " align='" + _default_align + "'"

if(_class) thtml += " class='" + _class + "'"

if(_id) thtml += " id='" + _id + "'"

if(_name) thtml += " name='" + _name + "'"

if(_style) thtml += " style='" + _style + "'"

if(_declare) thtml += " " + _declare

thtml += ">"

if(_swf) thtml += "<param name='movie' value='" + _swf + "'>"

if(_quality) thtml += "<param name='quality' value='" + _quality + "'>" 

else thtml += "<param name='quality' value ='" + _default_quality + "'>"

if(_loop) thtml += "<param name='loop' value='" + _loop + "'>"

if(_bgcolor) thtml += "<param name='bgcolor' value='" + _bgcolor + "'>"

if(_play) thtml += "<param name='play' value='" + _play + "'>"

if(_menu) thtml += "<param name='menu' value='" + _menu + "'>"

else thtml += "<param name='menu' value='" + _default_menu + "'>"

if(_scale) thtml += "<param name='scale' value='" + _scale + "'>"

if(_salign) thtml += "<param name='salign' value='" + _salign + "'>"

if(_wmode) thtml += "<param name='wmode' value='" + _wmode + "'>"

if(_base) thtml += "<param name='base' value='" + _base + "'>"

if(_flashvars) thtml += "<param name='flashvars' value='" + _flashvars + "'>"

thtml += "<embed pluginspage='http://www.macromedia.com/go/getflashplayer'"

if(_width) thtml += " width='" + _width + "'"

if(_height) thtml += " height='" + _height + "'"

if(_hspace) thtml += " hspace='" + _hspace + "'"

if(_vspace) thtml += " vspace='" + _vspace + "'"

if(_align) thtml += " align='" + _align + "'"

else thtml += " align='" + _default_align + "'"

if(_class) thtml += " class='" + _class + "'"

if(_id) thtml += " id='" + _id + "'"

if(_name) thtml += " name='" + _name + "'"

if(_style) thtml += " style='" + _style + "'"

thtml += " type='application/x-shockwave-flash'"

if(_declare) thtml += " " + _declare 

if(_swf) thtml += " src='" + _swf + "'"

if(_quality) thtml += " quality='" + _quality + "'"

else thtml += " quality='" + _default_quality + "'"

if(_loop) thtml += " loop='" + _loop + "'"

if(_bgcolor) thtml += " bgcolor='" + _bgcolor + "'"

if(_play) thtml += " play='" + _play + "'"

if(_menu) thtml += " menu='" + _menu + "'"

else thtml += " menu='" + _default_menu + "'"

if(_scale) thtml += " scale='" + _scale + "'"

if(_salign) thtml += " salign='" + _salign + "'"

if(_wmode) thtml += " wmode='" + _wmode + "'"

if(_base) thtml += " base='" + _base + "'"

if(_flashvars) thtml += " flashvars='" + _flashvars + "'"

thtml += "></embed>"

thtml += "</object>"

document.write(thtml)

}



//

//طֹ˾뿪ʼ

function PageQuery(q){if(q.length>1) this.q=q.substring(1,q.length);else this.q=null;this.keyValuePairs=new Array();if(q){var ar=this.q.split("&");for(var i=0;i<ar.length;i+=1){this.keyValuePairs[i]=ar[i];}}this.getKeyValuePairs = function(){return this.keyValuePairs;};this.getValue = function(s) {for(var j=0; j < this.keyValuePairs.length; j++) {var ar1=this.keyValuePairs[j].split("=");if(ar1[0] == s)return ar1[1];}return false;};}



var floatfd = null;function moreddshow() {vl = document.getElementById('vslist');vm = document.getElementById('vsearchmore');if( floatfd != null ){clearTimeout(floatfd);floatfd = null;}vm.href="javascript:void(0);";vl.style.display = 'block';vm.className='on';return false;}function moreddout(){if( floatfd == null ){floatfd = setTimeout( moreddhide, 300 );}}function moreddhide(){vl = document.getElementById('vslist');vm = document.getElementById('vsearchmore');if( vl && vm ){vl.style.display = 'none';vm.className='';}}



var floatfd2 = null;function moreddshowa() {vl2 = document.getElementById('vslist2');vm2 = document.getElementById('vsearchmore2');if( floatfd2 != null ){clearTimeout(floatfd2);floatfd2 = null;}vm2.href="javascript:void2(0);";vl2.style.display = 'block';vm2.className='on';return false;}function moreddouta(){if( floatfd2 == null ){floatfd2 = setTimeout( moreddhidea, 300 );}}function moreddhidea(){vl2 = document.getElementById('vslist2');vm2 = document.getElementById('vsearchmore2');if( vl2 && vm2 ){vl2.style.display = 'none';vm2.className='';}}//طֹ˾

//



var floatfd3 = null;function moreddshowb() {vl3 = document.getElementById('vslist3');vm3 = document.getElementById('vsearchmore3');if( floatfd3 != null ){clearTimeout(floatfd3);floatfd3 = null;}vm3.href="javascript:void3(0);";vl3.style.display = 'block';vm3.className='on';return false;}function moreddouta(){if( floatfd3 == null ){floatfd3 = setTimeout( moreddhideb, 300 );}}function moreddhideb(){vl3 = document.getElementById('vslist3');vm3 = document.getElementById('vsearchmore3');if( vl3 && vm3 ){vl3.style.display = 'none';vm3.className='';}}//طֹ˾


