<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs title="MP3 Playlist Player"
directory_title="MP3 Playlist Player"
title_url="http://bit.ly/5b3jm"
description="MP3 Playlist Player with a random music twist!"
author="Gadgeteer"
author_email="Gadgeteer@switched.com"
author_affiliation="None"
author_location="Laughlin, NV, USA"
screenshot="http://hosting.gmodules.com/ig/gadgets/file/107204226890132081824/zPlaylistPlayer-screenshot.png"
thumbnail="http://hosting.gmodules.com/ig/gadgets/file/107204226890132081824/zPlaylistPlayer-thumbnail.png"
height="145"
width="220"
category="lifestyle"
category2="funandgames"
author_aboutme="Hi friends, welcome to my exciting interactive journey in social cyberspace. Now a little about me, I am educated attractive witty spontaneous and adventurous. . . . . for a cat."
author_photo="http://hosting.gmodules.com/ig/gadgets/file/107204226890132081824/Gadgeteer.jpg"
author_link="http://gadgetsdirectory.blogspot.com/"
author_quote="To live is the rarest thing in the world. Most people exist, that is all. Oscar Wilde">
<Require feature="settitle"/>
<Require feature="flash" />
<Require feature="setprefs" />
<Require feature="dynamic-height"/>
<Require feature="views"/>
</ModulePrefs>
<UserPref name="playlist" display_name="Playlist:" datatype="string" default_value="51605485" ></UserPref>
<UserPref name="playlist1" display_name="Playlist 1:" datatype="hidden" default_value="51605485" ></UserPref>
<UserPref name="playlist2" display_name="Playlist 2:" datatype="hidden" default_value="10982798" ></UserPref>
<UserPref name="playlist3" display_name="Playlist 3:" datatype="hidden" default_value="10044319" ></UserPref>
<UserPref name="playlist4" display_name="Playlist 4:" datatype="hidden" default_value="2830040" ></UserPref>
<UserPref name="default" display_name="default" datatype="hidden" default_value="1" ></UserPref>
<Content type="html">
<![CDATA[
<div id="sounds" align="center"></div>
<script type="text/javascript">
var url = "http://www.myplaylist.org/mc/mp3player-othersite.swf?config=http://www.myplaylist.org/mc/config/config_black_noautostart.xml&myheight=125&playlist_url=http://www.myplaylist.org/loadplaylist.php?playlist=__UP_playlist__";
_IG_EmbedFlash(url, "sounds", { swf_version: 6, id: "flashid", width:"100%", height:145 })
_IG_AdjustIFrameHeight();
</script>
]]>
</Content>
<Content type="html" view="home">
<![CDATA[
<div id="sounds" align="center"></div>
<center><A target="_blank" HREF="http://gadgets.xtreemhost.com/Welcome.htm" ><img src="http://www.gotoscience.googlepages.com/FC.gif" alt="Google Friend Connect" border="0" height="18" width="118"></A></center>
<script type="text/javascript">
var prefs = new _IG_Prefs();
var playlist = prefs.getString("playlist");
var saveme = prefs.getString("playlist");
prefs.set("default",saveme);
var url = "http://www.myplaylist.org/mc/mp3player-othersite.swf?config=http://www.myplaylist.org/mc/config/config_black_noautostart.xml&myheight=125&playlist_url=http://www.myplaylist.org/loadplaylist.php?playlist=__UP_playlist__";
_IG_EmbedFlash(url, "sounds", { swf_version: 6, id: "flashid", width:"100%", height:145 })
_IG_AdjustIFrameHeight();
</script>
]]>
</Content>
<Content type="html" view="canvas">
<![CDATA[
<style type="text/css">
#dropmenudiv{
position:absolute;
border:1px solid black;
border-bottom-width: 0;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
}
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
}
#dropmenudiv a:hover{ /*hover background color*/
background-color: yellow;
}
</style>
<script type="text/javascript">
var menu1=new Array()
menu1[0]='<a href="javascript:MYplaylist()">My Playlist<\/a>'
menu1[1]='<a href="javascript:MYfriend1()">Saved Playlist 1<\/a>'
menu1[2]='<a href="javascript:MYfriend2()">Saved Playlist 2<\/a>'
menu1[3]='<a href="javascript:MYfriend3()">Saved Playlist 3<\/a>'
menu1[4]='<a href="javascript:MYfriend4()">Saved Playlist 4<\/a>'
var menu3=new Array()
menu3[0]='<a href="javascript:SaveSlot1()">Save AS Playlist 1<\/a>'
menu3[1]='<a href="javascript:SaveSlot2()">Save AS Playlist 2<\/a>'
menu3[2]='<a href="javascript:SaveSlot3()">Save AS Playlist 3<\/a>'
menu3[3]='<a href="javascript:SaveSlot4()">Save AS Playlist 4<\/a>'
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"><\/div>')
function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
return clickreturnvalue()
}
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
if (hidemenu_onclick=="yes")
document.onclick=hidemenu
</script>
<div style="background-image: url(http://fungadget.googlepages.com/list.jpg);">
<table style="width: 700 text-align: center;" bgcolor="#FFFFFF" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="vertical-align: top; text-align: left;">
<center>
<a href="javascript:randomlist()" title="Click here !" alt="Click here !">Discover</a> |
<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu3, '250px')" onMouseout="delayhidemenu()">Save</a> |
<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '250px')" onMouseout="delayhidemenu()">Load</a> |
<a target="_blank" href="http://www.playlist.com/user" title="Click here !" alt="Click here !">Playlist.com</a>
</center>
<div id="sounds"></div>
<div id="playing"></div>
</td>
<td style="vertical-align: top; text-align: left;">
<table style="width: 350; text-align: left;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="height: 230px; text-align: center; vertical-align: top;">
<a target="_blank" href="http://Playlist.com/">
<img src="http://fungadget.googlepages.com/MP3PlaylistPlayer.JPG" alt="Visit Playlist.com" border="0" ></a>
<br>
<p style="margin-right : 2em; font-family : Arial, Helvetica, sans-serif; font-size : 12px;">
MP3 Playlist Player with a random twist expands your taste in music by discovering new songs. Found a song you like click add+ to add a song to your playlist. Discover; this will display a random mp3 playlist. SAVE and select a slot; this will save the mp3 playlist for later use. LOAD and select an mp3 playlist; this will load a previously saved playlist. Click the edit link on the title bar of the gadget and enter your playlist ID number, it’s found in your embed code loadplaylist.php?playlist=”playlist ID #”. This gadget was not created nor is it endorsed by playlist.com. </p>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<script type="text/javascript">
<!--
google_ad_client = "pub-8110665143901930";
/* Playlist For IGoogle */
google_ad_slot = "8885415601";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<script type="text/javascript">
function player(){
var prefs = new _IG_Prefs();
var playlist = prefs.getString("default");
var url = "http://www.myplaylist.org/mc/mp3player-othersite.swf?config=http://www.myplaylist.org/mc/config/config_black_noautostart.xml&myheight=470&playlist_url=http://www.myplaylist.org/loadplaylist.php?playlist=" + playlist + "";
_IG_EmbedFlash(url, "sounds", { swf_version: 6, id: "flashid", width:"300", height:470 })
}
player()
</script>


<script type="text/javascript">
function MYplaylist(){
var prefs = new _IG_Prefs();
var url11 = prefs.getString("playlist");
prefs.set("default",url11);
var find1list = '<center>| Now Playing My Playlist. |<\/center>';
_gel('playing').innerHTML = find1list;
player();
}
function MYfriend1(){
var prefs = new _IG_Prefs();
var url1 = prefs.getString("playlist1");
prefs.set("default",url1);
var find1list = '<center>| Now Playing SAVED Playlist 1. |<\/center>';
_gel('playing').innerHTML = find1list;
player();
}
function MYfriend2(){
var prefs = new _IG_Prefs();
var url2 = prefs.getString("playlist2");
prefs.set("default",url2);
var find2list = '<center>| Now Playing SAVED Playlist 2. |<\/center>';
_gel('playing').innerHTML = find2list;
player();
}
function MYfriend3(){
var prefs = new _IG_Prefs();
var url3 = prefs.getString("playlist3");
prefs.set("default",url3);
var find3list = '<center>| Now Playing SAVED Playlist 3. |<\/center>';
_gel('playing').innerHTML = find3list;
player();
}
function MYfriend4(){
var prefs = new _IG_Prefs();
var url4 = prefs.getString("playlist4");
prefs.set("default",url4);
var find4list = '<center>| Now Playing SAVED Playlist 4. |<\/center>';
_gel('playing').innerHTML = find4list;
player();
}
function SaveSlot1(){
var prefs = new _IG_Prefs();
var save1 = prefs.getString("default");
prefs.set("playlist1",save1);
var save1list = '<center>| SAVED as Playlist 1. |<\/center>';
_gel('playing').innerHTML = save1list;
player();
}
function SaveSlot2(){
var prefs = new _IG_Prefs();
var save2 = prefs.getString("default");
prefs.set("playlist2",save2);
var save2list = '<center>| SAVED as Playlist 2. |<\/center>';
_gel('playing').innerHTML = save2list;
player();
}
function SaveSlot3(){
var prefs = new _IG_Prefs();
var save3 = prefs.getString("default");
prefs.set("playlist3",save3);
var save3list = '<center>| SAVED as Playlist 3. |<\/center>';
_gel('playing').innerHTML = save3list;
player();
}
function SaveSlot4(){
var prefs = new _IG_Prefs();
var save4 = prefs.getString("default");
prefs.set("playlist4",save4);
var save4list = '<center>| SAVED as Playlist 4. |<\/center>';
_gel('playing').innerHTML = save4list;
player();
}
function randomlist(){
var prefs = new _IG_Prefs();
var findlist=new Array();  
findlist[1]= "37717371";
findlist[2]= "11245456";
findlist[3]= "3435956";
findlist[4]= "15710674";
findlist[5]= "10647200";
findlist[6]= "2822370";
findlist[7]= "3425923";
findlist[8]= "836569";
findlist[9]= "23538714";
findlist[10]= "3208615";
findlist[11]= "46940347";
findlist[12]= "2476742";
findlist[13]= "46955586";
findlist[14]= "23229699";
findlist[15]= "18412213";
findlist[16]= "2000476";
findlist[17]= "4509666";
findlist[18]= "1191621";
findlist[19]= "7252227";
findlist[20]= "51605485";
findlist[21]= "28905989";
findlist[22]= "34246466";
findlist[23]= "20756619";
findlist[24]= "984968";
findlist[25]= "227319";
findlist[26]= "27481022";
findlist[27]= "12230019";
findlist[28]= "48995289";
findlist[29]= "29628169";
findlist[30]= "25518680";
var findalist=new Array();  
findalist[1]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/10982798" title="37717371">dee2626s<\/a>s&nbsp;Playlist. |<\/center>';
findalist[2]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/10044319" title="11245456">amanda91<\/a>s&nbsp;Playlist. |<\/center>';
findalist[3]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2830040" title="3435956">ailujloser<\/a>s&nbsp;Playlist. |<\/center>';
findalist[4]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2113196" title="15710674">CallMeV<\/a>s&nbsp;Playlist. |<\/center>';
findalist[5]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/9565102" title="10647200">09 niggaz<\/a>s&nbsp;Playlist. |<\/center>';
findalist[6]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2206892" title="2822370">iheartshim<\/a>s&nbsp;Playlist. |<\/center>';
findalist[7]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2818587" title="3425923">Jennifer Aka JJ<\/a>s&nbsp;Playlist. |<\/center>';
findalist[8]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/429762" title="836569">biancagordo<\/a>s&nbsp;Playlist. |<\/center>';
findalist[9]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/19020554" title="23538714">generaltso91<\/a>s&nbsp;Playlist. |<\/center>';
findalist[10]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2611764" title="3208615">JayHawk16<\/a>s&nbsp;Playlist. |<\/center>';
findalist[11]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2472990" title="46940347">MR.BEAR90<\/a>s&nbsp;Playlist. |<\/center>';
findalist[12]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/1911510" title="2476742">Juice010<\/a>s&nbsp;Playlist. |<\/center>';
findalist[13]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/26902380" title="46955586">emo_jason<\/a>s&nbsp;Playlist. |<\/center>';
findalist[14]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/18816336" title="23229699">dan_1986<\/a>s&nbsp;Playlist. |<\/center>';
findalist[15]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/15493726" title="18412213">Emo-girl<\/a>s&nbsp;Playlist. |<\/center>';
findalist[16]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/1392767" title="2000476">caitlyn0217<\/a>s&nbsp;Playlist. |<\/center>';
findalist[17]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/2073226" title="4509666">g_lou<\/a>s&nbsp;Playlist. |<\/center>';
findalist[18]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/699024" title="1191621">IrmaSevilla<\/a>s&nbsp;Playlist. |<\/center>';
findalist[19]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/6623815" title="7252227">youmakemyhearthappy<\/a>s&nbsp;Playlist. |<\/center>';
findalist[20]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/38514997" title="51605485">Gadgeteer<\/a>s&nbsp;Playlist. |<\/center>';
findalist[21]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/13025485" title="28905989">LosingSight<\/a>s&nbsp;Playlist. |<\/center>';
findalist[22]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/86223" title="34246466">manda-bee<\/a>s&nbsp;Playlist. |<\/center>';
findalist[23]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/17135720" title="20756619">Chels_619moakler<\/a>s&nbsp;Playlist. |<\/center>';
findalist[24]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/540685" title="984968">kittie_paperdoll4459<\/a>s&nbsp;Playlist. |<\/center>';
findalist[25]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/73941" title="227319">gina marie<\/a>s&nbsp;Playlist. |<\/center>';
findalist[26]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/12575278" title="27481022">Ame lia<\/a>s&nbsp;Playlist. |<\/center>';
findalist[27]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/10802177" title="12230019">Homie Anthony<\/a>s&nbsp;Playlist. |<\/center>';
findalist[28]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/335587" title="48995289">loujayne<\/a>s&nbsp;Playlist. |<\/center>';
findalist[29]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/7715656" title="29628169">xX_tori_Xx<\/a>s&nbsp;Playlist. |<\/center>';
findalist[30]= '<center>| Now Playing&nbsp;<a target="_blank" href="http://www.playlist.com/user/20319338" title="25518680">bam its ashleyy<\/a>s&nbsp;Playlist. |<\/center>';
var ry=Math.floor(Math.random()*findlist.length);
if (ry==0) ry=1
var list = findlist[ry];
var nowplaying = findalist[ry];
_gel('playing').innerHTML = nowplaying;
prefs.set("default",list);
player();
}
</script>
]]>
</Content>
</Module>