// Scritps below

// Colorbox call for Google maps and gallery page
// Slidng caption for features on home page
// Text resize


$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$(".feature_link").colorbox({width:"830", height:"530", scrolling:false, iframe:true});
				$("a[rel='gallery']").colorbox({slideshow:true, slideshowSpeed:4500});
				//Example of preserving a JavaScript event for inline calls.
				$("#click").click(function(){ 
					$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
					return false;
				});

//Caption Sliding (Partially Hidden to Visible)
				$('.boxgrid.caption').hover(function(){
					$(".cover", this).stop().animate({top:'25px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'65px'},{queue:false,duration:160});
				});
				
			});

			function fsize(size,unit,id){
			  var vfontsize = document.getElementById(id);
			  if(vfontsize){
			   vfontsize.style.fontSize = size + unit;
			  }
			}
			
			
