// JavaScript Document
jQuery(document).ready(function(){
	
	
	//this function attached focus and blur events with input elements
	var addFocusAndBlur = function($input, $val){
		
		$input.focus(function(){
			if (this.value == $val) {this.value = '';}
		});
		
		$input.blur(function(){
			if (this.value == '') {this.value = $val;}
		});
	}

	// example code to attach the events
	//addFocusAndBlur(jQuery('#name'),'Name');
	$(document).ready(function(){
	$('#slider').cycle({
		fx: 'scrollHorz',
		speed: '1000',
		timeout: '5000',
		pager : "#slide-pager",
		prev: "#prev",
		next: "#next"
	});
	$('.lower-content ul li a').lightBox();
		
});
});
