// JavaScript Document


var questions = [
'<a href="pages/communications.html">How do we get more, and better qualified, leads?</a>',
'<a href="pages/communications.html">Are we focused on the right markets?</a>',
'<a href="pages/communications.html">Should we go international?</a>',
'<a href="pages/communications.html">How can I get assistance to manage sales programmes without incurring huge costs?</a>',
'<a href="pages/communications.html">How do I get my website to be seen by more customers?</a>',
'<a href="pages/communications.html">Are we using the best routes to generate leads?</a>',
'<a href="pages/communications.html">How do I improve our collateral?</a>',
'<a href="pages/communications.html">Do I really need to translate my website and collateral to go international?</a>',
'<a href="pages/communications.html">How do I get more case studies?</a>',
'<a href="pages/communications.html">How do I get better cases studies?</a>',
'<a href="pages/operations.html">How do we launch a new product and know we can deliver?</a>',
'<a href="pages/operations.html">What processes do we need in place to successfully launch a new service?</a>',
'<a href="pages/operations.html">Do we need new processes for our new product?</a>',
'<a href="pages/operations.html">How do we secure good quality business which we can deliver?</a>',
'<a href="pages/operations.html">Have I got my teams incentivised for best performance?</a>',
'<a href="pages/operations.html">How do I get a short term boost to rejuvenate my sales team?</a>',
'<a href="pages/operations.html">How do I establish and run a successful partner programme?</a>',
'<a href="pages/operations.html">How do I find great salespeople I can trust?</a>',
'<a href="pages/operations.html">How do I incentivise the sales team effectively?</a>',
'<a href="pages/operations.html">How do I make sure salespeople perform?</a>',
'<a href="pages/operations.html">How do I get my sales team to deliver?</a>',
'<a href="pages/review.html">Why don’t all customers buy a second time?</a>',
'<a href="pages/review.html">Why do I win some bids and not others?</a>',
'<a href="pages/review.html">Are we focused on the right targets?</a>',
'<a href="pages/review.html">Do we have a true competitive advantage?</a>',
'<a href="pages/review.html">How do I perfect my elevator pitch?</a>',
'<a href="pages/review.html">How do I differentiate my company from the competition?</a>',
'<a href="pages/review.html">How do I make sure all my collateral supports our business model?</a>',
'<a href="pages/review.html">How do I attract more partners and resellers?</a>',
'<a href="pages/review.html">How do I set up a partner programme?</a>',
'<a href="pages/express-sales.html">How do we improve our forecasting?</a>',
'<a href="pages/express-sales.html">How do we improve our pipeline conversion rate?</a>',
'<a href="pages/express-sales.html">How do I get other parts of the organisation to help sales?</a>',
'<a href="pages/express-sales.html">How do I make sure my support staff  help the sales team?</a>',
'<a href="pages/express-sales.html">How do we ensure we have winning presentations?</a>',
'<a href="pages/express-sales.html">How do we plan account strategies successfully?</a>',
'<a href="pages/express-sales.html">Now do we negotiate more effectively?</a>',
'<a href="pages/express-sales.html">Why do we always give a discount?</a>'

];

function randomize (a_items, n_count) {
    var n_index, s_html = '<ul class="standardlist">';
    while (a_items.length && n_count) {
        n_index = Math.ceil(Math.random() * a_items.length) - 1;
        s_html += '<li><span class="class1">' + a_items[n_index] + '</span></li>';
        a_items[n_index] = a_items[a_items.length - 1];
        a_items.length = a_items.length - 1;
        n_count--;
    }
    return s_html + '</ul>';
}
