$(document).ready(function() {
	/* homepage slider parameters */						   
	$('.home-slider').after('<div id="nav">').cycle({ 
	fx:     'fade', 
	speed:  5000, 
	timeout: 9000, 
	pager:  '#nav',
	pause: 1
	});

	/* entire block clickable for latest news */						   
	$(".ln-list li").click(function(){
    	window.location=$(this).find("a").attr("href");
		return false;
	});

	$(".ln-list li").mouseover(function(){
		$(this).addClass('ln-active');
		$(this).find("a").attr("class", "ln-link");
	 
    }).mouseout(function(){
	    $(this).removeClass('ln-active');
		$(this).find("a").attr("class", "");
    });
	
	
	/* entire block clickable for header contact box(present in all interior pages) */	
	$(".header-contact").click(function(){
    	window.location=$(this).find("a").attr("href");
		return false;
	});	
	
});


$(document).ready(function() {
  $("#player").jfe ({ ver:"10,0,0", display:"both" });
});

jQuery(document).ready(function(){
    jQuery(".megamenu").megamenu({ 'enable_js_shadow':false, 'show_method':'slideDown', 'hide_method': 'slideUp' });
	jQuery(".megamenu_top").megamenu({ 'enable_js_shadow':false, 'show_method':'slideDown', 'hide_method': 'slideUp' });
// 'show_method' can take 'fadeIn', 'slideDown' and 'simple' as values only. Default: 'slideDown'
// 'hide_method' can take 'fadeOut', 'slideUp' and 'simple' as values only. Default: 'slideUp'
// 'enable_js_shadow':true, 'shadow_size':5 


});


jQuery(document).ready(function() {
  jQuery(".contentbody").hide();
  //toggle the componenet with class msg_body
  jQuery(".contentheading").click(function()
  {
    jQuery(this).next(".contentbody").slideToggle(500);
  });
});

$('#capabilitieshome').cycle({ 
    fx: 'scrollDown' 
	// fx: 'fadeZoom'
});
