window.onload = function()
  {				
    settings = {
    tl: { radius: 10 },
    tr: { radius: 10 },
    bl: { radius: 0 },
    br: { radius: 0 },
    antiAlias: true,
    autoPad: false
  }
 
  var divObj = document.getElementById("cornered");
 
  var cornersObj = new curvyCorners(settings, "cornered");
  cornersObj.applyCornersToAll();
}

$(document).ready(function() {
    $(".sub-menu .list-icon").click(function() {
			$(this).next().next().toggle();
			$(this).toggleClass("expanded");
		});
		
		$(".sub-menu li.active ul").show();
		$(".sub-menu li.active .list-icon").addClass("expanded");
		
		$(".listOfTours tr:even").addClass("even");
		
		$('.news').crawlLine({
				speed:2,
				crawElement:'div',
				textElement:'p',
				hoverClass:'viewText'
		});
});
