function isdo(filename,themsg){
  if (confirm(themsg)==1){
       location.href=filename;
       return false;
  }else{
    return false;
  }
 }

function isdoit(filename,themsg){
  if (confirm(themsg)==1){
       parent.location.href=filename;
       return false;
  }else{
    return false;
  }
 }


function islogin(){
 var ee1,cc1,ee2,cc2,ss1,ss2
  ee1="Enter Your User Name!";
  ee2="Enter Your Password!";
  cc1="请输入您的用户名！";
  cc2="请输入您的用户密码！";
  if(document.log.lg.value=="cn"){
     ss1=cc1;
     ss2=cc2;
  }else{
     ss1=ee1;
     ss2=ee2;
   }

  if(document.log.username.value==""){
    alert(ss1);
    document.log.username.focus();
    return false;
   }
  if(document.log.password.value==""){
    alert(ss2);
    document.log.password.focus();
    return false;
   }
  document.log.submit();
  return true;
}

function isreset(){
  document.log.reset();
}

function addf(){
  window.external.addFavorite('http://www.gzoutdoor.com','广州昊道文化传播有限公司')
}

function call(htmlurl,theW,theH){
var focusok;
var newwin=window.open(htmlurl,"newWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=100,width="+theW+",height="+theH);
	if(focusok){
		newwin.focus();
	}

return false;
}

function pop(htmlurl,theW,theH){
var focuspop;
var popwin=window.open(htmlurl,"popWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=100,width="+theW+",height="+theH);
	if(focuspop){
		popwin.focus();
	}

return false;
}

