$(document).ready(function() {
  
  	//use js if placeholder is not supported
	if (!Modernizr.input.placeholder){
	  $('input:text').focus(function() {
	       if (!$(this).data('originalValue')) {
	           $(this).data('originalValue', $(this).val());
	       }
	       if ($(this).val() == $(this).data('originalValue')) {
	           $(this).val('');
	       }
	   }).blur(function(){
	       if ($(this).val() == '') {
	           $(this).val($(this).data('originalValue'));
	       }
	   });
	 }
	 
	 
	 $('#test').hide();
	 $('#test').show();
	 
	 //Google Map
	 if ($('#map').length){
		var myLatlng = new google.maps.LatLng(55.883914,-4.21205);
		var myOptions = 
		{
			zoom: 11,
			center: myLatlng,
			mapTypeId: google.maps.MapTypeId.ROADMAP
		}
		
		var map = new google.maps.Map(document.getElementById("map"), myOptions);
		
		var marker = new google.maps.Marker(
		{
			position: myLatlng, 
			map: map,
			title:"RAD IT Solutions"
		});
	}  
  
});
