/***********************************
 misc funtions
***********************************/
 function newWindow(mypage,myname,w,h,features,experience) {
  if(screen.width){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  }
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}




function SubscribeNews()
{
    var sWindow = window.open("subscription_newsletter/subscribe_newsletter.html",'_subscribe','width=370,height=480,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=yes,toolbar=no,status=yes,location=no,menubar=no');
    sWindow.focus();
}

function UnsubscribeNews()
{
    var sWindow = window.open("subscription_newsletter/unsubscribe_newsletter.html",'_subscribe','width=370,height=480,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=yes,toolbar=no,status=yes,location=no,menubar=no');
    sWindow.focus();
}

function SubscribeDevotional()
{
    var sWindow = window.open("subscription_devotional/subscribe_devotional.html",'_subscribe','width=370,height=480,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=yes,toolbar=no,status=yes,location=no,menubar=no');
    sWindow.focus();
}

function UnsubscribeDevotional()
{
    var sWindow = window.open("subscription_devotional/unsubscribe_devotional.html",'_subscribe','width=370,height=480,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=yes,toolbar=no,status=yes,location=no,menubar=no');
    sWindow.focus();
}


function OpenMore(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_more","width=400,height=500,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}


function productInfo(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_product","width=400,height=300,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}

function OpenDebut(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_debut","width=650,height=450,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}
function OpenCartography(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_cartography","width=650,height=450,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}
function OpenChristmas(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_christmas","width=650,height=450,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}
function OpenEleven(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_eleven","width=650,height=450,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}

function OpenPlayer(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_player","width=300,height=150,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}

function OpenDiscussionForum(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_discussion","width=725,height=650,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=yes,status=yes,location=yes,menubar=yes");
    sWindow.focus();
}




function OpenConcertScrapbooks(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_concert","width=400,height=500,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}


function OpenPublicityPhotos(moreUrl) 
{
    var sWindow = window.open(moreUrl,"_publicity","width=400,height=500,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}


function ShowPublicGigInfo(gigInfoUrl) 
{
    var sWindow = window.open(gigInfoUrl,"_gig","width=400,height=500,scrollbars=yes,left=50,top=50,screenx=50,screeny=50,resizable=no,toolbar=no,status=yes,location=no,menubar=no");
    sWindow.focus();
}
