var hangmanNumWrong; // num letters wrong var hangmanNumRight; // num letters right var hangmanGuesses; var hangmanWord; var hangmanHint; var hangmanImage ; var hangmanTable ; var scoreTable ; var maxLength = 20; var guessInputDiv ; var youWonDiv; var playAgainDiv ; var curGuess ; var letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var punctuation = ".,|();: <>[]{}!@#$%^&*_-+=~`/?'"; var newWord = ""; var newHint =""; var newRow=""; var newCol=""; var newFillInTheBlank; var theTable; var category; var next_word = 0; var wordsFound = 0; var hintButton; var playAgainButton; var categoryCell; var gameCount = 0; var correctCount = 0; function focusOnObject( obj ) { if ( obj ) { if ( obj.focus ) { obj.focus(); } } } var LET_A = "A"; var LET_B = "B"; var LET_C = "C"; var LET_D = "D"; var LET_E = "E"; var LET_F = "F"; var LET_G = "G"; var LET_H = "H"; var LET_I = "I"; var LET_J = "J"; var LET_K = "K"; var LET_L = "L"; var LET_M = "M"; var LET_N = "N"; var LET_O = "O"; var LET_P = "P"; var LET_Q = "Q"; var LET_R = "R"; var LET_S = "S"; var LET_T = "T"; var LET_U = "U"; var LET_V = "V"; var LET_W = "W"; var LET_X = "X"; var LET_Y = "Y"; var LET_Z = "Z"; function processKey( e ) { var key; var letter; if (window.event) key = window.event.keyCode; else if (e) key = e.which; else return true; if ( key >= 97 && key <= 122 ) letter = letters.charAt( key-97 ); else if ( key >=65 && key <= 90 ) letter = letters.charAt( key - 65 ); else return true; chooseLetter( letter ); focusOnObject( hintButton ); return false; } function loadHangMan() { var i; hangmanImage = document.getElementById( "hangManImage" ); hangmanTable = document.getElementById( "hangManTable" ); scoreTable = document.getElementById( "scoreTable" ); guessInputDiv = document.getElementById( "guessInput" ); youWonDiv = document.getElementById( "youWon" ); playAgainDiv = document.getElementById( "playAgain" ); hintButton = document.getElementById( "hintButton" ); playAgainButton = document.getElementById( "playAgainButton" ); theTable = document.getElementById( 'theTable' ); var categoryTable = document.getElementById( "categoryTable" ); categoryCell = categoryTable.rows[0].cells.item(0); hangmanImage.src="/images/HangMan.png"; hangmanImage.src="/images/HangMan6.png"; hangmanImage.src="/images/HangMan5.png"; hangmanImage.src="/images/HangMan4.png"; hangmanImage.src="/images/HangMan3.png"; hangmanImage.src="/images/HangMan2.png"; hangmanImage.src="/images/HangMan1.png"; hangmanImage.src="/images/HangMan0.png"; hangmanNumWrong = 0; hangmanNumRight = 0; hangmanGuesses = ""; getNextWord(); hangmanWord = newWord; hangmanWord = hangmanWord.toUpperCase(); hangmanHint = newHint; showHint( "" ); if ( newCol >= 0 ) { category = theTable.rows[0].cells.item( newCol ).childNodes[0].nodeValue ; categoryCell.childNodes[0].nodeValue = 'Category: ' + category ; } for ( i=0; i= 0 ) { fillBlank( i, "_" ); } else { fillBlank( i, letter ); } } for ( i=hangmanWord.length; i= 0 ) return ; if ( hangmanWord.indexOf( letter ) < 0 ) { hangmanGuesses += letter ; if ( hangmanNumWrong < 6 ) { hangmanNumWrong ++ ; hangmanImage.src = "/images/HangMan" + hangmanNumWrong + ".png" ; if ( hangmanNumWrong == 6 ) { setTimeout( 'youLose()', 500 ); } } } else { showLetter( letter ); if ( hangmanNumRight == hangmanWord.length ) { youWin(); } } } function showLetter( letter ) { hangmanGuesses += letter ; var pos=0; while ( (pos = hangmanWord.indexOf( letter, pos )) >= 0 ) { fillBlank( pos, letter ); pos++; } } function fillBlank( blankNumber, value ) { var aRow = hangmanTable.rows[0]; var cell = aRow.cells.item(blankNumber); if ( cell ) { if ( value == '' ) propertyValue = ""; else if ( value == '_' ) propertyValue = "__"; else { hangmanNumRight ++; propertyValue = value; } cell.childNodes[0].nodeValue = propertyValue ; } } function Shuffle() { var aRow; var bRow; var i; var tableLength = theTable.rows.length; for ( i=1; i=0 ) { count ++; } } return count ; } function LoadWords() { Shuffle(); var wordTable = document.getElementById( 'wordTable' ); var aRow; var i; var tableLength = theTable.rows.length; var maxWords = wordTable.rows.length ; var numColumns = theTable.rows[0].cells.length; var headingRow = theTable.rows[0]; if ( maxWords > 20 ) maxWords = 20; wordsFound = 0; // loop through the rows for ( i=1; i=4 && value.substring(0,7) != "(blank)" ) { // use the whole value foundOne = true ; word = value ; if ( numColumns > 1 ) { hc = (c+1) % numColumns ; aCell = aRow.cells.item(hc); var headingCell = headingRow.cells.item(hc); hint = headingCell.childNodes[0].nodeValue + ": " + aCell.childNodes[0].nodeValue ; } } } else if ( value.indexOf( "__" ) == -1 ) { // look for a long word within this value var pos = Math.floor( Math.random() * valueLength - maxLength ); while ( pos>=0 && pos < valueLength && !foundOne ) { pos = value.indexOf( ' ', pos ); if ( pos >= 0 ) { var start = pos + 1 ; var end pos = value.indexOf( ' ', start ); end = ( pos < 0 ) ? valueLength : pos ; if ( end - start > 5 ) { word = value.substring( start, end ); if ( numLetters( word ) > 5 ) { foundOne = true ; fillInTheBlank = true; // trim leading punctuation while (punctuation.indexOf(word.charAt(0))>=0) { word = word.substring(1); start ++ ; } // trim trailing punctuation while (punctuation.indexOf(word.charAt(word.length - 1))>=0) { word = word.substring(0, word.length-1 ); end--; } hint = value.substring( 0, start) + "_____" + value.substring( end, valueLength ); } } pos = end + 1; } } // end while } // end else if ( foundOne ) { // check that this value isn't already in the table of values for ( f=0; f= wordsFound ) { LoadWords(); next_word = 0; } if ( next_word >= wordsFound ) { newWord = "construction" ; newHint = "under _____" ; newRow = -1; newCol = -1; newFillInTheBlank = false; } else { var row = wordTable.rows[ next_word ] ; newWord = row.cells.item(0).childNodes[0].nodeValue; newHint = row.cells.item(1).childNodes[0].nodeValue; newRow = row.cells.item(2).childNodes[0].nodeValue; newCol = parseInt( row.cells.item(3).childNodes[0].nodeValue ); newFillInTheBlank = row.cells.item(4).childNodes[0].nodeValue; } next_word ++; } if ( document.getElementsByName( "theTable" ).length == 0 ) { document.writeln( '
' ); document.writeln( '' ); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '

G.C.S.E R.E Hangman

 
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '
                    
                                                                                                    
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( '   '); document.writeln( '
'); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '
'); document.writeln( '   '); document.writeln( '
'); document.writeln( '
'); document.writeln( ' '); document.writeln( ' '); document.writeln(' ');document.writeln(' '); document.writeln( ' '); document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln(' ');document.writeln('');document.writeln('');document.writeln(' ');document.writeln('');document.writeln(''); document.writeln( '
QuestionAnswer
what does the the sanctity of life mean?  Life is precious, Holy and sacred.  
what does the quality of life mean?  being valued and feeling on top of the world, Being free from pain ,anxiety and stress.  
what do christians believe about the sanctity of life?  Life is precious sacred and holy and all life should be protected no mattter what stage it is at. \'Thou shall not kill.\' \'God goves life only god takes it away.\'  
what is abortion?  A delibrate termination of a foetus up to 24 weeks  
when was the abortion act introduced?  1967  
who introduced the abortion act?  David steel  
what are the christian views on abortion?  all christian churches accept abortion apart from the RCC.  
what is a pro life orangisation?  Pro-Life orangisation includes SPUC AND LIFE.  
what are the RCC views on abortion?  abortion is murder because life beings at conseption.  
whats the christian response to abortion?  that there is other options such as adoption, fostering and help of the Pro-life organisation LIFE.  
What is AID?  artifical insemination by donor.when sperm is colletced from a annomynous man and inserted into the womans womb  
what AIH?  Artifical insemination by husband.when sperm is colleted from the husband of partener and placed into the womans womb  
what is IVF?  In Virto Fertiliseation. this is where a egg and sprem are fertilised inside a tube when sucsessfully done the fertilsed egg is inserted back into the womans womb.  
  
'); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( ' '); document.writeln( '
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
'); document.writeln( '
'); document.writeln( ' '); loadHangMan(); } // end if documents.getElementsByName( 'theTable' ).length == 0