/*

 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.graphic / 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 {}


*/


/* background-image-based CSS3 example */

#footer-content ul.graphic, #sidebar ul.graphic {
 list-style-type:none;
 margin: 0px;
 padding: 0px;
}

#footer-content ul.graphic li, #sidebar ul.graphic li {
 width: 280px;
 height: 77px;
 margin: 0px;
 padding: 0px;
 background: transparent url(images/listento.gif) no-repeat;
 _background-image:url(images/listento.gif); /* IE 6 */
}

#footer-content ul.graphic li:hover, #sidebar ul.graphic li:hover {
 width: 280px;
 height: 77px;
 background: transparent url(images/listento.gif) no-repeat 0 -78px;
 _background-image:url(images/listento.gif); /* IE 6 */
}


#footer-content ul.graphic li a, #sidebar ul.graphic li a, ul.graphic li a.sm2_link {
 /* assume all items will be sounds rather than wait for onload etc. in this example.. may differ for your uses. */
 width: 280px;
 height: 77px;
 padding: 40px 0 0 20px;
 display:block;
 font-weight:bold;
 color:#fff;
 /* text-shadow: 0 0 0 #000;  stupid Safari "fat" font rendering tweak */
}

ul.graphic li a.sm2_paused:hover,
ul.graphic li a.sm2_link:hover {
	background-color: transparent;
}

ul.graphic li a.sm2_paused {

}

ul.graphic li a.sm2_paused:hover {
	background-color: transparent;

}

ul.graphic li a.sm2_playing,
ul.graphic li a.sm2_playing:hover {
	background-color: transparent;

}

/* hide button while playing?
ul.graphic li a.sm2_playing {
 background-image:none;
}
*/
