// JavaScript Document
function openfullwindow(url,winname)
{
  var strfeatures="left=0,screenx=0,top=0,screeny=0,resizable=yes,toolbar=no,directories=no,status=no,scrollbars=1";
  if(parent.window.screen)
  {
    var maxh=screen.availHeight-50;
	var maxw=screen.availWidth-10;
	strfeatures+=",height="+maxh+",innerheight="+maxh;
	strfeatures+=",width="+maxw+",innerwidth="+maxw;
  }
  else
  strfeatures+=",resize=yes";
	var subWin=window.open(url,winname,strfeatures);
	subWin.focus();
}

function openfullwindow1(url,winname){
	 wx=750; wy=screen.height;
	x=(screen.width-wx)/2;
	y=0;
	var subWin=window.open(url,winname,'left='+x+',top='+y+',screenx=0,screeny=0,resizable=1,toolbar=0,directories=0,status=0,scrollbars=1,resize=1,width='+wx+',height='+wy);
	subWin.focus();
}
function openfullwindow2(url,winname){
	wx=400; wy=450;
	x=(screen.width-wx)/2;
	y=(screen.height-wy)/2;
	subWin=window.open(url, winname,'left='+x+',top='+y+',status=no,location=no,toolbar=no,scrollbars=1,width='+wx+',height='+wy+'');
	subWin.focus();
}
function openfullwindow3(url,winname){
   wx=620; wy=480;
	x=(screen.width-wx)/2;
	y=(screen.height-wy)/2;
	subWin=window.open(url, winname,'left='+x+',top='+y+',screenx=0,screeny=0,resizable=1,toolbar=no,directories=no,status=no,scrollbars=1,resize=1,width='+wx+',height='+wy);
	subWin.focus();
}
function openfullwindow4(url,winname){
	   wx=870; wy=600;
	x=(screen.width-wx)/2;
	y=(screen.height-wy)/2;
	subWin=window.open(url, winname,'left='+x+',top='+y+',screenx=0,screeny=0,resizable=1,toolbar=no,directories=no,status=no,scrollbars=1,resize=1,width='+wx+',height='+wy);
	subWin.focus();
}
function openfullwindow5(url,winname){
   wx=640; wy=600;
	x=(screen.width-wx)/2;
	y=(screen.height-wy)/2;
	subWin=window.open(url, winname,'left='+x+',top='+y+',screenx=0,screeny=0,resizable=1,toolbar=no,directories=no,status=no,scrollbars=1,resize=1,width='+wx+',height='+wy);
	subWin.focus();
}
function openShowGirl(funcPage,page){
		location.href='index.php?funcPage='+funcPage;
		//subWin.focus();
}
function openfullwindow6(url,winname){
	   wx=780; wy=420;
	x=(screen.width-wx)/2;
	y=(screen.height-wy)/2;
	subWin=window.open(url, winname,'left='+x+',top='+y+',screenx=0,screeny=0,resizable=1,toolbar=no,directories=no,status=no,scrollbars=1,resize=1,width='+wx+',height='+wy);
	subWin.focus();
}
