function MM_openBrWindow(theURL,winName,features) {
	window.open(theURL,winName,features);
}
//ギャル詳細へのリサイズ
function MM_openBrWindow2(theURL) {
	window.open(theURL,'FTVGravure','width=720,height=570');
}
//グラビアswfポップアップ用
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function MM_openBrWindow_graSWF(theURL) {
	window.open(theURL,'FTVGravure','width=900,height=670');
}
//グラビアswfからギャル詳細へのポップアップ用
function MM_openBrWindowSWF()
{
	window.open("theURL","FTVGravure","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,Width=720,Height=570");
}


//各写真ポップ
//
function OpenWin1(){
	win1=window.open("photo1.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin2(){
	win2=window.open("photo2.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin3(){
	win3=window.open("photo3.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin4(){
	win4=window.open("photo4.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin5(){
	win5=window.open("photo5.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin6(){
	win6=window.open("photo6.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin7(){
	win7=window.open("photo7.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin8(){
	win8=window.open("photo8.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin9(){
	win9=window.open("photo9.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin10(){
	win10=window.open("photo10.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin11(){
	win11=window.open("photo11.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin12(){
	win12=window.open("photo12.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin13(){
	win13=window.open("photo13.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin14(){
	win14=window.open("photo14.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin15(){
	win15=window.open("photo15.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin16(){
	win6=window.open("photo16.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin17(){
	win7=window.open("photo17.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin18(){
	win8=window.open("photo18.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin19(){
	win9=window.open("photo19.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin20(){
	win10=window.open("photo20.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin21(){
	win11=window.open("photo21.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin22(){
	win12=window.open("photo22.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin23(){
	win13=window.open("photo23.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin24(){
	win14=window.open("photo24.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin25(){
	win15=window.open("photo25.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin26(){
	win6=window.open("photo26.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin27(){
	win7=window.open("photo27.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin28(){
	win8=window.open("photo28.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin29(){
	win9=window.open("photo29.html","photo","scrollbars=1,resizable=0,");
}
function OpenWin30(){
	win10=window.open("photo30.html","photo","scrollbars=1,resizable=0,");
}
//グラビアPOPUPへのリサイズ
function Exit()
{
	window.close();
}
var sw = screen.width;
var sh = screen.height;
function Yoko() {
	var w=840;
	var h=690;
	if(sw<w){w=sw;}
	if(sh<h){h=sh;}
	resizeTo(w,h);
}
function Tate() {
	var w=570;
	var h=950;
	if(sw<w){w=sw;}
	if(sh<h){h=sh;}
	resizeTo(w,h);
}
var photoItem=1;
