var is_IE = false;var baseUrl = 'http://www.tuneset.com/';var static_url = 'http://static.tuneset.com/';var tmp_guid = '4c51761639530';var widgetWidth = 400.;var widget_debug = false;var loadedMediaItems4aae0648b6ff9 = [{"name":"Brotherhood%20of%20Broken%20Hearts","img":"-1","collaborative":"","is_editable":"0","is_private":"0","guid":"4aae0648b6ff9","nr":"354","create_date":"2009-09-14 11:03:34"},{"color":"#397274","url":"http%3A//www.bobh.se/music/Unsound_Sister.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Unsound%20Sister","id":"9837","guid":"","playlist_id":"354","overColor":"#003638","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/Unsound_Sister.mp3"},{"color":"#fa3798","url":"http%3A//www.bobh.se/music/wrong%20laundry-192.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Wrong%20Laundry","id":"9838","guid":"","playlist_id":"354","overColor":"#be005c","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/wrong laundry-192.mp3"},{"color":"#1a7949","url":"http%3A//www.bobh.se/music/mine%20or%20others-192.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Mine%20Or%20Others","id":"9839","guid":"","playlist_id":"354","overColor":"#003d0d","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/mine or others-192.mp3"},{"color":"#f51c2e","url":"http%3A//www.bobh.se/music/this%20summer-192.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20This%20Summer","id":"9840","guid":"","playlist_id":"354","overColor":"#b90000","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/this summer-192.mp3"},{"color":"#c58469","url":"http%3A//www.bobh.se/music/ssds-192.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Sierra%20Sudden%20Death%20Syndrome","id":"9841","guid":"","playlist_id":"354","overColor":"#89482d","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/ssds-192.mp3"},{"color":"#79a4f0","url":"http%3A//www.bobh.se/music/Brotherhood%2520of%2520Broken%2520Hearts.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Brotherhood%20of%20Broken%20Hearts","id":"9842","guid":"","playlist_id":"354","overColor":"#3d68b4","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/Brotherhood%20of%20Broken%20Hearts.mp3"},{"color":"#46fd72","url":"http%3A//www.bobh.se/music/Closer%2520Closer.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Closer%20closer","id":"9843","guid":"","playlist_id":"354","overColor":"#0ac136","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/Closer%20Closer.mp3"},{"color":"#12ba87","url":"http%3A//www.bobh.se/music/www%2520friend.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20www%20friend","id":"9844","guid":"","playlist_id":"354","overColor":"#007e4b","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/www%20friend.mp3"},{"color":"#310d77","url":"http%3A//www.bobh.se/music/Schoolyard%2520mastermind.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Schoolyard%20mastermind","id":"9845","guid":"","playlist_id":"354","overColor":"#00003b","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/Schoolyard%20mastermind.mp3"},{"color":"#f258e1","url":"http%3A//www.bobh.se/music/Parking%2520lot.mp3","type":"mp3","title":"Brotherhood%20of%20Broken%20Hearts%20-%20Parking%20lot","id":"9846","guid":"","playlist_id":"354","overColor":"#b61ca5","source_url":"http://www.bobh.se/","extern_url":"http://www.bobh.se/music/Parking%20lot.mp3"}];

ExternalScript = function(scriptUrl, scriptOnloadFunctionName)
 {
    this.queue = [];
	this.counter = 0;
	this.scriptOnloadFunctionName = '';
 }
 ExternalScript.prototype.addToQueue = function(scriptUrl)
 {
    var scritTag = document.createElement("script");
    scritTag.type = "text/javascript";
    scritTag.src = scriptUrl + "?v=2";
    var self = this;
    scritTag.onload = function()
    {
       self.queueLoaded.apply(self);
    };
	scritTag.onreadystatechange = function () {
        if (scritTag.readyState == 'loaded') {
            self.queueLoaded.apply(self);
        }
    }

	
    this.queue.push(scritTag);
 }
 
 ExternalScript.prototype.loadQueue = function(scriptOnloadFunctionName)
 {
    this.counter = 0;
    this.scriptOnloadFunctionName = scriptOnloadFunctionName;
    for (var i = 0; i < this.queue.length; i++)
    {
       document.getElementsByTagName("head")[0].appendChild(this.queue[i]);
    }
 }
 
 ExternalScript.prototype.queueLoaded = function()
 {
    this.counter++;
	var self = this;
	
	
    if (this.counter == this.queue.length)
    { 
	   var isIE6 = navigator.userAgent.match(/MSIE 6\.0/gi) != null;
		
		if (!isIE6) 
		{
			eval(this.scriptOnloadFunctionName);
			this.queue = [];
			this.scriptOnloadFunctionName = "";
		}
		else
		{
			setTimeout(
				function()
				{
					eval(self.scriptOnloadFunctionName);
					self.queue = [];
					self.scriptOnloadFunctionName = "";
				}, 100);
		}
	   
    }
    
 }
 var widgetLoadQue = null;
 function startLoadWidget(guid){
 	if(widgetLoadQue == null){
		widgetLoadQue = new Array();
	}
	widgetLoadQue.push(guid);
	if(widgetLoadQue.length == 1)
 	{
		var es = new ExternalScript();  
		es.addToQueue(baseUrl +  "js/widget-init.js");
	    es.loadQueue("widgetStart()");
	}
	
	
 }


 if (window.attachEvent) {window.attachEvent('onload', function(){startLoadWidget('4aae0648b6ff9')});} else if (window.addEventListener) {window.addEventListener('load', function(){startLoadWidget('4aae0648b6ff9')}, false);}4