$(document).ready(function(){
      //this initializes all the modals
      $(".modal").dialog({
			bgiframe: true,
			autoOpen: false,
			width:980,
			modal: true,
			height:3000,
			resizeable:false
		  });
		  
		  //this initializes all the "close" buttons on all the modals
		  $(".modal .modalBack a").click(function(){
		     $(".modal").dialog("close");
		  });
		  
		  //this is just for demo purposes on how to pop a modal from a html page
		  $(".openModal1").click(function(){
		     $(".modalinPress").dialog("open");
		  });
		  
		   $(".openModal2").click(function(){
		     $(".modalmusic").dialog("open");
		  });

		  $(".openModal3").click(function(){
		     $(".modalphotos").dialog("open");
		  });

		  $(".openModal4").click(function(){
		     $(".modalcomingEvents").dialog("open");
		  });

		  $(".openModal5").click(function(){
		     $(".modalvideos").dialog("open");
		  });

		  $(".openModal6").click(function(){
		     $(".modaldiscography").dialog("open");
		  });

});

//Instructions for flash
//you know how you create a link in flash? 
//so instead of a url like "http://www.yahoo.com", you put in "javascript:mdlMusic()" and that should pop the modal

function mdlinPress()
{
  $(".modalinPress").dialog("open");
}

function mdlmusic()
{
  $(".modalmusic").dialog("open");
}

function mdlphotos()
{
  $(".modalphotos").dialog("open");
}

function mdlcomingEvents()
{
  $(".modalcomingEvents").dialog("open");
}

function mdlvideos()
{
  $(".modalvideos").dialog("open");
}

function mdldiscography()
{
  $(".modaldiscography").dialog("open");
}








$(document).ready(function(){
      //this initializes all the modals
      $(".modal2").dialog({
			bgiframe: true,
			autoOpen: false,
			width:583,
			modal: true,
			height:3000,
			resizeable:false
		  });
		  
		  //this initializes all the "close" buttons on all the modals
		  $(".modal2 .modalBack a").click(function(){
		     $(".modal2").dialog("close");
		  });
		  
		  //this is just for demo purposes on how to pop a modal from a html page
		  $(".openModal7").click(function(){
		     $(".modalintroModal").dialog("open");
		  });
		  
});

function mdlintroModal()
{
  $(".modalintroModal").dialog("open");
}

