// ---------------------------------------------------------
// PageNav.js 
// ---------------------------------------------------------
var gstPageName = "";
var gstPath = "";

// ----------------------------------------------------------
// FUNCTION: MM_findObj(n, d)
// ----------------------------------------------------------
function MM_findObj(n, d) { //v3.0
  	var p,i,x;  
  	if(!d) {
		d=document; 
	}
  	if((p=n.indexOf("?"))>0&&parent.frames.length) {
    	d=parent.frames[n.substring(p+1)].document; 
		n=n.substring(0,p);
	}
  	if(!(x=d[n])&&d.all) {
		x=d.all[n]; 
	}
	for (i=0;!x&&i<d.forms.length;i++) {
		x=d.forms[i][n];
	}
  	for(i=0;!x&&d.layers&&i<d.layers.length;i++) {
		x=MM_findObj(n,d.layers[i].document); 
	}
	return x;
}

// ----------------------------------------------------------
// FUNCTION: MM_swapImage()
// ----------------------------------------------------------
function MM_swapImage() { //v3.0
  var i,j=0,x;
  var a=MM_swapImage.arguments; 
  document.MM_sr=new Array; 
  for(i=0;i<(a.length-2);i+=3){
   	if ((x=MM_findObj(a[i]))!=null){
   	  document.MM_sr[j++]=x; 
	  if(!x.oSrc){
	    x.oSrc=x.src; 
	  }
	  x.src=a[i+2];
    }
  }	
}

// ----------------------------------------------------------
// FUNCTION: MM_swapImgRestore(
// ----------------------------------------------------------
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
// ----------------------------------------------------------
// FUNCTION: GetParam()
// ----------------------------------------------------------
function GetPageNo() {
	gnPageNo=window.location.href.split("#")[1];
	if (gnPageNo==null){
		gnPageNo=0;
	}
	return gnPageNo;
}  

// ----------------------------------------------------------
// FUNCTION: Load_Pics()
// ----------------------------------------------------------
function Load_Pics(){
	
	if (document.images) {
  		company_f1 = new Image(155, 34); company_f1.src = "images/link_company.gif";
		company_f2 = new Image(155, 34); company_f2.src = "images/link_company_f2.gif";
	  	clients_f1 = new Image(155, 34); clients_f1.src = "images/link_clients.gif";
		clients_f2 = new Image(155, 34); clients_f2.src = "images/link_clients_f2.gif";
  		calling_f1 = new Image(155, 34); calling_f1.src = "images/link_calling.gif";
		calling_f2 = new Image(155, 34); calling_f2.src = "images/link_calling_f2.gif";

  		newsroom_f1 = new Image(155, 34); newsroom_f1.src = "images/link_newsroom.gif";
		newsroom_f2 = new Image(155, 34); newsroom_f2.src = "images/link_newsroom_f2.gif";
  		contact_f1 = new Image(155, 34); contact_f1.src = "images/link_contact.gif";
		contact_f2 = new Image(155, 34); contact_f2.src = "images/link_contact_f2.gif";

		makeover_f1 = new Image(155, 34); makeover_f1.src = "images/link_makeover.gif";
		makeover_f2 = new Image(155, 34); makeover_f2.src = "images/link_makeover_f2.gif";
		
		btn_contact_f1 = new Image(75, 25); btn_contact_f1.src = "images/btn_contact.gif";
		btn_contact_f2 = new Image(75, 25); btn_contact_f2.src = "images/btn_contact_f2.gif";	
		
	  	viewwebsite_f1 = new Image(145, 25); viewwebsite_f1.src = "images/btn_viewwebsite.gif";
		viewwebsite_f2 = new Image(145, 25); viewwebsite_f2.src = "images/btn_viewwebsite_f2.gif";
	  	viewprojects_f1 = new Image(145, 25); viewprojects_f1.src = "images/btn_viewprojects.gif";
		viewprojects_f2 = new Image(145, 25); viewprojects_f2.src = "images/btn_viewprojects_f2.gif";
		
		
	 	home_f1 = new Image(75, 25); home_f1.src = "images/btn_home.gif";
		home_f2 = new Image(75, 25); home_f2.src = "images/btn_home_f2.gif";
		
	 	top_f1 = new Image(75, 25); top_f1.src = "images/btn_top.gif";
		top_f2 = new Image(75, 25); top_f2.src = "images/btn_top_f2.gif";
	
	 	list_f1 = new Image(50, 25); list_f1.src = "images/btn_list.gif";
		list_f2 = new Image(50, 25); list_f2.src = "images/btn_list_f2.gif";	
	 	next_f1 = new Image(50, 25); next_f1.src = "images/btn_next.gif";
		next_f2 = new Image(50, 25); next_f2.src = "images/btn_next_f2.gif";
	 	prev_f1 = new Image(50, 25); prev_f1.src = "images/btn_prev.gif";
		prev_f2 = new Image(50, 25); prev_f2.src = "images/btn_prev_f2.gif";
	}	
}


// ----------------------------------------------------------
// FUNCTION: Write_NavItem
// ----------------------------------------------------------
function Write_NavItem(stName, stLink, stTip)
{
	if (gstPageName == stName ){
	    // document.write('<TR><TD>');
		// document.writeln('<IMG height="34" src="images/link_'+stName+'_f3.gif" width="155" border=0" '); 
		// document.writeln('name="'+stName+'" alt="'+stTip+'"></TD></TR>');
	    // alow click on selected items
		document.write('<TR><TD><A onmouseover="MM_swapImage(');
		document.write("'"+stName+"','','images/link_"+stName+"_f3.gif', 1); ");
		document.writeln('" onmouseout="MM_swapImgRestore();" href="'+stLink+'"> ');
		document.writeln('<IMG height="34" src="images/link_'+stName+'_f3.gif" width="155" border=0" '); 
		document.writeln('name="'+stName+'" alt="'+stTip+'"></A></TD></TR>');
	}
	else {				
	    document.write('<TR><TD><A onmouseover="MM_swapImage(');
		document.write("'"+stName+"','','images/link_"+stName+"_f2.gif', 1); ");
		document.writeln('" onmouseout="MM_swapImgRestore();" href="'+stLink+'"> ');
		document.writeln('<IMG height="34" src="images/link_'+stName+'.gif" width="155" border=0" '); 
		document.writeln('name="'+stName+'" alt="'+stTip+'"></A></TD></TR>');
	}
}	
// ----------------------------------------------------------
// FUNCTION: Begin_Page
// ----------------------------------------------------------
function Begin_PageNav(stPageName)
{
	gstPageName = stPageName;
	Load_Pics();

// ADJUST WIDTH CODE ADDED 5/25

var	gstWidth = '100%';
if (screen.availWidth > 1024) {
	gstWidth='990';
}

document.writeln('<table valign=top width="'+gstWidth+'" align=center border=0 cellspacing=0 cellpadding=0 bgcolor="#FFFFFF"><tr><td>');


// ADJUST WIDTH CODE ADDED 5/25

	
	document.writeln('<body bgcolor="#e1e1e1" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="1">');
	// COMMENTED OUT 5/25 //document.writeln('<a name=top><table width="100%" border="0" cellspacing="0" cellpadding="0">'); // COMMENTED OUT 5/25
	
		// begin Left pane 
		document.writeln('<tr><td width="205" background="images/ht_sidebar_25.jpg" valign="top" align="left">');
		
			// begin menu cell
			document.writeln('<table width="205" height="400" background="images/ht_sidebar_400.gif" border="0" cellspacing="0" cellpadding="0">');		
				document.writeln('<tr><td valign="top"><span class="menu">');
				document.writeln('<table width="100%" background="" border="0" cellspacing="0" cellpadding="0">');
				
					document.writeln('<tr><td rowspan="3" align="left" width="35" height="100%"><img src="images/pic_spacer.gif" ');
					document.writeln(' alt="" width="35" height="10" border="0"></td>');
								
					document.writeln('<td align="left" width="155" height="100%"><img src="images/pic_spacer.gif" ');
					document.writeln(' alt="" width="155" height="202" border="0"></td>');
					
					document.writeln('<td align="left" width="15" height="100%"><img src="images/pic_spacer.gif" ');
					document.writeln(' alt="" width="15" height="202" border="0"></td></tr>');
											
					// items
					document.writeln('<tr><td align="left" valign="top">');	
					document.writeln('<table width="155" background="" border="0" cellspacing="0" cellpadding="0">');	
					
					Write_NavItem("company","index.htm", "our company");
					Write_NavItem("clients","client_showcase.htm", "our clients");
					Write_NavItem("calling","calling.htm", "our calling");

					document.writeln('<TR><TD><img src="images/pic_spacer.gif" alt="spacer" width="3" height="15" border="0"></TD></TR>');
					
					document.writeln('<TR><TD><img src="images/pic_spacer.gif" alt="spacer" width="3" height="30" border="0"></TD></TR>');
					//Write_NavItem("makeover","makeover.htm", "extreme makeover contest");					
					//document.writeln('<TR><TD><CENTER><font size=-2><b>nominations now being accepted!</b></CENTER></TD></TR>');

					document.writeln('<TR><TD><img src="images/pic_spacer.gif" alt="spacer" width="3" height="15" border="0"></TD></TR>');
					
					// jlr2010-07-16
					Write_NavItem("newsroom","newsroom.htm", "newsroom");	
					
					Write_NavItem("contact","contact.htm", "contact us");	
				
					//if (gstPageName == "company"){
					document.writeln('<TR><TD><img src="images/pic_spacer.gif" alt="spacer" width="3" height="70" border="0"></TD></TR>');
					//}
					//else {	
					//document.writeln('<TR><TD><img src="images/pic_spacer.gif" alt="spacer" width="3" height="44" border="0"></TD></TR>');
					//}
					
					// jlr2010-07-16
					//document.writeln('<TR><TD><CENTER><A href="http://humanitects.v-agent19.com/" target="_blank"><IMG src="images/verio_advert.gif" border="0"></a></CENTER></TD></TR>');
					//document.writeln('<TR><TD><CENTER><A href="http://www.netmechanic.com/" target="_blank"><IMG src="images/netmech_advert.gif" border="0"></a></CENTER></TD></TR>');			
					
					// document.writeln('<TR><TD><CENTER><IMG src="images/pic_spacer.gif" alt="spacer" width="3" height="60" border="0"></CENTER></TD></TR>');					
					document.writeln('<TR><TD><CENTER><A href="http://www.milfordct.com/" target="_blank"><IMG src="images/mcc_advert.gif" border="0"></a></CENTER></TD></TR>');
					document.writeln('<TR><TD><CENTER><A href="http://www.downtownmilfordct.com/" target="_blank"><IMG src="images/dmba_advert.gif" border="0"></a></CENTER></TD></TR>');

					
					document.writeln('</table>');	
					
					
					// spacer					
					document.writeln('</td><td align="center" valign="center" width="15" height="100%">&nbsp;</td></tr>');				
						
				document.writeln('</table></span></td></tr>');
						
			document.writeln('</table>');		
			// end menu
			
		// end Left Pane (with a transparent spacer to fix Netscape width issues)
		document.writeln('<img src="images/pic_spacer.gif" alt="" width="205" height="10" border="0"></td>');
		
		// begin Right pane
		document.writeln('<td align="left" valign="top" width="100%">');
		document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">');
		document.writeln('<tr><td>');
		    
			// page header
			document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">');
			document.write  ('<tr><td height="112" valign="middle" align="right" bgcolor="#B0BB99">');
			document.writeln('<img src="images/pic_spacer.gif" alt=""width="185" height="112" border="0"></td>');
			document.write  ('<td height="112" valign="middle" align="right" bgcolor="#B0BB99">');
			document.write  ('<img src="images/ht_logo.gif" alt="humanitects, inc. logo"  width="370" height="109" border="0">');
			document.writeln('</td></tr></table>');
			
		document.writeln('</td></tr><tr><td>');
			
			// Page Title and Top Nav Buttons	
			document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">');
			
			// verticle spacer			
			document.writeln('<tr><td colspan="2" width="95%"><img src="images/pic_spacer.gif" ');
			document.writeln('alt="spacer" width="3" height="8" border="0"></td></tr>'); 
			
			// <HR> Page Title <HR>
			document.writeln('<tr><td align="left" valign="middle" width="95%">'); 
				document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">');		
				document.write  ('<tr><td align="left" width="100%" background="images/horz_rule.gif">');
				document.writeln('<img src="images/pic_spacer.gif" alt="" width="1" height="16" border="0"></td></tr>');	
				document.write  ('<tr><td align="left" valign="top">'); 	
				
				// jlr2010-07-26
				// document.writeln('<img src="images/pghd_'+stPageName+'.gif" alt="page heading"  width="200" height="34" border="0"></td></tr>');				
				document.writeln('<img src="images/pghd_'+stPageName+'.gif" alt="page heading" height="34" border="0"></td></tr>');				

				document.write  ('<tr><td align="left" width="100%" background="images/horz_rule.gif">');
				document.writeln('<img src="images/pic_spacer.gif" alt="" width="1" height="12" border="0"></td></tr>');	
				document.writeln('</table></td>');
			
			    // Nav Buttons	
			    document.writeln('<td width="165" align="center" valign="bottom">');
				
				// Home Button
				if (gstPageName == "company"){
					document.writeln('<img src="images/btn_home_d.gif" alt="" ');
					document.write('width="75" height="25" border="0" >');
				}
				else {				
					stName="home"; stNum="1"; stLink="index.htm"; stTip="home page"; 
					document.writeln('<a onmouseover="MM_swapImage(');
					document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
					document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
					document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="75" border=0" '); 
					document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');					
				}
					
				// Contact Button
				/*
				stName="contact"; stNum="1"; stLink="#contact"; stTip="contact us";
				document.writeln('<a onmouseover="MM_swapImage(');
				document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
				document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
				document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="75" border=0" '); 
				document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');	
				*/
							
				// Contact Button
				if (gstPageName == "contact"){
					document.writeln('<img src="images/btn_contact_d.gif" alt="" ');
					document.write('width="75" height="25" border="0" >');
				}
				else {	
					stName="btn_contact"; stNum="1"; stLink="contact.htm"; stTip="contact us";
					document.writeln('<a onmouseover="MM_swapImage(');
					document.write  ("'"+stName+stNum+"','','images/"+stName+"_f2.gif', 1); ");
					document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
					document.write  ('<img height="25" src="images/'+stName+'.gif" width="75" border=0" '); 
					document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');				
				}
				
				
				
											
				document.write  ('<img src="images/pic_spacer.gif" alt="spacer" width="3" height="10" border="0">');
				document.writeln('<img src="images/pic_spacer.gif" alt="" width="165" height="20" border="0" align="top">');

			document.writeln('</td></tr></table>');
		
		// Start a NEW Cell - Calling HTML writes rest of Page
		document.writeln('</td></tr><tr><td>');
		
		
		//document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">');	
	
}


// ----------------------------------------------------------
// FUNCTION: End_Page
// ----------------------------------------------------------
function End_PageNav(stCounter)
{

		// end body cell
	// document.writeln('</table></td></tr>');
	document.writeln('</td></tr>');
			
		
		//---- Contact Us items --------
		document.writeln('<tr><td><a name="contact">');
			document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">');
			
			// horz rule with spacer			
			document.write  ('<tr><td align="left" width="100%" background="images/horz_rule.gif">');
			document.writeln('<img src="images/pic_spacer.gif" alt="" width="1" height="16" border="0"></td>');				
			document.write('<td><img src="images/pic_spacer.gif" alt="" width="14" height="10" border="0">');
			document.writeln('</td></tr>');	
			
			// Contact Us header with spacer	
			/*
			document.write('<tr><td align="left" width="98%">');
			document.write('<img src="images/pghd_contact.gif" alt="contact us" width="200" height="34" border="0"></td>');							
			document.writeln('<td><img src="images/pic_spacer.gif" alt="" width="14" height="10" border="0">');
			document.writeln('</td></tr>');
			*/
				
		document.writeln('</table></td></tr>');	
		
		/*
		document.writeln('<tr><td>');
			document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr>');
					
			// text cell
			document.writeln('<td align="left" width="98%" class="mybody">');
			document.writeln('&nbsp;<br>');	
			document.writeln('If we can assist your organization in any way, please contact us by phone or '); 
			document.writeln('email us at <a href="mailto:service@humanitects.com">service@humanitects.com</a>. ');
			document.writeln('If you have any feedback regarding our Website please ');
			document.writeln('email us at <a href="mailto:webmaster@humanitects.com">webmaster@humanitects.com</a>.');
			document.writeln('&nbsp;<br>&nbsp;<br>');	
			document.writeln('</td>');	
			
			// spacer cell	
			document.writeln('<td><img src="images/pic_spacer.gif" alt="" width="14" height="10" border="0">');
			document.writeln('</td></tr></table>');	
		document.writeln('</td></tr>');	
		*/
			
		document.writeln('<tr><td>');
			document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr>');
					
			// left cell
			document.writeln('<td align="left" width="49%" valign="top">');	
			document.writeln('<b>humanitects, inc.</b><br>');
			document.writeln('141 West Main Street<br>');
			document.writeln('Milford, CT 06460-3338');
			document.writeln('</td>');	
			
			// right cell
			document.writeln('<td align="right" width="49%" valign="top">');	
			document.writeln('<b>service@humanitects.com</b><br>');
			document.writeln('phone: 203.876.1700<br>fax: 203.876.1698');
			document.writeln('</td>');
							
			// spacer cell	
			document.writeln('<td><img src="images/pic_spacer.gif" alt="" width="14" height="10" border="0">');
			document.writeln('</td></tr></table>');	
		document.writeln('</td></tr>');	
			
		
		document.writeln('<tr><td>');
			// horz rule with spacer			
			document.writeln('<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">');
			document.write  ('<tr><td align="left" width="100%" background="images/horz_rule.gif">');
			document.writeln('<img src="images/pic_spacer.gif" alt="" width="1" height="14" border="0"></td>');	
			document.write  ('<td><img src="images/pic_spacer.gif" alt="" width="14" height="10" border="0">');
			document.writeln('</td></tr></table>');	
		document.writeln('</td></tr>');	
		
		//---- end Contact Us items -----
		
		//---- bottom page navigation items --------
		document.writeln('<tr><td>');
			document.writeln('<span class="options"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"><tr>');
			document.writeln('<td align="left"><img src="images/ht_advert.gif" alt="humanitects" width="200" height="36" border="0"></td>');
		
			// new NET MECHANIC LOGO
			//document.writeln('<td align="center" valign="bottom" width="100%" height="33">');	
			//document.writeln('<a href="http://www.netmechanic.com"><A HREF="http://www.netmechanic.com" TITLE="NetMechanic Home Page">');	
			//document.writeln('<IMG SRC="http://images.netmechanic.com/images/webtools/Performer3.gif" border="0" alt="NetMechanic HTML Code Excellence Award"');	 
			//document.writeln(' width="88" height="31" valign="bottom"></a></font><img src="http://partner.netmechanic.com/partner/hiddengif.cgi?p=7320" height=1 width=1>');			
			//document.writeln('</td>');	
			// END NET MECHANIC LOGO
		
			// 
			document.writeln('<td align="center" valign="middle" width="100%" height="33"><font size="-2">');	
			document.writeln('copyright ©2002-2010, humanitects, inc.<br>all rights reserved');			
			document.writeln('</font></td>');	
			// 
		
		
		
		
		if (stCounter !="TRUE")
		{
		
		 	End_Page();
		}
}		
			
// ----------------------------------------------------------
// FUNCTION: End_Page
// ----------------------------------------------------------
function End_Page()
{
			
			document.writeln('<td><img src="images/pic_spacer.gif" alt="" width="10" height="10" border="0"></td><td width="160" valign="middle" align="right" NOWRAP>');
	
			// Home Button
			if (gstPageName == "company"){
				document.writeln('<img src="images/btn_home_d.gif" alt="" ');
				document.write('width="75" height="25" border="0" >');
			}
			else {				
				stName="home"; stNum="2"; stLink="index.htm"; stTip="home page"; 
				document.writeln('<a onmouseover="MM_swapImage(');
				document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
				document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
				document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="75" border=0" '); 
				document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');					
			}
			
			// Top of Page Button			
			stName="top"; stNum="1"; stLink="#top"; stTip="top of page";
			document.writeln('<a onmouseover="MM_swapImage(');
			document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
			document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
			document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="75" border=0" '); 
			document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');					
			document.writeln('</td>');
				
			document.writeln('<td><img src="images/pic_spacer.gif" alt="" width="10" height="10" border="0"></td>');
			document.writeln('</tr><tr><td colspan="3" height="20">&nbsp;</td></tr></table></span>');	
		document.writeln('</td></tr></table>');
		//---- end bottom page navigation items ----
		
	// end outermost table and HTML body
	document.writeln('</td></tr></table></body>');
		
}


// ----------------------------------------------------------
// FUNCTION: Write_ListBtns
// ----------------------------------------------------------
function Write_ListBtns(stList, stPrev, stNext, stNum)
{	
	// List Button
	if (stList == ""){
		document.writeln('<img src="images/btn_list_d.gif" alt="" ');
		document.write('width="50" height="25" border="0" >');
	}
	else {
		stName="list"; stLink=stList; stTip="list of clients";
		document.writeln('<a onmouseover="MM_swapImage(');
		document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
		document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
		document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="50" border=0" '); 
		document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');				
	}
	// Prev Button
	if (stPrev == ""){
		document.writeln('<img src="images/btn_prev_d.gif" alt="" ');
		document.write('width="50" height="25" border="0" >');
	}
	else {		
		stName="prev"; stLink=stPrev; stTip="previous client";
		document.writeln('<a onmouseover="MM_swapImage(');
		document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
		document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
		document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="50" border=0" '); 
		document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');				
	}
	
	// Next Button
	if (stNext == ""){
		document.writeln('<img src="images/btn_next_d.gif" alt="" ');
		document.write('width="50" height="25" border="0" >');
	}
	else {		
		stName="next"; stLink=stNext; stTip="next client";
		document.writeln('<a onmouseover="MM_swapImage(');
		document.write  ("'"+stName+stNum+"','','images/btn_"+stName+"_f2.gif', 1); ");
		document.write  ('" onmouseout="MM_swapImgRestore();" href="'+stLink+'">');
		document.write  ('<img height="25" src="images/btn_'+stName+'.gif" width="50" border=0" '); 
		document.write  ('name="'+stName+stNum+'" alt="'+stTip+'"></a>');						
	}
	document.writeln('<img src="images/pic_spacer.gif" alt="" width="4" height="10" border="0">');
	document.write('<img src="images/pic_spacer.gif" alt="" width="165" height="10" border="0" align="top">');	
}



