WW PORTER's 5 FORCES

Launch (ssss): Porter's 5 Forces
Launch (wwjs): Porter's 5 Forces

<!DOCTYPE html>
<html>
<head>
<title>Porter's 5 Forces</title>
 
<!--
    Porter's 5 Forces Generator v2.0 (2011-10-09)
    HTML, CSS, JavaScript and JQuery code in this document is Copyright (c) Shane Smith, 2011. All Rights Reserved.
    Provided to WikiWealth.com with a perpetual license to use the program.
    Website: http://www.shane-smith.com
-->
 
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="https://jquery-wikidot-api.wdfiles.com/local--code/code:jquery-cookie"></script>
<script type="text/javascript" src="https://jquery-wikidot-api.wdfiles.com/local--code/code:jquery-wikidot-api"></script>
 
<script type="text/javascript">
var SITE = "wikiwealth";
var DATA = "wqNk0FjiJmdJeSiXuWMuXiDtPX47zLDO";
var SUB_TITLE;
var MAIN_TITLE;
var MAIN_PARENT = "five-forces";
var SUB_PAGE;
var MAIN_PAGE;
var DEST;
var ctr = 0;
var done = 0;
var timerId;
 
function checkFormDone()
{
    document.getElementById("progressAmt").innerHTML = done+" of "+ctr;
 
    if (done >= ctr) {
        // Clear the interval timer
        clearInterval( timerId );
        // Show that loading has finished
        document.getElementById("progressAmt").innerHTML = "FINISHED!";
        // Redirect to new page
        DEST = "http://"+SITE+".wikidot.com/"+MAIN_PAGE;
        window.top.location.href = DEST;
    }
}
 
function formSent()
{
    if (document.wwPORTER.title.value == "" || document.wwPORTER.title.value == null)
    {
        alert("Please provide a title for the Five Forces analysis. For example, a company or product name.");
        return false;
    }
    else if ( (/^['-_\(\)!. a-z0-9]+$/i.test(document.wwPORTER.title.value)) == false )
    {
        alert("Please avoid using punctuation or other special characters in the title for the Five Forces analysis.");
        return false;
    }
    else
    {
        // Convert first word in title to upper-case
        var tempTitle = document.wwPORTER.title.value;
        tempTitle = tempTitle.charAt(0).toUpperCase() + tempTitle.slice(1);
        document.wwPORTER.title.value = tempTitle;
 
        //submit-button-section
        document.getElementById("submit-button-section").style.display = "none";
        //spin-loader
        document.getElementById("spin-loader").style.display = "block";
 
        // Get counter of all checkboxes
        var rivalCount = document.wwPORTER.rival;
        var suppCount = document.wwPORTER.supp;
        var subsCount = document.wwPORTER.subs;
        var custCount = document.wwPORTER.cust;
        var compCount = document.wwPORTER.comp;
        // Determine how many are checked
        ctr = 0;
        for (var i=0; i<rivalCount.length; i++) { if (rivalCount[i].checked==true) { ctr++; } }
        for (var i=0; i<suppCount.length; i++) { if (suppCount[i].checked==true) { ctr++; } }
        for (var i=0; i<subsCount.length; i++) { if (subsCount[i].checked==true) { ctr++; } }
        for (var i=0; i<custCount.length; i++) { if (custCount[i].checked==true) { ctr++; } }
        for (var i=0; i<compCount.length; i++) { if (compCount[i].checked==true) { ctr++; } }
        // Get array of custom entries (split by comma)
        var cRIVALtemp = trim(document.wwPORTER.rival_ta.value);
        var cSUPPtemp = trim(document.wwPORTER.supp_ta.value);
        var cSUBStemp = trim(document.wwPORTER.subs_ta.value);
        var cCUSTtemp = trim(document.wwPORTER.cust_ta.value);
        var cCOMPtemp = trim(document.wwPORTER.comp_ta.value);
        var customRival = cRIVALtemp.split(",");
        var customSupp = cSUPPtemp.split(",");
        var customSubs = cSUBStemp.split(",");
        var customCust = cCUSTtemp.split(",");
        var customComp = cCOMPtemp.split(",");
        // Increase the counter
        for (var i=0; i<customRival.length; i++) { if (customRival[i] != 'null' && customRival[i] != "" && (/^[ a-z0-9]+$/i.test(customRival[i])) ) { ctr++; } }
        for (var i=0; i<customSupp.length; i++) { if (customSupp[i] != 'null' && customSupp[i] != "" && (/^[ a-z0-9]+$/i.test(customSupp[i])) ) { ctr++; } }
        for (var i=0; i<customSubs.length; i++) { if (customSubs[i] != 'null' && customSubs[i] != "" && (/^[ a-z0-9]+$/i.test(customSubs[i])) ) { ctr++; } }
        for (var i=0; i<customCust.length; i++) { if (customCust[i] != 'null' && customCust[i] != "" && (/^[ a-z0-9]+$/i.test(customCust[i])) ) { ctr++; } }
        for (var i=0; i<customComp.length; i++) { if (customComp[i] != 'null' && customComp[i] != "" && (/^[ a-z0-9]+$/i.test(customComp[i])) ) { ctr++; } }
        // Initialise the # that have been done to zero
        done = 0;
        try
        {
            api = $.wikidot('WikiWealth Five Forces Generator', DATA);
 
            SUB_TITLE = document.wwPORTER.title.value;
            MAIN_TITLE = document.wwPORTER.title.value + " - Five Forces Analysis";
            MAIN_PAGE = "five-forces:" + document.wwPORTER.title.value;
 
            var content = getContentString();
 
            var tagArr = new Array();
            tagArr.push("_user-generated");
 
            api.pages.save_one({'site': SITE, 'page': MAIN_PAGE, 'title': MAIN_TITLE, 'tags': tagArr, 'save_mode': 'create', 'parent_fullname': MAIN_PARENT, 'revision_comment': 'Page created by Five Forces Tool', 'notify_watchers': 'true'}, function(data)
                {
                    if (data)
                    {
                        var pageUnixName = data.fullname.split(":")[1];
                        SUB_PAGE = pageUnixName;
 
                        var oldTags = data.tags;
                        oldTags.push( pageUnixName );
 
                        // Then: Add Content
                        var content = getContentString();
                        api.pages.save_one({'site': SITE, 'page': "five-forces:"+SUB_PAGE, 'content': content, 'tags': oldTags, 'save_mode': 'update', 'revision_comment': 'Five Forces Tool... Adding content.', 'notify_watchers': 'false'}, function(data)
                            {
                                if (data)
                                {
                                    // Set up timer
                                    timerId = setInterval ( "checkFormDone()", 500 );
                                }
                                else
                                {
                                    alert("The Five Forces generator could not complete the entire task. Please try again with a different name, and contact the administrator if the problem continues.");
 
                                    //submit-button-section
                                    document.getElementById("submit-button-section").style.display = "block";
                                    //spin-loader
                                    document.getElementById("spin-loader").style.display = "none";
                                }
                            }
                        );
 
                        try
                        {
                            // Intensity of Existing Rivalry
                            var swotTitle = document.wwPORTER.title.value;
                            for (var i=0; i<document.wwPORTER.rival.length; i++)
                            {
                                if (document.wwPORTER.rival[i].checked == true)
                                {
                                    var currentCB = document.wwPORTER.rival[i].value;
                                    var pgname = "five-forces-rivalry:"+pageUnixName+":"+currentCB+" - "+document.wwPORTER.title.value;
                                    var pgtags = new Array();
                                    pgtags.push( pageUnixName );
                                    var content = "";
                                    if (currentCB != 'null' && currentCB == "Exit barriers are low") { content = "When exit barriers are low, weak firms are more likely to leave the market, which will increase the profits for the remaining firms. Low exit barriers are a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Relatively few competitors") { content = "Few competitors mean fewer firms are competing for the same customers and resources, which is a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Fast industry growth rate") { content = "When industries are growing revenue quickly, they are less likely to compete, because the total industry size is also growing. The only way to grow in slow growth industries is to steal market-share from competitors. Fast industry growth positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Large industry size") { content = "Large industries allow multiple firms and produces to prosper without having to steal market share from each other. Large industry size is a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Government limits competition") { content = "Government policies and regulations can dictate the level of competition within the industry. When they limit competition, this is a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Low storage costs") { content = "When storage costs are low, competitors have a lower risk of having to unload their inventory all at once. Low storage costs are a positive for **"+swotTitle+"**."; }
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': currentCB+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                            // customRival
                            for (var i=0; i<customRival.length; i++)
                            {
                                if (customRival[i] != 'null' && customRival[i] != "" && (/^[ a-z0-9]+$/i.test(customRival[i])) )
                                {
                                    var pgname = "five-forces-rivalry:"+pageUnixName+":"+customRival[i];
                                    var pgtags = new Array();
                                    pgtags[0] = pageUnixName;
                                    var content = "Please edit this page to add a description…";
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': customRival[i]+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                        }
                        catch (err)
                        {
                            var text = "An error occurred whilst attempting to\n";
                            text += "link a page to the analysis (RIVAL):\n\n";
                            text += err.message;
                            alert(text);
                        }
 
                        try
                        {
                            // Bargaining Power of [BLEH] Suppliers
                            var swotTitle = document.wwPORTER.title.value;
                            for (var i=0; i<document.wwPORTER.supp.length; i++)
                            {
                                if (document.wwPORTER.supp[i].checked == true)
                                {
                                    var currentCB = document.wwPORTER.supp[i].value;
                                    var pgname = "five-forces-supplier:"+pageUnixName+":"+currentCB+" - "+document.wwPORTER.title.value;
                                    var pgtags = new Array();
                                    pgtags.push( pageUnixName );
                                    var content = "";
                                    if (currentCB != 'null' && currentCB == "Low cost of switching suppliers") { content = "The easier it is to switch suppliers, the less bargaining power they have. Low supplier switching costs positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Volume is critical to suppliers") { content = "When suppliers are reliant on high volumes, they have less bargaining power, because a producer can threaten to cut volumes and hurt the supplier’s profits. This can positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Critical production inputs are similar") { content = "When critical production inputs are similar, it is easier to mix and match inputs, which reduces supplier bargaining power; a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Inputs have little impact on costs") { content = "When inputs are not a big component of costs, suppliers of those inputs have less bargaining power. Low cost inputs positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Diverse distribution channel") { content = "The more diverse distribution channels become the less bargaining power a single distributor will have. This positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Low concentration of suppliers") { content = "A low concentration of suppliers means there are many suppliers with limited bargaining power. Low concentration of suppliers positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "High competition among suppliers") { content = "High levels of competition among suppliers acts to reduce prices to producers. This is a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Large number of substitute inputs") { content = "When there are a large number of substitute inputs, suppliers have less bargaining leverage over producers. This is due to competition among substitutes. Greater competition positively affects **"+swotTitle+"**."; }
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': currentCB+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                            // customSupp
                            for (var i=0; i<customSupp.length; i++)
                            {
                                if (customSupp[i] != 'null' && customSupp[i] != "" && (/^[ a-z0-9]+$/i.test(customSupp[i])) )
                                {
                                    var pgname = "five-forces-supplier:"+pageUnixName+":"+customSupp[i];
                                    var pgtags = new Array();
                                    pgtags[0] = pageUnixName;
                                    var content = "Please edit this page to add a description…";
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': customSupp[i]+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                        }
                        catch (err)
                        {
                            var text = "An error occurred whilst attempting to\n";
                            text += "link a page to the analysis (SUPP):\n\n";
                            text += err.message;
                            alert(text);
                        }
 
                        try
                        {
                            // Threat of Substitutes
                            var swotTitle = document.wwPORTER.title.value;
                            for (var i=0; i<document.wwPORTER.subs.length; i++)
                            {
                                if (document.wwPORTER.subs[i].checked == true)
                                {
                                    var currentCB = document.wwPORTER.subs[i].value;
                                    var pgname = "five-forces-substitute:"+pageUnixName+":"+currentCB+" - "+document.wwPORTER.title.value;
                                    var pgtags = new Array();
                                    pgtags.push( pageUnixName );
                                    var content = "";
                                    if (currentCB != 'null' && currentCB == "Limited number of substitutes") { content = "A limited number of substitutes mean that customers cannot easily find other products or services that fulfil their needs. Limited substitutes are a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "High cost of switching to substitutes") { content = "Limited number of substitutes means that customers cannot easily switch to other products or services of similar price and still receive the same benefits. High switching costs positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Substantial product differentiation") { content = "When products and services are very different, customers are less likely to find comparable product or services that meet their needs. This is a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Substitute1") { content = "An inferior product means a customer is less likely to switch from **"+swotTitle+"** to another product or service."; }
                                    else if (currentCB != 'null' && currentCB == "Substitute2") { content = "A lower quality product means a customer is less likely to switch from **"+swotTitle+"** to another product or service."; }
                                    else if (currentCB != 'null' && currentCB == "Substitute3") { content = "A lower performance product means a customer is less likely to switch from **"+swotTitle+"** to another product or service."; }
                                        // Replace currentCB's temporary text with what we actually want!
                                        if (currentCB == "Substitute1") { currentCB = "Substitute product is inferior"; }
                                        else if (currentCB == "Substitute2") { currentCB = "Substitute is lower quality"; }
                                        else if (currentCB == "Substitute3") { currentCB = "Substitute has lower performance"; }
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': currentCB+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                            // customSubs
                            for (var i=0; i<customSubs.length; i++)
                            {
                                if (customSubs[i] != 'null' && customSubs[i] != "" && (/^[ a-z0-9]+$/i.test(customSubs[i])) )
                                {
                                    var pgname = "five-forces-substitute:"+pageUnixName+":"+customSubs[i];
                                    var pgtags = new Array();
                                    pgtags[0] = pageUnixName;
                                    var content = "Please edit this page to add a description…";
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': customSubs[i]+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                        }
                        catch (err)
                        {
                            var text = "An error occurred whilst attempting to\n";
                            text += "link a page to the analysis (SUBS):\n\n";
                            text += err.message;
                            alert(text);
                        }
 
                        try
                        {
                            // Bargaining Power of [BLEH] Customers
                            var swotTitle = document.wwPORTER.title.value;
                            for (var i=0; i<document.wwPORTER.cust.length; i++)
                            {
                                if (document.wwPORTER.cust[i].checked == true)
                                {
                                    var currentCB = document.wwPORTER.cust[i].value;
                                    var pgname = "five-forces-customer:"+pageUnixName+":"+currentCB+" - "+document.wwPORTER.title.value;
                                    var pgtags = new Array();
                                    pgtags.push( pageUnixName );
                                    var content = "";
                                    if (currentCB != 'null' && currentCB == "Limited buyer choice") { content = "When customers have limited choices they end up paying more for the choices that are available. Limited buyer choices are a positive for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Large number of customers") { content = "When there are large numbers of customers, no one customer tends to have bargaining leverage. Limited bargaining leverage helps **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Product is important to customer") { content = "When customers cherish particular products they end up paying more for that one product. This positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Low dependency on distributors") { content = "When produces have low dependence, distributors have less bargaining power. Low dependency positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Limited buyer information availability") { content = "When buyers have limited information, they are at a disadvantage in negotiations with sellers. Limited buyer information positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Low buyer price sensitivity") { content = "When buyers are less sensitive to prices, prices can increase and buyers will still buy the product. Inelastic demand positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Buyers require special customization") { content = "When customers require special customizations, they are less likely to switch to producers who have difficulty meeting their demands. Buyer customization positively affects **"+swotTitle+"**."; }
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': currentCB+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                            // customCust
                            for (var i=0; i<customCust.length; i++)
                            {
                                if (customCust[i] != 'null' && customCust[i] != "" && (/^[ a-z0-9]+$/i.test(customCust[i])) )
                                {
                                    var pgname = "five-forces-customer:"+pageUnixName+":"+customCust[i];
                                    var pgtags = new Array();
                                    pgtags[0] = pageUnixName;
                                    var content = "Please edit this page to add a description…";
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': customCust[i]+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                        }
                        catch (err)
                        {
                            var text = "An error occurred whilst attempting to\n";
                            text += "link a page to the analysis (CUST):\n\n";
                            text += err.message;
                            alert(text);
                        }
 
                        try
                        {
                            // Threat of New Competitors
                            var swotTitle = document.wwPORTER.title.value;
                            for (var i=0; i<document.wwPORTER.comp.length; i++)
                            {
                                if (document.wwPORTER.comp[i].checked == true)
                                {
                                    var currentCB = document.wwPORTER.comp[i].value;
                                    var pgname = "five-forces-competitor:"+pageUnixName+":"+currentCB+" - "+document.wwPORTER.title.value;
                                    var pgtags = new Array();
                                    pgtags.push( pageUnixName );
                                    var content = "";
                                    if (currentCB != 'null' && currentCB == "Entry barriers are high") { content = "When barriers are high, it is more difficult for new competitors to enter the market. High entry barriers positively affect profits for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "High learning curve") { content = "When the learning curve is high, new competitors must spend time and money studying the market before they can effectively compete. High learning curves positively affect profits for **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "High switching costs for customers") { content = "High switching costs make it difficult for customers to change which products they normally purchase, due to costs. High switching costs positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Customers are loyal to existing brands") { content = "It takes time and money to build a brand.  When companies need to spend resources building a brand, they have fewer resources to compete in the marketplace. These costs positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Geographic factors limit competition") { content = "If existing competitors have the best geographical locations, new competitors will have a competitive disadvantage. Limiting geographic factors positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Patents limit new competition") { content = "Patents that cover vital technologies make it difficult for new competitors, because the best methods are patented. Patents positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Industry requires economies of scale") { content = "Economies of scale help producers to lower their cost by producing the next unit of output at lower costs. When new competitors enter the market, they will have a higher cost of production, because they have smaller economies of scale. Economies of scale positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Advanced technologies are required") { content = "Advanced technologies make it difficult for new competitors to enter the market because they have to develop those technologies before effectively competing. The requirement for advanced technologies positively affects **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Strong brand names are important") { content = "If strong brands are critical to compete, then new competitors will have to improve their brand value in order to effectively compete. Strong brands positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "High sunk costs limit competition") { content = "High sunk costs make it difficult for a competitor to enter a new market, because they have to commit money up front with no guarantee of returns in the end. High sunk costs positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "High capital requirements") { content = "High capital requirements mean a company must spend a lot of money in order to compete in the market. High capital requirements positively affect **"+swotTitle+"**."; }
                                    else if (currentCB != 'null' && currentCB == "Strong distribution network required") { content = "Weak distribution networks mean goods are more expensive to move around and some goods don’t get to the end customer. The expense of building a strong distribution network positively affects **"+swotTitle+"**."; }
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': currentCB+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                            // customComp
                            for (var i=0; i<customComp.length; i++)
                            {
                                if (customComp[i] != 'null' && customComp[i] != "" && (/^[ a-z0-9]+$/i.test(customComp[i])) )
                                {
                                    var pgname = "five-forces-competitor:"+pageUnixName+":"+customComp[i];
                                    var pgtags = new Array();
                                    pgtags[0] = pageUnixName;
                                    var content = "Please edit this page to add a description…";
                                    api.pages.save_one({'site': SITE, 'page': pgname, 'title': customComp[i]+" ("+SUB_TITLE+")", 'content': content, 'tags': pgtags, 'parent_fullname': MAIN_PAGE, 'revision_comment': 'Created with the Five Forces Tool'}, function(data)
                                        {
                                            if (data != null) { done++; }
                                            else { throw new Error("Could not create this sub-page."); }
                                        }
                                    );
                                }
                            }
                        }
                        catch (err)
                        {
                            var text = "An error occurred whilst attempting to\n";
                            text += "link a page to the analysis (COMP):\n\n";
                            text += err.message;
                            alert(text);
                        }
 
                    }
                    else
                    {
                        alert("There was a problem when attempting to generate your Five Forces analysis. This may be because an analysis already exists for the company or product named \""+SUB_TITLE+"\".");
 
                        //submit-button-section
                        document.getElementById("submit-button-section").style.display = "block";
                        //spin-loader
                        document.getElementById("spin-loader").style.display = "none";
                    }
                }
            );
        }
        catch (err)
        {
            var text = "An error occurred whilst attempting to\n";
            text += "read the contents of the form:\n\n";
            text += err.message;
            alert(text);
            return false;
        }
    }
 
    // Return false to the form
    return false;
}
function redirect()
{
    window.top.location.href = DEST;
}
function trim(s)
{
    // remove multiple, leading or trailing spaces
    // Source: http://www.qodo.co.uk/blog/javascript-trim-leading-and-trailing-spaces
    s = s.replace(/(^\s*)|(\s*$)/gi,"");
    s = s.replace(/[ ]{2,}/gi," ");
    s = s.replace(/\n /,"\n");
    // remove spaces around commas (written by Shane Smith)
    s = s.replace(/ ,/,",");
    s = s.replace(/, /,",");
    return s;
}
function getContentString()
{
    var content = "Short description of Porter's Five Forces analysis for "+SUB_TITLE+"... [[button edit text=\"(edit/improve)\"]]";
    return content;
}
</script>
 
<style type="text/css" id="internal-style">
th {
    width: 300px;
    text-align: center;
}
td textarea {
    width: 200px;
    height: 100px; /*250px;*/
}
.company-product-name {
    text-align: center;
    font-family: Verdana, Arial, Serif;
    font-size: 1em;
}
.company-product-name input {
    width: 200px;
    font-family: Verdana, Arial, Serif;
    font-size: 1em;
}
#submit-button-section {
    text-align: center;
    display: block;
}
.submit-button {
    font-family: Verdana, Arial, Serif;
    font-size: 1.5em;
    padding-left: 2px;
    padding-right: 2px;
}
#spin-loader {
    font-weight: bold;
    text-align: center;
    display: none;
}
.custom-ta {
    width:90%;
    max-width:90%;
    height:1.5em;
    max-height:1.5em;
}
/* Minimise vertical spacing (h3) */
th h3 {
    margin-top: 3px;
    margin-bottom: 3px;
}
/* Minimise vertical spacing (p) */
p {
    margin-top: 2px;
    margin-bottom: 2px;
}
</style>
 
</head>
<body>
 
<form name="wwPORTER" action="" method="get">
    <p>
        <table style="width:100%;">
        <tr>
            <td colspan="5" class="company-product-name">
                Name: <input type="text" name="title" style="text-align:right;" /><span style="color:#929292;"> Five Forces Analysis</span><br />
                <!--You can add more Strengths, Weaknesses, Opportunities and Threats once you have submitted the form.-->
            </td>
        </tr>
        <tr>
            <th colspan="2" style="width:47%;"></th>
            <th style="width:6%;"></th>
            <th colspan="2" style="width:47%;"><h3>Intensity of Existing Rivalry</h3></th>
        </tr>
        <tr>
            <td colspan="2">
                <p>This form generates a Porter's Five Forces analysis using the information that you provide. It will be visible on WikiWealth.com immediately.</p>
                <p>A name is required, but all other fields are optional. The submit button can be found at the bottom of the form.</p>
                <p>Custom entries must be comma-separated and <a href="http://www.google.com/search?q=define%3Aalphanumeric" target="_blank">alphanumeric</a>.</p>
            </td>
            <td></td>
            <td>
                <!-- RIVAL -->
                <input type="checkbox" id="rival1" name="rival" value="Exit barriers are low" /> <label for="rival1">Exit barriers are low</label><br />
                <input type="checkbox" id="rival2" name="rival" value="Relatively few competitors" /> <label for="rival2">Relatively few competitors</label><br />
                <input type="checkbox" id="rival3" name="rival" value="Fast industry growth rate" /> <label for="rival3">Fast industry growth rate</label><br />
            </td>
            <td>
                <input type="checkbox" id="rival4" name="rival" value="Large industry size" /> <label for="rival4">Large industry size</label><br />
                <input type="checkbox" id="rival5" name="rival" value="Government limits competition" /> <label for="rival5">Government limits competition</label><br />
                <input type="checkbox" id="rival6" name="rival" value="Low storage costs" /> <label for="rival6">Low storage costs</label><br />
            </td>
        </tr>
        <tr>
            <td colspan="2"></td>
            <td></td>
            <td colspan="2">
                <!-- RIVAL: EXTRA -->
                <p>Custom entries:</p>
                <textarea name="rival_ta" rows="2" class="custom-ta"></textarea> <br />
            </td>
        </tr>
 
        <tr>
            <th colspan="2" style="width:47%;"><h3>Bargaining Power of Suppliers</h3></th>
            <th style="width:6%;"></th>
            <th colspan="2" style="width:47%;"><h3>Threat of Substitutes</h3></th>
        </tr>
        <tr>
            <td>
                <!-- SUPP -->
                <input type="checkbox" id="supp1" name="supp" value="Low cost of switching suppliers" /> <label for="supp1">Low cost of switching suppliers</label><br />
                <input type="checkbox" id="supp2" name="supp" value="Volume is critical to suppliers" /> <label for="supp2">Volume is critical to suppliers</label><br />
                <input type="checkbox" id="supp3" name="supp" value="Critical production inputs are similar" /> <label for="supp3">Critical production inputs are similar</label><br />
                <input type="checkbox" id="supp4" name="supp" value="Inputs have little impact on costs" /> <label for="supp4">Inputs have little impact on costs</label><br />
            </td>
            <td>
                <input type="checkbox" id="supp5" name="supp" value="Diverse distribution channel" /> <label for="supp5">Diverse distribution channel</label><br />
                <input type="checkbox" id="supp6" name="supp" value="Low concentration of suppliers" /> <label for="supp6">Low concentration of suppliers</label><br />
                <input type="checkbox" id="supp7" name="supp" value="High competition among suppliers" /> <label for="supp7">High competition among suppliers</label><br />
                <input type="checkbox" id="supp8" name="supp" value="Large number of substitute inputs" /> <label for="supp8">Large number of substitute inputs</label><br />
            </td>
            <td></td>
            <td>
                <!-- SUBS -->
                <input type="checkbox" id="subs1" name="subs" value="Limited number of substitutes" /> <label for="subs1">Limited number of substitutes</label><br />
                <input type="checkbox" id="subs2" name="subs" value="High cost of switching to substitutes" /> <label for="subs2">High cost of switching to substitutes</label><br />
                <input type="checkbox" id="subs3" name="subs" value="Substantial product differentiation" /> <label for="subs3">Substantial product differentiation</label><br />
            </td>
            <td>
                <input type="checkbox" id="subs4" name="subs" value="Substitute1" /> <label for="subs4">Substitute product is inferior</label><br />
                <input type="checkbox" id="subs5" name="subs" value="Substitute2" /> <label for="subs5">Substitute is lower quality</label><br />
                <input type="checkbox" id="subs6" name="subs" value="Substitute3" /> <label for="subs6">Substitute has lower performance</label><br />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <!-- SUPP: EXTRA -->
                <p>Custom entries:</p>
                <textarea name="supp_ta" rows="2" class="custom-ta"></textarea> <br />
            </td>
            <td></td>
            <td colspan="2">
                <!-- SUBS: EXTRA -->
                <p>Custom entries:</p>
                <textarea name="subs_ta" rows="2" class="custom-ta"></textarea> <br />
            </td>
        </tr>
 
        <tr>
            <th colspan="2"><h3>Bargaining Power of Customers</h3></th>
            <th style="width:6%;"></th>
            <th colspan="2"><h3>Threat of New Competitors</h3></th>
        </tr>
        <tr>
            <td>
                <!-- CUST -->
                <input type="checkbox" id="cust1" name="cust" value="Limited buyer choice" /> <label for="cust1">Limited buyer choice</label><br />
                <input type="checkbox" id="cust2" name="cust" value="Large number of customers" /> <label for="cust2">Large number of customers</label><br />
                <input type="checkbox" id="cust3" name="cust" value="Product is important to customer" /> <label for="cust3">Product is important to customer</label><br />
                <input type="checkbox" id="cust4" name="cust" value="Low dependency on distributors" /> <label for="cust4">Low dependency on distributors</label><br />
            </td>
            <td>
                <input type="checkbox" id="cust5" name="cust" value="Limited buyer information availability" /> <label for="cust5">Limited buyer information availability</label><br />
                <input type="checkbox" id="cust6" name="cust" value="Low buyer price sensitivity" /> <label for="cust6">Low buyer price sensitivity</label><br />
                <input type="checkbox" id="cust7" name="cust" value="Buyers require special customization" /> <label for="cust7">Buyers require special customization</label><br />
            </td>
            <td></td>
            <td>
                <!-- COMP -->
                <input type="checkbox" id="comp1" name="comp" value="Entry barriers are high" /> <label for="comp1">Entry barriers are high</label><br />
                <input type="checkbox" id="comp2" name="comp" value="High learning curve" /> <label for="comp2">High learning curve</label><br />
                <input type="checkbox" id="comp3" name="comp" value="High switching costs for customers" /> <label for="comp3">High switching costs for customers</label><br />
                <input type="checkbox" id="comp4" name="comp" value="Customers are loyal to existing brands" /> <label for="comp4">Customers are loyal to existing brands</label><br />
                <input type="checkbox" id="comp5" name="comp" value="Geographic factors limit competition" /> <label for="comp5">Geographic factors limit competition</label><br />
                <input type="checkbox" id="comp6" name="comp" value="Patents limit new competition" /> <label for="comp6">Patents limit new competition</label><br />
            </td>
            <td>
                <input type="checkbox" id="comp7" name="comp" value="Industry requires economies of scale" /> <label for="comp7">Industry requires economies of scale</label><br />
                <input type="checkbox" id="comp8" name="comp" value="Advanced technologies are required" /> <label for="comp8">Advanced technologies are required</label><br />
                <input type="checkbox" id="comp9" name="comp" value="Strong brand names are important" /> <label for="comp9">Strong brand names are important</label><br />
                <input type="checkbox" id="comp10" name="comp" value="High sunk costs limit competition" /> <label for="comp10">High sunk costs limit competition</label><br />
                <input type="checkbox" id="comp11" name="comp" value="High capital requirements" /> <label for="comp11">High capital requirements</label><br />
                <input type="checkbox" id="comp12" name="comp" value="Strong distribution network required" /> <label for="comp12">Strong distribution network required</label><br />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <!-- CUST: EXTRA -->
                <p>Custom entries:</p>
                <textarea name="cust_ta" rows="2" class="custom-ta"></textarea> <br />
            </td>
            <td></td>
            <td colspan="2">
                <!-- COMP: EXTRA -->
                <p>Custom entries:</p>
                <textarea name="comp_ta" rows="2" class="custom-ta"></textarea> <br />
            </td>
        </tr>
        </table>
    </p>
    <p id="submit-button-section">
        <input type="submit" class="submit-button" value="Create Five Forces Analysis" onClick="return formSent();" />
    </p>
    <p id="spin-loader">
        <img src="https://wwjs.wikidot.com/local--files/wwjs/ajax-loader2.gif"><br/>
        Loading... <span id="progressAmt"></span>
    </p>
</form>
 
</body>
</html>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License