//function MM_reloadPage(init) {
//  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
//    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
//  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
//}
//MM_reloadPage(true);
function openWindow(windowURL,windowName,windowWidth,windowHeight,statusbar,scrollbars,resizable) {
  //window.name = 'parentWnd';
  newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=0,directories=0,status='+statusbar+',menuBar=0,scrollBars='+scrollbars+',resizable='+resizable+'');
  newWindow.focus();
} 
function popUA() {
  //window.name = 'parentWnd';
  // '/es/disclaimer.asp','disclaimer',600,400,1,1,1
  newWindow = window.open('/es/disclaimer.asp','disclaimer','width=600,height=400,toolbar=1,location=0,directories=0,status=1,menuBar=0,scrollBars=1,resizable=1');
  newWindow.focus();
  } 
function popUT() {
  //window.name = 'parentWnd';
  // '/es/terms.asp','terms',600,400,1,1,1
  newWindow = window.open('terms.asp','terms','width=600,height=400,toolbar=1,location=0,directories=0,status=1,menuBar=0,scrollBars=1,resizable=1');
  newWindow.focus();
} 
function popProfile(memberid) {
  //window.name = 'parentWnd';
  //'/profiles/viewprofilepop.asp?memberid="&rs(0)&"','viewprofilepop_"&rs(0)&"',625,450,0,1,1
  newWindow = window.open('/profiles/viewprofilepop.asp?memberid='+memberid,'viewprofilepop_'+memberid,'width=625,height=450,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');
  newWindow.focus();
} 
function popChat(roomid,passwordx) {
  //window.name = 'parentWnd';
  //'/chat/chatframe.asp?roomid="&rs(1)&"','chatroom',750,450,0,1,1
  EQSchatWindow = window.open('/chat/chatgo.asp?roomid='+roomid+'&chatpassword='+passwordx,'EQSchatWindow','width=750,height=475,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=1,resizable=1');
  EQSchatWindow.focus();
} 


