/*

 SoundManager 2: In-page MP3 player example
 ------------------------------------------

 Clicks on links to MP3s are intercepted via JS, calls are
 made to SoundManager to load/play sounds. CSS classes are
 appended to the link, which are used to highlight the
 current play state and so on.

 Class names are applied in addition to "sm2_link" base.

 Default:

 sm2_link

 Additional states:

 sm2_playing
 sm2_paused

 eg.

 <!-- default -->
 <a href="some.mp3" class="sm2_link">some.mp3</a>

 <!-- playing -->
 <a href="some.mp3" class="sm2_link sm2_playing">some.mp3</a>


 Note you don't require ul.player / ul.flat etc. for your use
 if only using one style on a page. You can just use .sm2_link{}
 and so on, but isolate the CSS you want.

 Side note: Would do multiple class definitions eg.

 a.sm2_default.sm2_playing{}

 .. except IE 6 has a parsing bug which may break behaviour,
 applying sm2_playing {} even when the class is set to sm2_default.


 If you want to make your own UI from scratch, here is the base:

 Default + hover state, "click to play":

 a.sm2_link {}
 a.sm2_link:hover {}

 Playing + hover state, "click to pause":

 a.sm2_playing {}
 a.sm2_playing:hover {}

 Paused + hover state, "click to resume":

 a.sm2_paused {}
 a.sm2_paused:hover {}


*/



body #sm2-container object,
body #sm2-container embed {
 /*
  flashblock handling: hide SWF off-screen by default (until blocked timeout case.)
  include body prefix to ensure override of flashblock.css.
 */

 left:-9999em;
 top:-9999em;
}

/* flat CSS example */

.sm2_link {
 /* default state: "a playable link" */
background:url(../images/play_norm.gif) no-repeat 0px 50%;
height:12px;
width:auto;
background-position:right;
padding-right:15px;

 
}

.sm2_link:hover {
 /* default (inactive) hover state */
  background:url(../images/play_over.gif) no-repeat 0px 50%;
  height:12px;
width:auto;
background-position:right;
padding-right:15px;
}


.sm2_playing {
 /* "now playing" */
  background:url(../images/pause_norm.gif) no-repeat 0px 50%;
 height:12px;
width:auto;
background-position:right;
padding-right:15px;
}

.sm2_playing:hover {
 /* "clicking will now pause" */
 background:url(../images/pause_over.gif) no-repeat 0px 50%;
  height:12px;
width:auto;
background-position:right;
padding-right:15px;
}

.sm2_paused {
 /* "paused state" */
  background:url(../images/play_norm.gif) no-repeat 0px 50%;
 height:12px;
width:auto;
background-position:right;
padding-right:15px;
}

.sm2_paused:hover {
 /* "clicking will resume" */
 background:url(../images/play_over.gif) no-repeat 0px 50%;
  height:12px;
width:auto;
background-position:right;
padding-right:15px;
}