function galsOpen(num) {
	var theURL =  num + "/index.html";
	galsWin=window.open(theURL,"galsWin","width=600,height=500,scrollbars=0,status=yes,");
	galsWin.focus();
}
function openProfile(theURL) {
	galsWin=window.open(theURL,"galsWin","width=600,height=500,scrollbars=0,status=yes,");
	galsWin.focus();
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function lgpOpen(){
 var param = "'scrollbars=no,resizable=no,width=740,height=520'";
 var url = "http://www.erozo.jp/LG-Player/index.php?id=17";
 lgpWin=window.open(url,"lgpWin",param);
 lgpWin.focus();
}
function opOpen(num){
 var param = "'scrollbars=no,resizable=no,width=305,height=405'";
 var url = "option/" + num + ".htm";
 opWin=window.open(url,"opWin",param);
 opWin.focus();
}
function cos(num){
 var param = "'scrollbars=no,resizable=no,width=245,height=325'";
 var url = "cos/" + num + ".htm";
 window.open(url,"cos",param);
}
function cos2(num){
 var param = "'scrollbars=no,resizable=no,width=245,height=335'";
 var url = "cos2/" + num + ".htm";
 window.open(url,"cos",param);
}

function cos3(num){
 var param = "'scrollbars=no,resizable=no,width=330,height=460'";
 var url = "cos/" + num + ".htm";
 window.open(url,"cos",param);
}
function lgp(){
 var param = "'status=yes,scrollbars=no,resizable=yes,width=740,height=520'";
 var url = "http://www.erozo.jp/LG-Player/index.php?id=17";
 lgpWin=window.open(url,"lgpWin",param);
 lgpWin.focus();
}
function lgp2(){
 var param = "'status=yes,scrollbars=no,resizable=yes,width=760,height=505'";
 var url = "../lgp_index.htm";
 lgpev=window.open(url,"lgpev",param);
 lgpev.focus();
}
function ryoukinOpen(theURL) { //v2.0
  window.open(theURL,"ryoukinWin","width=600,height=350,scrollbars=yes,status=no");
}
function gravureOpen(theURL) { //v2.0
  gravureWin=window.open(theURL,"gravureWin","width=560,height=600,scrollbars=no,status=yes");
  gravureWin.focus();
}
function ticketOpen(theURL) { //v2.0
  ticketWin=window.open(theURL,"ticketWin","width=625,height=220,scrollbars=1,menubar=yes");
  ticketWin.focus();
}
function mobileOpen() {
	mobilewin=window.open("../../imode/index.htm","mobilewin","width=520,height=450,scrollbars=1");
	mobilewin.focus();
}
function mobile2Open() {
	mobile2win=window.open("../../imode/girl_index.htm","mobile2win","width=520,height=450,scrollbars=1");
	mobile2win.focus();
}
function mobile3Open(theURL) {
	mobile3win=window.open(theURL,"mobile2win","width=520,height=450,scrollbars=1");
	mobile3win.focus();
}
function newmobileOpen() {
	mobilewin=window.open("../../imode/newindex.htm","mobilewin","width=520,height=450,scrollbars=1");
	mobilewin.focus();
}
function movieblog() {
	mblogwin=window.open("../movie_blog/index.htm","mblogwin","width=700,height=550,scrollbars=1");
	mblogwin.focus();
}
function playOpen(theURL) { //v2.0
  window.open(theURL,"playWin","width=760,height=600,scrollbars=no,menubar=no");
}
function play2Open(theURL) { //v2.0
  playWin=window.open(theURL,"playWin","width=730,height=645,scrollbars=no,menubar=no");
  playWin.focus();
}

function play3Open(theURL) { //v2.0
  window.open(theURL,"playWin","width=600,height=500,scrollbars=no,menubar=no");
}

function playOpen(theURL) {
subWin1=window.open(theURL,"playInfo","width=330,height=360,scrollbars=0,status=yes");
}
function newplayOpen(theURL) { //v2.0
  playWin=window.open(theURL,"newplayWin","width=760,height=600,scrollbars=no,menubar=no");
  playWin.focus();
}

function popOpen() {
  window.open("event_pop.html","popwin","width=580,height=330,scrollbars=0,status=yes");
}
function popOpen2(theURL) {
  evwin=window.open(theURL,"pop2win","width=600,height=320,scrollbars=0,status=yes");
  evwin.focus();
}

function popOpen3(theURL) {
  gokuwin=window.open(theURL,"gokuwin","width=580,height=610,scrollbars=0,status=yes");
  gokuwin.focus();
}
function popOpen4(theURL) {
  	subWin3=window.open("event_pop13.html","popWin13","width=580,height=330,scrollbars=no,status=no");
	subWin3.moveTo(0,0);
	subWin3.focus();
  
}
function popOpen5(theURL) {
  subWin1=window.open("recruit_pop.html","recruitwin","width=595,height=340,scrollbars=0,status=no");
  subWin1.moveTo(0,0);
  subWin1.focus();
}

function popOpen6(theURL) {
  tekokiwin=window.open("tekoki.html","tekokiwin","width=600,height=400,scrollbars=no,status=no");
  tekokiwin.focus();
}

function popOpen62() {
  tekokiwin=window.open("tekoki2.html","tekokiwin","width=640,scrollbars=yes,status=yes");
  tekokiwin.focus();
}

function popOpen7(theURL) {
	pop7win=window.open(theURL,"pop7win","width=600,height=450,scrollbars=no,status=yes");
	pop7win.moveTo(0,0);
	pop7win.focus();	

}

function popOpen8(theURL) {
	subWin1=window.open("nf_pop.html","popWinnf","width=580,height=350,scrollbars=no,status=no");
	subWin1.moveTo(0,0);
	subWin1.focus();

}
function popOpen9(theURL) {
	subWin1=window.open(theURL,"popWinnf","width=580,height=350,scrollbars=no,status=no");
	subWin1.moveTo(600,0);
	subWin1.focus();

}

function recOpen(theURL) {
  window.open(theURL,"recwin","width=580,height=330,scrollbars=0,status=yes");
}
function rec2Open(theURL) {
  window.open(theURL,"recwin","width=580,height=400,scrollbars=0,status=yes");
}


function topeve01popOpen(theURL) {
  window.open(theURL,"recwin01","width=410,height=580,scrollbars=no,status=yes");
}
function topeve02popOpen(theURL) {
  window.open(theURL,"recwin02","width=480,height=640,scrollbars=no,status=yes");
}
function topeve03popOpen(theURL) {
  window.open(theURL,"recwin03","width=410,height=580,scrollbars=no,status=yes");
}
function topeve04popOpen(theURL) {
  window.open(theURL,"recwin04","width=410,height=580,scrollbars=no,status=yes");
}
