Eίδη τριγώνων ως προς τις γωνίες
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>aNobii Title of badge</title>
</head>
 
<body>
 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>aNobii Title of badge</title>
</head>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0054)http://users.thess.sch.gr/salnk/online/maths_e/3ex.htm -->
<?xml version="1.0"?><HTML xml:lang="en" 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Είδη τριγώνων-Άσκηση 3</TITLE>
<META http-equiv=Content-Language content=el>
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<META 
content="Created with Hot Potatoes by Half-Baked Software, registered to Yiannis Salonikides." 
name=author></META>
<META 
content="Hot Potatoes, Hot Potatoes, Half-Baked Software, Windows, University of Victoria" 
name=keywords></META><LINK href="http://purl.org/dc/elements/1.1/" 
rel=schema.DC>
<META content=UNREGISTERED name=DC:Creator>
<META content="Είδη τριγώνων" name=DC:Title>
<META http-equiv=Content-Type content="text/html; charset=windows-1253"><!-- Made with executable version 5.5 Release 0 Build 17 -->
<STYLE type=text/css>BODY {
    PADDING-RIGHT: 5%; PADDING-LEFT: 5%; FONT-SIZE: small; COLOR: #ffffff; FONT-FAMILY: Geneva,Arial; BACKGROUND-COLOR: #ffffff
}
P {
    FONT-SIZE: small; MARGIN: 0px; TEXT-ALIGN: justify
}
TABLE {
    FONT-SIZE: small
}
TR {
    FONT-SIZE: small
}
TD {
    FONT-SIZE: small
}
DIV {
    FONT-SIZE: small
}
SPAN {
    FONT-SIZE: small
}
DIV.Titles {
    MARGIN-BOTTOM: 4px; COLOR: #000033; PADDING-TOP: 10px; TEXT-ALIGN: center
}
.ExerciseTitle {
    FONT-SIZE: large; COLOR: #000033
}
.ExerciseSubtitle {
    COLOR: #000033
}
SPAN.Instructions {
 
}
.QuestionText {
 
}
.AnswerText {
 
}
.QNum {
    FONT-WEIGHT: bold
}
.FeedbackText {
 
}
DIV.Feedback {
    BORDER-RIGHT: 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: 1px solid; DISPLAY: none; PADDING-LEFT: 5px; FONT-SIZE: small; Z-INDEX: 1; LEFT: 1px; PADDING-BOTTOM: 5px; BORDER-LEFT: 1px solid; COLOR: #000033; PADDING-TOP: 5px; BORDER-BOTTOM: 1px solid; POSITION: absolute; TOP: 33%; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center
}
DIV.StdDiv {
    BORDER-RIGHT: #ffffff 1px solid; PADDING-RIGHT: 1em; BORDER-TOP: #ffffff 1px solid; PADDING-LEFT: 1em; FONT-SIZE: small; PADDING-BOTTOM: 1em; MARGIN: 1px 0px 0px; BORDER-LEFT: #ffffff 1px solid; COLOR: #ffffff; PADDING-TOP: 1em; BORDER-BOTTOM: #ffffff 1px solid; BACKGROUND-COLOR: #804040; TEXT-ALIGN: center
}
.FunctionButton {
    BORDER-RIGHT: #804040 2px solid; PADDING-RIGHT: 6px; BORDER-TOP: #804040 2px solid; PADDING-LEFT: 6px; PADDING-BOTTOM: 3px; BORDER-LEFT: #804040 2px solid; CURSOR: pointer; COLOR: #ffffff; PADDING-TOP: 3px; BORDER-BOTTOM: #804040 2px solid; BACKGROUND-COLOR: #804040; TEXT-ALIGN: center
}
DIV.NavButtonBar {
    CLEAR: both; FONT-SIZE: small; MARGIN: 2px 0px; BACKGROUND-COLOR: #ffffcc; TEXT-ALIGN: center
}
DIV.NavButtonBar BUTTON {
    BORDER-RIGHT: #ffffcc 2px solid; PADDING-RIGHT: 2px; BORDER-TOP: #ffffcc 2px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; BORDER-LEFT: #ffffcc 2px solid; CURSOR: pointer; COLOR: #000000; PADDING-TOP: 2px; BORDER-BOTTOM: #ffffcc 2px solid; BACKGROUND-COLOR: #ffffcc
}
A {
    COLOR: #ffff00
}
A:visited {
    COLOR: #c0c0c0
}
A:hover {
    COLOR: #ffff00
}
</STYLE>
 
<SCRIPT type=text/javascript>
 
//<![CDATA[
 
<!--
 
// BrowserCheck Object
 
function BrowserCheck() {
    var b = navigator.appName;
    this.mac = (navigator.appVersion.indexOf('Mac') != -1);
    if (b=="Netscape") this.b = 'ns';
    else if (b=="Microsoft Internet Explorer") this.b = 'ie';
    else this.b = b;
    this.ns = (this.b == 'ns');
    this.ie = (this.b == 'ie');
    this.version = navigator.appVersion;
    if (this.b == 'ie'){
        var x = this.version.indexOf('MSIE ') + 5;
        var vnum = '';
 
        while ((this.version.charAt(x) > -1)&&(this.version.charAt(x) < 10)){
            vnum += this.version.charAt(x);
            x++;
        }
        this.v = parseInt(vnum);
    }
    else{
        this.v = parseInt(this.version);
    }
    if (this.ns&&(this.v == 5)){
        this.v = 6;
    }
    this.min = (this.v > 5);
}
 
is = new BrowserCheck();
 
if ((is.min == false)||(is.ie5mac)){
    alert('Your browser can\'t handle this page. You need NS6+ or IE6+ on Windows, or NS6+ on Mac.');
}
 
function PageDim(){
//Get the page width and height
    this.W = 600;
    this.H = 400;
    if (is.ns) this.W = window.innerWidth;
    if (is.ie) this.W = document.body.clientWidth;
    if (is.ns) this.H = window.innerHeight;
    if (is.ie) this.H = document.body.clientHeight;
 
}
 
var pg = null;
 
function SuppressBackspace(e){ 
 
    if (is.ns) {
        thisKey = e.keyCode;
    }
    else {
        thisKey = window.event.keyCode;
    }
 
    var Suppress = false;
 
    if (thisKey == 8) {
        Suppress = true;
    }
 
    if (Suppress == true){
        if (is.ie){
            window.event.returnValue = false;    
            window.event.cancelBubble = true;
        }
        else{
            e.preventDefault();
        }
    }
}
 
var NavLightColor = '#ffffe5';
var NavShadeColor = '#7f7f66';
var NavBarColor = '#ffffcc';
var FuncLightColor = '#bf9f9f';
var FuncShadeColor = '#402020';
var ExBGColor = '#804040';
 
function NavBtnOver(Btn){
    Btn.style.padding = '1px 3px 3px 1px';
    Btn.style.borderLeftColor = NavLightColor;
    Btn.style.borderTopColor = NavLightColor;
    Btn.style.borderRightColor = NavShadeColor;
    Btn.style.borderBottomColor = NavShadeColor;
}
 
function NavBtnOut(Btn){
    Btn.style.borderColor = NavBarColor;
    Btn.style.padding = '2px 2px 2px 2px';
}
 
function NavBtnDown(Btn){
    Btn.style.borderLeftColor = NavShadeColor;
    Btn.style.borderTopColor = NavShadeColor;
    Btn.style.borderRightColor = NavLightColor;
    Btn.style.borderBottomColor = NavLightColor;
    Btn.style.padding = '3px 1px 1px 3px';
}
 
function FuncBtnOver(Btn){
    Btn.style.padding = '2px 7px 4px 5px';
    Btn.style.borderLeftColor = FuncLightColor;
    Btn.style.borderTopColor = FuncLightColor;
    Btn.style.borderRightColor = FuncShadeColor;
    Btn.style.borderBottomColor = FuncShadeColor;
}
 
function FuncBtnOut(Btn){
    Btn.style.borderColor = '#804040';
    Btn.style.padding = '3px 6px 3px 6px';
}
 
function FuncBtnDown(Btn){
    Btn.style.borderLeftColor = FuncShadeColor;
    Btn.style.borderTopColor = FuncShadeColor;
    Btn.style.borderRightColor = FuncLightColor;
    Btn.style.borderBottomColor = FuncLightColor;
    Btn.style.padding = '4px 5px 2px 7px';
}
 
var topZ = 100;
 
var CurrQNum = 0;
var ALetters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
var CorrectIndicator = ':-)';
var IncorrectIndicator = 'X';
var YourScoreIs = '&#919; &#946;&#945;&#952;&#956;&#959;&#955;&#959;&#947;&#943;&#945; &#963;&#959;&#965; &#949;&#943;&#957;&#945;&#953;';
var Tries = 0;
var CorrectChoices = 0;
var ContinuousScoring = false;
var CorrectFirstTime = '&#917;&#961;&#969;&#964;&#942;&#963;&#949;&#953;&#962; &#960;&#959;&#965; &#945;&#960;&#945;&#957;&#964;&#942;&#952;&#951;&#954;&#945;&#957; &#954;&#945;&#964;&#949;&#965;&#952;&#949;&#943;&#945;&#957;: ';
var ShuffleQs = true;
var ShuffleAs = true;
var DefaultRight = '&#931;&#969;&#963;&#964;&#940;!';
var DefaultWrong = '&#923;&#965;&#960;&#940;&#956;&#945;&#953;! &#916;&#959;&#954;&#943;&#956;&#945;&#963;&#949; &#960;&#940;&#955;&#953;.';
var QsToShow = 15;
var ReadingURL = '[ReadingURL]';
var Score = 0;
var TempReading = '';
var StartTime = (new Date()).toLocaleString();
var HPNStartTime = (new Date()).getTime();
var Finished = false;
var SubmissionTimeout = 30000;
 
var QButtonsOpener = '<button class="FunctionButton" onfocus="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="ChangeQ(-1); return false;">&nbsp;&lt;=&nbsp;</button><span class="QNum">';
var QButtonsCloser = '</span><button id="NextQButton" class="FunctionButton" onfocus="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="ChangeQ(1); return false;">&nbsp;=&gt;&nbsp;</button>';
 
var TableOpener = '<form name="QForm">';
TableOpener += '<table border="0" style="margin-left: auto; margin-right: auto; margin-top: 10px;">';
var QRow = '<tr><td valign="top" align="right"><span class="QNum">[QNumber].&nbsp;&nbsp;</span></td>';
QRow += '<td valign="top" align="left"> <p><span class="QuestionText">[Question]</span><br />&nbsp;</p>';
QRow += '</td></tr>';
 
var ARow = '<tr><td>&nbsp;</td><td><table border="0" cellpadding="0" cellspacing="2">';
ARow += '<tr><td></td><td valign="middle" align="left"><span id="FB_[QNum]_[ANum]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></td>';
ARow += '<td valign="middle" align="left"><button class="FunctionButton" onfocus="FuncBtnOver(this)" onmouseover="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="CheckAnswer([QNum],[ANum]); return false;">&nbsp;[ALetter]&nbsp;</button></td>';
 
ARow += '<td><span class="AnswerText">[Ans]</span></td></tr>';
ARow += '</table></td></tr>';
 
var MARow = '<tr><td></td><td valign="top" align="left"><input type="checkbox" name="A_[QNum]_[ANum]" value="[Correct]"></input>';
MARow += '<span class="AnswerText">[Ans]</span></td></tr>';
 
var CheckButton = '<tr><td align="center" colspan="2"><table border="0"><tr><td>';
CheckButton += '<button class="FunctionButton" onmouseover="FuncBtnOver(this)" onfocus="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onblur="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="CheckMulti([QNum]); return false;">&nbsp;&#904;&#955;&#949;&#947;&#967;&#959;&#962;&nbsp;</button>';
CheckButton += '</td></tr></table></td></tr>';
 
TableCloser = '</table></form>';
 
function ReduceItems(){
    var ItemToDump=0;
    var j=0;
    while (I.length > QsToShow){
        ItemToDump = Math.floor(I.length*Math.random());
        for (j=ItemToDump; j<(I.length-1); j++){
            I[j] = I[j+1];
        }
        I.length = I.length-1;
    }
}
 
function Shuffle(InArray){
    Temp = new Array();
    var Len = InArray.length;
 
    var j = Len;
 
    for (var i=0; i<Len; i++){
        Temp[i] = InArray[i];
    }
 
    for (i=0; i<Len; i++){
        Num = Math.floor(j  *  Math.random());
        InArray[i] = Temp[Num];
 
        for (var k=Num; k < j; k++) {
            Temp[k] = Temp[k+1];
        }
        j--;
    }
    return InArray;
}
 
function WriteFeedback(Feedback){
    var Output = Feedback + '<br /><br />';
    document.getElementById('FeedbackContent').innerHTML = Output;
    var FDiv = document.getElementById('FeedbackDiv');
//Calculate and set its left setting
    topZ++;
    FDiv.style.zIndex = topZ;
 
//Position the feedback div
    pg = new PageDim();
    FDiv.style.left = Math.floor(pg.W/3) + 'px';
    FDiv.style.width = Math.floor(pg.W/3) + 'px';
//Set the top again in case the window has been resized
    if (is.ns){
        FDiv.style.top = Math.floor(pg.H/3) + window.pageYOffset + 'px';
    }
    else{
        FDiv.style.top = Math.floor(pg.H/3) + document.body.scrollTop + 'px';
    }
    FDiv.style.display = 'block';
    document.getElementById('FeedbackOKButton').focus();
 
}
 
function HideFeedback(){
    document.getElementById('FeedbackOKButton').blur();
    document.getElementById('FeedbackContent').innerHTML = '';
    document.getElementById('FeedbackDiv').style.display='none';
    document.getElementById('NextQButton').focus();
    if (Finished == true){
        Finish();
    }
}
 
function WriteToInstructions(Feedback) {
    Feedback = '<span class="FeedbackText">' + Feedback + '</span>';
    document.getElementById('InstructionsDiv').innerHTML = Feedback;
 
}
 
function WriteScore(Feedback) {
    Feedback = '<span class="FeedbackText">' + Feedback + '</span>';
    document.getElementById('ScoreDiv').innerHTML = Feedback;
 
}
 
function StartUp(){
 
//IE bug avoidance -- remove bottom navbar
    if (is.ie){
        if (document.getElementById('BottomNavBar') != null){
            document.getElementById('TheBody').removeChild(document.getElementById('BottomNavBar'));
        }
    }
 
    if (is.ie){
        document.attachEvent('onkeydown',SuppressBackspace);
        window.attachEvent('onkeydown',SuppressBackspace);
    }
    else if (is.ns){
        window.addEventListener('keypress',SuppressBackspace,false);
    }
 
//Reduce array if required
    if (QsToShow < I.length){
        ReduceItems();
    }
 
//Shuffle stuff if required
 
    if (ShuffleQs == true){
        I = Shuffle(I);
    }
 
    if (ShuffleAs == true){
        for (var i=0; i<I.length; i++){
            I[i][1] = Shuffle(I[i][1]);
        }
    }
 
//Create arrays
    CreateStatusArrays();
 
//Show the first question
    ShowQuestion(CurrQNum);
 
}
 
I = new Array();
 
I[0] = new Array();
I[0][0]='\u03A4\u03B9 \u03B5\u03AF\u03B4\u03BF\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03C1\u03AF\u03B3\u03C9\u03BD\u03BF \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03B3\u03C9\u03BD\u03AF\u03B5\u03C2: \u0391=90\u03BF, \u0392=45\u03BF \u03BA\u03B1\u03B9 \u0393=45\u03BF;';
I[0][1] = new Array();
I[0][1][0] = new Array();
I[0][1][0][0]='\u03BF\u03C1\u03B8\u03BF\u03B3\u03CE\u03BD\u03B9\u03BF';
I[0][1][0][1]='';
I[0][1][0][2] = 1;
I[0][1][1] = new Array();
I[0][1][1][0]='\u03BF\u03BE\u03C5\u03B3\u03CE\u03BD\u03B9\u03BF';
I[0][1][1][1]='';
I[0][1][1][2] = 0;
I[0][1][2] = new Array();
I[0][1][2][0]='\u03B1\u03BC\u03B2\u03BB\u03C5\u03B3\u03CE\u03BD\u03B9\u03BF';
I[0][1][2][1]='';
I[0][1][2][2] = 0;
I[0][2] = 0;
 
I[1] = new Array();
I[1][0]='\u03A4\u03B9 \u03B5\u03AF\u03B4\u03BF\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03C1\u03AF\u03B3\u03C9\u03BD\u03BF \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03B3\u03C9\u03BD\u03AF\u03B5\u03C2: \u0391=60\u03BF, \u0392=70\u03BF \u03BA\u03B1\u03B9 \u0393=50\u03BF;';
I[1][1] = new Array();
I[1][1][0] = new Array();
I[1][1][0][0]='\u03BF\u03C1\u03B8\u03BF\u03B3\u03CE\u03BD\u03B9\u03BF';
I[1][1][0][1]='';
I[1][1][0][2] = 0;
I[1][1][1] = new Array();
I[1][1][1][0]='\u03BF\u03BE\u03C5\u03B3\u03CE\u03BD\u03B9\u03BF';
I[1][1][1][1]='';
I[1][1][1][2] = 1;
I[1][1][2] = new Array();
I[1][1][2][0]='\u03B1\u03BC\u03B2\u03BB\u03C5\u03B3\u03CE\u03BD\u03B9\u03BF';
I[1][1][2][1]='';
I[1][1][2][2] = 0;
I[1][2] = 0;
 
I[2] = new Array();
I[2][0]='\u03A4\u03B9 \u03B5\u03AF\u03B4\u03BF\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03C1\u03AF\u03B3\u03C9\u03BD\u03BF \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03B3\u03C9\u03BD\u03AF\u03B5\u03C2: \u0391=95\u03BF, \u0392=35\u03BF \u03BA\u03B1\u03B9 \u0393=50\u03BF;';
I[2][1] = new Array();
I[2][1][0] = new Array();
I[2][1][0][0]='\u03BF\u03C1\u03B8\u03BF\u03B3\u03CE\u03BD\u03B9\u03BF';
I[2][1][0][1]='';
I[2][1][0][2] = 0;
I[2][1][1] = new Array();
I[2][1][1][0]='\u03BF\u03BE\u03C5\u03B3\u03CE\u03BD\u03B9\u03BF';
I[2][1][1][1]='';
I[2][1][1][2] = 0;
I[2][1][2] = new Array();
I[2][1][2][0]='\u03B1\u03BC\u03B2\u03BB\u03C5\u03B3\u03CE\u03BD\u03B9\u03BF';
I[2][1][2][1]='';
I[2][1][2][2] = 1;
I[2][2] = 0;
 
I[3] = new Array();
I[3][0]='\u03A4\u03B9 \u03B5\u03AF\u03B4\u03BF\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03C1\u03AF\u03B3\u03C9\u03BD\u03BF \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03BB\u03B5\u03C5\u03C1\u03AD\u03C2: \u0391\u0392=12\u03B5\u03BA., \u0392\u0393=12 \u03B5\u03BA. \u03BA\u03B1\u03B9 \u0393\u0391=12\u03B5\u03BA.;';
I[3][1] = new Array();
I[3][1][0] = new Array();
I[3][1][0][0]='\u03C3\u03BA\u03B1\u03BB\u03B7\u03BD\u03CC';
I[3][1][0][1]='';
I[3][1][0][2] = 0;
I[3][1][1] = new Array();
I[3][1][1][0]='\u03B9\u03C3\u03BF\u03C3\u03BA\u03B5\u03BB\u03AD\u03C2';
I[3][1][1][1]='';
I[3][1][1][2] = 0;
I[3][1][2] = new Array();
I[3][1][2][0]='\u03B9\u03C3\u03CC\u03C0\u03BB\u03B5\u03C5\u03C1\u03BF';
I[3][1][2][1]='';
I[3][1][2][2] = 1;
I[3][2] = 0;
 
I[4] = new Array();
I[4][0]='\u03A4\u03B9 \u03B5\u03AF\u03B4\u03BF\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03C1\u03AF\u03B3\u03C9\u03BD\u03BF \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03BB\u03B5\u03C5\u03C1\u03AD\u03C2: \u0391\u0392=12\u03B5\u03BA., \u0392\u0393=15 \u03B5\u03BA. \u03BA\u03B1\u03B9 \u0393\u0391=7 \u03B5\u03BA.;';
I[4][1] = new Array();
I[4][1][0] = new Array();
I[4][1][0][0]='\u03C3\u03BA\u03B1\u03BB\u03B7\u03BD\u03CC';
I[4][1][0][1]='';
I[4][1][0][2] = 1;
I[4][1][1] = new Array();
I[4][1][1][0]='\u03B9\u03C3\u03BF\u03C3\u03BA\u03B5\u03BB\u03AD\u03C2';
I[4][1][1][1]='';
I[4][1][1][2] = 0;
I[4][1][2] = new Array();
I[4][1][2][0]='\u03B9\u03C3\u03CC\u03C0\u03BB\u03B5\u03C5\u03C1\u03BF';
I[4][1][2][1]='';
I[4][1][2][2] = 0;
I[4][2] = 0;
 
I[5] = new Array();
I[5][0]='\u03A4\u03B9 \u03B5\u03AF\u03B4\u03BF\u03C2 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C4\u03BF \u03C4\u03C1\u03AF\u03B3\u03C9\u03BD\u03BF \u03C0\u03BF\u03C5 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03BB\u03B5\u03C5\u03C1\u03AD\u03C2: \u0391\u0392=20\u03B5\u03BA., \u0392\u0393=15 \u03B5\u03BA. \u03BA\u03B1\u03B9 \u0393\u0391=15 \u03B5\u03BA.;';
I[5][1] = new Array();
I[5][1][0] = new Array();
I[5][1][0][0]='\u03C3\u03BA\u03B1\u03BB\u03B7\u03BD\u03CC';
I[5][1][0][1]='';
I[5][1][0][2] = 0;
I[5][1][1] = new Array();
I[5][1][1][0]='\u03B9\u03C3\u03BF\u03C3\u03BA\u03B5\u03BB\u03AD\u03C2';
I[5][1][1][1]='';
I[5][1][1][2] = 1;
I[5][1][2] = new Array();
I[5][1][2][0]='\u03B9\u03C3\u03CC\u03C0\u03BB\u03B5\u03C5\u03C1\u03BF';
I[5][1][2][1]='';
I[5][1][2][2] = 0;
I[5][2] = 0;
 
Status = new Array();
 
function CreateStatusArrays(){
    for (var x=0; x<I.length; x++){
        Status[x] = new Array();
        Status[x][0] = 0; // Question not done yet
        Status[x][1] = new Array(); //for tracking whether answers chosen
        for (var y=0; y<I[x][1].length; y++){
            Status[x][1][y] = '0'; //Answers not chosen yet
        }
        Status[x][2] = 0; //Wrong tries at this question so far
        Status[x][3] = 0; //Score for this question, out of one
    }
}
 
function UpdateQuestionStatus(QNum){
    if (Status[QNum][2] >= Status[QNum][1].length-1){
        Status[QNum][0] = 1;
        for (var i=0; i<Status[QNum][1].length; i++){
            if (Status[QNum][1][i] == '0'){
                Status[QNum][1][i] = 'R';
            }
        }
    }
}
 
function ReplaceStuff(Token, Replacement, InString){
    var i = InString.indexOf(Token);
    var FirstBit = '';
    var LastBit = '';
    while (i>-1){
        FirstBit = InString.substring(0, i);
        LastBit = InString.substring(i + Token.length, InString.length);    
        InString = FirstBit + Replacement + LastBit;
        i = InString.indexOf(Token);
    }
    return InString;
}
 
function ChangeQ(ChangeBy){
    var NewNum = CurrQNum + ChangeBy;
    if ((NewNum >= 0)&&(NewNum<I.length)){
        CurrQNum = NewNum;
        ShowQuestion(CurrQNum);
        CalculateScore();
        if (ContinuousScoring == true){
            var CurrScore = YourScoreIs + ' ' + Score + '%.';
            WriteScore(CurrScore);
        }
    }
}
 
function BuildQuestion(QNum){
    if (I[QNum][2] == 0){
        var Temp = ReplaceStuff('[Question]', I[QNum][0], QRow);
 
        var AnsRows = '';
        for (var i=0; i<I[QNum][1].length; i++){
            TempAns = ARow;
            TempAns = ReplaceStuff('[ANum]', i, TempAns);
            TempAns = ReplaceStuff('[ALetter]', ' ' + ALetters.charAt(i) + ' ', TempAns);
            TempAns = ReplaceStuff('[Ans]', I[QNum][1][i][0], TempAns);
            TempAns = ReplaceStuff('[Feedback]', I[QNum][1][i][1], TempAns);
            AnsRows += TempAns;
        }
        Temp += AnsRows;
        Temp = ReplaceStuff('[QNumber]', QNum+1, Temp);
        Temp = ReplaceStuff('[QNum]', QNum, Temp);
    }
    else{
        var Temp = ReplaceStuff('[Question]', I[QNum][0], QRow);
        var AnsRows = '';
        for (var i=0; i<I[QNum][1].length; i++){
            TempAns = MARow;
            TempAns = ReplaceStuff('[ANum]', i, TempAns);
            TempAns = ReplaceStuff('[Correct]', I[QNum][1][i][2], TempAns);
            TempAns = ReplaceStuff('[Ans]', I[QNum][1][i][0], TempAns);
            AnsRows += TempAns;
        }
        Temp += AnsRows;
        Temp += CheckButton;
        Temp = ReplaceStuff('[QNumber]', QNum+1, Temp);
        Temp = ReplaceStuff('[QNum]', QNum, Temp);
    }
    return Temp;
}
 
function DisplayExercise(StuffToDisplay){
    document.getElementById('MainDiv').innerHTML = StuffToDisplay;
 
}
 
function ShowQuestion(QNum){
//First, create the Q number readout at the top
    var Readout = (QNum+1) + '/' + I.length;
    while (Readout.length < 7){
        Readout = ' ' + Readout + ' ';
    }
    Readout = QButtonsOpener + Readout + QButtonsCloser;
 
    var Output = BuildQuestion(QNum);
 
    Output = TableOpener + Output + TableCloser;
 
    DisplayExercise(Readout + Output);
 
//Mark the answers already done
    for (i=0; i<Status[QNum][1].length; i++){
        if (Status[QNum][1][i] == 'R'){
 
            MarkAnswer(QNum,i,true,false)
        }
        if (Status[QNum][1][i] == 'W'){
            MarkAnswer(QNum,i,false,false)
        }
        if (Status[QNum][1][i] == 'C'){
            CheckCheckbox(QNum,i);
        }
    }
 
//Set the focus
    document.getElementById('NextQButton').focus();
}
 
function CheckMulti(QNum){
    var TotWrong = 0;
    var Output = '';
    var TotAns = I[QNum][1].length;
    for (var i=TotAns-1; i>=0; i--){
//Find any incorrect choices
 
        var b = eval('document.QForm.A_' + QNum + '_' + i);
 
        if (b != null){
//if it's wrong, count it
            if (b.checked == true){
                Status[QNum][1][i] = 'C';
            }
            else{
                Status[QNum][1][i] = 'U';
            }
            if (((b.checked == true) && (b.value == "0"))||((b.checked == false)&&(b.value == "1"))){
                TotWrong++;
            }
        }                
    }
 
    if (TotWrong == 0){
        Output = DefaultRight;
    }
    else{
        Output = DefaultWrong + '<br />' + (TotAns-TotWrong) + '/' + TotAns;
    }
 
//If you haven't tried the question before
    if (Status[QNum][0] == 0){
        if (TotWrong > 0){
            Status[QNum][2]++;
        }
        if (TotWrong == 0){
            Status[QNum][0] = 1;
//Calculate the score for this question as a floating-point fraction of 1
            Status[QNum][3] =  ((Status[QNum][1].length - Status[QNum][2]) - 1) / (Status[QNum][1].length - 1);
//If less than zero, set to zero
            if (Status[QNum][3] < 0){Status[QNum][3] = 0;}
        }
    }
 
//Check whether the quiz is finished
    Finished = true;
    for (var i=0; i<Status.length; i++){
        if (Status[i][0] == 0){Finished = false;}
    }
 
//Calculate the score if needed
 
    if (Status[QNum][0] == 1){
        if ((Finished==true)||(ContinuousScoring==true)){
            CalculateScore();
            var CurrScore = YourScoreIs + ' ' + Score + '%.';
            Output = Output + '<br />' + CurrScore;
            WriteScore(CurrScore);
        }
 
        if (Finished == true){
            var CFT = 0;
            for (i=0; i<I.length; i++){
                if (Status[i][2] == 0){
                    CFT++;
                }
 
            }
            Output += '<br />' + CorrectFirstTime + CFT + '/' + I.length;
            WriteToInstructions(Output);
 
            setTimeout('Finish()', SubmissionTimeout);
        }
    }
 
//Show the feedback
    if (Output.length > 0){
        WriteFeedback(Output);
    }
}
 
function CheckAnswer(QNum, ANum){
    var Output = I[QNum][1][ANum][1];
 
    if (Output==''){
        if (I[QNum][1][ANum][2] == 1){
            Output = DefaultRight;
        }
        else{
            Output = DefaultWrong;
        }
    }
 
//If it's not been previously answered correctly
    if (Status[QNum][0] == 0){
//If it's a correct answer
        if (I[QNum][1][ANum][2] == 1){
            Status[QNum][0] = 1;//Mark the Q as done
            Status[QNum][1][ANum] = 'R';
            MarkAnswer(QNum, ANum, true);
//Calculate the score for this question as a floating-point fraction of 1
            var PossibleWrongs = 0;
            for (var i=0; i<I[QNum][1].length; i++){
                if (I[QNum][1][i][2] == 0){
                    PossibleWrongs++;
                }
            }
 
            if (PossibleWrongs == 0){PossibleWrongs = 1;}
 
            Status[QNum][3] = 1 - (Status[QNum][2]/PossibleWrongs);
 
//If less than zero, set to zero
            if (Status[QNum][3] < 0){Status[QNum][3] = 0;}
        }
        else{
            if (Status[QNum][1][ANum] != 'W'){
                Status[QNum][1][ANum] = 'W';
                MarkAnswer(QNum, ANum, false);
                Status[QNum][2]++; //increment wrong tries for this Q
            }
        }
    }
 
    UpdateQuestionStatus(QNum);
 
//Check whether the quiz is finished
    Finished = true;
    for (var i=0; i<Status.length; i++){
        if (Status[i][0] == 0){Finished = false;}
    }
 
//Calculate the score if needed
 
    if (Status[QNum][0] == 1){
        if ((Finished==true)||(ContinuousScoring==true)){
            CalculateScore();
            var CurrScore = YourScoreIs + ' ' + Score + '%.';
            Output = Output + '<br />' + CurrScore;
            WriteScore(CurrScore);
        }
 
        if (Finished == true){
            var CFT = 0;
            for (i=0; i<I.length; i++){
                if (Status[i][2] == 0){
                    CFT++;
                }
            }
            Output += '<br />' + CorrectFirstTime + CFT + '/' + I.length;
            WriteToInstructions(Output);
            CurrScore = YourScoreIs + ' ' + Score + '%.';
            WriteScore(CurrScore);
 
            setTimeout('Finish()', SubmissionTimeout);
        }
    }
 
//Show the feedback
    if (Output.length > 0){
        WriteFeedback(Output);
    }
}
 
function CalculateScore(){
    var TriedQs = 0;
    var TotalScore = 0;
    for (var i=0; i<Status.length; i++){
        if ((Status[i][2] > 0)||(Status[i][3] == 1)){
            TriedQs++;
            TotalScore += Status[i][3];
        }
    }
    if (TriedQs == 0){
        Score = 0;
    }
    else{
        Score = (Math.floor(100 * (TotalScore/TriedQs)));
    }
}
 
function MarkAnswer(QNum, ANum, Right, Done){
    if (Done == false){
        var Mark = CorrectIndicator;
        if (Right == false){Mark = IncorrectIndicator;}
        document.getElementById('FB_' + QNum + '_' + ANum).innerHTML = Mark;
    }
    else{
        if (Right == false){
            document.getElementById('FB_' + QNum + '_' + ANum).innerHTML = IncorrectIndicator;
        }
        else{
            document.getElementById('FB_' + QNum + '_' + ANum).innerHTML = CorrectIndicator;
        }
    }
}
 
function CheckCheckbox(QNum, ANum){
    if (eval('document.QForm.A_' + QNum + '_' + ANum) != null){
        eval('document.QForm.A_' + QNum + '_' + ANum).checked = true;
 
    }
}
 
function Finish(){
//If there's a form, fill it out and submit it
    if (document.store != null){
        Frm = document.store;
        Frm.starttime.value = HPNStartTime;
        Frm.endtime.value = (new Date()).getTime();
        Frm.mark.value = Score;
        Frm.submit();
    }
}
 
//-->
 
//]]>
 
</SCRIPT>
<LINK href="../../mystyle.css" type=text/css rel=stylesheet><!--mstheme--><LINK 
href="Είδη τριγώνων-Άσκηση 3_files/saln1111-1253.css" type=text/css 
rel=stylesheet>
<META content="salnknew 1111, default" name="Microsoft Theme"><!-- <body>Fool those dumb ad-inserting ISPs</body> --></HEAD>
<BODY id=TheBody onload=StartUp()><!-- BeginTopNavButtons -->
<DIV class=NavButtonBar><BUTTON onmouseup=NavBtnOver(this) 
onmousedown=NavBtnDown(this) onblur=NavBtnOut(this) onmouseover=NavBtnOver(this) 
onfocus=NavBtnOver(this) onclick="history.back(); return false;" 
onmouseout=NavBtnOut(this)><B>&lt;</B></BUTTON> </B><BUTTON 
onmouseup=NavBtnOver(this) onmousedown=NavBtnDown(this) onblur=NavBtnOut(this) 
onmouseover=NavBtnOver(this) onfocus=NavBtnOver(this) 
onclick="location='triangles7.htm'; return false;" 
onmouseout=NavBtnOut(this)><B>Ασκήσεις</B></BUTTON> </B><BUTTON 
onmouseup=NavBtnOver(this) onmousedown=NavBtnDown(this) onblur=NavBtnOut(this) 
onmouseover=NavBtnOver(this) onfocus=NavBtnOver(this) 
onclick="location='4ex.htm'; return false;" 
onmouseout=NavBtnOut(this)><B>&gt;</B></BUTTON> </B></DIV><!-- EndTopNavButtons -->
<DIV class=Titles><B><SPAN class=ExerciseTitle><FONT size=4>Είδη 
τριγώνων</FONT></SPAN><FONT size=4><BR></FONT><SPAN lang=el>Άσκηση 
3/9</SPAN></B></DIV>
<DIV class=StdDiv id=InstructionsDiv>
<P id=Instructions style="TEXT-ALIGN: center"><FONT size=2><B><FONT 
color=#ffff00>Διάλεξε</FONT></B> τη σωστή απάντηση</FONT></P></DIV>
<DIV class=StdDiv id=ScoreDiv> </DIV>
<DIV class=StdDiv id=MainDiv> </DIV>
<DIV class=Feedback id=FeedbackDiv>
<DIV class=FeedbackText id=FeedbackContent></DIV><BUTTON 
onmouseup=FuncBtnOver(this) class=FunctionButton onmousedown=FuncBtnDown(this) 
id=FeedbackOKButton onblur=FuncBtnOut(this) onmouseover=FuncBtnOver(this) 
onfocus=FuncBtnOver(this) onclick="HideFeedback(); return false;" 
onmouseout=FuncBtnOut(this)>&nbsp;OK&nbsp;</BUTTON> </DIV><!-- BeginBottomNavButtons -->
<DIV class=NavButtonBar id=BottomNavBar><BUTTON onmouseup=NavBtnOver(this) 
onmousedown=NavBtnDown(this) onblur=NavBtnOut(this) onmouseover=NavBtnOver(this) 
onfocus=NavBtnOver(this) onclick="history.back(); return false;" 
onmouseout=NavBtnOut(this)><B>&lt;</B></BUTTON> </B><BUTTON 
onmouseup=NavBtnOver(this) onmousedown=NavBtnDown(this) onblur=NavBtnOut(this) 
onmouseover=NavBtnOver(this) onfocus=NavBtnOver(this) 
onclick="location='triangles7.htm'; return false;" 
onmouseout=NavBtnOut(this)><B>Ασκήσεις</B></BUTTON> </B><BUTTON 
onmouseup=NavBtnOver(this) onmousedown=NavBtnDown(this) onblur=NavBtnOut(this) 
onmouseover=NavBtnOver(this) onfocus=NavBtnOver(this) 
onclick="location='4ex.htm'; return false;" 
onmouseout=NavBtnOut(this)><B>&gt;</B></BUTTON> </B></DIV><!-- EndBottomNavButtons --><!-- BeginSubmissionForm --><!-- EndSubmissionForm --></BODY></HTML>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License