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_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_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_reloadPage(init) {  //reloads the window if Nav4 resized
  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 chgPhoto(num) {
 document.images["photo"].src = "images/0" + num + ".jpg";
}

function ticketOpen(theURL) {
	subWin1=window.open(theURL,"ticketWin","width=560,height=480,scrollbars=0,menubar=0,status=yes");
	subWin1.moveTo(0,0);
	subWin1.focus();
}
function ticketOpen2(theURL) {
	ticketWin2=window.open(theURL,"ticketWin2","width=570,height=650,scrollbars=1,menubar=1,status=yes,resizable=yes");
	ticketWin2.moveTo(0,0);
	ticketWin2.focus();
}
function hotelOpen(theURL) {
	subWin1=window.open(theURL,"hotelWin","width=570,height=600,scrollbars=1,menubar=yes,status=yes");
}
function mobile() {
	mWin1=window.open("../mobile/open.html","mobile","width=250,height=400,scrollbars=1");
	mWin1.focus();
}
function mag() {
	mobileWin=window.open("../mail/mag.html","mobileWin","width=530,height=550,scrollbars=0");
	mobileWin.focus();
}
function recOpen(theURL) {
	galsWin=window.open(theURL,"recWin","width=635,scrollbars=1,status=yes");
	galsWin.focus();
}


function popOpen(theURL) {
	subWin1=window.open(theURL,"popWin","width=500,height=700,scrollbars=1,menubar=0,status=yes");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function pop2Open(theURL) {
	subWin1=window.open(theURL,"pop2Win","width=470,height=250,scrollbars=0,menubar=0,status=yes");
	subWin1.moveTo(470,0);
	subWin1.focus();
}

function pop3Open(theURL) {
	subWin1=window.open(theURL,"pop3Win","width=470,height=140,scrollbars=0,menubar=0,status=yes");
	subWin1.moveTo(500,0);
	subWin1.focus();
}
function pop32Open(theURL) {
	pop32Win=window.open(theURL,"pop32Win","width=470,height=340,scrollbars=0,menubar=0,status=yes");
	pop32Win.moveTo(470,0);
	pop32Win.focus();
}

function movlogOpen(theURL) {
	popWin=window.open(theURL,"movlogWin","width=450,height=500,scrollbars=1,status=yes");
	popWin.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 playerOpen(theURL) {
	subWin1=window.open(theURL,"lgpWin","width=730,height=460,scrollbars=0,status=no");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function gravureOpen(theURL) {
	subWin1=window.open(theURL,"gravureWin","width=700,height=700,scrollbars=0,status=no");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function gravureOpen2(theURL) {
	subWin1=window.open(theURL,"gravure2Win","width=500,height=750,scrollbars=1,status=no");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function gravureOpen3(theURL) {
	subWin1=window.open(theURL,"gravure3Win","width=560,height=750,scrollbars=1,status=no");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function playOpen(theURL) {
	subWin1=window.open(theURL,"playWin","width=670,height=550,scrollbars=0,status=no");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function roadOpen(theURL) {
	subWin1=window.open(theURL,"roadWin","width=260,height=340,scrollbars=0,menubar=0,status=yes");
	subWin1.moveTo(0,0);
	subWin1.focus();
}

function newyearOpen(theURL) {
	subWin1=window.open(theURL,"newyearWin","width=470,height=150,scrollbars=0,menubar=0,status=yes");
	subWin1.moveTo(470,0);
	subWin1.focus();
}