<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/interactivetemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!--This website uses some parts of an open source template called Transparentia 
designed by Arcsin licensed under a Creative Commons Attribution 2.5 License.  
Please visit Arcsin's website for more info at http://templates.arcsin.se !-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="description" />
<meta name="keywords" content="keywords" /> 
<meta name="author" content="author" /> 
<!-- InstanceBeginEditable name="doctitle" -->
<title>Crossword | smNOke</title>
<!-- InstanceEndEditable -->
<!-- CSS THEMES-->
<link rel="stylesheet" type="text/css" href="default.css" media="screen"/>
<link rel="alternate stylesheet" type="text/css" media="screen" title="blue" href="default2.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="red" href="default3.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="green" href="default4.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="black" href="default5.css" />

<!-- CSS -->
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

<!-- Javascripts -->
<script src="js/styleswitch.js" type="text/javascript">
/***********************************************
* Style Sheet Switcher v1.1- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
</script>
<script src="js/jumptop.js" type="text/javascript"></script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript" src="js/bookmark.js"></script>
<script type="text/javascript" src="js/textsizer.js"></script>
<script type="text/javascript" src="js/jse_form.js"></script>
<script type="text/javascript" src="js/jse_search.js"></script>
<script src="js/AC_RunActiveContent.js" type="text/javascript"></script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<!--This website uses some parts of an open source template called Transparentia 
designed by Arcsin licensed under a Creative Commons Attribution 2.5 License.  
Please visit Arcsin's website for more info at http://templates.arcsin.se !-->
</head>
<body><!-- tql_banner_head --><script type="text/javascript" src="/banner/banner.js"></script></script><script>tql_drawTop();</script>

<div class="container">	
  <div class="main">
	<span class="themes">choose theme: 
  <a href="javascript:chooseStyle('none', 60)" checked="checked"><img src="img/white.gif" class="themesbox" alt="White" width="13" height="12" /></a>
  <a href="javascript:chooseStyle('blue', 60)"><img src="img/blue.gif" class="themesbox" alt="Blue" width="13" height="12" /></a>
  <a href="javascript:chooseStyle('red', 60)"><img src="img/red.gif" class="themesbox" alt="Pink" width="13" height="12" /></a>
  <a href="javascript:chooseStyle('green', 60)"><img src="img/green.gif" class="themesbox" alt="Green" width="13" height="12" /></a>
  <a href="javascript:chooseStyle('black', 60)"><img src="img/black.gif" class="themesbox" alt="Black" width="13" height="12" /></a>
  </span>
  <div class="header">
	  <div id="title">
		<a href="index.html"><img src="img/banner.gif" alt="say NO to smoking" border="0"/></a>
        <br class="clearer" />
		  <ul id="tools">
		  &nbsp;
       	  <li><a class="frimgrollover" href="interactivef.html">&nbsp;&nbsp;&nbsp;&nbsp;</a></li>&nbsp;&nbsp;
          <li><a class="fvimgrollover" href="javascript:bookmark();">&nbsp;&nbsp;&nbsp;&nbsp;</a></li>&nbsp;&nbsp;          
          <li><a class="inimgrollover" href="javascript:ts('body',1)">&nbsp;&nbsp;&nbsp;&nbsp;</a></li>&nbsp;&nbsp;
          <li><a class="deimgrollover" href="javascript:ts('body',-1)">&nbsp;&nbsp;&nbsp;&nbsp;</a></li>&nbsp;
		</ul><!-- end tools -->
        <ul id="mainmenu">
          <li><a class="home" href="index.html">Home</a></li>
          <li><a class="info" href="information.html">Information</a></li>
          <li><a class="effects" href="effects.html">Tobacco Effects</a></li>
          <li><a class="gallery" href="gallery.html">Gallery</a></li>
          <li><a class="interactive" href="interactive.html">Interactive</a></li>
          <li><a class="about" href="about.html">About</a></li>
        </ul>
      </div><!-- title -->
	</div><!-- header -->
    		
	<div class="content">
	  <div class="item"> 
        <!-- InstanceBeginEditable name="subtitle" --><h1>Crossword Puzzle</h1><!-- InstanceEndEditable -->
	    <!-- InstanceBeginEditable name="text" -->
		<style type="text/css">

body{
	font-family: Geneva,Arial;
	background-color: #ffffff;
	color: #000000;
 
	margin-right: 5%;
	margin-left: 5%;
}

p{
	text-align: justify;
	margin: 0px;
}

.ExerciseTitle{
	text-align: center;
	font-size: larger;
}

.ExerciseSubtitle{
	text-align: center;
	font-size: larger
	text-align: center;
}

span.Instructions{

}

.QuestionText{
	font-size: larger;
	margin: 0px;
	padding: 0px;
}

.AnswerText{
	font-size: larger;
	margin: 0px;
	padding: 0px;
}

.QNum{
	font-weight: bold;
}

.FeedbackText{

}	

div.Feedback {
	background-color: #ffffff;
	left: 1px;
	top: 33%;
	z-index: 1;
	border-style: solid;
	border-width: 1px;
	padding: 5px;
	text-align: center;
	color: #000033;
	position: absolute;
	display: none;
	font-size: larger;
}

div.Titles{
	padding-top: 10px;
	text-align: center;
	margin-bottom: 4px;
	color: #000033;
}

table#ExTable{
	padding: 0px;
	margin: 0px;
}

div.ExerciseDiv{
	color: #000000;
}

div.StdDiv{
	background-color: #ffffff;
	text-align: center;
	font-size: larger;
	color: #000000;
	padding: 8px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: #000000;
	margin: 1px;
}

div.FunctionButtonBar{
	background-color: #ffffff;
	text-align: center;
}

span.FunctionButton {
	font-size: larger;
	background-color: #ffffff;
	color: #000000;
	text-align: center;
	display: block;
	border-style: solid;
	border-color: #bbbbee;
	border-width: 2px;
	padding: 3px 6px 3px 6px;
	cursor: pointer;
	cursor: hand;	
	margin: auto;		
}

div.NavButtonBar{
	background-color: #000000;
	text-align: center;
	padding: 1px;
}

div.NavButtonBar span {
	font-size: larger;
	display: block;
	border-style: solid;
	border-color: #000066;
	border-width: 2px;
	padding: 2px 2px 2px 2px;
	color: #ffffff;
	cursor: pointer;
	cursor: hand;		
}

a{
	color: #000000;
}

a: visited{
	color: #0000cc;
}

a:hover{
	color: #000000;
}

</style>

<script language="javascript" 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.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=5)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ns6 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	if (this.mac) this.ie = this.ie5
	this.ie5mac = (this.ie5 && this.mac);
	this.min = (this.ns||this.ie)
}

is = new BrowserCheck();

if ((is.min == false)||(is.ie5mac)){
	alert('Your browser can\'t handle this page. You need NS6 or IE5 on Windows, or NS6 on Mac.');
//	history.back();
}

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;
var InGap = false;

function SuppressBackspace(e){ 
	if (InGap == true){
		return;
	}
	 if (is.ns) {
		thisKey = e.keyCode;
	}
	else {
		thisKey = window.event.keyCode;
	}

var Suppress = false;

//Hide the feedback window if showing
	if (thisKey == 13){
		if (document.getElementById('FeedbackDiv').style.display != 'none'){
			HideFeedback();
			Suppress = true;
		}
	}

	if (thisKey == 8) {
		Suppress = true;
	}

	if (Suppress == true){
		if (is.ie){
			window.event.returnValue = false;	
			window.event.cancelBubble = true;
		}
		else{
			e.preventDefault();
		}
	}
}

var NavLightColor = '#7f7fb2';
var NavShadeColor = '#000033';
var NavBarColor = '#000066';
var FuncLightColor = '#ddddf6';
var FuncShadeColor = '#5d5d77';
var ExBGColor = '#bbbbee';

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 = '#bbbbee';
	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 CurrentBox = -1;
var Feedback = '';
var CluesAcross = 'Across:';
var CluesDown = 'Down:';
var Correct = 'Correct! Well done.';
var Incorrect = 'Some of your answers are incorrect. Incorrect squares have been blanked out.'; 
var GiveHint = 'A correct letter has been added.';
var YourScoreIs = 'Your score is ';
var BuiltGrid = '';
var BuiltExercise = '';
var Penalties = 0;
var FirstShow = true;
var ReadingURL = '[ReadingURL]';
var TempReading = '';

var CurrBoxElement = null;



var GridOpener = '<center><table border="1" cellpadding="0" cellspacing="0">';
var GridRowOpener = '<tr>';
var GridRowCloser = '</tr>';

var BlankCell = '<td bgcolor="#000000" width="30" height="30">&nbsp;</td>';
var LetterOnlyCell = '<td bgcolor="#ffffff" width="30" height="30" align="center" valign="middle"><span class="GridLetter">[Letter]</span></td>';
var NumLetterCell = '<td bgcolor="#ffffff" style="cursor: pointer; cursor: hand;" width="30" height="30" align="center" valign="top" onclick="ShowClue([ClueNum],[x],[y])"><sup><a href="javascript:DoNothing()" onclick="ShowClue([ClueNum],[x],[y])">[ClueNum]</a></sup>&nbsp;<span class="GridLetter">[Letter]</span></td>';

var GridCloser = '</table></center><br />';

var GetAnswerOpener = '<div class="FunctionButtonBar"><form name="AnswerForm" action="" onSubmit="return false;">';
GetAnswerOpener += '<table border="0" align="center" cellpadding="2" cellspacing="2">';


var GetAnswer = '<tr><td valign="top"><span class="ClueText">[ThisClue]</span></td>';
GetAnswer += '<td valign="top"><input type="text" class="AnswerBox" name="[BoxName]" size="[AnsLength]" maxlength="[AnsLength]" onfocus="InGap=true;"></input></td>';

GetAnswer += '<td valign="top"><span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" ';
GetAnswer += 'onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" ';
GetAnswer += 'onclick="EnterAnswer(document.AnswerForm.[BoxName].value,[boolAcross],[AnsLength],[x],[y])">';
GetAnswer += '&nbsp;Enter&nbsp;</span></td>';


GetAnswer += '<td valign="top"><span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" ';
GetAnswer += 'onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" ';
GetAnswer += ' onclick="ShowHint([boolAcross],[x],[y],\'document.AnswerForm.[BoxName]\')">';
GetAnswer += '&nbsp;Hint&nbsp;</span></td>';


GetAnswer += '</tr>';

var GetAnswerCloser = '</table></form></div>';

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';



	InGap = false;
}

function HideFeedback(){
	document.getElementById('FeedbackContent').innerHTML = '';
	document.getElementById('FeedbackDiv').style.display='none';
}

function WriteToInstructions(Feedback) {
	Feedback = '<span class="FeedbackText">' + Feedback + '</span>';
	document.getElementById('InstructionsDiv').innerHTML = Feedback;

}

function WriteClue(ClueText) {
	document.getElementById('ClueDiv').innerHTML = ClueText;

}




function StartUp(){
	if (is.ns){
		window.addEventListener('keypress',SuppressBackspace,false);
	}
	else{
//alert('not netscape; is.min=' + is.min + '; is.ie5mac=' + is.ie5mac);
		if ((is.min == true)&&(is.ie5mac == false)){
			document.attachEvent('onkeydown',SuppressBackspace);
			window.attachEvent('onkeydown',SuppressBackspace);
		}
	}





	BuildExercise();
	DisplayExercise();


}


function BuildExercise(){
	var OutString = '';
	var Temp = '';
	var GridStuff = GridOpener;	

	for (var i=0; i<L.length; i++){
		GridStuff += GridRowOpener;
		for (var j=0; j<L[i].length; j++){
//If the cell is blank, add a black cell
			if (L[i][j] == ''){
				GridStuff += BlankCell;
			}
//else there's a letter there
			else{
//If there's a clue number, add it
				if (C[i][j] > 0){
					Temp = NumLetterCell;
					Temp = ReplaceStuff('[ClueNum]', C[i][j], Temp);
//Add location info
					Temp = ReplaceStuff('[x]', i, Temp);
					Temp = ReplaceStuff('[y]', j, Temp);
				}
//Otherwise add a blank cell
				else{
					Temp = LetterOnlyCell;
				}

//If the cell is already answered, add the letter from the Guess array
				if (G[i][j] != ''){
					Temp = ReplaceStuff('[Letter]', G[i][j], Temp);
				}
//Otherwise, put in a non-breaking space
				else{
					Temp = ReplaceStuff('[Letter]', '&nbsp;', Temp);
				}
				GridStuff += Temp;
			}
		}
		GridStuff += GridRowCloser;
	}

	GridStuff += GridCloser;

//Put the final pieces together
	OutString = GridStuff;
	BuiltExercise = OutString;
}

function DisplayExercise(){
//Build the output string
	var OutString = '';
	OutString += BuiltExercise;

//Write it to the main div
	document.getElementById('GridDiv').innerHTML = OutString;


}

function BuildClue(ClueNum,x,y,Across){
	var OutString = '';
	if (Across == true){
		if (ClueNum >= A.length){
			return '';
		}	
		if (A[ClueNum] == null){
			return '';
		}
		
		OutString = GetAnswer;
		OutString = ReplaceStuff('[ThisClue]', ClueNum + '. ' + A[ClueNum], OutString);
		OutString = ReplaceStuff('[BoxName]', 'BA'+ClueNum, OutString);
//Find out how long the answer is
		AnsLength = 0;
		i = x;
		j = y;
		while (j<L[i].length){
			if (L[i][j] != ''){
				AnsLength++;
			}
			else{
				break;
			}
			j++;
		}
		OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
		OutString = ReplaceStuff('[boolAcross]', 'true', OutString);
	}
	else{
		if (ClueNum >= D.length){
			return '';
		}	
		if (D[ClueNum] == null){
			return '';
		}
		
		OutString = GetAnswer;
		OutString = ReplaceStuff('[ThisClue]', ClueNum + '. ' + D[ClueNum], OutString);

		OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString);
//Find out how long the answer is
		AnsLength = 0;
		i = x;
		j = y;
		while (i<L.length){
			if (L[i][j] != ''){
				AnsLength++;
			}
			else{
				break;
			}
			i++;
		}
		OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
		OutString = ReplaceStuff('[boolAcross]', 'false', OutString);
	}
	OutString = ReplaceStuff('[x]', x ,OutString);
	OutString = ReplaceStuff('[y]', y, OutString);
	return OutString;
}

function ShowClue(ClueNum,x,y){
	var OutString = '';
	var Temp = '';
	var ThisClue = '';
	var AnsLength = 0;
	var i;
	var j;
	CurrBoxElement = ClueNum;
	if (A[ClueNum] != null){
		ThisClue = GetAnswer;
		Temp = 'Across: ' + ClueNum + '. ' + A[ClueNum];
		ThisClue = ReplaceStuff('[ThisClue]', Temp, ThisClue);		
		OutString += ThisClue;
		OutString = ReplaceStuff('[BoxName]', 'BA'+ClueNum, OutString);
//Find out how long the answer is
		AnsLength = 0;
		i = x;
		j = y;
		while (j<L[i].length){
			if (L[i][j] != ''){
				AnsLength++;
			}
			else{
				break;
			}
			j++;
		}
		OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
		OutString = ReplaceStuff('[boolAcross]', 'true', OutString);
	}
	if (D[ClueNum] != null){
		ThisClue = GetAnswer;
		Temp = 'Down: ' + ClueNum + '. ' + D[ClueNum];
		ThisClue = ReplaceStuff('[ThisClue]', Temp, ThisClue);
		OutString += ThisClue;
		OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString);
//Find out how long the answer is
		AnsLength = 0;
		i = x;
		j = y;
		while (i<L.length){
			if (L[i][j] != ''){
				AnsLength++;
			}
			else{
				break;
			}
			i++;
		}
		OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
		OutString = ReplaceStuff('[boolAcross]', 'false', OutString);
	}
	OutString = GetAnswerOpener + OutString + GetAnswerCloser;
	OutString = ReplaceStuff('[x]', x ,OutString);
	OutString = ReplaceStuff('[y]', y, OutString);
	WriteClue(OutString); 
	if (eval('document.AnswerForm.BA' + ClueNum) != null){
		eval('document.AnswerForm.BA' + ClueNum).focus();
	}
	else{
		if (eval('document.AnswerForm.BD' + ClueNum) != null){
			eval('document.AnswerForm.BD' + ClueNum).focus();
		}
	}
}

function EnterAnswer(Guess,Across,AnsLength,x,y){
	Guess = Guess.toUpperCase();

	var i=x;
	var j=y;
	var Letter = 0;
	while (Letter < AnsLength){
		if (Letter < Guess.length){
			G[i][j] = Guess.charAt(Letter);
		}
		if (Across == true){
			j++;
		}
		else{
			i++;
		}
		Letter++;
	}

	BuildExercise();
	DisplayExercise();
	InGap = false;
	CurrBox = null;
}

function ShowHint(Across,x,y,BoxName){
	var i=x;
	var j=y;
	var OutString = '';
	if (Across==true){
		while (j<L[i].length){
			if (L[i][j] != ''){
				OutString += L[i][j];
				if (G[i][j] != L[i][j]){
					G[i][j] = L[i][j];
					Penalties++;
					break;
				}
			}
			else{
				break;
			}
		j++;
		}
	}
	else{
		while (i<L.length){
			if (L[i][j] != ''){
				OutString += L[i][j];
				if (G[i][j] != L[i][j]){
					G[i][j] = L[i][j];
					Penalties++;
					break;
				}
			}
			else{
				break;
			}
		i++;
		}
	}
	if (eval(BoxName) != null){
		eval(BoxName).value = OutString;
	}
}

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;
}

L = new Array();
L[0] = new Array('','','','S','E','C','O','N','D','H','A','N','D','','');
L[1] = new Array('','L','','','','I','','','','','','','','','');
L[2] = new Array('','U','','','','G','','','S','M','O','K','E','','');
L[3] = new Array('','N','','D','E','A','T','H','','O','','','','','');
L[4] = new Array('','G','','','','R','','','','N','','','','','');
L[5] = new Array('','S','U','R','G','E','O','N','G','E','N','E','R','A','L');
L[6] = new Array('','','','','','T','','','','Y','','','','D','');
L[7] = new Array('','N','I','C','O','T','I','N','E','','','','','D','');
L[8] = new Array('','','','A','','E','','','','','','','','I','');
L[9] = new Array('','','','N','','','','','T','A','B','A','C','C','O');
L[10] = new Array('','','','C','','','','','','','','','','T','');
L[11] = new Array('','','','E','','','','D','','','','','','I','');
L[12] = new Array('','M','A','R','L','B','O','R','O','','','','','O','');
L[13] = new Array('','','','','','','','U','','','','','','N','');
L[14] = new Array('Q','U','I','T','T','I','N','G','','','','','','','');


C = new Array();
C[0] = new Array(0,0,0,1,0,2,0,0,0,0,0,0,0,0,0);
C[1] = new Array(0,3,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[2] = new Array(0,0,0,0,0,0,0,0,4,5,0,0,0,0,0);
C[3] = new Array(0,0,0,6,0,0,0,0,0,0,0,0,0,0,0);
C[4] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[5] = new Array(0,7,0,0,0,0,0,0,0,0,0,0,0,8,0);
C[6] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[7] = new Array(0,9,0,10,0,0,0,0,0,0,0,0,0,0,0);
C[8] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[9] = new Array(0,0,0,0,0,0,0,0,11,0,0,0,0,0,0);
C[10] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[11] = new Array(0,0,0,0,0,0,0,12,0,0,0,0,0,0,0);
C[12] = new Array(0,13,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[13] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[14] = new Array(14,0,0,0,0,0,0,0,0,0,0,0,0,0,0);


G = new Array();
G[0] = new Array('','','','','','','','','','','','','','','');
G[1] = new Array('','','','','','','','','','','','','','','');
G[2] = new Array('','','','','','','','','','','','','','','');
G[3] = new Array('','','','','','','','','','','','','','','');
G[4] = new Array('','','','','','','','','','','','','','','');
G[5] = new Array('','','','','','','','','','','','','','','');
G[6] = new Array('','','','','','','','','','','','','','','');
G[7] = new Array('','','','','','','','','','','','','','','');
G[8] = new Array('','','','','','','','','','','','','','','');
G[9] = new Array('','','','','','','','','','','','','','','');
G[10] = new Array('','','','','','','','','','','','','','','');
G[11] = new Array('','','','','','','','','','','','','','','');
G[12] = new Array('','','','','','','','','','','','','','','');
G[13] = new Array('','','','','','','','','','','','','','','');
G[14] = new Array('','','','','','','','','','','','','','','');


A = new Array();
A[1]='Risk for bystanders';
A[4]='what you inhale';
A[6]='The greatest risk';
A[7]='Publique health who issues warnings';
A[9]='Principal killer, a composent of cigarette';
A[11]='the plant killer, main ingredient of the cigarette.';
A[13]='The cowboy assassin of millions.';
A[14]='what you hopefully are trying to do right now if you smoke ';


D = new Array();
D[2]='The product you use when smocking';
D[3]='The body part most destroyed by cigarettes';
D[5]='what you need and spend uselessly by buying cigarettes';
D[8]='what is a recurring compulsion? ';
D[10]='The disease that result from smocking';
D[12]='Cigarette is one of them, but cocaine too ';



function CheckAnswers(){

	var AllCorrect = true;
	var TotLetters = 0;
	var CorrectLetters = 0;

//Check each letter
	for (var i=0; i<L.length; i++){
		for (var j=0; j<L[i].length; j++){
			if (L[i][j] != ''){
				TotLetters++;
				if (G[i][j] != L[i][j]){
					G[i][j] = '';
					AllCorrect = false;
				}
				else{
					CorrectLetters++;
				}
			}
		}
	}

	var Score = Math.floor(((CorrectLetters-Penalties) * 100)/TotLetters);

//Compile the output
	var Output = '';

	if (AllCorrect == true){
		WriteClue('&nbsp;');
		Output = Correct + '<br />';
	}

	Output += YourScoreIs + ' ' + Score + '%.<br />';
	if (AllCorrect == false){
		Output += Incorrect;
		Penalties++;
	}
	BuildExercise();
	WriteFeedback(Output);
	WriteToInstructions(Output);

		


	DisplayExercise();
}







function DoNothing(){}

function Blank(){
	return '<html><body><!-- tql_banner_head --><script type="text/javascript" src="/banner/banner.js"></script></script><script>tql_drawTop();</script>&copy;Half-Baked Software. Loading...<!-- tql_banner_foot --><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-174705-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); </script></body></html>';
}

//-->

//]]>

</script>
<!--<body>Fool those dumb ad-inserting ISPs<!-- tql_banner_foot --><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-174705-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); </script></body>-->
<body onload="StartUp()"><!-- tql_banner_head --><script type="text/javascript" src="/banner/banner.js"></script></script><script>tql_drawTop();</script>
<div class="WholePage">
<div class="ExerciseDiv">
<table id="ExTable" cellspacing="0" cellpadding="0" width="100%">

<tr>
<td>
<div id="InstructionsDiv" class="StdDiv">
<p id="Instructions">
Click on a number in the grid to see the clue to complete the crossword.  Then click on "Check" to check your answer. 
If you are stuck, you can click on "Hint" to get a free letter.
Some answers may consist of two words; do not make a space when answering.</p>
</div>
</td>
</tr>

<tr>


<td valign="top">

<div id="ClueDiv" class="StdDiv">&nbsp;
</div>

<div id="MainDiv" class="StdDiv">

<div class="FunctionButtonBar">
<table border="0" align="center" cellpadding="0" cellspacing="0"><tr>

<td><span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="CheckAnswers()">
&nbsp;Check&nbsp;
</span></td>

</tr></table>
</div>

<div id="GridDiv" style="margin-top: 10px;">

</div>

<div class="FunctionButtonBar">
<table border="0" align="center" cellpadding="0" cellspacing="0"><tr>

<td><span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="CheckAnswers()">
&nbsp;Check&nbsp;
</span></td>

</tr></table>
</div>

</div>

</td>
</tr>

</table>

</div>


<div class="NavButtonBar">
<table border="0" align="center" cellpadding="0" cellspacing="2"><tr>




<td><span onmouseover="NavBtnOver(this)" onmouseout="NavBtnOut(this)" onmousedown="NavBtnDown(this)" onmouseup="NavBtnOver(this)" onclick="location='interactive.html'">Exit Crossword</span></td>





</tr></table>
</div>


</div>

<div class="Feedback" id="FeedbackDiv">
<div class="FeedbackText" id="FeedbackContent"></div>
<table border="0" cellpadding="5" align="center" style="background-color: #bbbbee";>
<tr><td align="center" valign="middle">
<span class="FunctionButton" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="HideFeedback()">&nbsp;OK&nbsp;</span>
</td></tr></table>
</div>
<!-- InstanceEndEditable --> 
	  </div><!-- item -->
	</div><!-- content -->
		
	<div class="sidenav">
	  <form action="searchresults.html">
  		<div id="search">      
	    	<input type="text" id="term" name="search" size="18" class="field,styled" /> 
			<input type="submit" id="searche" value="" class="button" />
  		</div>        
	  </form>
    
	<h6><a href="interactive.html" class="miscmenu">Interactive</a></h6>
      <h2><a href="quiz.html" class="miscmenu">> Quiz</a></h2>
	  <h2><a href="crossword.html" class="miscmenu">> Crossword Puzzle</a></h2>
	  <h2><a href="facts.html" class="miscmenu">> Facts</a></h2>
      <h2><a href="myths.html" class="miscmenu">> Myths</a></h2>
	  <p>
</p>
    </div>
	<!-- sidenav -->
		
	<br class="clearer" />
  
  </div><!-- main -->

  <div class="footer">
  	<p>&copy; 2008 smNOke | <a href="http://thinkquest.org/">ThinkQuest</a> | <a href="site.html">SiteMap</a></p>
  </div>
  
</div><!-- container -->
<!-- tql_banner_foot --><script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-174705-4']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); </script></body>
<!-- InstanceEnd --></html>