// �������
function switchsysbar(){
var left_close;
var left_open;
if (document.getelementbyid("switchpoint").classname=="left_close"){
document.getelementbyid("switchpoint").classname="left_open";
document.getelementbyid("frmtitle").style.display="none";
}else{
document.getelementbyid("switchpoint").classname="left_close";
document.getelementbyid("frmtitle").style.display="";
}
}
function eshop(id) { window.open("eshop.asp?cpid="+id,"","height=400,width=640,left=200,top=0,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");}
function show_pic(aa,bb) {
document.getelementbyid("pic_images").style.top = event.clienty + document.body.scrolltop+5;
document.getelementbyid("pic_images").style.left = event.clientx +document.body.scrollleft-28;
document.getelementbyid('pic_images').style.display="block";
document.getelementbyid('pic_images').innerhtml="
|
"+bb+" |
";
}
function show_pic2(aa,bb) {
document.getelementbyid("pic_images").style.top = event.clienty + document.body.scrolltop-185;
document.getelementbyid("pic_images").style.left = event.clientx +document.body.scrollleft+28;
document.getelementbyid('pic_images').style.display="block";
document.getelementbyid('pic_images').innerhtml=" |
"+bb+" |
";
}
function noshow_pic() {
document.getelementbyid('pic_images').style.display="none";
}
//========================= �����������с start =============
function dozoom(size){
var artibody = document.getelementbyid('artibody');
if(!artibody){
return;
}
var artibodychild = artibody.childnodes;
artibody.style.fontsize = size + 'px';
//�ٶ�artibody div�ڵ�ֱ��html�ڵ�����fontsize����
for(var i = 0; i < artibodychild.length; i++){
if(artibodychild[i].nodetype == 1){
artibodychild[i].style.fontsize = size + 'px';
}
}
}
//========================= �����������с end =============