function popUp(page,PWidth,PHeight,id) {
 	eval("winpop"+id+"=window.open('"+page+"','winpop1','toolbar=0,scrollbars=1,location=0,status=0,menubars=0,resizable=0,width="+PWidth	+",height="+PHeight+"')")
	 }
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;
}

/* 
Global "swap" holder 
Use value, null, if no layer initially visible 
*/ 
var currLayerId = "leftContentInner0";
var currLayerId2 = "headerTabs0";

function togLayer(id) 
{ 
if(currLayerId) setDisplay(currLayerId, "none");
if(id)setDisplay(id, "block"); 
currLayerId = id;
}

function togLayer2(id2) 
{ 
if(currLayerId2) setDisplay2(currLayerId2, "none");
if(id2)setDisplay2(id2, "block"); 
currLayerId2 = id2;
}

function setDisplay(id,value) 
{ 
var elm = document.getElementById(id); 
elm.style.display = value; 
}

function setDisplay2(id2,value) 
{ 
var elm2 = document.getElementById(id2); 
elm2.style.display = value; 
}


// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 10000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 2;

var Picture = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.

Picture[1] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/GFB-Advert-CityHotel-2011.jpg'
Picture[2] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/bandattable_withlogo.jpg'
Picture[3] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/handshake.jpg'
Picture[4] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/liameyepop_text.jpg'
Picture[5] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/noelguitar_text.jpg'
Picture[6] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/jaylook_text.jpg'
Picture[7] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/insidesax.jpg'
Picture[8] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/deesmile_text.jpg'
Picture[9] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/colmscream_text.jpg'
Picture[10] = 'http://www.thegoodfellasband.co.uk/assets/images/user_content/Jan2010/bandattitude.jpg'


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
