/*
  
  Copyright (c) [2001] 广东迈达威科技发展有限公司
  版权所有(All rights reserved).
  
*/

function click() {
	if (event.button==2) {
		alert('对不起,此网页禁用鼠标右键功能！\n本页面所有内容版权均属于广东迈达威科技发展有限公司所有！');
		}
	}
//window.document.onmousedown=click;

function gotoany(linkto,focus) {
	
	TheTarget = linkto;
	
	if (focus=='_blank') {
		
		window.open (TheTarget);
		}
	else {
		
		location.href = TheTarget;
		}
	}


function goto(linkto,focus) {
	
	TheTarget = linkto + '.htm';
	
	if (focus=='_blank') {
		
		window.open (TheTarget);
		}
	else {
		
		location.href = TheTarget;
		}
	}

function gotohtml(linkto,focus) {
	TheTarget = linkto + '.html';
	
	if (focus=='_blank') {
		
		window.open (TheTarget);
		}
	else {
		location.href = TheTarget;
		}
	}

document.ns = navigator.appName == "Netscape"
var a
var b
var x=0;
function mymove() {
	
	window.screen.width>=800 ? a=10:a=0
	//window.screen.width>=800 ? b=695:b=535
	window.screen.width>=1024 ? b=780:b=575;
	if(document.ns){
		document.KBStatic.top=pageYOffset+a
		document.KBStatic.left=b
		setTimeout("mymove();",1)
		}
	else{
		KBStatic.style.top=document.body.scrollTop+a
		KBStatic.style.left=b
		setTimeout("mymove();",1)
		}
	}

//
var theWidth=0;
var theHeight=0;
var theKey=1;
var tmp="";

function showchange(){
  if (theWidth==0){
    //tmp =eval("obj."+theProp);
    tmp = Layer1.style.width;
    if ((tmp.indexOf("p")>0) || (tmp.indexOf("P")>0)) theWidth = parseInt(tmp.substring(0,tmp.length-2));
    else theWidth=parseInt(Layer1.style.width);
    }

  if (theHeight==0){
    tmp = Layer1.style.height;
    if ((tmp.indexOf("p")>0) || (tmp.indexOf("P")>0)) theHeight = parseInt(tmp.substring(0,tmp.length-2));
    else theHeight=parseInt(Layer1.style.height);
    }  

  theWidth=theWidth*theKey;
  theHeight=theHeight*theKey;

  Layer1.style.width=theWidth;
  Layer1.style.height=theHeight;
  Layer1.style.visibility='visible';
  }

function smaller() {
  if (theKey>1) theKey=1;
  theKey = theKey-0.1;
  showchange();  
  }

function bigger() {
  if (theKey<1) theKey=1;
  theKey = theKey+0.1;
  showchange();  
  }

function turnback(){
  Layer1.style.visibility='hidden';
  }
  
 