var windowopen=false;
function popup(page,l,t,w,h,scroll){
	if(windowopen==true){
			if(!newWin.closed){
				newWin.close();
			}	
	}
	window.newWin=open(page,'','left='+l+',top='+top+',width='+w+',height='+h+',noresize,scrollbars='+scroll);
	windowopen=true;
	newWin.focus();
}



document.write(''
+'	<div id="main" align="center">'
+''
+'	<!-- Using only the table\'s actual content the table\'s width must be exactly 800px. -->'
+'	<table id="thetable" border="0" cellpadding="0" cellspacing="0">'
+'		<tr>'
+'			<!-- header and navs -->'
+'			<td colspan="3"  bgcolor="#345678" height="40" valign="top" align="right"><img src="images/spacer_transp.gif" border="0" width="17" height="4"><br><a href="search.php" style="font-size:10px;font-weight:600;font-family:verdana,sans-serif;background-color:#DD1111;color:#FFFFFF;text-decoration:none;">&nbsp;SEARCH&nbsp;</a><img src="images/spacer_transp.gif" border="0" width="18" height="4"></td>'
+'		</tr>'
+'		<tr>'
+'			<!-- For design purposes the height of the image in this row must be 25px -->'
+'			<!-- row spacer between header and main content -->'
+'			<td colspan="3" bgcolor="#cccc99"><img src="images/spacer_transp.gif" border="0" width="1" height="25"></td>'
+'		</tr>'
+'		<tr>'
+'			<!-- left margin  -->'
+'			<td bgcolor="#cccc99"><img src="images/spacer_transp.gif" border="0" width="15" height="1"></td>'
+''			
+'			<!-- main content -->'
+'			<!-- The width of this cell must be no less than 770px so that with the right and left margins, the total document width will be 800px. -->'
+'			<!-- The menus and header have been set to work dynamically with a document exactl 800px wide. -->'
+'			<td align="center" width="770">'
+'');

var pages=new Array(
"index.html",
"clients1.php",
"clients2.php",
"clients3.php",
"kmx.html",
"erc.html",
"connectrix.html",
"connectrix_admin.html",
"erc_admin.html",
"gottardo_construction.html",
"gottardo_construction_admin.html",
"greencard.html",
"greencard_admin.html",
"mycaptcha.html",
"oab_amberalert_admin.html",
"annette_baseball_admin.html",
"myspider.html",
"myspider_admin.html",
"rosemary_frei.html",
"larisata_admin.html",
"erinmills.html",
"audiovoxweb.html",
"environics.html",
"environics_global.html",
"csv_to_mysql.html",
"checkranking.html",
"superscoopers.html",
"acr.html",
"churchill.html",
"IDCweb.html",
"majic.html",
"FAOweb.html",
"mycalculator_explained.html",
"javascripts.html",
"cmltoannual.html",
"cmltonews.html",
"Chaplains.html",
"HamelBro.html",
"HandyBro.html",
"HighBroc.html",
"TimeFrame.html",
"MachGun.html",
"RLIBro.html",
"WinAd.html",
"MailBxAd.html",
"DJLC.html",
"RLIad.html",
"cmltologo.html",
"gatewaylogo.html",
"HandyLog.html",
"Updn.html",
"reelfilm.html",
"CrysImag.html",
"TimeFrame_imaging.html",
"MachGun_imaging.html",
"MailBxAd_imaging.html",
"OFDC.html",
"RLIillus.html",
"UES.html"
);

document.write("<div align='center'><br>");

var this_url=document.location.href;
url_bits=this_url.split("/");
var len=url_bits.length;
var this_page=url_bits[len-1];
var back_page_index;
for (i=0;i<pages.length;i++){
	if (this_page==pages[i]){
		back_page_index=i-1;
	}
}
var back_page;
if (back_page_index>=0){
	back_page=pages[back_page_index];
	document.write("<a href='"+back_page+"' style='font-size:11px;'><b>&lt;&lt; BACK</b></a>&nbsp;&nbsp;&nbsp;&nbsp;");
}

var next_page_index=back_page_index + 2;
var next_page;
if (next_page_index<pages.length){
	next_page=pages[next_page_index];
	document.write("<a href='"+next_page+"' style='font-size:11px;'><b>NEXT &gt;&gt;</b></a>&nbsp;</a>");
}

document.write("</div>");

