function openSpecialWin(url,name,w,h,scroll) {
popup=window.open(url,name,'width='+w+',height='+h+',toolbar=no,location=no,status=no,scrollbars=no,resizable=no')

}

var win= null;
function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=no';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}


function photoOpener(imgName,width,height)
	{
	img = "http://www.sarah-brightman.com/htm_news/show/show.php?photo=" + imgName;
    targ = imgName + "imgwindow";
    window.open(img,targ,'toolbar=no,location=no,scrolling=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+ width + ',height=' + height);
	}
	
function openaccount(){
this.href='account2.html'
NewWindow(this.href,'wind','770','560','yes');
}

function openactivateold(){
this.href='activate2.html'
NewWindow(this.href,'wind','770','560','yes');
}

function opencentre(){
this.href='frame.html'
NewWindow(this.href,'wind','770','560','yes');
}


function news() {
//    top.lefter.location.replace('../htm_frames/news.html');
//    top.bottom.location.replace('../htm_frames/news_info.php');
//    top.topper.location.replace('../htm_frames/news.html');
//    top.righter.location.replace('../htm_frames/news.html');
}


function sarah() {
//    top.lefter.location.replace('../htm_frames/sarah.html');
//    top.bottom.location.replace('../htm_frames/sarah_info.php');
//    top.topper.location.replace('../htm_frames/sarah.html');
//    top.righter.location.replace('../htm_frames/sarah.html');
}


function sound() {
//    top.lefter.location.replace('../htm_frames/sound.html');
//    top.bottom.location.replace('../htm_frames/sound_info.php');
//    top.topper.location.replace('../htm_frames/sound.html');
//    top.righter.location.replace('../htm_frames/sound.html');
}

function fan() {
//    top.lefter.location.replace('../htm_frames/fan.html');
//    top.bottom.location.replace('../htm_frames/fan_info.php');
//    top.topper.location.replace('../htm_frames/fan.html');
//    top.righter.location.replace('../htm_frames/fan.html');
}

function fanwarn() {
//    top.lefter.location.replace('../htm_frames/fan.html');
//    top.bottom.location.replace('../htm_frames/fan_warn.html');
//    top.topper.location.replace('../htm_frames/fan.html');
//    top.righter.location.replace('../htm_frames/fan.html');
}

function concertphotowarn() {
//    top.lefter.location.replace('../htm_frames/news.html');
//    top.bottom.location.replace('../htm_frames/concertphotos_warn.html');
//    top.topper.location.replace('../htm_frames/news.html');
//    top.righter.location.replace('../htm_frames/news.html');
}

function album() {
//    top.lefter.location.replace('../htm_frames/album.html');
//    top.bottom.location.replace('../htm_frames/album_info.php');
//    top.topper.location.replace('../htm_frames/album.html');
//    top.righter.location.replace('../htm_frames/album.html');
}

function shop() {
//    top.lefter.location.replace('../htm_frames/shop.html');
//    top.bottom.location.replace('../htm_frames/shop_info.php');
//    top.topper.location.replace('../htm_frames/shop.html');
//    top.righter.location.replace('../htm_frames/shop.html');
}


function openIT(u,W,H,X,Y,n,b,x,m,r) {
	var cU  ='../pop/close_up.html'
	var cO  ='../pop/close_ovr.html'
	var cL  ='../pop/clock.html'
	var mU  ='../pop/min_up.html'
	var mO  ='../pop/min_ovr.html'
	var xU  ='../pop/max_up.html'
	var xO  ='../pop/max_ovr.html'
	var rU  ='../pop/res_up.html'
	var rO  ='../pop/res_ovr.html'
	var tH  ='<font face=verdana size=1>&nbsp;&nbsp;</font>'
	var tW  ='&nbsp;&nbsp;'
	var wB  ='#000000'
	var wBs ='#FFFFFF'
	var wBG ='#AE9D95' //drag
	var wBGs='#EEEEEE' // normal
	var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0'
	var fSO ='scrolling=no noresize'
	var brd =b||0;
	var max =x||false;
	var min =m||false;
	var res =r||false;
	var tsz =20;
	return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)
}

function openone(){
x=openIT('../gallery/show96cb.html?photo=1',500,500,null,null,'gall',0,false,false,false);
}

function opentwo(){
x=openIT('../gallery/show5d98.html?photo=2',500,500,null,null,'gall',0,false,false,false);
}

function openthree(){
x=openIT('../gallery/showa5b3.html?photo=3',500,500,null,null,'gall',0,false,false,false);
}

function openfour(){
x=openIT('../gallery/show8c65.html?photo=4',500,500,null,null,'gall',0,false,false,false);
}

function openfive(){
x=openIT('../gallery/showdc48.html?photo=5',500,500,null,null,'gall',0,false,false,false);
}

function opensix(){
x=openIT('../gallery/show48e6.html?photo=6',500,500,null,null,'gall',0,false,false,false);
}

function openseven(){
x=openIT('../gallery/showb016.html?photo=7',500,500,null,null,'gall',0,false,false,false);
}

function openeight(){
x=openIT('../gallery/showce09.html?photo=8',500,500,null,null,'gall',0,false,false,false);
}

function opennine(){
x=openIT('../gallery/show3e40.html?photo=9',500,500,null,null,'gall',0,false,false,false);
}

function openten(){
x=openIT('../gallery/showb475.html?photo=10',500,500,null,null,'gall',0,false,false,false);
}
function openone1(){
x=openIT('../gallery/show890d.html?photo=1a',500,500,null,null,'gall',0,false,false,false);
}
function opentwo1(){
x=openIT('../gallery/show0a63.html?photo=2a',500,500,null,null,'gall',0,false,false,false);
}


function MM_setTextOfLayer(objName,x,newText) { 
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}


function MM_showHideLayers() { 
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}


function MM_displayStatusMsg(msgStr) { 
  status=msgStr;
  document.MM_returnValue = true;
}


function MM_reloadPage(init) { 
  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 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_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_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_controlShockwave(objStr,x,cmdName,frameNum) { //v3.0
  var obj=top.nav.mynav //MM_findObj(objStr);
  if (obj) eval('obj.'+cmdName+'('+((cmdName=='GotoFrame')?frameNum:'')+')');
}
