Ext.namespace('myPanels');


myPanels.app = function(){

	myPanels.player = function(){
		
		myPanels.playerpanel = new Ext.Panel({
		
			html:'<object type="application/x-shockwave-flash" width="200" height="170"	data="http://www.spacetemple.com/test-project/xspf_player.swf? playlist_url=http://www.spacetemple.com/test-project/playlist.xspf"><param name="movie" value="http://www.spacetemple.com/test-project/xspf_player.swf?playlist_url=http://www.spacetemple.com/test-project/playlist.xspf" /></object>',
		    width: 202,
	        height: 200,
	        title: 'Playlist',
	        renderTo: 'playerpanel'
		});
		
	}
	
/*	myPanels.youtube = function(){
		
		myPanels.youtubepanel = new Ext.Panel({
		
//			html:
		    width: 150,
	        height: 600,
	        title: 'YouTube',
	        renderTo: 'youtubepanel'
		});
		
	}
*/
	myPanels.blogpost = function(){
		
		myPanels.blogpostpanel = new Ext.Panel({
		
			html:"<h4 align='center'>blog post</h4>",
		    width: 705,
	        height: 444,
	        title: 'Original Post',
	        renderTo: 'blogpostpanel'
		});
		
	}
	
	
	
return {

		init: function() {
			
			myPanels.player();
//			myPanels.youtube();
			myPanels.blogpost();
		}
	
	}

}();

Ext.onReady(myPanels.app.init, myPanels.app, true);

