$(document).ready(function() { 
$('#panel2,#panel3,#panel4,#panel5,#panel6').hide();$('#scrollDISPLAY2,#scrollDISPLAY3,#scrollDISPLAY4,#scrollDISPLAY5,#scrollDISPLAY6').hide();   //$("#panel1").hide();//$("#scrollDISPLAY1").hide();

$(".toggle").click(function () { // Toggle Menu
 homeScroll.scrollTo(0, 0, 3200)  // homeScroll.scrollTo(0, 500, 1000, true)    Defined .. (X, Y, TIME, T/F)
//$(function() {  setInterval(update, 3000); });  function update() {  homeScroll.scrollTo(0000, 0, 2200);  }  // AUTO SCROLLING AFTER DELAY
if (($(this).attr("rel") == 1)) {$("#scrollMENU1").removeClass().addClass("toggle selected");$('#scrollMENU2,#scrollMENU3,#scrollMENU4,#scrollMENU5,#scrollMENU6').removeClass().addClass("toggle");return false; }
if (($(this).attr("rel") == 2)) {$("#scrollMENU2").removeClass().addClass("toggle selected");$('#scrollMENU1,#scrollMENU3,#scrollMENU4,#scrollMENU5,#scrollMENU6').removeClass().addClass("toggle");return false; }
if (($(this).attr("rel") == 3)) {$("#scrollMENU3").removeClass().addClass("toggle selected");$('#scrollMENU1,#scrollMENU2,#scrollMENU4,#scrollMENU5,#scrollMENU6').removeClass().addClass("toggle");return false; }
if (($(this).attr("rel") == 4)) {$("#scrollMENU4").removeClass().addClass("toggle selected");$('#scrollMENU1,#scrollMENU2,#scrollMENU3,#scrollMENU5,#scrollMENU6').removeClass().addClass("toggle");return false; }
if (($(this).attr("rel") == 5)) {$("#scrollMENU5").removeClass().addClass("toggle selected");$('#scrollMENU1,#scrollMENU2,#scrollMENU3,#scrollMENU4,#scrollMENU6').removeClass().addClass("toggle");return false; }
if (($(this).attr("rel") == 6)) {$("#scrollMENU6").removeClass().addClass("toggle selected");$('#scrollMENU1,#scrollMENU2,#scrollMENU3,#scrollMENU4,#scrollMENU5').removeClass().addClass("toggle");return false; }
}); // End Click Function

$(".toggle").click(function () { // Toggle Display
if (($(this).attr("rel") == 1)) {$("#scrollDISPLAY1").fadeIn(1500);$('#scrollDISPLAY2,#scrollDISPLAY3,#scrollDISPLAY4,#scrollDISPLAY5,#scrollDISPLAY6').hide();return false; }
if (($(this).attr("rel") == 2)) {$("#scrollDISPLAY2").fadeIn(1500);$('#scrollDISPLAY1,#scrollDISPLAY3,#scrollDISPLAY4,#scrollDISPLAY5,#scrollDISPLAY6').hide();return false; }
if (($(this).attr("rel") == 3)) {$("#scrollDISPLAY3").fadeIn(1500);$('#scrollDISPLAY1,#scrollDISPLAY2,#scrollDISPLAY4,#scrollDISPLAY5,#scrollDISPLAY6').hide();return false; }
if (($(this).attr("rel") == 4)) {$("#scrollDISPLAY4").fadeIn(1500);$('#scrollDISPLAY1,#scrollDISPLAY2,#scrollDISPLAY3,#scrollDISPLAY5,#scrollDISPLAY6').hide();return false; }
if (($(this).attr("rel") == 5)) {$("#scrollDISPLAY5").fadeIn(1500);$('#scrollDISPLAY1,#scrollDISPLAY2,#scrollDISPLAY3,#scrollDISPLAY4,#scrollDISPLAY6').hide();return false; }
if (($(this).attr("rel") == 6)) {$("#scrollDISPLAY6").fadeIn(1500);$('#scrollDISPLAY1,#scrollDISPLAY2,#scrollDISPLAY3,#scrollDISPLAY4,#scrollDISPLAY5').hide();return false; }
}); // End Click Function

$(".toggle").mousedown(function () { // Toggle Images
if (($(this).attr("rel") == 1)) {$("#panel1").fadeIn(400);$('#panel2,#panel3,#panel4,#panel5,#panel6').hide();return false; }
if (($(this).attr("rel") == 2)) {$("#panel2").fadeIn(400);$('#panel1,#panel3,#panel4,#panel5,#panel6').hide();return false; }
if (($(this).attr("rel") == 3)) {$("#panel3").fadeIn(400);$('#panel1,#panel2,#panel4,#panel5,#panel6').hide();return false; }

if (($(this).attr("rel") == 4)) {$("#panel4").fadeIn(400);$('#panel1,#panel2,#panel3,#panel5,#panel6').hide();return false; }
if (($(this).attr("rel") == 5)) {$("#panel5").fadeIn(400);$('#panel1,#panel2,#panel3,#panel4,#panel6').hide();return false; }
if (($(this).attr("rel") == 6)) {$("#panel6").fadeIn(400);$('#panel1,#panel2,#panel3,#panel4,#panel5').hide();return false; }

$('#scrollDISPLAY1,#scrollDISPLAY2,#scrollDISPLAY3,#scrollDISPLAY4,#scrollDISPLAY5,#scrollDISPLAY6').hide();

}); // End Click Function


}); // End Document Ready




/*			'http://www.copycatsmedia.com/images/product-images/DIGI-01.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-02.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-03.jpg',
			'http://www.copycatsmedia.com/images/product-images/DIGI-04.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-05.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-06.jpg',
			'http://www.copycatsmedia.com/images/product-images/DIGI-07.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-08.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-09.jpg',		
			'http://www.copycatsmedia.com/images/product-images/DIGI-11.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-12.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-13.jpg',
			'http://www.copycatsmedia.com/images/product-images/DIGI-14.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-15.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-16.jpg',
			'http://www.copycatsmedia.com/images/product-images/DIGI-17.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-18.jpg','http://www.copycatsmedia.com/images/product-images/DIGI-19.jpg'*/



	
	
$(document).ready(function() { 
$('.swipe').fadeIn(300).delay(10000).fadeOut(1000);

$(".toggle").click(function () {
//homeScroll.scrollTo(0, 0, 1500)  // homeScroll.scrollTo(0, 500, 1000, true)    Defined .. (X, Y, TIME, T/F)
//$(function() {  setInterval(update, 4000); });  function update() {  homeScroll.scrollTo(-3000, 0, 8000);  }  // AUTO SCROLLING AFTER DELAY
}); });// End Click Function | End Document Ready


/*	if(typeof TinyMCE == "undefined") {$.getScript('https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.15/jquery-ui.min.js', function() {TinyMCE.init();}); }				
$(document).ready(function() { function isiPad(){ return (navigator.platform.indexOf("iPad") != -1); }if (isiPad()) {
if(typeof TinyMCE == "undefined") {$.getScript('http://www.copycatsmedia.com/scripts/iscroll-JQ.js', function() {TinyMCE.init();}); }
} });*/
			

  
  
  
/*if (($(this).attr("rel") == 1)) {$("#scrollMENU1").removeClass().addClass("toggle selected");} else { $("#scrollMENU1").removeClass().addClass("toggle"); }
if (($(this).attr("rel") == 2)) {$("#scrollMENU2").removeClass().addClass("toggle selected");} else { $("#scrollMENU2").removeClass().addClass("toggle"); }
if (($(this).attr("rel") == 3)) {$("#scrollMENU3").removeClass().addClass("toggle selected");} else { $("#scrollMENU3").removeClass().addClass("toggle"); }*/  
  
  
/* $(document).ready(function() {   
$(".toggle").click(function () {  // This toggles the pricing information
if (($(this).attr("rel") == 1)) {$("#scrollDISPLAY1").fadeIn(1500);} else { $("#scrollDISPLAY1").fadeOut(30).hide();}
if (($(this).attr("rel") == 2)) {$("#scrollDISPLAY2").fadeIn(1500);} else { $("#scrollDISPLAY2").fadeOut(30).hide();}
if (($(this).attr("rel") == 3)) {$("#scrollDISPLAY3").fadeIn(1500);} else { $("#scrollDISPLAY3").fadeOut(30).hide();}
if (($(this).attr("rel") == 4)) {$("#scrollDISPLAY4").fadeIn(1500);} else { $("#scrollDISPLAY4").fadeOut(30).hide();}
if (($(this).attr("rel") == 5)) {$("#scrollDISPLAY5").fadeIn(1500);} else { $("#scrollDISPLAY5").fadeOut(30).hide();}
if (($(this).attr("rel") == 6)) {$("#scrollDISPLAY6").fadeIn(1500);} else { $("#scrollDISPLAY6").fadeOut(30).hide();}
});

});*/ // End Document Ready

/*$(document).ready(function() {
$('.getstarted').append('<span class="hover"></span>').each(function () {
var $span = $('> span.hover', this).css('opacity', 0);
$(this).hover(function () {$span.stop().fadeTo(200, 1);}, function () {$span.stop().fadeTo(200, 0);});
});
});
	*/
	/*
    jQuery plugin to detect flicks on elements
    Steve Gough 4/12/2010
*/



