text: try{jQuery(window).load(function(){var directionsDisplay;directionsService=new google.maps.DirectionsService();var map;});jQuery(window).load(function(){initialize();});function initialize(){var latlng=new google.maps.LatLng(8.5441691,76.9402611);var rendererOptions={draggable:true};directionsDisplay=new google.maps.DirectionsRenderer(rendererOptions);var myOptions={zoom:17,center:latlng,mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControl:true};var map=new google.maps.Map(document.getElementById("googleMap"),myOptions);directionsDisplay.setMap(map);directionsDisplay.setPanel(document.getElementById("directionsPanel"));var marker=new google.maps.Marker({position:latlng,map:map,title:"B'hub, Thiruvananthapuram"});}
  function calcRoute(){var travelMode=jQuery('input[name="travelMode"]:checked').val();var start=jQuery("#routeStart").val();var via=jQuery("#routeVia").val();if(travelMode=='TRANSIT'){via='';}
  var end="8.5441691,76.9402611";var waypoints=[];if(via!=''){waypoints.push({location:via,stopover:true});}
  var request={origin:start,destination:end,waypoints:waypoints,unitSystem:google.maps.UnitSystem.IMPERIAL,travelMode:google.maps.DirectionsTravelMode[travelMode]};directionsService.route(request,function(response,status){if(status==google.maps.DirectionsStatus.OK){jQuery('#directionsPanel').empty();directionsDisplay.setDirections(response);}else{if(status=='ZERO_RESULTS'){alert('No route could be found between the origin and destination.');}else if(status=='UNKNOWN_ERROR'){alert('A directions request could not be processed due to a server error. The request may succeed if you try again.');}else if(status=='REQUEST_DENIED'){alert('This webpage is not allowed to use the directions service.');}else if(status=='OVER_QUERY_LIMIT'){alert('The webpage has gone over the requests limit in too short a period of time.');}else if(status=='NOT_FOUND'){alert('At least one of the origin, destination, or waypoints could not be geocoded.');}else if(status=='INVALID_REQUEST'){alert('The DirectionsRequest provided was invalid.');}else{alert("There was an unknown error in your request. Requeststatus: nn"+status);}}});}}catch(e){console.error('Error in file:/templates/ibs_hackathon/js/directions.js; Error:'+e.message);};
  try{jQuery(function($){$(document).ready(function(){$('.radio.btn-group label').addClass('btn btn-default');$(".btn-group label:not(.active)").click(function()
  {var label=$(this);var input=$('#'+label.attr('for'));if(!input.prop('checked')){label.closest('.btn-group').find("label").removeClass('active btn-success btn-danger btn-primary');if(input.val()==''){label.addClass('active btn-primary');}else if(input.val()==0){label.addClass('active btn-danger');}else{label.addClass('active btn-success');}
  input.prop('checked',true);}});$(".btn-group input[checked=checked]").each(function()
  {if($(this).val()==''){$("label[for="+$(this).attr('id')+"]").addClass('active btn-primary');}else if($(this).val()==0){$("label[for="+$(this).attr('id')+"]").addClass('active btn-danger');}else{$("label[for="+$(this).attr('id')+"]").addClass('active btn-success');}});})});if(typeof jQuery!='undefined'&&typeof MooTools!='undefined'){jQuery(function($){$(document).ready(function(){$('.carousel').each(function(index,element){$(this)[index].slide=null;});});window.addEvent('domready',function(){Element.prototype.hide=function(){};});});}}catch(e){console.error('Error in file:/templates/ibs_hackathon/js/frontend-edit.js; Error:'+e.message);};
  ;