
function testForDemo(URL)
 {
    if(document.cookie.indexOf('demo') != -1)
    {
        var exit_demo = confirm("In order to proceed, you must first exit the demo.  Would you like to exit the demo?");
        if (exit_demo)
        {
            expireDate = new Date("January 1, 1970");
            var kill_string1 = "cookie_check=invalid;expires=" + expireDate.toGMTString() + "; path=/";
            document.cookie = kill_string1;
            var kill_string2 = "demo=stub;expires=" + expireDate.toGMTString() + "; path=/";
            document.cookie = kill_string2;
            window.location.href="https://www.cwcbankhb.com";
        }
        else
        {
            window.location.href="https://www.cwcbankhb.com/onlineserv/HB/demo.html";
        }
    }
    else
    {
            window.open(URL);
    }
 }



if (!window.imgdir)
{
var imgdir="http://www.cwcbankhb.com/images/"
var sitedir="http://www.cwcbankhb.com/site/"
var securedir="http://www.cwcbankhb.com/site/"
var homedir="http://www.cwcbankhb.com/"
}

function Include()
{
this.domain = "cwcbankhb";
this.friendly = "FRIENDLY_NAME";
this.ib = "https://www.cwcbankhb.com/onlineserv/HB";
this.ib_demo = "https://www.cwcbankhb.com/onlineserv/HB/demo.html";
this.ib_open_window = true;
this.cm_open_window = true;
this.ib_register = "https://www.cwcbankhb.com/onlineserv/HB/OnlineForm.cgi?form=enhancedNDB";
this.cm = "https://www.cwcbankhb.com/onlineserv/CM/";
this.headergraphic = "";
this.contentgraphic = "";

this.setHeaderGraphic = setHeaderGraphic;
this.setContentGraphic = setContentGraphic;
this.makeHeader = makeHeader;
this.makeTopNav = makeTopNav;
this.makeMainNav = makeMainNav;
this.makeLoginArea = makeLoginArea;
this.makeUltraseek = makeUltraSeek;
this.makeFooter = makeFooter;
this.makeFooterLogos = makeFooterLogos;
this.openIB = openIB;
this.openIBRegister = openIBRegister;
this.openCM = openCM;

}


/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/



/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/


function makeHeader()
{
var content = new Array();
var index = 0;

//CODE GOES HERE

content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = inc.makeTopNav();
content[index++] = '  <tr> ';
content[index++] = '    <td><img src="' + imgdir + 'logo.gif" width="317" height="84" hspace="6" alt="Commonwealth Community Bank"><img src="' + imgdir + 'clearpix.gif" width="35" height="1"><img src="' + imgdir + 'top-photo.jpg" width="389" height="84"></td>';
content[index++] = '  </tr>';
content[index++] = '  <tr>';
content[index++] = '    <td bgcolor="#004166"><img src="' + imgdir + 'clearpix.gif" width="1" height="2"></td>';
content[index++] = '  </tr>';
content[index++] = '</table>';
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '  <tr valign="top"> ';
content[index++] = '    <td width="186" align="center" bgcolor="#006565">';
content[index++] = '      <table width="100%" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '        <tr> ';
content[index++] = '          <td align="center" bgcolor="#660000" colspan="2"><img src="' + imgdir + 'clearpix.gif" width="1" height="5"><img src="' + imgdir + 'login-title.gif" width="155" height="22" alt="Personal Banking Login"></td>';
content[index++] = '        </tr>';
content[index++] = inc.makeLoginArea();
content[index++] = inc.makeMainNav();
content[index++] = '      </table>';
content[index++] = '    </td>';
content[index++] = '    <td width="574" align="center"><img src="' + imgdir + 'clearpix.gif" width="1" height="15"><br>';
content[index++] = '      <table width="550" border="0" cellspacing="0" cellpadding="1">';
content[index++] = '        <tr> ';
content[index++] = '           ';
content[index++] = '          <td class="ficontent"> ';
content[index++] = inc.headergraphic;
content[index++] = inc.contentgraphic;
content.join("");


//CODE GOES HERE


var index = 0;

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeTopNav()
{
var content = new Array();
var index = 0;

//CODE GOES HERE

content[index++] = '  <tr>';
content[index++] = '    <td align="right" bgcolor="#FEBB05"><img src="' + imgdir + 'tnav-divider.gif" width="1" height="19"><a href="' + sitedir + 'aboutus.html" OnMouseOver="img_act(\'about\'); window.status=\'About Us\'; return true" OnMouseOut="img_inact(\'about\');"><img src="' + imgdir + 'tnav-about-off.gif" width="71" height="19" name="about" border="0" alt="About Us"></a><img src="' + imgdir + 'tnav-divider.gif" width="1" height="19"><a href="' + sitedir + 'calculators.html" OnMouseOver="img_act(\'calc\'); window.status=\'Calculators\'; return true" OnMouseOut="img_inact(\'calc\');"><img src="' + imgdir + 'tnav-calc-off.gif" width="87" height="19" name="calc" border="0" alt="Calculators"></a><img src="' + imgdir + 'tnav-divider.gif" width="1" height="19"><a href="javascript:open_apps(\'guestbook_app\')" OnMouseOver="img_act(\'contact\'); window.status=\'Contact Us\'; return true" OnMouseOut="img_inact(\'contact\');"><img src="' + imgdir + 'tnav-contact-off.gif" width="85" height="19" name="contact" border="0" alt="Contact Us"></a><img src="' + imgdir + 'tnav-divider.gif" width="1" height="19"><a href="' + sitedir + 'faq.html" OnMouseOver="img_act(\'help\'); window.status=\'Help\'; return true" OnMouseOut="img_inact(\'help\');"><img src="' + imgdir + 'tnav-help-off.gif" width="51" height="19" name="help" border="0" alt="Help"></a><img src="' + imgdir + 'tnav-divider.gif" width="1" height="19"><a href="' + homedir + 'home.html" OnMouseOver="img_act(\'home\'); window.status=\'Home\'; return true" OnMouseOut="img_inact(\'home\');"><img src="' + imgdir + 'tnav-home-off.gif" width="54" height="19" name="home" border="0" alt="Home"></a><img src="' + imgdir + 'tnav-divider.gif" width="1" height="19"><img src="' + imgdir + 'clearpix.gif" width="18" height="8"></td>';
content[index++] = '  </tr>';
content.join("");

//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeMainNav()
{
var content = new Array();
var index = 0;

//CODE GOES HERE
var content = new Array();
var index = 0;
content[index++] = '        <tr valign="top" align="center"> ';
content[index++] = '          <td colspan="2"><a href="https://www.cwcbankhb.com/onlineserv/HB" OnMouseOver="img_act(\'olb\'); window.status=\'Online Banking\'; return true" OnMouseOut="img_inact(\'olb\');"><img src="' + imgdir + 'nav-olb-off.gif" width="186" height="31" name="olb" border="0" alt="Online Banking"></a><br>';
content[index++] = '            <img src="' + imgdir + '1x1-white.gif" width="186" height="1"><br>';
content[index++] = '            <a href="' + sitedir + 'prodserv.html" OnMouseOver="img_act(\'ps\'); popUp(\'HM_Menu1\',event); window.status=\'Products and Services\'; return true" OnMouseOut="img_inact(\'ps\'); popDown(\'HM_Menu1\');"><img src="' + imgdir + 'nav-ps-off.gif" width="186" height="31" name="ps" border="0" alt="Products &amp; Services"></a><br>';
content[index++] = '            <img src="' + imgdir + '1x1-white.gif" width="186" height="1"><br>';
content[index++] = '            <a href="' + sitedir + 'links.html" OnMouseOver="img_act(\'community\'); popUp(\'HM_Menu2\',event); window.status=\'Community Links\'; return true" OnMouseOut="img_inact(\'community\'); popDown(\'HM_Menu2\');"><img src="' + imgdir + 'nav-community-off.gif" width="186" height="31" name="community" border="0" alt="Community Links"></a><br>';
content[index++] = '            <img src="' + imgdir + '1x1-white.gif" width="186" height="1"><br>';
content[index++] = '            <a href="' + sitedir + 'faq-billpay.html"><img src="' + imgdir + 'keyin-billpay.gif" width="168" height="138" alt="Free Billpay - Try Now" vspace="25" border="0"></a><br>';
content[index++] = '            <a href="javascript:void(0);" onclick="javascript:window.open(\'http://www.cwcbankhb.com/mstinc/MFA/mfa_main_blue2.html\',\'mvdemo\',\'scrollbars=yes,menubar=no,status=no,width=800,height=525,left=0,top=0\')"><img src="https://www.cwcbankhb.com/onlineserv/HB/images/DI_MFA_Online_AnytimeA_FNL.jpg" border="0" vspace="10" /></a>';
content[index++] = '</td>';
content[index++] = '        </tr>';
content.join("");

//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function setContentGraphic(graphic , alt_tag)
{
if (!alt_tag)
var alt_tag = "";

if (graphic == null)
	{
	this.contentgraphic = "";
	}
else
	{
	this.contentgraphic = '<img src="' + imgdir + 'photo-' + graphic + '.jpg" alt="' + alt_tag + '" border="0" width="161" height="159" align="right" hspace="5" vspace="15"><br />';
	}	
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function setHeaderGraphic(graphic , alt_tag)
{
if (!alt_tag)
var alt_tag = "";

if (graphic == null)
	{
	this.headergraphic = "";
	}
else
	{
	this.headergraphic = '<img src="' + imgdir + 'hed-' + graphic + '.gif" alt="' + alt_tag + '" border="0" width="550" height="30"><br />';
	}	
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeLoginArea()
{
var content = new Array();
var index = 0;

//CODE GOES HERE
var content = new Array();
var index = 0;
content[index++] = '        <tr align="center"> ';
content[index++] = '          <td colspan="2" bgcolor="#660000"><a href="' + homedir + 'home.html" OnMouseOver="img_act(\'login\'); window.status=\'Login\'; return true" OnMouseOut="img_inact(\'login\');"><img src="' + imgdir + 'login-enter-off.gif" width="68" height="22" vspace="4" name="login" border="0" alt="Login"></a><br>';
content[index++] = '            <img src="' + imgdir + 'clearpix.gif" width="1" height="4"><br>';
content[index++] = '            <img src="' + imgdir + '1x1-white.gif" width="186" height="1" vspace="0"><br>';
content[index++] = '            <a href="' + homedir + 'home.html?demo"><img src="' + imgdir + 'login-demo.gif" width="42" height="11" vspace="5" alt="Demo" border="0"></a><img src="' + imgdir + 'login-divider.gif" width="2" height="11" vspace="5"><a href="' + sitedir + 'faq-internetbanking.html"><img src="' + imgdir + 'login-moreinfo.gif" width="57" height="11" vspace="5" alt="More Info" border="0"></a><img src="' + imgdir + 'login-divider.gif" width="2" height="11" vspace="5"><a href="javascript:testForDemo(\'https://www.cwcbankhb.com/onlineserv/HB/STDReg.cgi?\')"><img src="' + imgdir + 'login-apply.gif" width="41" height="11" vspace="5" alt="Apply" border="0"></a><br>';
content[index++] = '            <img src="' + imgdir + '1x1-white.gif" width="186" height="1"></td>';
content[index++] = '        </tr>';
content.join("");

//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeUltraSeek()
{
var content = new Array();
var index = 0;

//CODE GOES HERE

//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeDateStamp()
{

var myDate = new Date();
var day = myDate.getDay();
var month = myDate.getMonth();
var date = myDate.getDate();
var year = "";

if (document.all)
	{
	year = myDate.getYear();
	}
else
	{
	year =myDate.getYear() + 1900;
	}	

var months = new Array ("January", "February","March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

var days = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");


//alert (days[day] + ", " + months[month] + " " + date + ",  " + year);
var finalDate = (days[day] + ", " + months[month] + " " + date + ",  " + year);


var content = new Array();
var index = 0;
content[index++] = '<td align="right" valign="middle"><font face="Verdana,Arial,Helvetica,sans-serif" size="1" color="#741533">' + finalDate + '</font></td>';

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/




/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||HEADER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/












/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/





/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/
function makeFooter()
{
var content = new Array();
var index = 0;

//CODE GOES HERE

content[index++] = '          </td>';
content[index++] = '        </tr>';
content[index++] = '      </table>';
content[index++] = '    </td>';
content[index++] = '  </tr>';
content[index++] = '</table>';
content[index++] = inc.makeFooterLogos();
content.join("");


//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function makeFooterLogos()
{
var content = new Array();
var index = 0;

//CODE GOES HERE
var content = new Array();
var index = 0;
content[index++] = '<table width="760" border="0" cellspacing="0" cellpadding="0">';
content[index++] = '	<tr>';
content[index++] = '		<td width="186" align="center" bgcolor="#006565"><img src="' + imgdir + 'clearpix.gif" width="186" height="1" alt="" border="0"></td>';
content[index++] = '		<td width="574" align="center"><img src="' + imgdir + 'footer-address.gif" width="558" height="12" alt="Commonwealth Community Bank, 830 S. Main Street, Hartford, KY 42347-1826, 270-298-3261"><br>';
content[index++] = '      <a href="http://www.fdic.gov/" target="_new"><img src="' + imgdir + 'memberfdic.gif" width="37" height="22" hspace="10" vspace="4" alt="Member FDIC" border="0"></a><a href="http://www.hud.gov/" target="_new"><img src="' + imgdir + 'equalhl.gif" width="29" height="26" hspace="10" vspace="4" alt="Equal Housing Lender" border="0"></a> ';
content[index++] = '      <a href="http://www.digitalinsight.com" target="_new"><!--[if lt IE 7]><script type="text/javascript" src="https://www.cwcbankhb.com/mstinc/web/js/png.js"></script><![endif]--><img src="https://www.cwcbankhb.com/mstinc/web/images/di_91x22_1c_k.png" width="91" height="22" vspace="5" style="filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50;" border="0" alt="Digital Insight, an Intuit company" /></a> </td>';
content[index++] = '	</tr>';
content[index++] = '</table>';
content.join("");

//CODE GOES HERE

return (content.join(""));
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
||||||||||||||||||||||||||||||||||||||FOOTER FUNCTIONS|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/





function openIB(which)
{
if (which == 'demo')
	{
	if (this.ib_open_window == true)
		{
		window.open(this.ib_demo);
		}
	else
		{
		location.href = this.ib_demo;
		}
	}
else if (which == 'topdemo')
	{
		top.location.href = this.ib_demo;
	}			
else if (which == 'top')
	{
		top.location.href = this.ib;
	}	
else
	{
	if (this.ib_open_window == true)
		{
		window.open(this.ib);
		}
	else
		{
		location.href = this.ib;
		}
	}
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function openIBRegister()
{
	//window.open(this.ib_register);
	testForDemo('https://www.cwcbankhb.com/onlineserv/HB/STDReg.cgi');
}

function openCM()
{
if (this.cm_open_window == true)
	{	
	window.open(this.cm);
	}
else
	{
	location.href = this.cm;
	}
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function make_NAMEHERE_dropdown()
{

var items = new Array();
var index = -1;
items[index++] = new Array('#' , 'Make a Selection &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' , 'same');
items[index++] = new Array('link1.html' , 'Personal Checking Accounts' , 'same');
items[index++] = new Array('checking_business.html' , 'Business Checking Accounts' , 'same');
items[index++] = new Array('checking_fastline.html' , 'Fastline' , 'same');
items[index++] = new Array('checking_local.html' , 'Local Connections' , 'same');
		
writeout_dropdown(items);		
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function writeout_dropdown(items)
{
var whole = '<form name="form1">';
whole += '<select name="dropdown_nav" onChange="javascript:changeLocations();" class="dropdown">';
for (i=0; i < items.length; i++)
	{
	if (items[i][2] == "new")
		{
		var target="?new";
		}
	else if (items[i][2] == "top")
		{
		var target="?top";
		}	
	else
		{
		var target="";
		}	
	whole += '<option value="' + items[i][0] + target + '">' + items[i][1] + '</option>';
	}
whole += '</select>';
document.write(whole);
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function changeLocations()
{
var location = document.form1.dropdown_nav[document.form1.dropdown_nav.selectedIndex].value;

var first = location.indexOf("?");
if (first != -1)
	{
	var target = location.substring(first + 1 , location.length);
	location = location.substring(0 , first);
	}
else
	{
	var target = "";
	}	
	
	//alert(target);
	//alert(location);
	
if (target == "new")
	{
	window.open(location);
	}
else if (target == "top")
	{
	top.location.href = location;
	}	
else
	{
	window.location.href = location;
	}	

}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function make_NAMEHERE_subnav(whichnumber , breaknumber)
{
var items = new Array();
var index = -1;

items[index++] = new Array('<a href="link1.html">' , 'LINK1' , '</a>');
items[index++] = new Array('<a href="link2.html">' , 'LINK2' , '</a>');
items[index++] = new Array('<a href="link3" target="_new">' , 'LINK3' , '</a>');
items[index++] = new Array('<a href="link4.html">' , 'LINK4' , '</a>');


writeitout(items , whichnumber , breaknumber);
}

/*_______________________________________________________________________________________
||||||||||||||||||||||||||||||||||||||NEW FUNCTION|||||||||||||||||||||||||||||||||
_______________________________________________________________________________________*/

function writeitout(items , whichnumber , breaknumber)
{
var whole = '<div align="center" class="subnav">';
var spacer = ""
for (i=0; i < items.length; i++)
	{
	if (i != whichnumber)
		{
		spacer = " | ";
		if (i == items.length - 1)
			spacer = "";
		else if (i == breaknumber)
			spacer = "<br />";
		whole += items[i][0] + items[i][1] + items[i][2] + spacer;
		}
	else
		{
		spacer = " | ";
		if (i == items.length - 1)
			spacer = "";
		else if (i == breaknumber)
			spacer = "<br />";
		whole += items[i][1] + spacer;
		}
	}
whole += '</div><br />';
document.write(whole);
}