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(){
  if(document.log.accounts.value==""){
      alert("请输入会员帐号!");
      document.log.accounts.focus();
      return false;
   }
  if(document.log.password.value==""){
      alert("请输入会员密码!");
      document.log.password.focus();
      return false;
   }
   return true;
}

function isfind(){
      return true;
}

function isreset(){
  document.log.action="";
  document.log.reset();
}


function addf(){
  window.external.addFavorite('http://www.asiatvro.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=200,left=200,width="+theW+",height="+theH);
	if(focusok){
		newwin.focus();
	}

return false;
}

function cwin(htmlurl,theW,theH){
var focusok;
var newwin=window.open(htmlurl,"ChatWin","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,top=50,left=50,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;
}
  
function winopen(){    
var targeturl="rich/index.asp"    
newwin=window.open("","","scrollbars")    
if (document.all){    
newwin.moveTo(0,0)    
newwin.resizeTo(screen.width,screen.height)    
}    
newwin.location=targeturl    
}    
function showa(){
window.status="亚洲卫星电视网—卫星电视喜从天降—中国公民请遵守中国法律法规:个人严禁安装和接收卫星电视"
}

function sstate(thetxt){
window.status=thetxt;
}

function SnsShowState(){
window.status="亚洲卫星电视网—卫视中文站—会员公社欢迎你!"
}


function pop(filename){
popup = window.open(filename, 'welcome', 'width=450,height=140,resizable=1,scrollbars=yes');
}
function emlogin(){
if(document.em.username.value==""){
   alert("请输入你的邮箱帐号");
   document.em.username.focus();
   return false;
}
if(document.em.password.value==""){
   alert("请输入你的邮箱密码");
   document.em.password.focus();
   return false;
}
return true;
}

function callsay(htmlurl,theW,theH){
var focusok;
var newwin=window.open(htmlurl,"newWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=200,left=200,width="+theW+",height="+theH);
	if(focusok){
		newwin.focus();
	}

return false;
}

