
/**************************************PAGE LINKS**************************************/
/**************************************FIRST LEVEL LINKS**************************************/
/* The link details */ 
var links2 = new Array ("about",  "diversity", "studio",  "jobs"); //"staffing",
var links2_text = new Array ("About Us", "Diversity at TNi", "The Studio",   "Work at TNi"); //"Professional Staffing",

var home_links2 = new Array ("net", "diversity", "studio",  "jobs");  //"staffing",
var home_links2_url = new Array ("./index.htm", "./diversity/index.htm",  "./studio/index.htm", "./jobs/index.htm" ); //"./staffing/index.htm",

var about_links2_url = new Array ("../index.htm", "../diversity/index.htm",   "../studio/index.htm","../jobs/index.htm" );//"../staffing/index.htm", 
//var staffing_links2_url = new Array ("../index.htm", "../diversity/index.htm", "../studio/index.htm",  "./index.htm","../jobs/index.htm" ); 
var studio_links2_url = new Array ("../index.htm",  "../diversity/index.htm", "./index.htm", "../jobs/index.htm" ); //"../staffing/index.htm",
var diversity_links2_url = new Array ("../index.htm", "../diversity/index.htm", "../studio/index.htm",  "../jobs/index.htm" ); //"../staffing/index.htm",
var job_links2_url = new Array ("../index.htm", "../diversity/index.htm", "../studio/index.htm",  "./index.htm" ); //"../staffing/index.htm",
var portfolio_links2_url = new Array ("../../index.htm", "../../diversity/index.htm", "../index.htm",  "../../jobs/index.htm" ); //"../../staffing/index.htm", 
var listing_links2_url = new Array ("../../index.htm", "../../diversity/index.htm", "../../studio/index.htm",  "../index.htm" ); //"../../staffing/index.htm", 

/* Resolve the location */ 
var loc2=String(this.location); 
loc2=loc2.split("/"); 
loc2=loc2[loc2.length-2].split("."); 
loc2=loc2[loc2.length-1]; 

/* MENU GENERATING FUNCTIONS */ 
function home_mainmenu() { 
	for(var i=0; i<home_links2.length; i++){ 
					if(loc2==home_links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}

  				document.write('<a href="' + home_links2_url[i]  + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}

function about_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + about_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}

function staffing_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + staffing_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}

function studio_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + studio_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}

function diversity_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + diversity_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}

function job_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + job_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}


/* Resolve the location for subfolders*/ 
var p_loc2=String(this.location);
p_loc2=p_loc2.split("/");
p_loc2=p_loc2[p_loc2.length-3].split(".");
p_loc2=p_loc2[p_loc2.length-1];


/* Menu generating function */ 
function portfolio_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(p_loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + portfolio_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}

function listing_mainmenu() { 
	for(var i=0; i<links2.length; i++){ 
					if(p_loc2==links2[i]) {
					var on="class='on'";
					}
					else{
					on="&nbsp;";
					}
  				document.write('<a href="' + listing_links2_url[i] + '" '+ on +'>'  + links2_text[i] + '</a>');
	} 
}
/**************************************END OF FIRST LEVEL LINKS**************************************/

/**************************************SECOND LEVEL LINKS**************************************/
/* The link details */ 
var home_links3_url = new Array ("./about/index.htm", "./about/philosophy.htm", "./about/contact.htm");

var about_links3 = new Array ("index", "philosophy", "contact"); 
var about_links3_text = new Array ("Background", "Philosophy", "Contact Us"); 
var about_links3_url = new Array ("./index.htm", "./philosophy.htm", "./contact.htm"); 

var staffing_links3 = new Array ("contingent_staffing", "fte_recruiting", "vendor_sourcing"); 
var staffing_links3_text = new Array ("Contingent Staffing", "FTE Recruiting", "Preferred Vendor Sourcing"); 
var staffing_links3_url = new Array ("./contingent_staffing.htm", "./fte_recruiting.htm", "./vendor_sourcing.htm");

var studio_links3 = new Array ("web_studio", "development",  "small_business_services", "portfolio");
var studio_links3_text = new Array ("Design Services", "Development", "Small Business Services", "Portfolio");
var studio_links3_url = new Array ("./web_studio.htm", "./development.htm" , "./small_business_services.htm", "./portfolio.htm");

var job_links3 = new Array ("listings", "benefits", "resume"); 
var job_links3_text = new Array ("Current Job Openings", "Benefits", "Send Us Your Resume"); 
var job_links3_url = new Array ("./listings.htm", "./benefits.htm", "./resume.htm"); 

/*for portfolio navigation*/
var portfolio_links3_url = new Array ("../web_studio.htm", "../development.htm", "../small_business_services.htm", "../portfolio.htm"); 

var listing_links3_url = new Array ("../listings.htm", "../benefits.htm", "../resume.htm"); 


/* Resolve the location */ 
var loc3=String(this.location); 
loc3=loc3.split("/"); 
loc3=loc3[loc3.length-1].split("."); 
loc3=loc3[loc3.length-2]; 

/* Menu generating function */ 
function home_submenu() { 
	for( var i=0; i<about_links3.length; i++){ 
  				document.write('<a href="' + home_links3_url[i] + '">'  + about_links3_text[i] + '</a>');
	} 
}

function about_submenu() { 
	for( var i=0; i<about_links3.length; i++){ 
					if(loc3==about_links3[i]) {
					 on="class='on'";
					}
					else{
					on="&nbsp;"
					}
  				document.write('<a href="' + about_links3_url[i] + '" '+ on +'>'  + about_links3_text[i] + '</a>');
	} 
}

function staffing_submenu() { 
	for( var i=0; i<staffing_links3.length; i++){ 
					if(loc3==staffing_links3[i]) {
					 on="class='on'";
					}
					else{
					on="&nbsp;"
					}
  				document.write('<a href="' + staffing_links3_url[i] + '" '+ on +'>'  + staffing_links3_text[i] + '</a>');
	} 
}

function studio_submenu() { 
	for( var i=0; i<studio_links3.length; i++){ 
					if(loc3==studio_links3[i]) {
					 on="class='on'";
					}
					else{
					on="&nbsp;"
					}
  				document.write('<a href="' + studio_links3_url[i] + '" '+ on +'>'  + studio_links3_text[i] + '</a>');
	} 
}

function job_submenu() { 
	for( var i=0; i<job_links3.length; i++){ 
					if(loc3==job_links3[i]) {
					 on="class='on'";
					}
					else{
					on="&nbsp;"
					}
  				document.write('<a href="' + job_links3_url[i] + '" '+ on +'>'  + job_links3_text[i] + '</a>');
	} 
}

/* Resolve the location for subfolders*/ 
var p_loc3=String(this.location); 
p_loc3=p_loc3.split("/"); 
p_loc3=p_loc3[p_loc3.length-2].split("."); 
p_loc3=p_loc3[p_loc3.length-1]; 


function portfolio_submenu() { 
	for( var i=0; i<studio_links3.length; i++){ 
					if(p_loc3==studio_links3[i]) {
					on="class='on'";
					}
					else{
					on="&nbsp;"
					}					
  				document.write('<a href="' + portfolio_links3_url[i] + '" '+ on +'>'  + studio_links3_text[i] + '</a>');
					
	} 
}

function listing_submenu() { 
	for( var i=0; i<job_links3.length; i++){ 
					if(p_loc3==job_links3[i]) {
					on="class='on'";
					}
					else{
					on="&nbsp;"
					}					
  				document.write('<a href="' + listing_links3_url[i] + '" '+ on +'>'  + job_links3_text[i] + '</a>');
					
	} 
}
/**************************************END OF SECOND LEVEL LINKS**************************************/

/************************************** FOOTER **************************************/
var home_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="./index.htm" class="on">About Us</a> |	<a href="./studio/index.htm">The Studio</a>|		<a href="./diversity/index.htm">Diversity at TNi</a> |	<a href="./staffing/index.htm">Professional Staffing </a> <br />	<a href="./jobs/index.htm">Jobs at TNi</a> | <a href="./privacy.htm">Privacy</a> | <a href="./about/contact.htm">Contact Us</a>	<!--<a href="./login.htm">Login</a> |-->' 

var about_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../index.htm" class="on">About Us</a>|	<a href="../diversity/index.htm">Diversity at TNi</a> |<a href="../studio/index.htm">The Studio</a> |			<a href="../staffing/index.htm">Professional Staffing </a> <br />	<a href="../jobs/index.htm">Jobs at TNi</a> | <a href="../privacy.htm">Privacy</a> | <a href="./contact.htm">Contact Us</a>	<!--<a href="../login.htm">Login</a> |-->' 

var staffing_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../index.htm" class="on">About Us</a>|<a href="../diversity/index.htm">Diversity at TNi</a>|	<a href="../studio/index.htm">The Studio</a>  |	<a href="./index.htm">Professional Staffing </a> <br />	<a href="../jobs/index.htm">Jobs at TNi</a> | <a href="../privacy.htm">Privacy</a> | <a href="../about/contact.htm">Contact Us</a>	<!--<a href="../login.htm">Login</a> |-->' 

var studio_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../index.htm" class="on">About Us</a> |		<a href="../diversity/index.htm">Diversity at TNi</a> |	<a href="./index.htm">The Studio</a>|	<a href="../staffing/index.htm">Professional Staffing </a> <br />	<a href="../jobs/index.htm">Jobs at TNi</a> | <a href="../privacy.htm">Privacy</a> | <a href="../about/contact.htm">Contact Us</a>	<!--<a href="../login.htm">Login</a> |-->' 

var diversity_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../index.htm" class="on">About Us</a>|			<a href="./index.htm">Diversity at TNi</a> |<a href="../studio/index.htm">The Studio</a> |	<a href="../staffing/index.htm">Professional Staffing </a> <br />	<a href="../jobs/index.htm">Jobs at TNi</a> | <a href="../privacy.htm">Privacy</a> | <a href="../about/contact.htm">Contact Us</a>	<!--<a href="../login.htm">Login</a> |-->' 

var job_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../index.htm" class="on">About Us</a>|	<a href="../studio/index.htm">The Studio</a> |		<a href="../diversity/index.htm">Diversity at TNi</a> |	<a href="../staffing/index.htm">Professional Staffing </a> <br />	<a href="./index.htm">Jobs at TNi</a> | <a href="../privacy.htm">Privacy</a> | <a href="../about/contact.htm">Contact Us</a>	<!--<a href="../login.htm">Login</a> |-->' 

var portfolio_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../../index.htm" class="on">About Us</a>|	<a href="../index.htm">The Studio</a> |		<a href="../../diversity/index.htm">Diversity at TNi</a> |	<a href="../../staffing/index.htm">Professional Staffing </a> <br />	<a href="../../jobs/index.htm">Jobs at TNi</a> | <a href="../../privacy.htm">Privacy</a> | <a href="../../about/contact.htm">Contact Us</a>	<!--<a href="../../login.htm">Login</a> |-->' 

var listing_lowerNav = '&copy; 2006-2008 The Net Imperative<sup>&#174;</sup> Inc.<br /><a href="../../index.htm" class="on">About Us</a>|	<a href="../../studio/index.htm">The Studio</a> |		<a href="../../diversity/index.htm">Diversity at TNi</a> |	<a href="../../staffing/index.htm">Professional Staffing </a> <br />	<a href="../index.htm">Jobs at TNi</a> | <a href="../../privacy.htm">Privacy</a> | <a href="../../about/contact.htm">Contact Us</a>	<!--<a href="../../login.htm">Login</a> |-->' 


/************************************** END OF FOOTER **************************************/ 
/************************************** PAGE LINKS ENDS HERE**************************************/

/************************************** PORTFOLIO NAVIGATION**************************************/
/*the client_links should be the same name as the file name: e.i. charles_schwab.htm = charles_schwab*/
var client_links = new Array /**/("azul","breakstone","charles_schwab","cinema","claremont","egreetings","f14","landis", "mercury", "merzon", "nti", "philips", "pmg", "shifting"); /**/
var client_links_text = new Array /**/("Azul Gallery","Breakstone","Charles Schwab","Cinemattractions","Claremont","eGreetings","F14","Landis Communications, Inc.","Mercury Multimedia, Inc.","Merzon","Neurobiological Technologies, Inc.", "Philips","Process Marketing Group","Shifting Skies"); 
var client_links_url = new Array /**/("./portfolio/azul.htm","./portfolio/breakstone.htm","./portfolio/charles_schwab.htm","./portfolio/cinema.htm","./portfolio/claremont.htm","./portfolio/egreetings.htm","./portfolio/f14.htm","./portfolio/landis.htm","./portfolio/mercury.htm","./portfolio/merzon.htm","./portfolio/nti.htm","./portfolio/philips.htm","./portfolio/pmg.htm","./portfolio/shifting.htm"); 
var client_links_url2 = new Array /**/("azul.htm","breakstone.htm","charles_schwab.htm","cinema.htm","claremont.htm","egreetings.htm","f14.htm","landis.htm","mercury.htm","merzon.htm","nti.htm","philips.htm","pmg.htm","shifting.htm"); 

var loc=String(this.location); 
loc=loc.split("/"); 
loc=loc[loc.length-1].split("."); 
loc=loc[loc.length-2]; 
/* client navigation */ 
function client_navigation() { 
	for( var i=0; i<client_links.length; i++){ 
					if(loc==client_links[i]) {
					on="class='on'";
					}
					else{
					on="&nbsp;"
					}					
  				document.write('<a href="' + client_links_url[i] + '" '+ on +'>'  + client_links_text[i] + '</a>');
					
	} 
}
 
/* portfolio client navigation */ 
function p_client_navigation() { 
	for( var i=0; i<client_links.length; i++){ 
					if(loc==client_links[i]) {
					on="class='on'";
					}
					else{
					on="&nbsp;"
					}					
  				document.write('<a href="' + client_links_url2[i] + '" '+ on +'>'  + client_links_text[i] + '</a>');
					
	} 
}
/************************************** END OF PORTFOLIO NAVIGATION**************************************/