/**
 * User functions' set
 *
 * initLoad ()
 * clickVideo (ob_li, st_type)
 * clickCategory (ob_li)
 * clickPlaylist (ob_li)
 * clickChannel (ob_li)
 * clickAddComment (ob_li)
 * streamInfo (ob)
 *
 * @version 1.0
 * @author Max Kiusso
 */

/**
 * initLoad
 */
function initLoad ()
{
	in_channels = $ ("#div_menu .ul_channel .li_channel").length;
	$ ("#div_menu .ul_channel>li").each (function (i) {
		if (i < in_channels - 1) {
			$ (this).show ();
		}
	});
	var obj = $( "webtv" , window._wtv.xml );
	
	openVideo ({
		  url: $( "videoserver" , obj ).text()
		, file: $( "#currentvideo div.videoid" ).text()
		, live: false
		, speed: $( "#currentvideo div.bitrate" ).text()
		, skin: "../" + videoconfig.skin || ''
		, slidesinterface: false
		, pathDir: "../"
		, title: $( "#currentvideo div.name" ).text()
	});
}

