var myTimeoutObject;
var myTimeoutObject2;
var slide = 0;

function cmdHP(index){

    var d = document.getElementById('blenddiv');

    switch (index) {
        case -1:
            slide = slide - 1;
            if (slide < 1) slide = 4;
            break;
        case 0:
            if (myTimeoutObject){
                clearTimeout(myTimeoutObject);
                myTimeoutObject = null;
                document.getElementById('cmdPause').title="Resume slide show";
                return;
            } else {
                document.getElementById('cmdPause').title = "Pause slide show";
                changeit();
                return;
            }
            break;
        case 1:
            slide = slide + 1;
            if (slide > 4) slide = 1;
            break;
        case 11:
        case 12:
        case 13:
        case 14:
            slide = parseInt(index) - 10;
            break;
    }

    var du = document.getElementById('divurl');

    if (myTimeoutObject) clearTimeout(myTimeoutObject); //stops timer
    switch (slide) {
        case 1:
            d.href = "/the-platform/";
            d.title = "Dig Deeper: Learn about SaaS Frontier";
            blendimage('blenddiv','blendimage', '/graphics/homepage1.png',100)
            break;
        case 2:
            d.href = "/the-platform/quality-assessment/";
            d.title = "See what you have been missing";
            blendimage('blenddiv','blendimage', '/graphics/homepage2.png',100)
            break;
        case 3:
            d.href = "/the-platform/value-assessment/";
            d.title = "Learn more";
            blendimage('blenddiv','blendimage', '/graphics/homepage3.png',100)
            break;
        case 4:
            d.href = "/the-platform/delivery-assessment/";
            d.title = "See how to improve";
            blendimage('blenddiv','blendimage', '/graphics/homepage4.png',100)
            break;
    }

    du.href = d.href;
    //du.title = d.title;

    if (myTimeoutObject2) clearTimeout(myTimeoutObject2); //stops timer
    myTimeoutObject2 = setTimeout('hideblur()', 200);

}

function hideblur(){
    document.getElementById('blenddiv').style.backgroundImage = "";
}

function changeit(){
    slide = slide + 1;
    if (slide == 5)
    {
        slide = 1;
    }
    if (myTimeoutObject) clearTimeout(myTimeoutObject); //stops timer
    cmdHP(slide + 10);
    //myTimeoutObject = setTimeout('changeit()', 6000);
}

function SignUp(host, acct){
    writeSessionCookie("acct_signup", acct);
    var win = window.open(host + 'signin/signup.php',null,'width=1024,height=768,scrollbars=1,resizable=1');
    win.focus();
}


function cmdSignup(){
    var a = new Array();
    a = new Array("dosu=0");
    posttopage("/signin/", a);
}


function cmdRole(role){
    var divtxt;
    var ITterm;
    writeSessionCookie("myrole", role);

    switch (role) {
        case 0: // I am a business manager

            divtxt='<img id="img1" src="/graphics/dashboard.png" width="750px" border="0">';
            document.getElementById("fpimg").innerHTML = divtxt;

            //document.getElementById('BM').className = "activelink";
            //document.getElementById('IM').className = "";
            //document.getElementById('SP').className = "";
            ITterm = "IT organization";
            divtxt = "<span style='color:#ff8000'>You <strong>depend</strong> on IT services...";
            //divtxt +="<br/><span style='font-size:11pt;line-height:12pt'>Get the You need the premier on-demand solution for bridging and closing the communications gap between IT service consumers and their providers.&trade;</span></span>";
            divtxt +="<br/><span style='font-size:11pt;line-height:12pt'>Discover true IT service value, importance and quality with the un-IT service management tool&trade;.</span></span>";
            document.getElementById("title_div").innerHTML = divtxt;
            divtxt = "<span style='color:#ff8000'>How to <strong>Guide</strong> Your IT.</span>";
            document.getElementById("featurestitle_div").innerHTML = divtxt;

            divtxt = "<strong>Help your IT cut costs and improve quality today</strong><br/>";
            divtxt += "You can't afford poor quality IT services. Deliver clear guidance about what matters most to you with an easy-to-use, Web 2.0 application for Global 2,000 business managers who need to direct IT. ";
            divtxt += "<a style='color:blue' title=\"Go to features page\" href=\"javascript:void(0);\" onclick=\"document.location='features.php'\"><span style='color:blue'>More...</span></a>";
            document.getElementById("elevator").innerHTML = divtxt;


            divtxt = '<span style="font-size:10pt"><span style="line-height:200%;color:#ff8000;"><strong>BusinessBSM&trade; Account</strong></span></span><br/>';
            divtxt += '<span style="line-height:150%;">All free account features plus...<br/>';
            divtxt += '<strong>Unlimited</strong> assessments, up to 5 users, and includes <strong>25</strong> responses per assessment';
            divtxt += '<br/>';
            divtxt += '<a style="color:blue" title="Go to features page" href="javascript:void(0);" onclick="document.location=\'signup.php\'">Compare Accounts...</a></span>';
            document.getElementById("callout").innerHTML = divtxt;

            divtxt = "Like many non-technical groups it seems we never knew what to expect and IT never knew what we expected. ";
            divtxt += "SaaS Frontier lets us show IT what we need -- so they can adapt as our needs change.";
            //document.getElementById("quote").innerHTML = divtxt;


            divtxt = "Get more bang for your IT buck with clear and accurate guidance you can trust ";
            divtxt += "from <span class='bsmnowcolor'>SaaS Frontier</span>. ";
            divtxt += "Show IT how best to contribute to your business objectives by capturing your needs ";
            divtxt += "across 5 service quality dimensions, 3 value components and 63 considerations.";
            divtxt += '<br/>';
            document.getElementById("benefits_div1").innerHTML = divtxt;

            a = new Array(
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Fast</span></strong> - Start today, provide better direction tomorrow.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Easy</span></strong> - Complete help, non-technical and common-sense approach.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Accurate</span></strong> - Proven techniques, solid science, impeccable results.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Flexible</span></strong> - Document your needs as often as you like.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Unbiased</span></strong> - No hidden agendas or ulterior motives.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Secure</span></strong> - Secure site, strong encryption, individual databases.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Affordable</span></strong> - Pay only for what you need.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Modern Web 2.0 Application</span></strong> - easy to use, easy to afford.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Focused</span></strong> - Dedicated to achieving benefit from IT investments.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Scalable</span></strong> - From 1 to as &lsquo;many as you want&rsquo; users.")
            divtxt = "";
            a.sort(function() {
                return 0.5 - Math.random()
                })
            for (i = 0; i < a.length; i++) {
                divtxt += a[i];
            }
            document.getElementById("10reasons").innerHTML = "<ul>" + divtxt + "</ul>";
            break;

        case 1: // I am an IT manager
            divtxt='<img id="img1" src="/graphics/zot.png" width="500px" height="150px" border="0">';
            document.getElementById("fpimg").innerHTML = divtxt;

            //            document.getElementById('BM').className = "";
            //            document.getElementById('IM').className = "activelink";
            //            document.getElementById('SP').className = "";
            ITterm = "business";
            divtxt = "<span style='color:#C63'>You have to <strong>deliver</strong> value -- or else.";
            //            divtxt +="<br/><span style='font-size:11pt;line-height:12pt'>You need the premier on-demand solution for bridging and closing the communications ";
            //            divtxt +="gap between IT service providers and their consumers.&trade;</span></span>";
            divtxt +="<br/><span style='font-size:11pt;line-height:12pt'>Discover true IT service value, importance and quality with the un-IT service management tool&trade;.</span></span>";

            document.getElementById("title_div").innerHTML = divtxt;
            divtxt = "<span style='color:#C63'><strong>How to</strong> Align IT & Business.</span>";
            document.getElementById("featurestitle_div").innerHTML = divtxt;

            divtxt = "<strong>Start controlling the costs of IT today</strong><br/>";
            divtxt += "Discover the value and quality of your IT services to control costs, improve quality and move beyond the image of a cost center. We offer Web 2.0 Software as a Service that drives business-IT alignment. ";// as it shows how to improve service quality and control costs. ";//as an alternative to subjective and high-priced IT assessments. ";
            divtxt += "<a style='color:blue'  title=\"Go to features page\" href=\"javascript:void(0);\" onclick=\"document.location='features.php'\"><span style='color:blue'>More...</span></a>";
            document.getElementById("elevator").innerHTML = divtxt;

            divtxt = '<span style="font-size:10pt"><span style="line-height:200%;color:#C63;"><strong>Paid Account</strong></span></span><br/>';
            divtxt += '<span style="line-height:150%;">All free account features plus...<br/>';
            divtxt += '<strong>Unlimited</strong> assessments, sub-accounts and users, ';
            divtxt += 'includes up to <strong>500</strong> responses per assessment';
            divtxt += '<br/>';
            divtxt += '<a style="color:blue" title="Go to features page" href="javascript:void(0);" onclick="document.location=\'signup.php\'">Compare Accounts...</a></span>';
            document.getElementById("callout").innerHTML = divtxt;

            divtxt = "We needed a fast way to &lsquo;Talk Business&rsquo;, and SaaS Frontier gave us what we needed. ";
            divtxt += "SaaS Frontier results prompted several &lsquo;a-ha&rsquo; moments that have already been turned into ";
            divtxt += "new processes and initiatives.";
            //document.getElementById("quote").innerHTML = divtxt;

            divtxt = "We provide the information you need to deliver what the business wants and needs. Improve quality, control costs and balance ";
            divtxt += "resources while aligning with your " + ITterm + " needs. ";
            divtxt += "<span class='bsmnowcolor'>SaaS Frontier</span> measures IT service quality from a customer perspective and shows ";
            divtxt += "how to resolve any issues found. ";
            divtxt += '<br/>';
            document.getElementById("benefits_div1").innerHTML = divtxt;

            a = new Array("<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Fast</span></strong> - Start today, make better decisions tomorrow.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Easy</span></strong> - Streamlined 'best of best of breed' approach.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Accurate</span></strong> - Proven techniques, solid science, impeccable results.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Flexible</span></strong> - Assess as much as you want for one low price.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Unbiased</span></strong> - No hidden agendas or ulterior motives.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Secure</span></strong> - 256-bit encryption, HTTPS, FIPS-181, individual databases.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Affordable</span></strong> - Pay only for what you need.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                SaaS Web 2.0</span></strong> - No software but all the benefits.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Focused</span></strong> - Dedicated to achieving benefit from IT investments.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Scalable</span></strong> - From 1 to as &lsquo;many as you want&rsquo; users.")
            divtxt = "";
            a.sort(function() {
                return 0.5 - Math.random()
                })
            for (i = 0; i < a.length; i++) {
                divtxt += a[i];
            }
            document.getElementById("10reasons").innerHTML = "<ul>" + divtxt + "</ul>";
            break;

        case 3: // I am an IT service provider
            divtxt='<img id="img1" src="/graphics/radar.png" width="550px" border="0">';
            document.getElementById("fpimg").innerHTML = divtxt;

            ITterm = "customer";
            divtxt = "<span style='color:#804000'>You need to <strong>manage</strong> to budget...";
            //            divtxt +="<br/><span style='font-size:11pt;line-height:12pt'>You need the premier on-demand solution for bridging and closing the communications ";
            //            divtxt +="gap between IT service providers and their consumers.&trade;</span></span>";
            divtxt +="<br/><span style='font-size:11pt;line-height:12pt'>Discover true IT service value, importance and quality with the un-IT service management tool&trade;.</span></span>";

            document.getElementById("title_div").innerHTML = divtxt;
            divtxt = "<span style='color:#804000'><strong>How to</strong> Document Customer Needs.</span>";
            document.getElementById("featurestitle_div").innerHTML = divtxt;

            //            document.getElementById('BM').className = "";
            //            document.getElementById('IM').className = "";
            //            document.getElementById('SP').className = "activelink";

            divtxt = "<strong>Control costs and satisfy your customers</strong><br/>";
            divtxt += "Become a leader and enabler as you balance resources based on what customers say is important. We offer Web 2.0 Software as a Service that documents customer needs so you can adjust delivery to match. ";
            divtxt += "<a style='color:blue'  title=\"Go to features page\" href=\"javascript:void(0);\" onclick=\"document.location='features.php'\"><span style='color:blue'>More...</span></a>";
            document.getElementById("elevator").innerHTML = divtxt;

            divtxt = "As an outsourcer we have a fixed budget, but customer needs change all the time. SaaS Frontier lets us ";
            divtxt += " identify changing customer requirements so we can manage our budget and maintain service levels.";
            //document.getElementById("quote").innerHTML = divtxt;

            divtxt = '<span style="font-size:10pt"><span style="line-height:200%;color:#804000;"><strong>ProBSM&trade; Account</strong></span></span><br/>';
            divtxt += '<span style="line-height:150%;">All free account features plus...<br/>';
            divtxt += '<strong>Branding removed</strong> from assessments, <br/>Sub-accounts, ';
            divtxt += '<strong>Custom</strong> CSS, pay-as-you-go model<br/>';
            divtxt += '<a style="color:blue" title="Go to features page" href="javascript:void(0);" onclick="document.location=\'signup.php\'">Compare Accounts...</a></span>';
            document.getElementById("callout").innerHTML = divtxt;

            divtxt = "Meet the changing demands of your " + ITterm + " landscape as you find out how well you deliver ";
            divtxt += "against " + ITterm + " requirements. ";
            divtxt += "<span class='bsmnowcolor'>SaaS Frontier</span> pinpoints improvements through ";
            divtxt += "scientific analysis of service perceptions. It's more accurate ";
            divtxt += "and useful than blindly collected tech metrics. ";
            divtxt += '<br/>';
            document.getElementById("benefits_div1").innerHTML = divtxt;

            a = new Array("<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Fast</span></strong> - Start today, understand your customer tomorrow.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Easy</span></strong> - Streamlined, common-sense approach.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Accurate</span></strong> - Proven techniques, solid science, impeccable results.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Flexible</span></strong> - Multiple accounts, levels and customizations.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Unbiased</span></strong> - No hidden agendas or ulterior motives.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Secure</span></strong> - 256-bit encryption, HTTPS, FIPS-181, individual databases.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Affordable</span></strong> - Specially designed offering just for service providers.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                SaaS Web 2.0</span></strong> - No software but all the benefits.",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Focused</span></strong> - Dedicated to achieving benefit from IT investments.</li>",
                "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Scalable</span></strong> - From 1 to as &lsquo;many as you want&rsquo; users.")
            divtxt = "";
            a.sort(function() {
                return 0.5 - Math.random()
                })
            for (i = 0; i < a.length; i++) {
                divtxt += a[i];
            }
            document.getElementById("10reasons").innerHTML = "<ul>" + divtxt + "</ul>";

            break;

        case 299999: // I manage our IT service providers
            //document.getElementById("benefits_div2").innerHTML = divtxt;

            //document.getElementById("benefits_div3").innerHTML = divtxt;

            divtxt += "<br/><br/>Integrating &ldquo;best of best of breed&rdquo; business and IT management ";
            divtxt += "frameworks like ITIL&reg;, SERVQUAL, CMMI-SVC&reg, Six Sigma, GQM+&reg; and more, ";
            divtxt += "SaaS Frontier&trade is the new standard in IT analytic solutions for service providers and outsourcers. ";
            divtxt = "Move beyond the image of a &lsquo;necessary expense&rsquo; as you discover how your IT services need to ";
            divtxt += "perform to satisfy " + ITterm + " requirements. ";
            divtxt += "Finally understand how to document and then meet customer requirements.";
            divtxt += "<br/><br/><span class='bsmnowcolor'>SaaS Frontier</span> drives " + ITterm + "/IT Alignment by capturing " + ITterm + " needs and wants ";
            divtxt += "across 5 dimensions of service quality, 3 components of service value and 63 points of consideration.";


            divtxt = "<h5>Provide tangible evidence of alignment and show opportunities for improvements in " + ITterm + " ";
            divtxt += "terms as you visibly contribute to " + ITterm + " outcomes.</h5><p></p>";
            divtxt += "<h5>Get going with ITIL -- define services, capture business value, and align IT improvements with ";
            divtxt += ITterm + " goals. </h5>";
            //document.getElementById("benefits_div4").innerHTML = divtxt;

            divtxt = "<h5><span class='bsmnowcolor'>SaaS Frontier</span> measures IT service quality, diagnoses IT service health, and prescribes a ";
            divtxt += "recommended course of action to remediate any issues encountered.</h5><p></p>";
            divtxt += "<h5>We provide the precise and accurate management information you need to improve quality, control costs and re-balance ";
            divtxt += "resources -- all while aligning with your " + ITterm + " needs. </h5><p></p>";
            divtxt += "<h5>Our offering integrates multiple service management frameworks and standards with easy to use and powerful Web 2.0 ";
            divtxt += "technologies to deliver an incredibly advanced, affordable and useful IT management tool. </h5>";
            //document.getElementById("benefits_div5").innerHTML = divtxt;

            divtxt = "<h5>Use <span class='bsmnowcolor'>SaaS Frontier</span> now to streamline processes, reduce the cost of providing IT services, ";
            divtxt += "ensure IT services meet " + ITterm + " needs, continually increase " + ITterm + " satisfaction and so much more. </h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> makes it easy and fast for you to get the information you need to take ";
            divtxt += "action to improve service quality in alignment with your " + ITterm + ". </h5>";
            //document.getElementById("benefits_div6").innerHTML = divtxt;
            a = new Array(
                '¿Habla Usted Cliente? Parlez-vous le Client?<br/>Sprechen Sie Kunden? Do you speak Customer?',
                'Concerned with the customer satisfaction?<br/>Looking for an advantage?',
                'Business Service Management verifies customers are able to<br/>accomplish desired outcomes -- in business terms.',
                'To align with business, improve IT service quality,<br/>and control costs IT needs to speak business.',
                'Do you know what do your customers really need?<br/>Do you know why they need it?',
                'All the expensive software and techie dashboards<br/>in the world can\'t tell you what your business wants.',
                'You can\'t raise proces -- so how do you<br/>do a better job, for more, with the same?',
                'Why do customers change requirements often<br/>and make unreasonable demands for services?',
                'How come customers are never satisfied no matter <br/>how hard you and your team work?',
                'IT services are intangible performances. <br/>Not products.',
                'You simply can\'t measure the quality of a performance<br/>until after the performance is complete. ',
                'You can\'t measure true IT service quality <br/>by looking at technical operational metrics.',
                'Only customers can judge quality; all other <br/>evaluations are essentially irrelevant.',
                'Only customers can tell you if you\'re <br/>delivering what they need to succeed in the marketplace.',
                'Monitoring events, performance, capacity, and all<br/> the rest won\'t diagnose quality or satisfaction.',
                'Monitoring &ne; Quality<br/>Event Management &ne; Customer Satisfaction',
                'Where\'s the human element?<br/>The business value?',
                'To measure real IT service quality you have to think<br/>outside the box -- literally.',
                'You have to measure the human element:<br/>perception and ability to work.',
                'Only <span class="bsmnowcolor">SaaS Frontier</span> measures the customer perspective<br/>of service quality and then shows you how to improve.'
                );
            divtxt += "<h5><br/><span class='bsmnowcolor'>SaaS Frontier</span> shifts the balance of operations and innovation to get more bang for your IT buck -- define services, capture ";
            divtxt += "business value, align IT improvements with business goals in business terms. </h5>";
            divtxt += "<br/><br/>Integrating &ldquo;best of best of breed&rdquo; business and IT management ";
            divtxt += "frameworks, SaaS Frontier provides the clear and accurate guidance ";
            divtxt += "you can trust on how to direct your IT to meet business needs best. ";

            divtxt = "Quickly and easily understand how to prioritize and balance your " + ITterm + " resource allocations based on service ";
            divtxt += "importance and business value.<br/><br/>";
            divtxt += "Control the costs of delivering IT services and improve resource allocations while improving business ";
            divtxt += "benefits -- in just a few days.";
            //document.getElementById("benefits_div2").innerHTML = divtxt;

            divtxt = "<h5>Help your " + ITterm + " meet your changing demands as you guide them based on ";
            divtxt += " customer requirements. Show your " + ITterm + " exactly what and where to improve.</h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> pinpoints quality improvements through unique ";
            divtxt += "scientific analysis of service requirements and perceptions -- it's more accurate ";
            divtxt += "and useful than blindly collected tech metrics.</h5>";
            //document.getElementById("benefits_div3").innerHTML = divtxt;

            //document.getElementById("benefits_div4").innerHTML = divtxt;

            divtxt = "<h5><span class='bsmnowcolor'>SaaS Frontier</span> measures your " + ITterm + " service quality, diagnoses service health, and prescribes a ";
            divtxt += "recommended course of action you can provide them to resolve issues.</h5><p></p>";
            divtxt += "<h5>We provide the precise and accurate management information you need to manage your " + ITterm + " in ways that improve quality ";
            divtxt += "and control costs -- all while aligning with your business needs. </h5><p></p>";
            divtxt += "<h5>Our offering integrates multiple best practices -- so you don't need to learn them -- ";
            divtxt += "into an easy-to-use system that delivers an incredibly advanced, affordable and useful result. </h5>";
            //document.getElementById("benefits_div5").innerHTML = divtxt;

            divtxt = "<h5>Use <span class='bsmnowcolor'>SaaS Frontier</span> now to show your " + ITterm + " how to streamline processes and ";
            divtxt += "ensure the services they provide meet your business needs.  </h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> makes it easy and fast for you to get the information you need to take ";
            divtxt += "action to improve the management of your " + ITterm + ".</h5>";
            //document.getElementById("benefits_div6").innerHTML = divtxt;
            a = new Array(
                'Parlez-vous des IT? ¿Usted habla IT?<br/>Sprechen Sie IT? Do you speak IT?',
                'Concerned with the costs of IT?<br/>Unsure of IT contribution?',
                'Business Service Management verifies customers are able to<br/>accomplish desired outcomes -- in business terms.',
                'To provide clear and actionable guidance to IT you<br/> must know what you need, why, and for whom.',
                'Do you know how to provide IT guidance that is<br/> clear, concise and actionable?',
                'All the expensive software and techie dashboards<br/>in the world can\'t tell you what you need.',
                'Who can you trust to provide you the guidance <br/>you need to make the right decisions?',
                'IT budget requests are getting larger and larger<br/>how can you know what to fund?',
                'Why is IT slow to adapt to changing business needs,<br/>cost so much, and contribute so litte?',
                'How come IT never seems to understand what<br/> you need to meet business requirements?',
                'IT services are intangible performances.<br/>Not products.',
                'You simply can\'t measure the quality of a performance<br/>until after the performance is complete. ',
                'You can\'t measure true IT service quality <br/>by looking at technical operational metrics.',
                'Only customers can judge quality; all other <br/>evaluations are essentially irrelevant.',
                'Only customers can tell IT if they\'re<br/>delivering what you need to succeed in the marketplace.',
                'To measure real IT service quality you have to think<br/>outside the box -- literally.',
                'You have to measure the human element:<br/>perception and ability to work.',
                'Only <span class="bsmnowcolor">SaaS Frontier</span> measures the business perspective<br/>of service quality and then shows you how to improve.'
                );
            divtxt += "<br/><br/>Integrating &ldquo;best of best of breed&rdquo; business and IT management ";
            divtxt += "frameworks like ITIL&reg;, SERVQUAL, CMMI-SVC&reg, Six Sigma, GQM+&reg; and more, ";
            divtxt += "SaaS Frontier&trade is the new standard in IT analytic solutions for Global 2,000 IT managers. ";
            divtxt += "<h5>Our offering integrates multiple service management frameworks and standards with easy to use and powerful Web 2.0 ";
            divtxt += "technologies to deliver an incredibly advanced, affordable and useful IT management tool. </h5>";
            divtxt += "<br/><br/><span class='bsmnowcolor'>SaaS Frontier</span> drives " + ITterm + "/IT Alignment by capturing " + ITterm + " needs and wants ";
            divtxt += "across 5 dimensions of service quality, 3 components of service value and 63 points of consideration.";

            divtxt = "<h5>Be seen as an innovator and " + ITterm + " enabler as you prioritize and balance resources based on what your customers ";
            divtxt += "say is important.</h5>";
            divtxt += "<p></p><h5>Control the costs of delivering IT services and improve resource allocations while improving " + ITterm + " ";
            divtxt += "benefits -- in just a few days.</h5>";
            //document.getElementById("benefits_div2").innerHTML = divtxt;

            divtxt = "<h5>Meet the changing demands of your " + ITterm + " landscape as you find out how well you deliver ";
            divtxt += "against " + ITterm + " requirements and learn exactly what to improve.</h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> pinpoints quality improvements through unique ";
            divtxt += "scientific analysis of service requirements and perceptions -- it's more accurate ";
            divtxt += "and useful than blindly collected tech metrics.</h5>";
            //document.getElementById("benefits_div3").innerHTML = divtxt;

            divtxt = "<h5>Provide tangible evidence of alignment and show opportunities for improvements in " + ITterm + " ";
            divtxt += "terms as you visibly contribute to " + ITterm + " outcomes.</h5><p></p>";
            divtxt += "<h5>Get going with ITIL -- define services, capture business value, and align IT improvements with ";
            divtxt += ITterm + " goals. </h5>";
            //document.getElementById("benefits_div4").innerHTML = divtxt;

            //document.getElementById("benefits_div5").innerHTML = divtxt;

            divtxt = "<h5>Use <span class='bsmnowcolor'>SaaS Frontier</span> now to streamline processes, reduce the cost of providing IT services, ";
            divtxt += "ensure IT services meet " + ITterm + " needs, continually increase " + ITterm + " satisfaction and so much more. </h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> makes it easy and fast for you to get the information you need to take ";
            divtxt += "action to improve service quality in alignment with your " + ITterm + ". </h5>";
            //document.getElementById("benefits_div6").innerHTML = divtxt;

            a = new Array(
                'Parlez-vous des affaires? ¿Usted habla negocio?<br/>Sprechen Sie Geschäft? Do you speak business?',
                'Business Service Management verifies customers are able to<br/>accomplish desired outcomes -- in business terms.',
                'To align with business, improve IT service quality,<br/>and control costs IT needs to speak business.',
                'Do you know what do your business really needs?<br/>Do you know why they need it?',
                'All the expensive software and techie dashboards<br/>in the world can\'t tell you what your business wants.',
                'Who can you trust to provide you the guidance <br/>you need to make the right decisions?',
                'Your budget isn\'t getting any bigger -- so how <br/>do you do a better job, for more, with less?',
                'Why does business change requirements often<br/>and make unreasonable demands for services?',
                'How come business is never satisfied no matter <br/>how hard you and your team work?',
                'IT services are intangible performances. <br/>Not products.',
                'You simply can\'t measure the quality of a performance<br/>until after the performance is complete. ',
                'You can\'t measure true IT service quality <br/>by looking at technical operational metrics.',
                'Only the business can judge quality; all other <br/>evaluations are essentially irrelevant.',
                'Only the business can tell you if you\'re <br/>delivering what they need to succeed in the marketplace.',
                'Why do other vendors want you to measure<br/> operational hardware, software and network metrics?',
                'Monitoring events, performance, capacity, and all<br/> the rest won\'t diagnose quality or satisfaction.',
                'Monitoring &ne; Quality<br/>Event Management &ne; Business Satisfaction',
                'Where\'s the human element?<br/>The business value?',
                'To measure real IT service quality you have to think<br/>outside the box -- literally.',
                'You have to measure the human element:<br/>perception and ability to work.',
                'Only <span class="bsmnowcolor">SaaS Frontier</span> measures the business perspective<br/>of service quality and then shows you how to improve.'
                );
            //document.getElementById("contentwindow").style.backgroundColor = "#804000";
            ITterm = "IT provider";
            divtxt = "SaaS to Manage Your Service Providers.";
            document.getElementById("title_div").innerHTML = divtxt;

            divtxt = "<strong>Begin controlling your providers today</strong><br/>";
            divtxt += "We offer fast, accurate and affordable Software as a Service as an easy-to-use solution that both measures ";
            divtxt += "the performance of service providers, and provides you with clear directions so you can communicate effectively. ";
            divtxt += "<br/><br/>SaaS Frontier&trade is the new standard in IT analytic solutions for Global 2,000 managers responsible for managing service providers. ";
            divtxt += "<a style='color:blue'  title=\"Go to features page\" href=\"javascript:void(0);\" onclick=\"document.location='features.php'\"><span style='color:blue'>More...</span></a>";
            document.getElementById("elevator").innerHTML = divtxt;

            divtxt = "Improve your " + ITterm + " relationships as you document and communicate your IT service needs. ";
            divtxt += "Provide clear guidance about your priorities and needs -- and know if your " + ITterm + " is delivering.";

            document.getElementById("benefits_div1").innerHTML = divtxt;
            divtxt += "Finally understand how to manage your " + ITterm + ", why. Layout and justify your plan, then pass to ";
            divtxt += "your " + ITterm + " for execution.";
            divtxt += "<span class='bsmnowcolor'>SaaS Frontier</span> provides guidance for your " + ITterm + " by capturing your needs ";
            divtxt += "across 5 dimensions of service quality, 3 components of service value and 63 points of consideration.";

            divtxt = "<h5>Quickly and easily understand how to prioritize and balance your " + ITterm + " resource allocations based on service ";
            divtxt += "importance and business value.</h5>";
            divtxt += "<p></p><h5>Control the costs of delivering IT services and improve resource allocations while improving business ";
            divtxt += "benefits -- in just a few days.</h5>";
            //document.getElementById("benefits_div2").innerHTML = divtxt;

            divtxt = "<h5>Help your " + ITterm + " meet your changing demands as you guide them based on ";
            divtxt += " customer requirements. Show your " + ITterm + " exactly what and where to improve.</h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> pinpoints quality improvements through unique ";
            divtxt += "scientific analysis of service requirements and perceptions -- it's more accurate ";
            divtxt += "and useful than blindly collected tech metrics.</h5>";
            //document.getElementById("benefits_div3").innerHTML = divtxt;

            divtxt = "<h5>Clear, concise and accurate guidance for your " + ITterm + " ";
            divtxt += "helps them meet to your required business outcomes -- and contractual obligations.</h5><p></p>";
            divtxt += "<h5>Guide your providers to focus your investments on what you really need to get more bang for your IT buck -- ";
            divtxt += "define services, capture ";
            divtxt += "business value, align provider improvements with your business (and IT) goals. </h5>";
            //document.getElementById("benefits_div4").innerHTML = divtxt;

            divtxt = "<h5><span class='bsmnowcolor'>SaaS Frontier</span> measures IT service quality, diagnoses IT service health, and prescribes a ";
            divtxt += "recommended course of action to remediate any issues encountered.</h5><p></p>";
            divtxt += "<h5>We provide the precise and accurate management information you need to improve quality, control costs and re-balance ";
            divtxt += "resources -- all while aligning with your business. </h5><p></p>";
            divtxt += "<h5>Our offering integrates multiple service management frameworks and standards with easy to use and powerful Web 2.0 ";
            divtxt += "technologies to deliver an incredibly advanced, affordable and useful IT management tool. </h5>";
            //document.getElementById("benefits_div5").innerHTML = divtxt;

            divtxt = "<h5><span class='bsmnowcolor'>SaaS Frontier</span> measures your " + ITterm + " service quality, diagnoses service health, and prescribes a ";
            divtxt += "recommended course of action you can provide them to resolve issues.</h5><p></p>";
            divtxt += "<h5>We provide the precise and accurate management information you need to manage your " + ITterm + " in ways that improve quality ";
            divtxt += "and control costs -- all while aligning with your business needs. </h5><p></p>";
            divtxt += "<h5>Our offering integrates multiple best practices -- so neither you nor your provider needs to learn them -- ";
            divtxt += "into an easy-to-use system that delivers an incredibly advanced, affordable and useful result. </h5>";
            //document.getElementById("benefits_div5").innerHTML = divtxt;

            divtxt = "<h5>Use <span class='bsmnowcolor'>SaaS Frontier</span> now to show your " + ITterm + " how to streamline processes and ";
            divtxt += "ensure the services they provide meet your business needs.  </h5><p></p>";
            divtxt += "<h5><span class='bsmnowcolor'>SaaS Frontier</span> makes it easy and fast for you to get the information you need to take ";
            divtxt += "action to improve the management of your " + ITterm + ".</h5>";
            //document.getElementById("benefits_div6").innerHTML = divtxt;

            divtxt = "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Fast</span></strong> - Start today, provide better direction to your " + ITterm + " tomorrow.</li>";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Easy</span></strong> - Document what your " + ITterm + " must provide you.</li>";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Accurate</span></strong> - Proven techniques, solid science, impeccable results.</li>";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Flexible</span></strong> - Assess as much as you want for one low price.</li>";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Unbiased</span></strong> - No hidden agendas or ulterior motives.</li>";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Secure</span></strong> - Secure site, strong encryption, individual databases.";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Affordable</span></strong> - Pay only for what you need.";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Modern Web 2.0 Application</span></strong> - easy to use, easy to afford.";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Focused</span></strong> - Dedicated to achieving benefit from IT investments.</li>";
            divtxt += "<li style='padding-right:10px'><p><strong><span class='bsmnowcolor'>\n\
                Scalable</span></strong> - From 1 to as &lsquo;many as you want&rsquo; users.";
            document.getElementById("10reasons").innerHTML = "<ul>" + divtxt + "</ul>";

            a = new Array(
                'Parlez-vous des IT? ¿Usted habla IT?<br/>Sprechen Sie IT? Do you speak IT?',
                'Concerned with the costs of IT?<br/>Unsure of IT contribution?',
                'Business Service Management verifies customers are able to<br/>accomplish desired outcomes -- in business terms.',
                'To manage IT you have to know what is needed<br/>by the business, why, and for whom.',
                'Do you know how to provide IT guidance that is<br/> clear, concise and actionable?',
                'All the expensive software and techie dashboards<br/>in the world can\'t tell you what you need.',
                'Who can you trust to provide you the guidance <br/>you need to make the right decisions?',
                'IT budget requests are getting larger and larger<br/>how can you know what to fund?',
                'Why is IT slow to adapt to changing business needs,<br/>cost so much, and contribute so litte?',
                'How come IT never seems to understand what<br/> you need to meet business requirements?',
                'IT services are intangible performances.<br/>Not products.',
                'You simply can\'t measure the quality of a performance<br/>until after the performance is complete. ',
                'You can\'t measure true IT service quality <br/>by looking at technical operational metrics.',
                'Only customers can judge quality; all other <br/>evaluations are essentially irrelevant.',
                'Only customers can tell IT if they\'re<br/>delivering what you need to succeed in the marketplace.',
                'To measure real IT service quality you have to think<br/>outside the box -- literally.',
                'You have to measure the human element:<br/>perception and ability to work.',
                'Only <span class="bsmnowcolor">SaaS Frontier</span> measures the customer perspective<br/>of service quality and then shows you how to improve.'
                );
            break;
    }
    //step(0); // force reload
    document.getElementById("contentwindow").className = "rounded";
    //Rounded('rounded', 15, 15);
    var fb = document.getElementById('cmdTour');
    if (fb) fb.focus();

     

}

function cmdBM_click(){
    //    document.getElementById('BM').className = "activelink";
    //    document.getElementById('IM').className = "";
    ////    document.getElementById('VM').className = "";
    //    document.getElementById('SP').className = "";
    cmdRole(0);
}
function cmdIM_click(){
    //    document.getElementById('BM').className = "";
    //    document.getElementById('IM').className = "activelink";
    ////    document.getElementById('VM').className = "";
    //    document.getElementById('SP').className = "";
    cmdRole(1);
}
//function cmdVM_click(){
//    document.getElementById('BM').className = "";
//    document.getElementById('IM').className = "";
////    document.getElementById('VM').className = "activelink";
//    document.getElementById('SP').className = "";
//    cmdRole(2);
//}
function cmdSP_click(){
    //    document.getElementById('BM').className = "";
    //    document.getElementById('IM').className = "";
    ////    document.getElementById('VM').className = "activelink";
    //    document.getElementById('SP').className = "activelink";
    cmdRole(3);
}

function loadpage(){
    var role = getCookieValue("myrole");
    if (!role) role = 0;
    //alert ("role = '" + role + "'")
    role = parseInt(role);
    cmdRole(role);
}

//function grayOut(vis, options, extra) {
//    // Pass true to gray out screen, false to ungray
//    // options are optional.  This is a JSON object with the following (optional) properties
//    // opacity:0-100         // Lower number = less grayout higher = more of a blackout
//    // zindex: #             // HTML elements with a higher zindex appear on top of the gray out
//    // bgcolor: (#xxxxxx)    // Standard RGB Hex color code
//    // grayOut(true, {'zindex':'50', 'bgcolor':'#0000FF', 'opacity':'70'});
//    var options = options || {};
//    var zindex = options.zindex || 50;
//    var opacity = options.opacity || 70;
//    var opaque = (opacity / 100);
//    var bgcolor = options.bgcolor || '#000000';
//    var dark=document.getElementById('darkenScreenObject');
//    if (!dark) {
//        // The dark layer doesn't exist, it's never been created.  So we'll
//        // create it here and apply some basic styles.
//        // If you are getting errors in IE see: http://support.microsoft.com/default.aspx/kb/927917
//        var tbody = document.getElementsByTagName("body")[0];
//        var tnode = document.createElement('div');           // Create the layer.
//        tnode.style.position='absolute';                 // Position absolutely
//        tnode.style.top='0px';                           // In the top
//        tnode.style.left='0px';                          // Left corner of the page
//        tnode.style.overflow='hidden';                   // Try to avoid making scroll bars
//        tnode.style.display='none';                      // Start out Hidden
//        tnode.id='darkenScreenObject';                   // Name it so we can find it later
//        tbody.appendChild(tnode);                            // Add it to the web page
//        dark=document.getElementById('darkenScreenObject');  // Get the object.
//    }
//    if (vis) {
//        var _docHeight = Math.max(document.documentElement.clientHeight, document.documentElement.scrollHeight);
//        var _docWidth = (document.width !== undefined) ? document.width : document.body.offsetWidth;
//        if(window.innerHeight > _docHeight){
//            _docHeight = window.innerHeight;
//        }
//
//        var pageWidth  = "100%";
//        var pageHeight = _docHeight + "px";//"100%";
//        //set the shader to cover the entire page and make it visible.
//        dark.style.opacity=opaque;
//        dark.style.MozOpacity=opaque;
//        dark.style.filter='alpha(opacity='+opacity+')';
//        dark.style.zIndex=zindex;
//        dark.style.backgroundColor=bgcolor;
//        dark.style.width= pageWidth;
//        dark.style.height= pageHeight;
//        dark.style.display='block';
//    //document.body.style.overflow =  'hidden';
//    } else {
//        dark.style.display='none';
//    }
//}


function viewscreenshot(scr, id){
    grayOut(true, {
        'zindex':'50',
        'bgcolor':'black',
        'opacity':'60'
    });

    var divtxt;
    switch (id) {
        case 0:
            divtxt = "Dashboards not only show service quality,<br/>but also diagnose the components of quality."
            break;
        case 1:
            divtxt = "Drill down into data quickly and easily with<br/>sophisticated yet easy to understand graphs and charts."
            break;
        case 2:
            divtxt = "See service performance in a whole new way --<br/>based on business perception!"
            break;
        case 3:
            divtxt = "Discover what matters most to customers and users."
            break;
        case 4:
            divtxt = "Interactive gap analysis tools guide you<br/>every step of the way."
            break;
        case 5:
            divtxt = "Ready-to-run quality assessments use proven techniques and solid science."
            break;
    }



    var bdlg = document.getElementById("scrshot");
    bdlg.innerHTML = "<br/><span style='color:white'><strong>&nbsp;Click image to close screenshot</strong><span><br/><br/><img id='screenshotimage' src='graphics/" + scr + "'>";
    bdlg.innerHTML += '<div id="scrshotcontent" style="border:black thin solid;background-color:#FCF6CF;position:absolute; padding:10px;visibility:hidden"></div>';
    
    if (window.innerWidth || window.innerHeight){ //opera Netscape 6 Netscape 4x Mozilla 
        docwidth = window.innerWidth; 
        docheight = window.innerHeight; 
    }     //IE Mozilla 
    if (document.body.clientWidth || document.body.clientHeight){ 
        docwidth = document.body.clientWidth; 
        docheight = document.body.clientHeight; 
    } 

    var w = document.getElementById('screenshotimage').width;
    var h = document.getElementById('screenshotimage').height;
    var l = (docwidth/2)-(w/2) + "px";
    var t = (Math.max(document.documentElement.clientHeight, document.documentElement.scrollHeight)/2)-(h/2) + "px";
    bdlg.style.width = w;
    bdlg.style.height = h;
    bdlg.style.left = l;
    bdlg.style.top = t;
    bdlg.style.backgroundColor="black";

    cdlg = document.getElementById("scrshotcontent");
    cdlg.innerHTML = divtxt;
    cdlg.style.zindex = 9999;
    cdlg.style.left = 25 + "px";
    t = h - 25 + 'px';
    cdlg.style.top = t;
    cdlg.style.visibility="visible";

    bdlg.style.visibility="visible";
    bdlg.style.zIndex = 60;

}

function cmdHideScreenShot(){
    document.getElementById("scrshotcontent").style.visibility="hidden";
    document.getElementById("scrshot").style.visibility="hidden";
    grayOut(false);
}