Home
test blog
June 28, 2010
February 18, 2008
Color choice
Header 1 qq
C Blog Test
Header 23 assasdasd
Tets
mymsn button
Eelzebub
Fourth of July
777_1
Post BI!
2145
Google Apps
googlepages
Testing
111_2
invite5
Best Anguilla Villa
newform
march11form
march11bform
march26c2
march27c2
march27c2b
march27c2c
march27c2f
may1c2
may21c2b
test'1
allantest1
inv5
inv6
inv6a
april30c2
asdf
RyanAdsense
lorum1
lorum2
ad
02-06-2010c2
Uploader Test
sdfg
Test

Subscribe To This Site
XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines



ew Array(); for(j=0;j

Init();

//Array of help text var gHelp=new Array();

//Array of html code an instructions for the various page elements var gMsg=new Array(); var gInputBoxPreamble=new Array();

for(var i=0;i

//Error and confirm messages

// This file should contain the help text for adding answers in Step2 var HelpForAnswers = 'http://help.sitesell.com/chooseit/add-answer.html';

// This file should contain the help text for adding considerations in Step3 var HelpForConsiderations = 'http://help.sitesell.com/chooseit/add-factor.html';

//if the client clicks the button to go to a non-existent step. gErrMsg[0]='This is the last Step. You cannot go any further.' gErrMsg[1]='This is the first Step. There is no previous Step.'

gErrMsg[2]='Erase current question and its data from previous Steps, and start a new one?';

//Importance values (for Step 3) must be between 1 and 100. gErrMsg[3] ='Please ONLY enter numbers between 1 and 100 in the right column (for "How Important").';

//Decision Scores values (for Step 4) must be between 1 and 100 gErrMsg[4] ='Please ONLY enter scores between 1 and 100 in each box in this table.';

//The client attempts, in Step 3, to add a consideration when there are already 10. gErrMsg[5] ='Sorry, there is a limit of 10 factors.';

//General help for the entire Choose It gHelp[0][0]='General help for the entire Choose It';

//Opening code for textbox for example 1. This will only be visible if in example mode. gInputBoxPreamble[0]='
[EXAMPLE] A typical small business question has been entered in the box below. Follow the decision making process through to its logical conclusion (Step 5), which gives you

Init();

//Array of help text var gHelp=new Array();

//Array of html code an instructions for the various page elements var gMsg=new Array(); var gInputBoxPreamble=new Array();

for(var i=0;i

//Error and confirm messages

// This file should contain the help text for adding answers in Step2 var HelpForAnswers = 'http://help.sitesell.com/chooseit/add-answer.html';

// This file should contain the help text for adding considerations in Step3 var HelpForConsiderations = 'http://help.sitesell.com/chooseit/add-factor.html';

//if the client clicks the button to go to a non-existent step. gErrMsg[0]='This is the last Step. You cannot go any further.' gErrMsg[1]='This is the first Step. There is no previous Step.'

gErrMsg[2]='Erase current question and its data from previous Steps, and start a new one?';

//Importance values (for Step 3) must be between 1 and 100. gErrMsg[3] ='Please ONLY enter numbers between 1 and 100 in the right column (for "How Important").';

//Decision Scores values (for Step 4) must be between 1 and 100 gErrMsg[4] ='Please ONLY enter scores between 1 and 100 in each box in this table.';

//The client attempts, in Step 3, to add a consideration when there are already 10. gErrMsg[5] ='Sorry, there is a limit of 10 factors.';

//General help for the entire Choose It gHelp[0][0]='General help for the entire Choose It';

//Opening code for textbox for example 1. This will only be visible if in example mode. gInputBoxPreamble[0]='
[EXAMPLE] A typical small business question has been entered in the box below. Follow the decision making process through to its logical conclusion (Step 5), which gives you the answer. Once you see how easy it is, click the Reset link in Step 5, and then solve the toughest question you face.
';

//Opening code for textbox for example 1; always visible gInputBoxPreamble[1]='
What is the right kind of question? ... One that has many possible answers. Do not frame your question in such a way that the possible answers are merely "Yes/No" or "Do it/DonLITERALESCAPEDQUOTEt do it". Enter your well thought-out question, and then click on the RIGHT-pointing arrow (below) to advance to Step 2.'; gInputBoxPreamble[1] +='
[EXAMPLE] Typical answers to the example question now appear (below). After you complete Step 5, you will click the Reset link in Step 5, and then list your own possible answers to your own question.

NOTE: If you do happen to be thinking about which small business Web host you should choose (a common question since failure rates are so high), enter others that you may be considering by clicking on the Add A Possible Answer button.


';

var gEx3='[EXAMPLE] Typical important factors are entered and scored below, in response to what is important in the small business Web hosting example. When you return (after completing Step 5), you will list and score your own important considerations, for your own question, here.

In the example below, the small business person lists and scores the following...

  • "Proven Track Record Of Success" = the most important (100) -- nothing trumps success
  • "Time/Money Spent On Business Not Tech" (90) -- technical and Search Engine barriers must disappear.
  • "ALL The Tools In One Place" (85) -- convenience and productivity
  • "Excellent Support and Helpful Community" (80) -- great help, when you need it
  • "Value for Price" (80) -- value is important, but s/he is willing to pay almost any price if it ensures success.

NOTE: If you do happen to be considering small business Web hosts, and if additional factors are important (ex., ability to "do it yourself," self-management of site after it is built, proven history of building free traffic, etc.), enter them (up to 10 total) by clicking on the Add A Factor button.

';

var gEx4='[EXAMPLE] Each possible answer for the example question has been scored according to how well each Web hosting solution fulfills each important factor. The table was completed one column at a time, not row by row (i.e., it was scored factor by factor).

This step takes some work and due diligence. In this example, as you research...

NOTE: If you do happen to be thinking about which small business Web host you should choose, do this example "for real." Re-score each box of the table below to match your own needs and circumstances.

';

//Code to Close textbox 1 var gInputBoxClose ='">';

//Text for example question for step1 var gExampleQuestion='Which is the best Web host for my online small business?';

//Text for example answers for Step2 gOptAns[0]='Site Build It!'; gOptAns[1]='Yahoo! Small Business'; gOptAns[2]='1and1'; gOptAns[3]='RackSpace'; gOptAns[4]='Let My WebMaster Do It All';

//Text for example considerations for Step3 gConsiderAns[0]='Proven Track Record Of Success'; gConsiderAns[1]='Value For Price'; gConsiderAns[2]='ALL The Tools In One Place'; gConsiderAns[3]='Time/Money Spent On Business Not Tech'; gConsiderAns[4]='Excellent Support and Helpful Community';

//Example Importance values for Step 3 gImporAns[0]=100; //Example Importance value #0 gImporAns[1]=80; //Example Importance value #1 gImporAns[2]=85; //Example Importance value #2 gImporAns[3]=90; //Example Importance value #3 gImporAns[4]=80; //Example Importance value #4

//Example Scores for Decision Helper for Step 4 //Top Row i.e. for Option #0 gScoreAns[0][0]=100; gScoreAns[0][1]=100; gScoreAns[0][2]=100; gScoreAns[0][3]=100; gScoreAns[0][4]=100;

//Option #1 gScoreAns[1][0]=50; gScoreAns[1][1]=30; gScoreAns[1][2]=50; gScoreAns[1][3]=50; gScoreAns[1][4]=30;

//Option #2 gScoreAns[2][0]=30; gScoreAns[2][1]=20; gScoreAns[2][2]=30; gScoreAns[2][3]=1; gScoreAns[2][4]=20;

//Option #3 gScoreAns[3][0]=60; gScoreAns[3][1]=50; gScoreAns[3][2]=75; gScoreAns[3][3]=1; gScoreAns[3][4]=1;

//Option #4 gScoreAns[4][0]=40; gScoreAns[4][1]=30; gScoreAns[4][2]=100; gScoreAns[4][3]=75; gScoreAns[4][4]=1;

//TOP LAYER, STEP 1 gMsg[0][0] ='Choose It! is decision making software. Use it to make important business, financial, even life-changing decisions. Yes, really! It brings amazing clarity, your own clarity, to any complex question or problem. People have used it to...

  • decide upon important strategic directions for their businesses
  • select career paths for their adult children
  • decide upon vacation destinations, and even to
  • make the monumental decision about what to have for lunch (bacon sandwich or cheese sandwich or bacon and cheese sandwich).
The process is based upon a classic decision making model that we all use intuitively for easy questions or problems (ex., "Do I?" or "DonLITERALESCAPEDQUOTEt I?" with columns of "pros" and "cons"). But that simple process breaks down badly for more complicated decisions.

Choose It! builds a simple-yet-sophisticated decision matrix while you complete a step-by-step decision tree. This decision making process organizes your thinking. Result? You make correct choices for the most complex, nuanced questions.

Best of all, itLITERALESCAPEDQUOTEs free! Ready? Do the Quick Tour. ';

gMsg[0][1] ='

Quick Tour!

'; gMsg[0][1] +='Click on the Quick Tour Me Through An Example button...';

//Top Layer, Step 1: Button to show example gMsg[0][2]='

//Example question, step 1 gMsg[0][3] =gInputBoxPreamble[1]; gMsg[0][3] +=gInputBoxClose;

//BOTTOM LAYER, STEP 1 gMsg[1][0]='';

//TOP LAYER, STEP 2 gMsg[2][0] =''; gMsg[2][1] ='

Step 2 of 5 -- List your possible answers to your question.
'; gMsg[2][2]=''; gMsg[2][3] ='Your question (above) should be phrased to ask for a list of possible answers. Enter them now. Do not enter "Yes/No" or "Do it/DonLITERALESCAPEDQUOTEt do it" type of answers. If you find yourself doing that, you have asked the wrong question (click the LEFT-pointing arrow to return to Step 1 and re-phrase). After entering your possible answers (use the Add A Possible Answer button if needed), click the RIGHT-pointing arrow.
';

gMsg[2][4] =GetOptionRows();

//BOTTOM LAYER, STEP 2 gMsg[3][0]='';

//TOP LAYER STEP 3 gMsg[4][0] =''; gMsg[4][1] ='

Step 3 of 5 -- List what is important to you.
';

gMsg[4][2] ='';

gMsg[4][3] ='What is important to you? List each factor, and then score how important it is in the right-hand column of boxes, on a scale of 1 to 100 (do not enter "0"). Click the RIGHT-pointing arrow to advance.
';

gMsg[4][4] =GetConsiderRows();

//BOTTOM LAYER, STEP 3 gMsg[5][0]='';

//TOP LAYER, STEP 4 gMsg[6][0] =''; gMsg[6][1] ='

Step 4 of 5 -- Score each possible answer.
'; gMsg[6][2]=''; gMsg[6][3]='Score your possible answers according to how well each possible answer fulfills the requirements of each factor. Score on a scale of 1 to 100 -- do not enter "0". Complete the table one column at a time, not row by row (i.e., score it factor by factor). This way you compare all of your possible answers for each factor, one factor at a time. Click the RIGHT-pointing arrow to see your best decision.
'; gMsg[6][4]=GetDecisionTable();

//BOTTOM LAYER, STEP 4 gMsg[7][0]='';

//TOP LAYER, STEP 5 gMsg[8][0]=''; gMsg[8][1] ='

Step 5 of 5 -- The Envelope, Please!
The best possible answer appears below. An overall score and bar chart are generated for each answer according to how well it fulfilled the factors that are important to you, while considering the importance you gave to each factor.

In other words, you decided. Choose It! just provided a framework for you to organize your thoughts and judgments. And then it simply supplied the math to figure out the results.

The beauty of Choose It! is that you actually make the decision. As long as you consider all important possible answers and factors, and as long as you score truthfully and donLITERALESCAPEDQUOTEt guide Choose It! to the answer you "secretly" want, you simply cannot make a mistake. Enjoy!';

gMsg[8][2]=GetResultsTable();

//BOTTOM LAYER, STEP 5 gMsg[9][0]='Click here to review the current question, starting over from Step 1. If you are considering a new Web host, repeat the example, adding your own factors, changing the numbers according to what makes sense to you. Compare apples to apples, especially looking for proof of success, and see how Site Build It! measures up for you. We hope to see you one day on the SiteSell Bulletin Board.

Or click here to reset. This erases all information and lets you start again at Step 1, where you can enter any question that you may be considering.

SBI! owners use a special version of Choose It! to select their optimal site niche/theme, after they gather all the data generated by SBI!LITERALESCAPEDQUOTEs best-of-breed Brainstorm It!. Inferior "brainstormers" alone cost more than SBI!LITERALESCAPEDQUOTEs all-in-one suite of tools. SBI! owners basically receive everything else that SBI! delivers, including success, for "less than free."
';

//On adding an answer in Step 2, redraw the top layer. function AddAnswer() { var j; gOpt[g_iNumOpts]=''; gScore[g_iNumOpts]=new Array(); for(j=0;j

function AddConsideration() { if(g_iNumConsiderations > 9) { alert(gErrMsg[5]); return; }

var i; for(i=0;i

function GetDynamicText(iTextGroup,iText,bHelp) { iTextGroup=parseInt(iTextGroup); iText=parseInt(iText); if(bHelp) { return gHelp[iTextGroup][iText]; } return gMsg[iTextGroup][iText]; }

//Navigation between steps function goTo(bNext) { g_iStepNum=parseInt(g_iStepNum); if(bNext && g_iStepNum<4) { ++g_iStepNum; } else if(!bNext &&g_iStepNum>0) { --g_iStepNum; } else if(bNext &&g_iStepNum ==4) { alert(gErrMsg[0]); //after last step return; } else if(!bNext && !g_iStepNum) { alert(gErrMsg[1]); //before first step return; } if(g_iStepNum ==4) { gMsg[8][2]=GetResultsTable(); } if(g_iStepNum) { if(gQuestion.length) { gMsg[2*g_iStepNum][0] ='Question:  "' gMsg[2*g_iStepNum][0] +=gQuestion; gMsg[2*g_iStepNum][0] +='"'; } } GeneratePage(g_iStepNum); }

function Erase() { if(!confirm(gErrMsg[2])) { return; } g_bShowExample=false; g_iStepNum=0; Init(); gMsg[0][3] =gInputBoxPreamble[1]; gMsg[0][3] +=gInputBoxClose; gMsg[2][2]=''; gMsg[2][4] =GetOptionRows(); gMsg[4][0] = ''; gMsg[4][2] = ''; gMsg[4][4] =GetConsiderRows(); gMsg[6][2] =''; gMsg[6][4] =GetDecisionTable(); gQuestion=''; for(var i=1; i<5 ; i++) { gMsg[2*i][0] =''; } GeneratePage(0); }

function Review() { g_iStepNum=0; GeneratePage(0); }

function UpdateOption(szOpt,iOptNum) { gOpt[parseInt(iOptNum)]= trim(szOpt); gMsg[2][4]=GetOptionRows(); gMsg[6][4]=GetDecisionTable(); }

function UpdateConsider(szVal,iConsiderNum,iParamNum) { iConsiderNum=parseInt(iConsiderNum); iParamNum=parseInt(iParamNum); if(!iParamNum) { gConsider[iConsiderNum]= szVal; } else { var iVal=parseInt(trim(szVal)); if(szVal.length && ( isNaN(iVal) || iVal <1 ||iVal >100) ) { alert(gErrMsg[3]); return false; } gImpor[iConsiderNum]=iVal; } gMsg[4][4]=GetConsiderRows(); gMsg[6][4]=GetDecisionTable(); }

function UpdateScore(szVal,iRow,iCol) { var iVal=parseInt(trim(szVal)); if(szVal.length && ( isNaN(iVal) || iVal<1 ||iVal>100 ) ) { alert(gErrMsg[4]); return false; } gScore[parseInt(iRow)][parseInt(iCol)]=szVal; gMsg[6][4]=GetDecisionTable(); }

function GetConsider(iConsiderNum,iParamNum) { iConsiderNum=parseInt(iConsiderNum); iParamNum=parseInt(iParamNum); if(!iParamNum) { return gConsider[iConsiderNum]; } return gImpor[iConsiderNum]; }

function GetScore(i,j) { return gScore[parseInt(i)][parseInt(j)]; }

function GetOpt(iOptNum) { return gOpt[parseInt(iOptNum)]; }

//Generate the rows of option answers for Step 2 function GetOptionRows() { var i; var str='

'; for(i = 0; i < g_iNumOpts; i++) { str += 'Possible Answer: '; str += i+1; str += ' 
'; } str +='
'; str +='

//Generate the rows of consideration answers for Step 3 function GetConsiderRows() { var i; var str='

'; for(i = 0; i < g_iNumConsiderations; i++) { str += 'What Is Important To Me? '; str += ' '; str += 'How Important (1-100)?
'; } str +='
'; str +='

//Table for Step 4 function GetDecisionTable() { var i,j; var str='

'; //Column headings of table str +=''; for(j=0; j< g_iNumConsiderations; j++) { if(!gConsider[j].length) { continue; } str +=''; } str +=''; for(i=0;i

function GetResultsTable() { var i,j; var str='

Possible Answers'; str +=gConsider[j]; str +='
'; str +=''; str +=''; str +=''; str +=''; for(i=0;i

function CalResult(iOptNum) { var i; var iWeightTotal=0; //Total weights, used to normalize the weights var iConsider=new Array(); //importance score for each consideration var iW=new Array(); //Individual weights var iScore=new Array(); var iRet=0; for(i=0; i< g_iNumConsiderations; i++) { iConsider[i]=parseInt(GetConsider(i,1)); if(isNaN(iConsider[i])) { iConsider[i]=0; } iWeightTotal += iConsider[i]; } //Calculate weights for(i=0; i< g_iNumConsiderations; i++) { iW[i]= iConsider[i]/iWeightTotal; iScore[i]=GetScore(iOptNum,i); if(isNaN(iScore[i])) { iScore[i]=0; } } for(i=0; i< g_iNumConsiderations; i++) { iRet +=iW[i]*iScore[i]; } return iRet; }

//Code which displays the buttons in a

Possible AnswersResultsRanking
on the left of the page. function GetButtonCode() { var msg='

function GetText(iTextGroup,iText,bHelp,bShowButtons) { if(bHelp) { return GetDynamicText(iTextGroup,iText,true); } var msg =GetDynamicText(iTextGroup,iText,false); if(bShowButtons) { msg += '

'; msg +=GetButtonCode(); msg +='
'; } return msg; }

//Called when the client modifies the question of part 1 function UpdateQuestion(szVal) { gMsg[0][3] =gInputBoxPreamble; gMsg[0][3] +=szVal; gMsg[0][3] +=gInputBoxClose; g_bShowExample=false; gQuestion=szVal; }

function ShowSample() { var i,j; g_bShowExample=true; gQuestion=gExampleQuestion; gMsg[0][3] =gInputBoxPreamble[0]; gMsg[0][3] +=gInputBoxPreamble[1]; gMsg[0][3] +=gExampleQuestion; gMsg[0][3] +=gInputBoxClose; gMsg[2][2]=gEx2; //Put in the example answers for Step 2, considerations and importance for Step3, scores for //Step 4 and TBA results for(i=0;i

function ShowHelp(iLayerNum,iNum) { alert(GetDynamicText(iLayerNum,iNum,true)); }

//Get rid of spaces before and after a string function trim(s) { while (s.substring(0,1) == ' ') { s = s.substring(1,s.length); } while (s.substring(s.length-1,s.length) == ' ') { s = s.substring(0,s.length-1); } return s; }

//-->





single ' escaped LITERALESCAPEDQUOTE

footer for er page