function hideIntro() {
  $("#indexflash").hide();
  setTimeout(function() {
    $("#indexflash").remove();
    $("#homeindex").fadeIn(500);
    $("#subtext").fadeIn(500);
  },'400');
};
// end intro

// show product one
$(document).ready(function(){
	$(".productselect1").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");
		// end hiding

		//start showing
		$("span#arrowleft1").fadeIn("fast");
		$("span#arrowright1").fadeIn("fast");
		$("div.prod1text").fadeIn(1000);
		$("#product1").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});


	// show product two
	$(".productselect2").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");

		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");
		// end hiding
			
		//start showing
		$("span#arrowleft2").fadeIn("fast");
		$("span#arrowright2").fadeIn("fast");
		$("div.prod2text").fadeIn(1000);
		$("#product2").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});


	// show product three
	$(".productselect3").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");

		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");
		// end hiding
			
		//start showing
		$("span#arrowleft3").fadeIn("fast");
		$("span#arrowright3").fadeIn("fast");
		$("div.prod3text").fadeIn(1000);
		$("#product3").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});


	// show product four
	$(".productselect4").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");

		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");
		// end hiding	
			
		//start showing
		$("span#arrowleft4").fadeIn("fast");
		$("span#arrowright4").fadeIn("fast");
		$("div.prod4text").fadeIn(1000);
		$("#product4").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});

	// show product five
	$(".productselect5").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");

		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");
		// end hiding	
			
		//start showing
		$("span#arrowleft5").fadeIn("fast");
		$("span#arrowright5").fadeIn("fast");
		$("div.prod5text").fadeIn(1000);
		$("#product5").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});


	// show product A
	$(".productselecta").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");
		// end hiding

		//start showing
		$("span#arrowlefta").fadeIn("fast");
		$("span#arrowrighta").fadeIn("fast");
		$("div.prodatext").fadeIn(1000);
		$("#producta").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});


	// show product B
	$(".productselectb").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");

		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productc").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodctext").hide();
		$("span#arrowleftc").fadeOut("fast");
		$("span#arrowrightc").fadeOut("fast");
		// end hiding
			
		//start showing
		$("span#arrowleftb").fadeIn("fast");
		$("span#arrowrightb").fadeIn("fast");
		$("div.prodbtext").fadeIn(1000);
		$("#productb").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});


// show product C
	$(".productselectc").click(function () {
		$("#homeindex").fadeOut("fast");

		// begin hiding
		$("#product1").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod1text").hide();
		$("span#arrowleft1").fadeOut("fast");
		$("span#arrowright1").fadeOut("fast");

		$("#product2").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod2text").hide();
		$("span#arrowleft2").fadeOut("fast");
		$("span#arrowright2").fadeOut("fast");

		$("#product3").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod3text").hide();
		$("span#arrowleft3").fadeOut("fast");
		$("span#arrowright3").fadeOut("fast");

		$("#product4").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod4text").hide();
		$("span#arrowleft4").fadeOut("fast");
		$("span#arrowright4").fadeOut("fast");

		$("#product5").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prod5text").hide();
		$("span#arrowleft5").fadeOut("fast");
		$("span#arrowright5").fadeOut("fast");

		$("#producta").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodatext").hide();
		$("span#arrowlefta").fadeOut("fast");
		$("span#arrowrighta").fadeOut("fast");

		$("#productb").hide()
		 .animate( { marginLeft: "0", opacity: "0.0" }, 1, "swing" );
		$("div.prodbtext").hide();
		$("span#arrowleftb").fadeOut("fast");
		$("span#arrowrightb").fadeOut("fast");
		// end hiding
			
		//start showing
		$("span#arrowleftc").fadeIn("fast");
		$("span#arrowrightc").fadeIn("fast");
		$("div.prodctext").fadeIn(1000);
		$("#productc").show()
		 .css("opacity", "0.0")
		 .animate( { marginLeft: "-450px", opacity: "1.0" }, 700, "swing" );
	});
});





// © 1/2009  //

