/**
 * Main function.
 * Sniffs the page we are on and sets up the relevant functionality.
 */
$(function(){

    // home page
    if ($('#home')) {
        HomePage.scroller(6);
        HomePage.quotes();
        HomePage.wizard();
    }

    // experts page
    if ($('#experts')) {
        ExpertsPage.scroller(6);
        ExpertsPage.accordion();
    }

});


function checkRadio (frmName, rbGroupName) { 
 var radios = document[frmName].elements[rbGroupName]; 
 for (var i=0; i <radios.length; i++) { 
  if (radios[i].checked) { 
   return true; 
  } 
 } 
 return false; 
}

function reloadStepOne(){
	$('#step4').hide()
	$('#step1').show();
	return false;
}

function threeClick(){
	if (!checkRadio("wizardform","challenges")){
		alert ('Please specify your challenges');
		return false;
	}
	else{
		$('#step3').hide();
		$('#step4').show();
		return false;		
	}
}

function enableOther(){
	if (document.wizardform.challenges[5].checked == true){
	document.wizardform.otherchallenges.disabled = false; 
	}
	else if (document.wizardform.challenges[5].checked == false){
	document.wizardform.otherchallenges.disabled = true; 
	}
}


var HomePage = {

    curQuote: null,
    curPanel: null,

    /**
     * Scroller for the main services section
     * Automatically scrolls the services sections as well as activates the
     * arrow buttons to move forward and back.
     */
    scroller: function(interval) {
        
        if ($('#mainMessageHome').length) {

            interval = interval * 1000;

            // set the scroller
            var scroller = $('#scroller').scrollable({
                size: 1,
                loop: true,
                circular: true,
                // update the tabs each time the content scrolls
                onSeek: function() {
                    var index = parseInt(this.getIndex()) + 1;
                    if (index == 0) {
                        var cur = $('#slide-links a.selected').parent().attr('id');
                        if (cur == 'i-6') {
                            index = 1;
                        } else {
                            index = 6;
                        }
                    }
                    var link = 'i-' + index;
                    $('#slide-links a').removeClass('selected');
                    $('#' + link + ' a').addClass('selected');
                }
            })
            .autoscroll({
                interval: interval,
                api: true
            });

        }

        // make the main area of the scroller clickable and link to the
        // corresponding href of the tab
        $('#overlay .content').click(function(){
            var index = parseInt(scroller.getIndex()) + 1;
            window.location = $('#i-' + index + ' a').eq(0).attr('href');
        });
    },

    /**
     * Mouseover show/hide for the client quotes
     * On mouseover, the quote associated with the client logo is shown and the
     * previous one hidden
     */
    quotes: function() {
        
        if ($('#clientQuote').length) {

            // setup
            // attach an index number to each logo so it can be matched with the
            // corresponding quote
            var logos = $('#clientLogos li');
            var i = 0;
            logos.each(function(){
                this.itemNo = i;
                i++;
            });
            var quotes = $('#clientQuote li');
            this.curQuote = null;

            var that = this;

            // initialise to show the first quote
            $(quotes[0]).show();
            this.curQuote = quotes[0];

            // chnage quote on mouseover
            logos.mouseover(function(){
                if (that.curQuote) {
                    $(that.curQuote).hide();
                }
                $(quotes[this.itemNo]).show();
                that.curQuote = quotes[this.itemNo];
            });

        }
    },


    /**
     * Wizard final function
     */
    wizard: function() {

		var SalesAutomotive ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Unit Sales Forecasting" /> Unit Sales Forecasting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Activity Management" /> Activity Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="360 Degree View of Consumer" /> 360 Degree View of Consumer</label></li><li><label><input type="checkbox" name="challenges" id="" value="Lead Generation" /> Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Dealer Management" /> Dealer Management</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="otherchallenges" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var SalesTelecommunication ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Sales / Spend Forecasting" /> Sales / Spend Forecasting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Activity Management" /> Activity Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="360 Degree View of Consumer" /> 360 Degree View of Consumer</label></li><li><label><input type="checkbox" name="challenges" id="" value="Lead Generation" /> Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Channel Management" /> Channel Management</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var SalesBusinessServices ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Sales Pipeline Management" /> Sales Pipeline Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="Activity Management" /> Activity Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="Total Customer Picture" /> Total Customer Picture</label></li><li><label><input type="checkbox" name="challenges" id="" value="Enabling the Sales Team" /> Enabling the Sales Team</label></li><li><label><input type="checkbox" name="challenges" id="" value="Site / Team Collaboration" /> Site / Team Collaboration</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var SalesMedia ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Agency / Sales Tracking" /> Agency / Sales Tracking</label></li><li><label><input type="checkbox" name="challenges" id="" value="Activity Management" /> Activity Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="Spend Analysis" /> Spend Analysis</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales and Booking System Integration" /> Sales & Booking System Integration</label></li><li><label><input type="checkbox" name="challenges" id="" value="Automated Pricebooks and Bookings" /> Automated Pricebooks & Bookings</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var SalesEducation ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Student Application Management" /> Student Application Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="Activity Management" /> Activity Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="360 Degree View" /> 360 Degree View</label></li><li><label><input type="checkbox" name="challenges" id="" value="Student Lead Generation" /> Student Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Agent / Network Management" /> Agent / Network Management</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var SalesOther ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Pipeline & Forecasting / Visibility" /> Pipeline & Forecasting / Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Activity Management" /> Activity Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="360 Degree View of Customer" /> 360 Degree View of Customer</label></li><li><label><input type="checkbox" name="challenges" id="" value="Lead Generation" /> Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Channel Management" /> Channel Management</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var MarketingAutomotive ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Lead Generation" /> Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Campaign ROI" /> Campaign ROI</label></li><li><label><input type="checkbox" name="challenges" id="" value="Marketing Automation" /> Marketing Automation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Customer Loyalty" /> Customer Loyalty</label></li><li><label><input type="checkbox" name="challenges" id="" value="Speed to Deploy / Quick Wins" /> Speed to Deploy / Quick Wins</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var MarketingTelecommunication ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Lead Gen / Acquisition Marketing" /> Lead Gen / Acquisition Marketing</label></li><li><label><input type="checkbox" name="challenges" id="" value="Retention Marketing" /> Retention Marketing</label></li><li><label><input type="checkbox" name="challenges" id="" value="Marketing Automation" /> Marketing Automation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Customer Loyalty" /> Customer Loyalty</label></li><li><label><input type="checkbox" name="challenges" id="" value="Speed to Deploy / Quick Wins" /> Speed to Deploy / Quick Wins</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var MarketingBusinessServices ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Lead Generation" /> Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Campaign ROI" /> Campaign ROI</label></li><li><label><input type="checkbox" name="challenges" id="" value="Marketing Automation" /> Marketing Automation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Customer Loyalty" /> Customer Loyalty</label></li><li><label><input type="checkbox" name="challenges" id="" value="Speed to Deploy / Quick Wins" /> Speed to Deploy / Quick Wins</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var MarketingEducation ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Student Lead Generation" /> Student Lead Generation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Student Lifecycle Management" /> Student Lifecycle Management</label></li><li><label><input type="checkbox" name="challenges" id="" value="Marketing Automation" /> Marketing Automation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Loyalty" /> Loyalty</label></li><li><label><input type="checkbox" name="challenges" id="" value="Marketing Communications" /> Marketing Communications</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var MarketingMedia ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Lead Gen / Acquisition Marketing" /> Lead Gen / Acquisition Marketing</label></li><li><label><input type="checkbox" name="challenges" id="" value="Retention Marketing" /> Retention Marketing</label></li><li><label><input type="checkbox" name="challenges" id="" value="Marketing Automation" /> Marketing Automation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Customer Loyalty" /> Customer Loyalty</label></li><li><label><input type="checkbox" name="challenges" id="" value="Speed to Deploy / Quick Wins" /> Speed to Deploy / Quick Wins</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var MarketingOther ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Lead Acquisition and Scoring" /> Lead Acquisition & Scoring</label></li><li><label><input type="checkbox" name="challenges" id="" value="Campaign Automation" /> Campaign Automation</label></li><li><label><input type="checkbox" name="challenges" id="" value="Retention and Loyalty" /> Retention and Loyalty</label></li><li><label><input type="checkbox" name="challenges" id="" value="ROI Measurement" /> ROI Measurement</label></li><li><label><input type="checkbox" name="challenges" id="" value="Quick Wins" /> Quick Wins</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var ITAutomotive ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Ability to Innovate" /> Ability to Innovate</label></li><li><label><input type="checkbox" name="challenges" id="" value="Overheads / Keeping the Lights On" /> Overheads / Keeping the Lights On</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Intelligence" /> Business Intelligence</label></li><li><label><input type="checkbox" name="challenges" id="" value="Security / Scalability" /> Security / Scalability</label></li><li><label><input type="checkbox" name="challenges" id="" value="Integration to Back End" /> Integration to Back End</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var ITTelecommunication ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Ability to Innovate" /> Ability to Innovate</label></li><li><label><input type="checkbox" name="challenges" id="" value="Overheads / Keeping the Lights On" /> Overheads / Keeping the Lights On</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Intelligence" /> Business Intelligence</label></li><li><label><input type="checkbox" name="challenges" id="" value="Security / Scalability" /> Security / Scalability</label></li><li><label><input type="checkbox" name="challenges" id="" value="Integration to Back End" /> Integration to Back End</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var ITBusinessServices ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Ability to Innovate" /> Ability to Innovate</label></li><li><label><input type="checkbox" name="challenges" id="" value="Overheads / Keeping the Lights On" /> Overheads / Keeping the Lights On</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Intelligence" /> Business Intelligence</label></li><li><label><input type="checkbox" name="challenges" id="" value="Security / Scalability" /> Security / Scalability</label></li><li><label><input type="checkbox" name="challenges" id="" value="Integration to Back End" /> Integration to Back End</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var ITMedia ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Ability to Innovate" /> Ability to Innovate</label></li><li><label><input type="checkbox" name="challenges" id="" value="Overheads / Keeping the Lights On" /> Overheads / Keeping the Lights On</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Intelligence" /> Business Intelligence</label></li><li><label><input type="checkbox" name="challenges" id="" value="Security / Scalability" /> Security / Scalability</label></li><li><label><input type="checkbox" name="challenges" id="" value="Integration to Back End" /> Integration to Back End</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var ITEducation ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Ability to Innovate" /> Ability to Innovate</label></li><li><label><input type="checkbox" name="challenges" id="" value="Overheads / Keeping the Lights On" /> Overheads / Keeping the Lights On</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Intelligence" /> Business Intelligence</label></li><li><label><input type="checkbox" name="challenges" id="" value="Security / Scalability" /> Security / Scalability</label></li><li><label><input type="checkbox" name="challenges" id="" value="Integration to Back End" /> Integration to Back End</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var ITOther ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Solution Speed / Quick Wins" /> Solution Speed / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Operational Overhead / Keeping the Lights On" /> Overheads / Keeping the Lights On</label></li><li><label><input type="checkbox" name="challenges" id="" value="Maintenance and Support" /> Maintenance & Support</label></li><li><label><input type="checkbox" name="challenges" id="" value="Security / Scalability" /> Security / Scalability</label></li><li><label><input type="checkbox" name="challenges" id="" value="Integration" /> Integration</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var OtherAutomotive ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Business Visibility" /> Business Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Consolidated Reporting" /> Consolidated Reporting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales / Dealer Performance" /> Sales / Dealer Performance</label></li><li><label><input type="checkbox" name="challenges" id="" value="Staying Nimble / Quick Wins" /> Staying Nimble / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Process Automation" /> Business Process Automation</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var OtherTelecommunication ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Business Visibility" /> Business Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Consolidated Reporting" /> Consolidated Reporting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales / Dealer Performance" /> Sales / Dealer Performance</label></li><li><label><input type="checkbox" name="challenges" id="" value="Staying Nimble / Quick Wins" /> Staying Nimble / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Process Automation" /> Business Process Automation</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var OtherBusinessServices ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Business Visibility" /> Business Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Consolidated Reporting" /> Consolidated Reporting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales / Dealer Performance" /> Sales / Dealer Performance</label></li><li><label><input type="checkbox" name="challenges" id="" value="Staying Nimble / Quick Wins" /> Staying Nimble / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Process Automation" /> Business Process Automation</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var OtherMedia ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Business Visibility" /> Business Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Consolidated Reporting" /> Consolidated Reporting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales / Dealer Performance" /> Sales / Dealer Performance</label></li><li><label><input type="checkbox" name="challenges" id="" value="Staying Nimble / Quick Wins" /> Staying Nimble / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Process Automation" /> Business Process Automation</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var OtherEducation ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Business Visibility" /> Business Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Consolidated Reporting" /> Consolidated Reporting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales / Dealer Performance" /> Sales / Dealer Performance</label></li><li><label><input type="checkbox" name="challenges" id="" value="Staying Nimble / Quick Wins" /> Staying Nimble / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Process Automation" /> Business Process Automation</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var OtherOther ='<h3>Your Challenges are:</h3><ol><li><label><input type="checkbox" name="challenges" id="" value="Business Visibility" /> Business Visibility</label></li><li><label><input type="checkbox" name="challenges" id="" value="Consolidated Reporting" /> Consolidated Reporting</label></li><li><label><input type="checkbox" name="challenges" id="" value="Sales / Dealer Performance" /> Sales / Dealer Performance</label></li><li><label><input type="checkbox" name="challenges" id="" value="Staying Nimble / Quick Wins" /> Staying Nimble / Quick Wins</label></li><li><label><input type="checkbox" name="challenges" id="" value="Business Process Automation" /> Business Process Automation</label></li><li><input onclick="enableOther();" type="checkbox" name="challenges" id="" value="Other" /> Other&nbsp;<input disabled type="text" name="otherchallenges" id="" /></li></ol><a onclick="return threeClick();" href="" class="submitButton" id="submitThree"><img src="images/interface/blank.png" alt="Next step" width="128" height="45" /></a>';

		var SalesAutomotiveTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;In just 90 days, thanks to the Sqware Peg Consultants, we have been able to implement a new CRM system that allows us to have a 360 view of our Lexus owners anywhere, anytime on a single platform! The flexibility of the platform...&quot;<cite>Lexus Australia</cite></p><a target="_blank" href="casestudies.html" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var SalesTelecommunicationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Lead generation is an integral part of our business Sqware Peg&rsquo;s expertise in providing on-demand solutions helped us see the true value of our program.&quot;<cite>James Boardman - Lead Acquisition Manager - Vodafone</cite></p><a target="_blank" href="casestudiesform.html?cs=vodafone&lscid=70120000000QMKT&lscn=Case Study - Vodafone eStore&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Vodafone eStore&source=wizard&role=Sales&industry=Telecommunication" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var SalesBusinessServicesTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Salesforce.com has been well implemented by Sqware Peg and has enabled us to manage our business much more closely within the challenges of the Global Financial Crisis...&quot;<cite>Kathryn Anda - Managing Director - PEPwordlwide</cite></p><a target="_blank" href="casestudiesform.html?cs=pepworldwide&lscid=70120000000Q7yc&lscn=Case Study - PEPworldwide&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - PEPworldwide&source=wizard&role=Sales&industry=BusinessServices" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var SalesMediaTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;We had looked at a CRM implementation with 2 different consultancy firms before we went ahead with Sqware Peg. The other two implementations were poorly managed, time consuming and both failed. The one with Sqware Peg was easy, simple and a success...&quot;<cite>Jenny Quinn - BA Manager - Messages On Hold</cite></p><a target="_blank" href="casestudiesform.html?cs=messagesonhold&lscid=70120000000Acld&lscn=Customer Case Study - Messages On Hold&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Messages on Hold&source=wizard&role=Sales&industry=Media" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var SalesEducationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;With our small internal team stretched to the limits, Sqware Peg were able to understand our requirements and provide the resourcing we needed to keep our project moving ahead smoothly. Apart from providing very timely placement, they also ensured...&quot;<cite>Heather O&rsquo;Connell - Business Applications Manager - IDP</cite></p><a target="_blank" href="casestudiesform.html?cs=idpeducation&lscid=70120000000QBSY&lscn=Case Study - IDP Education&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - IDP Education&source=wizard&role=Sales&industry=Education" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var SalesOtherTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Salesforce.com has been well implemented by Sqware Peg and has been a refreshing alternative to more traditional software solutions.We now have an easy to use prospect generation tool for our CSRs and have moved from limited campaign visibility to a much more tangible situation... &quot;<cite>Steve Jackson - Head of Consumer - TelstraClear</cite></p><a target="_blank" href="casestudiesform.html?cs=telstraclear&lscid=70120000000QMKY&lscn=Case Study - TelstraClear&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - TelstraClear&source=wizard&role=Sales&industry=Other" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var MarketingAutomotiveTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;In just 90 days, thanks to the Sqware Peg Consultants, we have been able to implement a new CRM system that allows us to have a 360 view of our Lexus owners anywhere, anytime on a single platform! The flexibility of the platform will pay dividends...&quot;<cite>Lexus Australia</cite></p><a target="_blank" href="casestudies.html" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var MarketingBusinessServicesTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;The simplicity and flexibility of salesforce.com is remarkable, and when coupled with the insight and experience of Sqware Peg, we were able to make the necessary configuration changes in real time, and rapidly onboard our entire sales team, in less than 6 months...&quot;<cite>Robi George - National Business Excellence Manager - Ricoh Australia</cite></p><a target="_blank" href="casestudiesform.html?cs=ricoh&lscid=70120000000QEq0&lscn=Case Study - Ricoh&lscs=Submitted Form/Download Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Ricoh&source=wizard&role=Marketing&industry=BusinessServices" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var MarketingTelecommunicationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Salesforce.com has been well implemented by Sqware Peg and has been a refreshing alternative to more traditional software solutions.We now have an easy to use prospect generation tool for our CSRs and have moved from limited campaign visibility to a much more tangible situation... &quot;<cite>Steve Jackson - Head of Consumer - TelstraClear</cite></p><a target="_blank" href="casestudiesform.html?cs=telstraclear&lscid=70120000000QMKY&lscn=Case Study - TelstraClear&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - TelstraClear&source=wizard&role=Marketing&industry=Telecommunication" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var MarketingEducationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;On top of everything, the service from our Marketing Success Manager was fantastic, the support and training we received throughout the 3 months was unfaultable. Thanks Sqware Peg!&quot;<cite>Kirby Wright, Marketing Co-ordinator, Miller Heiman</cite></p><a target="_blank" href="casestudiesform.html?cs=millerheiman&lscid=70120000000AJi2&lscn=July - Miller Heiman Case Study&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Miller Heiman&source=wizard&role=Marketing&industry=Education" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var MarketingMediaTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Salesforce.com has been well implemented by Sqware Peg and has been a refreshing alternative to more traditional software solutions.We now have an easy to use prospect generation tool for our CSRs and have moved from limited campaign visibility to a much more tangible situation... &quot;<cite>Steve Jackson - Head of Consumer - TelstraClear</cite></p><a target="_blank" href="casestudiesform.html?cs=telstraclear&lscid=70120000000QMKY&lscn=Case Study - TelstraClear&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - TelstraClear&source=wizard&role=Marketing&industry=Media" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var MarketingOtherTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;On top of everything, the service from our Marketing Success Manager was fantastic, the support and training we received throughout the 3 months was unfaultable. Thanks Sqware Peg!&quot;<cite>Kirby Wright, Marketing Co-ordinator, Miller Heiman</cite></p><a target="_blank" href="casestudiesform.html?cs=millerheiman&lscid=70120000000AJi2&lscn=July - Miller Heiman Case Study&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Miller Heiman&source=wizard&role=Marketing&industry=Other" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var ITAutomotiveTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;In just 90 days, thanks to the Sqware Peg Consultants, we have been able to implement a new CRM system that allows us to have a 360 view of our Lexus owners anywhere, anytime on a single platform! The flexibility of the platform will pay dividends...&quot;<cite>Lexus Australia</cite></p><a target="_blank" href="casestudies.html" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var ITBusinessServicesTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Salesforce.com can take you wherever you are prepared to go!&quot;<cite>Carol Buttsworth, National CRM Coordinator at Transpacific Industries Group</cite></p><a target="_blank" href="casestudiesform.html?cs=tpi&lscid=70120000000QGEk&lscn=Case Study - TPI&lscs=Submitted Form/Download Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - TPI&source=wizard&role=IT&industry=BusinessServices" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var ITTelecommunicationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Lead generation is an integral part of our business Sqware Peg&rsquo;s expertise in providing on-demand solutions helped us see the true value of our program.&quot;<cite>James Boardman - Lead Acquisition Manager - Vodafone</cite></p><a target="_blank" href="casestudiesform.html?cs=vodafone&lscid=70120000000QMKT&lscn=Case Study - Vodafone eStore&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Vodafone eStore&source=wizard&role=IT&industry=Telecommunication" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var ITEducationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;With our small internal team stretched to the limits, Sqware Peg were able to understand our requirements and provide the resourcing we needed to keep our project moving ahead smoothly. Apart from providing very timely placement, they also ensured that the skills and...&quot;<cite>Heather O&rsquo;Connell - Business Applications Manager - IDP</cite></p><a target="_blank" href="casestudiesform.html?cs=idpeducation&lscid=70120000000QBSY&lscn=Case Study - IDP Education&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - IDP Education&source=wizard&role=IT&industry=Education" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var ITMediaTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;The simplicity and flexibility of salesforce.com is remarkable, and when coupled with the insight and experience of Sqware Peg, we were able to make the necessary configuration changes in real time, and rapidly onboard our entire sales team, in less than 6 months...&quot;<cite>Robi George - National Business Excellence Manager - Ricoh Australia</cite></p><a target="_blank" href="casestudiesform.html?cs=ricoh&lscid=70120000000QEq0&lscn=Case Study - Ricoh&lscs=Submitted Form/Download Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Ricoh&source=wizard&role=IT&industry=Media" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var ITOtherTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Lead generation is an integral part of our business Sqware Peg&rsquo;s expertise in providing on-demand solutions helped us see the true value of our program.&quot;<cite>James Boardman - Lead Acquisition Manager - Vodafone</cite></p><a target="_blank" href="casestudiesform.html?cs=vodafone&lscid=70120000000QMKT&lscn=Case Study - Vodafone eStore&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Vodafone eStore&source=wizard&role=IT&industry=Other" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var OtherAutomotiveTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;In just 90 days, thanks to the Sqware Peg Consultants, we have been able to implement a new CRM system that allows us to have a 360 view of our Lexus owners anywhere, anytime on a single platform! The flexibility of the platform will pay dividends for us and our...&quot;<cite>Lexus Australia</cite></p><a target="_blank" href="casestudies.html" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var OtherTelecommunicationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Lead generation is an integral part of our business Sqware Peg&rsquo;s expertise in providing on-demand solutions helped us see the true value of our program.&quot;<cite>James Boardman - Lead Acquisition Manager - Vodafone</cite></p><a target="_blank" href="casestudiesform.html?cs=vodafone&lscid=70120000000QMKT&lscn=Case Study - Vodafone eStore&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Vodafone eStore&source=wizard&role=Other&industry=Telecommunication" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var OtherBusinessServicesTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;The simplicity and flexibility of salesforce.com is remarkable, and when coupled with the insight and experience of Sqware Peg, we were able to make the necessary configuration changes in real time, and rapidly onboard our entire sales team, in less than 6 months...&quot;<cite>Robi George - National Business Excellence Manager - Ricoh Australia</cite></p><a target="_blank" href="casestudiesform.html?cs=ricoh&lscid=70120000000QEq0&lscn=Case Study - Ricoh&lscs=Submitted Form/Download Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Ricoh&source=wizard&role=Other&industry=BusinessServices" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var OtherMediaTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Lead generation is an integral part of our business Sqware Peg&rsquo;s expertise in providing on-demand solutions helped us see the true value of our program...<cite>James Boardman - Lead Acquisition Manager - Vodafone</cite></p><a target="_blank" href="casestudiesform.html?cs=vodafone&lscid=70120000000QMKT&lscn=Case Study - Vodafone eStore&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - Vodafone eStore&source=wizard&role=Other&industry=Media" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var OtherEducationTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;With our small internal team stretched to the limits, Sqware Peg were able to understand our requirements and provide the resourcing we needed to keep our project moving ahead smoothly. Apart from providing very timely placement, they also ensured that the skills and...&quot;<cite>Heather O&rsquo;Connell - Business Applications Manager - IDP</cite></p><a target="_blank" href="casestudiesform.html?cs=idpeducation&lscid=70120000000QBSY&lscn=Case Study - IDP Education&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - IDP Education&source=wizard&role=Other&industry=Education" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

		var OtherOtherTestimonial ='<a onclick="return reloadStepOne();" href="" class="startOver"><img src="images/interface/blank.png" alt="Start Over" width="128" height="45" /></a><h3>Testimonial</h3><p>&quot;Salesforce.com has been well implemented by Sqware Peg and has enabled us to manage our business much more closely within the challenges of the Global Financial Crisis. We are looking forward to taking Salesforce to the next stage by integrating our knowledge...&quot;<cite>Kathryn Anda - Managing Director - PEPwordlwide</cite></p><a target="_blank" href="casestudiesform.html?cs=pepworldwide&lscid=70120000000Q7yc&lscn=Case Study - PEPworldwide&lscs=Downloaded Case Study&lso=Case Study&lsmr=Case Study&wtlf=Website Case Study - PEPworldwide&source=wizard&role=Other&industry=Other" class="caseStudies"><img src="images/interface/blank.png" alt="Case Studies" width="128" height="45" /></a>';

        if ($('#wizard').length) {
			
			$('#step1').show();
			
			$('#submitOne').click(function() {
			if (!checkRadio("wizardform","role")){
				alert ('Please specify your role');
				return false;
			}
			else{
				$('#step1').hide();
				$('#step2').show();
				return false;			
			}
			});

			$('#submitTwo').click(function() {
			if (!checkRadio("wizardform","industry")){
				alert ('Please specify your industry');
				return false;
			}
			else{
			$('#step2').hide();

				if (document.wizardform.role[0].checked == true && document.wizardform.industry[0].checked == true){
					$('#step3').html(ITAutomotive);
					$('#step4').html(ITAutomotiveTestimonial);
				}
				if (document.wizardform.role[0].checked == true && document.wizardform.industry[1].checked == true){
					$('#step3').html(ITBusinessServices);
					$('#step4').html(ITBusinessServicesTestimonial);
				}
				if (document.wizardform.role[0].checked == true && document.wizardform.industry[2].checked == true){
					$('#step3').html(ITTelecommunication);
					$('#step4').html(ITTelecommunicationTestimonial);
				}
				if (document.wizardform.role[0].checked == true && document.wizardform.industry[3].checked == true){
					$('#step3').html(ITEducation);
					$('#step4').html(ITEducationTestimonial);
				}
				if (document.wizardform.role[0].checked == true && document.wizardform.industry[4].checked == true){
					$('#step3').html(ITMedia);
					$('#step4').html(ITMediaTestimonial);
				}
				if (document.wizardform.role[0].checked == true && document.wizardform.industry[5].checked == true){
					$('#step3').html(ITOther);
					$('#step4').html(ITOtherTestimonial);
				}
				if (document.wizardform.role[1].checked == true && document.wizardform.industry[0].checked == true){
					$('#step3').html(MarketingAutomotive);
					$('#step4').html(MarketingAutomotiveTestimonial);
				}
				if (document.wizardform.role[1].checked == true && document.wizardform.industry[1].checked == true){
					$('#step3').html(MarketingBusinessServices);
					$('#step4').html(MarketingBusinessServicesTestimonial);
				}
				if (document.wizardform.role[1].checked == true && document.wizardform.industry[2].checked == true){
					$('#step3').html(MarketingTelecommunication);
					$('#step4').html(MarketingTelecommunicationTestimonial);
				}
				if (document.wizardform.role[1].checked == true && document.wizardform.industry[3].checked == true){
					$('#step3').html(MarketingEducation);
					$('#step4').html(MarketingEducationTestimonial);
				}
				if (document.wizardform.role[1].checked == true && document.wizardform.industry[4].checked == true){
					$('#step3').html(MarketingMedia);
					$('#step4').html(MarketingMediaTestimonial);
				}
				if (document.wizardform.role[1].checked == true && document.wizardform.industry[5].checked == true){
					$('#step3').html(MarketingOther);
					$('#step4').html(MarketingOtherTestimonial);
				}
				if (document.wizardform.role[2].checked == true && document.wizardform.industry[0].checked == true){
					$('#step3').html(SalesAutomotive);
					$('#step4').html(SalesAutomotiveTestimonial);
				}
				if (document.wizardform.role[2].checked == true && document.wizardform.industry[1].checked == true){
					$('#step3').html(SalesBusinessServices);
					$('#step4').html(SalesBusinessServicesTestimonial);
				}
				if (document.wizardform.role[2].checked == true && document.wizardform.industry[2].checked == true){
					$('#step3').html(SalesTelecommunication);
					$('#step4').html(SalesTelecommunicationTestimonial);
				}
				if (document.wizardform.role[2].checked == true && document.wizardform.industry[3].checked == true){
					$('#step3').html(SalesEducation);
					$('#step4').html(SalesEducationTestimonial);
				}
				if (document.wizardform.role[2].checked == true && document.wizardform.industry[4].checked == true){
					$('#step3').html(SalesMedia);
					$('#step4').html(SalesMediaTestimonial);
				}
				if (document.wizardform.role[2].checked == true && document.wizardform.industry[5].checked == true){
					$('#step3').html(SalesOther);
					$('#step4').html(SalesOtherTestimonial);
				}
				if (document.wizardform.role[3].checked == true && document.wizardform.industry[0].checked == true){
					$('#step3').html(OtherAutomotive);
					$('#step4').html(OtherAutomotiveTestimonial);
				}
				if (document.wizardform.role[3].checked == true && document.wizardform.industry[1].checked == true){
					$('#step3').html(OtherBusinessServices);
					$('#step4').html(OtherBusinessServicesTestimonial);
				}
				if (document.wizardform.role[3].checked == true && document.wizardform.industry[2].checked == true){
					$('#step3').html(OtherTelecommunication);
					$('#step4').html(OtherTelecommunicationTestimonial);
				}
				if (document.wizardform.role[3].checked == true && document.wizardform.industry[3].checked == true){
					$('#step3').html(OtherEducation);
					$('#step4').html(OtherEducationTestimonial);
				}
				if (document.wizardform.role[3].checked == true && document.wizardform.industry[4].checked == true){
					$('#step3').html(OtherMedia);
					$('#step4').html(OtherMediaTestimonial);
				}
				if (document.wizardform.role[3].checked == true && document.wizardform.industry[5].checked == true){
					$('#step3').html(OtherOther);
					$('#step4').html(OtherOtherTestimonial);
				}

			$('#step3').show();
			return false;
			}
			});

		}
    }

};


var ExpertsPage = {

    /**
     * Scroller for the feature client section
     * Automatically scrolls the client logo and quote as well as activates the
     * arrow buttons to move forward and back. 
     */
    scroller: function(interval) {

        if ($('#featureClient').length) {

            interval = interval * 1000;
            
            // set the scroller
            var scroller = $('#featureScroller').scrollable({
               size: 1,
               loop: true,
               circular: true
            })
            .autoscroll({
               interval: interval,
               api: true
            });

        }
    },

    /**
     * Gives the staff sections accordion functionality
     */
    accordion: function() {
        if ($('#accordion').length) {
            $('#accordion').accordion({
                active:false,
                autoHeight: false,
                collapsible: true
            });
        }
    }

};