/*
 * Author: Christopher Natan 
 */
 

function showFrontList(elm,show,opt)
{   $(".insets div").removeClass("sel"); 
    $(".insets div").removeClass("sel-bottom"); 
	$(".inset_content").hide(); 
    if(opt==1)
	{ $(elm).addClass("sel-bottom");} 
	else
	{ $(elm).addClass("sel");} 
    $("#show"+show).slideDown('slow'); 
}
function showBandwithOption(channel_name,id)
{
    jQuery.blockUI({  
        message: jQuery('#bandwidthBox'),  
        css: {  
            top:  (jQuery(window).height() - 500) /2 + 'px', 
            left: (jQuery(window).width() - 500) /2 + 'px', 
            width: '350px',
            height: '150px', 
            border:'1px solid',
            cursor: 'default'   
        }  
    }); 
    $("#mplayer").hide(); 
    $("#300K").attr("href",'/watch/'+channel_name + "/ind");	
	$("#700K").attr("href",'/watch/'+channel_name + "/est");
    $("#900K").attr("href",'/watch/'+channel_name + "/cest");
 	if(channel_name=='tamil_one')
	{
	   $("#300K").hide(); 
       $("#900K").hide(); 
	}
	
}

function hideBandwithOption()
{ $.unblockUI();}

function setLink(param)
{   
    $("#mms").val(param);
    hideBandwithOption();
    document.bandwidth.submit();
}

