function openpage(file){ 
window.open(file,'new','scrollbars=yes,width=550,height=700');
}

function openpagel(file){ 
window.open(file,'newl','scrollbars=yes,width=650,height=700');
}

function openpagex(file){ 
window.open(file,'new','scrollbars=yes,width=1024,height=768');
}

function openpag(file){ 
map=window.open(file,'map','scrollbars=no,width=710,height=510');
map.focus()
}

function openpageh(file){ 
window.open(file,'newh','scrollbars=yes,width=550,height=700');
}

function openpagec(file){ 
window.open(file,'newc','scrollbars=yes,width=700,height=558');
}

function openpagecc(file){ 
window.open(file,'newcc','scrollbars=yes,width=700,height=580');
}

function openpages(file){ 
window.open(file,'news','scrollbars=yes,width=580,height=700');
}
function m_win(url,windowname,width,height) {
 var features="location=no, menubar=no, status=yes, scrollbars=yes, resizable=yes, toolbar=no";
 if (width) {
  if (window.screen.width > width)
   features+=", left="+(window.screen.width-width)/2;
  else width=window.screen.width;
  features+=", width="+width;
 }
 if (height) {
  if (window.screen.height > height)
   features+=", top="+(window.screen.height-height)/2;
  else height=window.screen.height;
  features+=", height="+height;
 }
 window.open(url,windowname,features);
}
