// JavaScript Document
var x=0;
function grade_retail_test(){
myQuiz=document.quiz

var myWin= open("", "score");

myWin.document.open();


myWin.x=x;

myWin.document.write("<html><head>");
myWin.document.write('</head><body bgcolor="white" text="#000000">');
myWin.document.write("<font size=3>");

// 1
if (myQuiz.retail[1].checked){x=x+5}
// 2
if (myQuiz.shoplifters[2].checked){x=x+5}
// 3
if (myQuiz.new_cust[3].checked){x=x+5}
// 4
if (myQuiz.survey[1].checked){x=x+5}
// 5
if (myQuiz.profit[3].checked){x=x+5}
// 6
if (myQuiz.fail[3].checked){x=x+5}
// 7
if (myQuiz.expense[3].checked){x=x+5}
// 8
if (myQuiz.keystone[2].checked){x=x+5}
// 9
if (myQuiz.survival[1].checked){x=x+5}
// 10
if (myQuiz.ten[0].checked){x=x+5}
// 11
if (myQuiz.loss[2].checked){x=x+5}
// 12
if (myQuiz.shrinkage[1].checked){x=x+5}
// 13
if (myQuiz.theft[2].checked){x=x+5}
// 14
if (myQuiz.question[3].checked){x=x+5}
// 15
if (myQuiz.margin[2].checked){x=x+5}
// 16
if (myQuiz.turn_rate[2].checked){x=x+5}
// 17 
if (myQuiz.balance[0].checked){x=x+5}
// 18
if (myQuiz.gross[3].checked){x=x+5}
// 19
if (myQuiz.assets[3].checked){x=x+5}
// 20
if (myQuiz.statement[3].checked){x=x+5}

if (x== 100) myWin.document.write("<B>A+! You really know your retailing! <br>You scored " + x +" out of a possible 100."+ "</B><p>");
else if (x >= 95) myWin.document.write("<B>A! You have a tremendous working knowledge of retailing! <br>You scored " + x +" out of a possible 100."+ "</B><p>");
else if (x >= 85) myWin.document.write("<B>B. Your retail management knowlege is substantial, but could improve.<br> You scored " + x +" out of a possible 100."+ "</B><p>");
else if (x >= 75) myWin.document.write("<B>C. Retailing requires many skills and plenty of knowledge to succeed. Your trade association is an excellent source of information.<br> You scored " + x +" out of a possible 100."+ "</B><p>");
else  myWin.document.write("<B>D. Retail trade publications are a great source of information retail knowledge.<br> Look on our magazine page to see some of the best. <br>You scored " + x +" out of a possible 100."+ "</B><p>");

/** 1 */
if (myQuiz.retail[1].checked){x=x+5}
else{myWin.document.write("1. Customers walking into a business, traditionally <B>Look and walk to the right</b><p>");}

/** 2 */
if (myQuiz.shoplifters[2].checked){x=x+5}
else{myWin.document.write("2. The percentage of shoplifters reported to the authorities is <B>50%</b>.<p>");}

/** 3 */
if (myQuiz.new_cust[3].checked){x=x+5}
else{myWin.document.write("3. A current customer costs <B>$4</b>.<p>");}

/** 4 */
if (myQuiz.survey[1].checked){x=x+5}
else{myWin.document.write("4. Surveys show a retailer's greatest concern is <B>staffing</b>.<p>");}

/** 5 */
if (myQuiz.profit[3].checked){x=x+5}
else{myWin.document.write("5. By explaining the benefits of a unique product, your price can be higher than the competition by <B>10%</b>.<p>");}

/** 6 */
if (myQuiz.fail[3].checked){x=x+5}
else{myWin.document.write("6. The most frequent reason a business fails is <B>Cashflow</b>.<p>");}

/** 7 */
if (myQuiz.expense[3].checked){x=x+5}
else{myWin.document.write("7. The average price of an item taken by a non-professional shoplifter is <B>$55</b>.<p>");}

/** 8 */
if (myQuiz.keystone[2].checked){x=x+5}
else{myWin.document.write("8. 'Keystone' means <B>retail is twice the cost</b>.<p>");}

/** 9 */
if (myQuiz.survival[1].checked){x=x+5}
else{myWin.document.write("9. The percentage of new businesses surviving 5 years is <B>5%</b>.<p>");}

/** 10 */
if (myQuiz.ten[0].checked){x=x+5}
else{myWin.document.write("10. The percentage of new businesses surviving 10 years is <B>2%</b>.<p>");}

/** 11 */
if (myQuiz.loss[2].checked){x=x+5}
else{myWin.document.write("11. As a percentage of sales, shoplifting is approximately <B>1% - 2%</b>.<p>");}

/** 12 */
if (myQuiz.shrinkage[1].checked){x=x+5}
else{myWin.document.write("12. Most 'shrinkage' occurs from <B>Employees</b>.<p>");}

/** 13 */
if (myQuiz.theft[2].checked){x=x+5}
else{myWin.document.write("13. Where does most employee theft occur? <B>Point of sale</b>.<p>");}

/** 14 */
if (myQuiz.question[3].checked){x=x+5}
else{myWin.document.write("14. A 'yes' or 'no' answer is a response to a <B>close ended question</b>.<p>");}

/** 15 */
if (myQuiz.margin[2].checked){x=x+5}
else{myWin.document.write("15. 2/10 means <B>2% discount if paid within 10 days</b>.<p>");}

/** 16 */
if (myQuiz.turn_rate[2].checked){x=x+5}
else{myWin.document.write("16. Open to buy means <B>a method of calculating how much inventory should be in the business</b>.<p>");}

/** 17 */
if (myQuiz.balance[0].checked){x=x+5}
else{myWin.document.write("17. When standing before a customer, a sales person's arms and hands should be <B>arms at our side, hands with palms up.</b>.<p>");}

/** 18 */
if (myQuiz.gross[3].checked){x=x+5}
else{myWin.document.write("18. The best selling space in a business is <B>4 to 6 1/2 feet from the floor</b>.<p>");}

/** 19 */
if (myQuiz.assets[3].checked){x=x+5}
else{myWin.document.write("19. Businesses frequently determine their advertising budget as <B>a percentage of sales</b>.<p>");}

/** 20 */
if (myQuiz.statement[3].checked){x=x+5}
else{myWin.document.write("<B>20. FOB: Destination means </b> freight paid by the shipper.<p>");}

myWin.document.close();
myWin.focus();
x=0
}
