/******************************************************************************
 **                     LP CONFIGURATION v4.0.r100521                        **
 **       Standard Version.  ©2010 Mediagistic.  All rights reserved.        **
 **                   http://www.mediagisticpageone.com                      **
 *****************************************************************************/

formExtEmail = "bounds_hvac*yahoo.com";
formIntEmail = "semannualplans*mediagisticleads.com";
formLeadCampaign = "95";
formAcctNumber = "161862";
GoogleAnalyticsUA = 'UA-6058692-48';

function MG_FormOptions() {
	this.isScheduler = false; // true opens scheduler section upon loading. false is default.
	this.showDate = true;
	this.showTime = true;
	this.showSaturday = true;
	this.showSunday = true;
	this.richAlerts = true;
}

// only modify these if we have conversion codes
function MG_ConversionData(){
	this.useCD = false;							// <', src: 'change to true if using WV conversion codes
	this.gID = 0000000000;						// <', src: 'should be a 10-digit INTEGER
	this.gLabel = "00000000000000000";			// <', src: 'format as STRING
	this.gValue = 0;							// <', src: 'will likely always be 0
	this.yID = "000000000000000000000000000";	// <', src: 'format as STRING
	this.mID = 587765;							// <', src: 'do not change
	this.mCP = 5050;							// <', src: 'do not change
	this.mParams = "dedup=1";					// <', src: 'do not change
}

function MG_RelevantCopy(){
	this.content = new Array;		
	this.content[0]  = 'nothing'; // if none, wipe out all other indices and set [0] as 'nothing'
}
var testimonials_options = {
	auto:3000,
	speed:2000,
	vertical: true,
	visible: 5
};

var testimonials = [
	{ txt: 'We have been very satisfied with you all.', src: 'PS' },
	{ txt: 'We appreciated your persistence and patience.', src: 'DE' },
	{ txt: 'Thanks for 11 years of total satisfaction.', src: 'KH' },
	{ txt: 'We love our new system! You guys are great!', src: 'CZ' },
	{ txt: 'The guys did a great job! Thanks.', src: 'KD' },
	{ txt: 'This was the most professional and no hassle service call I\'ve had.', src: 'DW' },
	{ txt: 'We are very pleased with your service.', src: 'PW' },
	{ txt: 'When cloning is perfected I want two of your tech.', src: 'DW' },
	{ txt: 'Thank you so much for all the kindness of all your employees.', src: 'RS' },
	{ txt: 'The installers were very courteous and professional, and we were very pleased with the service provided.', src: 'CS' },
	{ txt: 'I can assure you that if I need any ac work in the future you will be the company I call.', src: 'JH' },
	{ txt: 'Your tech was knowledgeable, friendly, and patient with my repairs.', src: 'LM' },
	{ txt: 'Your tech was a really awesome guy knew his stuff.', src: 'KM' }
];

var testimonials_load = function() {
	var container = $('#testimonials');
	if (container.length == 0 || !(jQuery.fn.jCarouselLite)) return;
	
	var div_hml = '<div class="area"></div>';
	var ul_html = '<ul></ul>';
	var li_html = '<li><span class="txt">{0}</span><span class="src">- {1}</span></li>';
	
	var div = $(div_hml).appendTo(container);
	var ul = $(ul_html).appendTo(div);
	
	for (var i=0; i<testimonials.length; i++) {
		var t = testimonials[i];
		var html = li_html.replace('{0}', t.txt).replace('{1}', t.src);
		$(html).appendTo(ul);
	}
	
	$(div).jCarouselLite(testimonials_options);
};
