// JavaScript Document

/*使左右内容等高*/
/*$(document).ready(function(){
var a1=$("#content").height();
var a2=$("#siderbar").height();
if(a1 > a2){
$("#siderbar").animate({height:a1+26}, 0);
$(".siderbar_con").animate({height:a1+26}, 0);
}
else{
$("#content").animate({height:a2-26}, 0);
}
});

		 $(".sidpro08").show(1),
		$("#siderpro h1").eq(7).addClass("select"),
		$("#siderpro h1 a").eq(7).addClass("blue"),
		$(".sidpro08 li").eq(4).addClass("select");*/
		

$(document).ready(function(){
$("#meau li").eq(2).hover(
function(){	
$("#pronavtop").show();	
$("#meau li a").eq(2).addClass("sele");
},
function(){	
$("#pronavtop").hide();	
$("#meau li a").eq(2).removeClass("sele");
});

$("#pronavtop li img").each(function(i){
i=i+1
$(this).hover(
function(){	
this.src = "/images/products/pronav0" + i + "_h.gif";
},
function(){	
this.src = "/images/products/pronav0" + i + ".gif";
});
 });




}); 





$(document).ready(function(){

$("#proall li img").each(function(){

$(this).hover(
function(){	
q=$(this).attr("alt");
this.src = "images/products/min/" + q + ".jpg";
},
function(){	
this.src = "images/products/min/" + q + ".gif";
});
 });



});


//===========================点击返回顶部====================================
var w = 40;
var h = 20;
var str = "";
var obj = document.getElementById("divStayTopLeft");
if (obj)str = obj.innerHTML;
if( typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat'){
document.writeln('<div  style="z-index:9;right:0;bottom:0;height:'+h+'px;width:'+w+'px;overflow:hidden;POSITION:fixed;_position:absolute; _margin-top:expression(document.documentElement.clientHeight-this.style.pixelHeight+document.documentElement.scrollTop);">');
}
else {
document.writeln('<div  style="z-index:9;right:0;bottom:0;height:'+h+'px;width:'+w+'px;overflow:hidden;POSITION:fixed;*position:absolute; *top:expression(eval(document.body.scrollTop)+eval(document.body.clientHeight)-this.style.pixelHeight);">');
}
document.writeln('<div style="clear:both;margin:auto;height:100px; width:15px;font-size:16px;overflow:hidden;font-weight:bold;text-align:left;"><a href="javascript:scroll(0,0)" hidefocus="true"><img src="http://www.kunzapack.cn/images/icon/top.gif" alt="回顶部" title="回到顶部" style="border: 0px;" /></a></div> ');
document.write('<div style="clear:both;margin:auto;overflow:hidden;text-align:left;">'+str+'</div>');
document.writeln('</div>');
-->



