$(document).ready(function(){

	setTimeout(function(){jQuery('.tagline1 .tagline2 .tagline3').fadeTo(600, 0.7); }, 0);

    jQuery(".fNav1").click(function(){
     jQuery("#feature1").fadeIn(500); //fade in the feature image
	 jQuery("#feature2, #feature3").hide(); //hide all other divs

	 num=1000
	 return false
    })

	jQuery(".fNav2").click(function(){
     jQuery("#feature2").fadeIn(500); //fade in the feature image
	 jQuery("#feature1, #feature3").hide(); //hide all other divs

	 num=1000
	 return false
    })

	jQuery(".fNav3").click(function(){
     jQuery("#feature3").fadeIn(500); //fade in the feature image
	 jQuery("#feature1, #feature2").hide(); //hide all other divs

	 num=1000
	 return false
    })

	
});


var num = 1;

function start_show() { //this function is to start the function, put the on the body tag
	// Time is in seconds X 1000
	var abc = setInterval("slideshow()", 6000); //7000
}

function slideshow() {
num++;
	if (num==1) {
		
	jQuery("#feature1").fadeIn(700); //fade in the feature image
	jQuery("#feature2, #feature3").hide(); //hide all other divs
			
	}else if (num==2){

	 jQuery("#feature2").fadeIn(700); //fade in the feature image
	 jQuery("#feature1, #feature3").hide(); //hide all other divs
	
	}else if (num==3){

	 jQuery("#feature3").fadeIn(700); //fade in the feature image
	 jQuery("#feature1, #feature2").hide(); //hide all other divs

	num=0;
	}

}
