var _list='Ultrasonnerie:556978:53|I Wanna Love You (Explici...:638161:53|Come back to me:636277:53|Put Your Hands Up For Det...:638186:53|Fous Ta Cagoule - (Refrai...:620279:53|My love                  ...:611523:53|Femme de couleur - remix:606851:53|Long way 2 go:577489:53|Love don?t let me go (Wal...:572308:53|Smack That:615120:53|'; var _pos='100:400'; var playList = null; var player = null; var cookie = null; var browser = new Browser(); var drag = null; var host='feujradio.magikmobile.com'; function Initialize() { if (browser.Compatible == 1 ) { player = new Player(); player.LoadPos(); playList = new PlayList(10); PlayListShow(); DragAndDrop('MagikPlayListMain'); window.onscroll=playermove; window.onresize=playermove; moveit(); } } window.onload=Initialize; var scroll=true; var postop=0; var posleft=0; function playermove() { if ( scroll ) { idTimer=setTimeout("moveit()",50); } } function moveit() { elt=document.getElementById("MagikPlayListMain"); w=document.body.scrollLeft*1+player.OffsetLeft; h=document.body.scrollTop*1+player.OffsetTop; elt.style.left=w; elt.style.top=h; scroll=true; } // CLASS BROWSER function Browser() { this.OS; this.Browser; this.Version; this.Compatible=0; var detect = navigator.userAgent.toLowerCase(); var place; var thestring; if (checkIt('konqueror')){this.Browser = "Konqueror";this.OS = "Linux";} else if (checkIt('msie')) {this.Browser = "Internet Explorer";this.Compatible=1;} else if (checkIt('safari')) this.Browser = "Safari" else if (checkIt('omniweb')) this.Browser = "OmniWeb" else if (checkIt('opera')) this.Browser = "Opera" else if (checkIt('webtv')) this.Browser = "WebTV"; else if (checkIt('icab')) this.Browser = "iCab" else if (!checkIt('compatible')) { this.Browser = "Netscape Navigator" this.Version = detect.charAt(8); this.Compatible=1; } else this.Browser = "An unknown browser"; if (!this.Version) this.Version = detect.charAt(place + thestring.length); if (!this.OS) { if (checkIt('linux')) this.OS = "Linux"; else if (checkIt('x11')) this.OS = "Unix"; else if (checkIt('mac')) this.OS = "Mac" else if (checkIt('win')) this.OS = "Windows" else this.OS = "an unknown operating system"; } function checkIt(string) { place = detect.indexOf(string) + 1; thestring = string; return place; } } // CLASS PRODUCT function Product(title,id,typeId) { this.Id=id; this.TypeId=typeId; this.Title=title; } // CLASS PLAYLIST function PlayList(max) { this.Count=0; this.Size=max; this.List = new Array(max); Deserialize(this); this.Add = function(obj) { this.List[this.Count]=obj; this.Count++; Serialize(this); } this.Remove = function(id) { for(i=0;i 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie=nom+"="+escape(valeur)+ ((expires==null) ? "" : ("; expires="+expires.toGMTString()))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain))+ ((secure==true) ? "; secure" : ""); } this.Read = function(nom) { var arg=nom+"="; var alen=arg.length; var clen=document.cookie.length; var i=0; while (i