var jsfileisloaded = "true";

function pagetitle(title){

document.write('<BR><DIV ALIGN="center"><TABLE WIDTH="80%" cellpadding="0" cellspacing="0"><TR><TD CLASS="pagetitle">' + title + '</TD></TR></TABLE></DIV>');
}

function navbottom(page){
var str='';
str+='<BR><DIV ALIGN="center"><CENTER><TABLE bgcolor="#ffffff" width="100%" border="0" cellpadding="0" cellspacing="0" ALIGN="CENTER">';
str+='<TR valign="top">';
str+='<TD align="center" height="25" class="navbar"><B>[</B>&nbsp;&nbsp;';

if(page == "home"){	
str+='<B>home</B>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';}
else{
str+='<A href="index.html" title="Home Page">home</A>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';
}

if(page == "sites"){	
str+='<B>town sites</B>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';}
else{
str+='<A href="sites.html" title="Customer Sites on Our Domain" class="footer">town sites<\/A>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';
}

if(page == "services"){
str+='<B>services</B>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';
}
else{
str+='<A href="services.html" title="Services -- Web Design and Hosting" class="footer">services<\/A>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';}

if(page == "faq"){
str+='<B>faq</B>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';
}
else{
str+='<A href="faq.html" title="Frequently Asked Questions" class="footer">faq<\/A>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';}

if(page == "portfolio"){
str+='<B>portfolio</B>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';
}
else{
str+='<A href="portfolio.html" title="Sites We Have Done" class="footer">portfolio<\/A>&nbsp;&nbsp;<B>||</B>&nbsp;&nbsp;';}

if(page == "contact"){
str+='<B>contact</B>';
}
else{
str+='<A href="contact.html" title="E-mail Form and Guest Book" class="footer">contact us<\/A>';}

str+='&nbsp;&nbsp;<B>]</B><\/TD>';
str+='	<\/TR>';
str+='	<TR>';
str+='		<TD align="center"><FONT size="-2">Copyright iWebTown<BR>Located in Coeur d\'Alene, Idaho<\/FONT><\/TD>';
str+='	<\/TR>';
str+='	<TR>';
str+='		<TD align="center"><A HREF="http:\/\/www.iwebtown.com\/cgi-bin\/mailhandler.cgi?forward=iwebtown"><IMG SRC="images\/email.gif" WIDTH=143 HEIGHT=18 BORDER=0 ALT=""><\/A><BR><BR><\/TD>';
str+='	<\/TR>';
str+='<\/TABLE><\/CENTER><\/DIV>';
document.write(str);
}


function headercontact(){

ImageButton[6] = new ImageButton("images/lineteal.gif","images/linelavender.gif" ); 
ImageButton[1] = new ImageButton("images/linepurple.gif","images/linelavender.gif");
ImageButton[2] = new ImageButton("images/linered.gif","images/linelavender.gif"); 
ImageButton[3] = new ImageButton("images/lineblue.gif","images/linelavender.gif"); 
ImageButton[4] = new ImageButton("images/linegreen.gif","images/linelavender.gif" ); 
var str='';
str+='<DIV align="center">';
str+='<CENTER>';
str+='	<TABLE width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="0">';
str+='		<TR>';
str+='			<TD>';
str+='			<DIV align="center">';
str+='			<CENTER>';
str+='				<TABLE width="600" align="CENTER" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
str+='					<TR>';
str+='						<TD bgcolor="#000000" colspan="2" align="center"><IMG src="images\/name.gif" border="0" alt="Name Graphic - iWebTown Web Design" WIDTH=342 HEIGHT=39><\/TD>';
str+='					<\/TR>';
str+='					<TR valign="middle">';
str+='						<TD bgcolor="#000000" colspan="2" ALIGN="CENTER"><img src="images\/header1.gif" border=0 alt="iWebTown logo" WIDTH=540 HEIGHT=113><\/TD>';
str+='					<\/TR>';
str+='					<TR>';
str+='						<TD colspan="2" bgcolor="#000000" align="center"';
str+='><a href="index.html"';
str+='	onMouseOver="Flip(6,\'tealline\',6)" ';
str+='	onMouseOut="Flip(0,\'tealline\',6)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navteal.gif" border="0" alt="" WIDTH=86 HEIGHT=44><\/a';
str+='><a href="sites.html"';
str+='	onMouseOver="Flip(1,\'tealline\',1)" ';
str+='	onMouseOut="Flip(0,\'tealline\',1)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navpurple.gif" border="0" alt="" WIDTH=81 HEIGHT=44><\/a';
str+='><a href="services.html" ';
str+='	onMouseOver="Flip(2,\'tealline\',2)" ';
str+='	onMouseOut="Flip(0,\'tealline\',2)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navred.gif" border="0" alt="" WIDTH=99 HEIGHT=44><\/a	';
str+='><a href="faq.html" ';
str+='	onMouseOver="Flip(3,\'tealline\',3)" ';
str+='	onMouseOut="Flip(0,\'tealline\',3)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navblue.gif" border="0" alt="" WIDTH=66 HEIGHT=44><\/a><a href="portfolio.html" ';
str+='	onMouseOver="Flip(4,\'tealline\',4)" ';
str+='	onMouseOut="Flip(0,\'tealline\',4)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navgreen.gif" border="0" alt="" WIDTH=112 HEIGHT=44><\/a><!-- <a href="contact.html" ';
str+='	onMouseOver="Flip(5,\'tealline\',5)" ';
str+='	onMouseOut="Flip(0,\'tealline\',5)" ';
str+='	target="_top"';
str+='	> --><IMG src="images\/navlavendar.gif" border="0" alt="" WIDTH=96 HEIGHT=44><!-- <\/a> --><\/TD>';
str+='					<\/TR> ';
str+='					<TR>';
str+='						<TD align="center" colspan="2" bgcolor="#000000"><IMG src="images\/linelavender.gif" border="0" alt="" name="tealline" WIDTH=556 HEIGHT=40><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV>';
document.write(str);

}


function headerportfolio(){

ImageButton[6] = new ImageButton("images/lineteal.gif","images/linegreen.gif" ); 
ImageButton[1] = new ImageButton("images/linepurple.gif","images/linegreen.gif");
ImageButton[2] = new ImageButton("images/linered.gif","images/linegreen.gif"); 
ImageButton[3] = new ImageButton("images/lineblue.gif","images/linegreen.gif"); 
ImageButton[5] = new ImageButton("images/linelavender.gif","images/linegreen.gif" );     

var str='';
str+='<DIV align="center">';
str+='<CENTER>';
str+='	<TABLE width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="0">';
str+='		<TR>';
str+='			<TD>';
str+='			<DIV align="center">';
str+='			<CENTER>';
str+='				<TABLE width="600" align="CENTER" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
str+='					<TR>';
str+='						<TD bgcolor="#000000" colspan="2" align="center"><IMG src="images\/name.gif" border="0" alt="Name Graphic - iWebTown Web Design" WIDTH=342 HEIGHT=39><\/TD>';
str+='					<\/TR>';
str+='					<TR valign="middle">';
str+='						<TD bgcolor="#000000" colspan="2" ALIGN="CENTER"><img src="images\/header1.gif" border=0 alt="iWebTown logo" WIDTH=540 HEIGHT=113><\/TD>';
str+='					<\/TR>';
str+='					<TR>';
str+='						<TD colspan="2" bgcolor="#000000" align="center"';
str+='><a href="index.html"';
str+='	onMouseOver="Flip(6,\'tealline\',6)" ';
str+='	onMouseOut="Flip(0,\'tealline\',6)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navteal.gif" border="0" alt="" WIDTH=86 HEIGHT=44><\/a';
str+='><a href="sites.html"';
str+='	onMouseOver="Flip(1,\'tealline\',1)" ';
str+='	onMouseOut="Flip(0,\'tealline\',1)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navpurple.gif" border="0" alt="" WIDTH=81 HEIGHT=44><\/a';
str+='><a href="services.html" ';
str+='	onMouseOver="Flip(2,\'tealline\',2)" ';
str+='	onMouseOut="Flip(0,\'tealline\',2)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navred.gif" border="0" alt="" WIDTH=99 HEIGHT=44><\/a	';
str+='><a href="faq.html" ';
str+='	onMouseOver="Flip(3,\'tealline\',3)" ';
str+='	onMouseOut="Flip(0,\'tealline\',3)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navblue.gif" border="0" alt="" WIDTH=66 HEIGHT=44><\/a><!-- <a href="portfolio.html" ';
str+='	onMouseOver="Flip(4,\'tealline\',4)" ';
str+='	onMouseOut="Flip(0,\'tealline\',4)" ';
str+='	target="_top"';
str+='	> --><IMG src="images\/navgreen.gif" border="0" alt="" WIDTH=112 HEIGHT=44><!-- <\/a> --><a href="contact.html" ';
str+='	onMouseOver="Flip(5,\'tealline\',5)" ';
str+='	onMouseOut="Flip(0,\'tealline\',5)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navlavendar.gif" border="0" alt="" WIDTH=96 HEIGHT=44><\/a><\/TD>';
str+='					<\/TR> ';
str+='					<TR>';
str+='						<TD align="center" colspan="2" bgcolor="#000000"><IMG src="images\/linegreen.gif" border="0" alt="" name="tealline" WIDTH=556 HEIGHT=40><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV>';
document.write(str);

}



function headerfaq(){
ImageButton[6] = new ImageButton("images/lineteal.gif","images/lineblue.gif" ); 
ImageButton[1] = new ImageButton("images/linepurple.gif","images/lineblue.gif");
ImageButton[2] = new ImageButton("images/linered.gif","images/lineblue.gif"); 
ImageButton[4] = new ImageButton("images/linegreen.gif","images/lineblue.gif"); 
ImageButton[5] = new ImageButton("images/linelavender.gif","images/lineblue.gif" );     

var str='';
str+='<DIV align="center">';
str+='<CENTER>';
str+='	<TABLE width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="0">';
str+='		<TR>';
str+='			<TD>';
str+='			<DIV align="center">';
str+='			<CENTER>';
str+='				<TABLE width="600" align="CENTER" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
str+='					<TR>';
str+='						<TD bgcolor="#000000" colspan="2" align="center"><IMG src="images\/name.gif" border="0" alt="Name Graphic - iWebTown Web Design" WIDTH=342 HEIGHT=39><\/TD>';
str+='					<\/TR>';
str+='					<TR valign="middle">';
str+='						<TD bgcolor="#000000" colspan="2" ALIGN="CENTER"><img src="images\/header1.gif" border=0 alt="iWebTown logo" WIDTH=540 HEIGHT=113><\/TD>';
str+='					<\/TR>';
str+='					<TR>';
str+='						<TD colspan="2" bgcolor="#000000" align="center"';
str+='><a href="index.html"';
str+='	onMouseOver="Flip(6,\'tealline\',6)" ';
str+='	onMouseOut="Flip(0,\'tealline\',6)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navteal.gif" border="0" alt="" WIDTH=86 HEIGHT=44><\/a';
str+='><a href="sites.html"';
str+='	onMouseOver="Flip(1,\'tealline\',1)" ';
str+='	onMouseOut="Flip(0,\'tealline\',1)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navpurple.gif" border="0" alt="" WIDTH=81 HEIGHT=44><\/a';
str+='><a href="services.html" ';
str+='	onMouseOver="Flip(2,\'tealline\',2)" ';
str+='	onMouseOut="Flip(0,\'tealline\',2)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navred.gif" border="0" alt="" WIDTH=99 HEIGHT=44><\/a	';
str+='><!-- <a href="faq.html" ';
str+='	onMouseOver="Flip(3,\'tealline\',3)" ';
str+='	onMouseOut="Flip(0,\'tealline\',3)" ';
str+='	target="_top"';
str+='	> --><IMG src="images\/navblue.gif" border="0" alt="" WIDTH=66 HEIGHT=44><!-- <\/a> --><a href="portfolio.html" ';
str+='	onMouseOver="Flip(4,\'tealline\',4)" ';
str+='	onMouseOut="Flip(0,\'tealline\',4)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navgreen.gif" border="0" alt="" WIDTH=112 HEIGHT=44><\/a><a href="contact.html" ';
str+='	onMouseOver="Flip(5,\'tealline\',5)" ';
str+='	onMouseOut="Flip(0,\'tealline\',5)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navlavendar.gif" border="0" alt="" WIDTH=96 HEIGHT=44><\/a><\/TD>';
str+='					<\/TR> ';
str+='					<TR>';
str+='						<TD align="center" colspan="2" bgcolor="#000000"><IMG src="images\/lineblue.gif" border="0" alt="" name="tealline" WIDTH=556 HEIGHT=40><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV>';
document.write(str);

}


function headerservices(){

ImageButton[6] = new ImageButton("images/lineteal.gif","images/linered.gif" ); 
ImageButton[1] = new ImageButton("images/linepurple.gif","images/linered.gif");
ImageButton[3] = new ImageButton("images/lineblue.gif","images/linered.gif"); 
ImageButton[4] = new ImageButton("images/linegreen.gif","images/linered.gif"); 
ImageButton[5] = new ImageButton("images/linelavender.gif","images/linered.gif" );     
  
var str='';
str+='<DIV align="center">';
str+='<CENTER>';
str+='	<TABLE width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="0">';
str+='		<TR>';
str+='			<TD>';
str+='			<DIV align="center">';
str+='			<CENTER>';
str+='				<TABLE width="600" align="CENTER" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
str+='					<TR>';
str+='						<TD bgcolor="#000000" colspan="2" align="center"><IMG src="images\/name.gif" border="0" alt="Name Graphic - iWebTown Web Design" WIDTH=342 HEIGHT=39><\/TD>';
str+='					<\/TR>';
str+='					<TR valign="middle">';
str+='						<TD bgcolor="#000000" colspan="2" ALIGN="CENTER"><img src="images\/header1.gif" border=0 alt="iWebTown logo" WIDTH=540 HEIGHT=113><\/TD>';
str+='					<\/TR>';
str+='					<TR>';
str+='						<TD colspan="2" bgcolor="#000000" align="center"';
str+='><a href="index.html"';
str+='	onMouseOver="Flip(6,\'tealline\',6)" ';
str+='	onMouseOut="Flip(0,\'tealline\',6)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navteal.gif" border="0" alt="" WIDTH=86 HEIGHT=44><\/a';
str+='><a href="sites.html"';
str+='	onMouseOver="Flip(1,\'tealline\',1)" ';
str+='	onMouseOut="Flip(0,\'tealline\',1)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navpurple.gif" border="0" alt="" WIDTH=81 HEIGHT=44><\/a';
str+='><!-- <a href="services.html" ';
str+='	onMouseOver="Flip(2,\'tealline\',2)" ';
str+='	onMouseOut="Flip(0,\'tealline\',2)" ';
str+='	target="_top"';
str+='	> --><IMG src="images\/navred.gif" border="0" alt="" WIDTH=99 HEIGHT=44><!-- <\/a	';
str+='> --><a href="faq.html" ';
str+='	onMouseOver="Flip(3,\'tealline\',3)" ';
str+='	onMouseOut="Flip(0,\'tealline\',3)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navblue.gif" border="0" alt="" WIDTH=66 HEIGHT=44><\/a><a href="portfolio.html" ';
str+='	onMouseOver="Flip(4,\'tealline\',4)" ';
str+='	onMouseOut="Flip(0,\'tealline\',4)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navgreen.gif" border="0" alt="" WIDTH=112 HEIGHT=44><\/a><a href="contact.html" ';
str+='	onMouseOver="Flip(5,\'tealline\',5)" ';
str+='	onMouseOut="Flip(0,\'tealline\',5)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navlavendar.gif" border="0" alt="" WIDTH=96 HEIGHT=44><\/a><\/TD>';
str+='					<\/TR> ';
str+='					<TR>';
str+='						<TD align="center" colspan="2" bgcolor="#000000"><IMG src="images\/linered.gif" border="0" alt="" name="tealline" WIDTH=556 HEIGHT=40><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV>';
document.write(str);
}


function headerhome(){
ImageButton[1] = new ImageButton("images/linepurple.gif","images/lineteal.gif");
ImageButton[2] = new ImageButton("images/linered.gif","images/lineteal.gif");
ImageButton[3] = new ImageButton("images/lineblue.gif","images/lineteal.gif"); 
ImageButton[4] = new ImageButton("images/linegreen.gif","images/lineteal.gif"); 
ImageButton[5] = new ImageButton("images/linelavender.gif","images/lineteal.gif" );     
  
var str='';
str+='<DIV align="center">';
str+='<CENTER>';
str+='	<TABLE width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="0">';
str+='		<TR>';
str+='			<TD>';
str+='			<DIV align="center">';
str+='			<CENTER>';
str+='				<TABLE width="600" align="CENTER" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
str+='					<TR>';
str+='						<TD bgcolor="#000000" colspan="2" align="center"><IMG src="images\/name.gif" border="0" alt="Name Graphic - iWebTown Web Design" WIDTH=342 HEIGHT=39><\/TD>';
str+='					<\/TR>';
str+='					<TR valign="middle">';
str+='						<TD bgcolor="#000000" colspan="2" ALIGN="CENTER"><img src="images\/header1.gif" border=0 alt="iWebTown logo" WIDTH=540 HEIGHT=113><\/TD>';
str+='					<\/TR>';
str+='					<TR>';
str+='						<TD colspan="2" bgcolor="#000000" align="center"';
str+='><IMG src="images\/navteal.gif" border="0" alt="" WIDTH=86 HEIGHT=44><a href="sites.html" ';
str+='	onMouseOver="Flip(1,\'tealline\',1)" ';
str+='	onMouseOut="Flip(0,\'tealline\',1)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navpurple.gif" border="0" alt="" WIDTH=81 HEIGHT=44><\/a';
str+='><a href="services.html" ';
str+='	onMouseOver="Flip(2,\'tealline\',2)" ';
str+='	onMouseOut="Flip(0,\'tealline\',2)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navred.gif" border="0" alt="" WIDTH=99 HEIGHT=44><\/a';
str+='	';
str+='><a href="faq.html" ';
str+='	onMouseOver="Flip(3,\'tealline\',3)" ';
str+='	onMouseOut="Flip(0,\'tealline\',3)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navblue.gif" border="0" alt="" WIDTH=66 HEIGHT=44><\/a><a href="portfolio.html" ';
str+='	onMouseOver="Flip(4,\'tealline\',4)" ';
str+='	onMouseOut="Flip(0,\'tealline\',4)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navgreen.gif" border="0" alt="" WIDTH=112 HEIGHT=44><\/a><a href="contact.html" ';
str+='	onMouseOver="Flip(5,\'tealline\',5)" ';
str+='	onMouseOut="Flip(0,\'tealline\',5)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navlavendar.gif" border="0" alt="" WIDTH=96 HEIGHT=44><\/a><\/TD>';
str+='					<\/TR> ';
str+='					<TR>';
str+='						<TD align="center" colspan="2" bgcolor="#000000"><IMG src="images\/lineteal.gif" border="0" alt="" name="tealline" WIDTH=556 HEIGHT=40><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV>';
document.write(str);

}

function headertownsites(){
ImageButton[6] = new ImageButton("images/lineteal.gif","images/linepurple.gif" );
ImageButton[2] = new ImageButton("images/linered.gif","images/linepurple.gif");
ImageButton[3] = new ImageButton("images/lineblue.gif","images/linepurple.gif"); 
ImageButton[4] = new ImageButton("images/linegreen.gif","images/linepurple.gif"); 
ImageButton[5] = new ImageButton("images/linelavender.gif","images/linepurple.gif" ); 
var str='';
str+='<DIV align="center">';
str+='<CENTER>';
str+='	<TABLE width="100%" border="0" bgcolor="#000000" cellpadding="0" cellspacing="0">';
str+='		<TR>';
str+='			<TD>';
str+='			<DIV align="center">';
str+='			<CENTER>';
str+='				<TABLE width="600" align="CENTER" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0">';
str+='					<TR>';
str+='						<TD bgcolor="#000000" colspan="2" align="center"><IMG src="images\/name.gif" border="0" alt="Name Graphic - iWebTown Web Design" WIDTH=342 HEIGHT=39><\/TD>';
str+='					<\/TR>';
str+='					<TR valign="middle">';
str+='						<TD bgcolor="#000000" colspan="2" ALIGN="CENTER"><img src="images\/header1.gif" border=0 alt="iWebTown logo" WIDTH=540 HEIGHT=113><\/TD>';
str+='					<\/TR>';
str+='					<TR>';
str+='						<TD colspan="2" bgcolor="#000000" align="center"';
str+='><a href="index.html"';
str+='	onMouseOver="Flip(6,\'tealline\',6)" ';
str+='	onMouseOut="Flip(0,\'tealline\',6)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navteal.gif" border="0" alt="" WIDTH=86 HEIGHT=44><\/a';
str+='><!-- <a href="sites.html"';
str+='	onMouseOver="Flip(1,\'tealline\',1)" ';
str+='	onMouseOut="Flip(0,\'tealline\',1)" ';
str+='	target="_top"';
str+='	> --><IMG src="images\/navpurple.gif" border="0" alt="" WIDTH=81 HEIGHT=44><!-- <\/a';
str+='> --><a href="services.html" ';
str+='	onMouseOver="Flip(2,\'tealline\',2)" ';
str+='	onMouseOut="Flip(0,\'tealline\',2)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navred.gif" border="0" alt="" WIDTH=99 HEIGHT=44><\/a	';
str+='><a href="faq.html" ';
str+='	onMouseOver="Flip(3,\'tealline\',3)" ';
str+='	onMouseOut="Flip(0,\'tealline\',3)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navblue.gif" border="0" alt="" WIDTH=66 HEIGHT=44><\/a><a href="portfolio.html" ';
str+='	onMouseOver="Flip(4,\'tealline\',4)" ';
str+='	onMouseOut="Flip(0,\'tealline\',4)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navgreen.gif" border="0" alt="" WIDTH=112 HEIGHT=44><\/a><a href="contact.html" ';
str+='	onMouseOver="Flip(5,\'tealline\',5)" ';
str+='	onMouseOut="Flip(0,\'tealline\',5)" ';
str+='	target="_top"';
str+='	><IMG src="images\/navlavendar.gif" border="0" alt="" WIDTH=96 HEIGHT=44><\/a><\/TD>';
str+='					<\/TR> ';
str+='					<TR>';
str+='						<TD align="center" colspan="2" bgcolor="#000000"><IMG src="images\/linepurple.gif" border="0" alt="" name="tealline" WIDTH=556 HEIGHT=40><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV><\/TD>';
str+='					<\/TR> ';
str+='	<\/TABLE><\/CENTER>';
str+='<\/DIV>';
document.write(str);

}



function contactform(){

document.write('<FORM action="cgi-bin/contact.cgi" method="POST" name="contactform">');
document.write('<CENTER>');       
document.write('<TABLE align="center" border="0">');
document.write('	<TR>');
document.write('			<TH><FONT size="-1">Last Name</FONT>');
document.write('			</TH>');
document.write('			<TD align="right"><FONT size="-1">');
document.write('			<INPUT type="TEXT" name="lastname" size="35"  onChange="maketest(document.contactform)"><INPUT TYPE="Hidden" NAME="x" ></FONT></TD>');
document.write('		</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">First Name</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="firstname" size="35" onChange="maketest(document.contactform)"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Street</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="street" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">City</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="city" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">State</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="state" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Zip Code</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="zip" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Phone</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="phone" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Fax</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="fax" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">E-mail</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="email" size="35" onChange="maketest(document.contactform)"></FONT></TD>');
document.write('	</TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Business</FONT>');
document.write('	</TH>');
document.write('	<TD align="right"><FONT size="-1">');
document.write('	<INPUT type="TEXT" name="business" size="35"></FONT></TD>');
document.write('	</TR>');
document.write('	</TABLE></CENTER>');
document.write('	<BR>');
document.write('	<CENTER>');
document.write('	<TABLE align="center" border="0" cellpadding="0" cellspacing="0">');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">Please check the services which interest you.');
document.write('	</TH>');
document.write('	</TR>');

document.write('	<TR>');
document.write('	<TD><FONT size="-1">');
document.write('	<OL><OL><OL>');
document.write('	<INPUT type="CHECKBOX" name="site">Site creation<BR>');
document.write('	<INPUT type="CHECKBOX" name="host">Non-virtual hosting<BR>');
document.write('	<INPUT type="CHECKBOX" name="maint">Maintenance<BR>');
document.write('	<INPUT type="CHECKBOX" name="update">Existing site update<BR>');
document.write('	</OL></OL></OL><BR></FONT></TD>');
document.write('	</TR>');

document.write('	<TR><TH><FONT size="-1">Any other services we can help you with?</TH></TR>');
document.write('	<TR><TD><FONT size="-1"><TEXTAREA name="other" rows="2" cols="48"></TEXTAREA></FONT><BR><BR></TD></TR>');
document.write('	<TR><TH><FONT size="-1">How did you find us?</FONT></TH></TR>');
document.write('	<TR><TD><FONT size="-1">');
document.write('	<TEXTAREA name="refer" rows="2" cols="48"></TEXTAREA></FONT><BR><BR></TD></TR>');
document.write('	<TR><TH><FONT size="-1">Comments or questions?</FONT>');
document.write('	</TH></TR>');
document.write('	<TR><TD><FONT size="-1">');
document.write('	<TEXTAREA name="comments" rows="4" cols="48"></TEXTAREA></FONT><BR><BR></TD></TR>');
document.write('	<TR>');
document.write('	<TH><FONT size="-1">');
document.write('	<INPUT type="SUBMIT" value="Send E-Mail" style="Background-Color : white">');
document.write('	<INPUT type="RESET" style="Background-Color : white"></FONT>');
document.write('	</TH></TR>');
document.write('	</TABLE></CENTER>');
document.write('	</FORM>');
document.write('	<CENTER>');
SetSafetyCookie();
}


function maketest(formObj){
	formObj.x.value = formObj.lastname.value + formObj.firstname.value;
}


function PMS(){
if (jsfileisloaded) SetSafetyCookie();}

function SetSafetyCookie(){
document.cookie = 'makingformsafe=iwebtownsafernow; domain=www.iwebtown.com; path=/';
	}
	
function GetCookie(name){
	var result = null;
	var myCookie = " " + document.cookie + ";" ;
	var searchName = " " + name + "=" ;
	var startOfCookie = myCookie.indexOf(searchName) ;
	var endOfCookie;
	if(startOfCookie != -1){
		// skip past cookie name
		startOfCookie += searchName.length; 
		endOfCookie = myCookie.indexOf(";", startOfCookie);
		result = unescape (myCookie.substring(startOfCookie,endOfCookie));
		}
	return result;
}
	
function SetCookieEZ(name,value){
	document.cookie = name + "=" + escape(value);	
	}
function passwordCheck2(userid){
	if(userid == "mary"){	
		if(prompt("Please enter your password","") != "letmein"){	window.location = "/error.html";
	}}
}	

function passwordCheck(){
	if(prompt("Please enter your password","") == "letmein"){
	window.location = "/secure.html";}
	else{window.location = "/error.html";
	}
}
	
function ImageButton(theMouseOverImage,theMouseOutImage)
{
        this.ImageOver = new Image(556,40);
        this.ImageOver.src = theMouseOverImage;
        this.ImageOut= new Image(556,40);
        this.ImageOut.src = theMouseOutImage;
}
function Flip(mode, imageName, position)
{
        if(mode)
                this.document[imageName].src = ImageButton[position].ImageOver.src;
        else
                this.document[imageName].src = ImageButton[position].ImageOut.src;
}
 
  
function test(){
	alert ("testing.x");
}


function displaymailinglabel(){
	alert ("testing.");
}

function SetSafetyCookie(){
	document.cookie = 'makingformsafe=iwebtownsafernow; domain=www.iwebtown.com; path=/';
	}
	
	
	
	
function SetTextCookie(formObj){
	document.cookie = "text2convert=" + escape(formObj.text2convert.value); 'domain=www.iwebtown.com; path=/';
}	
