// JavaScript Document



var width = 790;









document.write(' <script type="text/javascript" src="js/control.js"></script>');

document.write(' <script type="text/javascript" src="js/menu.js"></script>');









document.write(' <!-- Style Sheets -->');

document.write(' <link href="http://www.tufts.edu/vet/vet_common/css/vet/vetschool.css" rel="stylesheet" type="text/css" />');

document.write(' <style>');

var thisWidth = width - 20;

document.write(' #navHolder {position:relative; top:0px; left:0px; width:'+thisWidth+'px; height:20px; background-color:#336699; border:1px; border-color:#003366;}');

document.write(' </style>');





document.write(' </head>');







document.write(' <body bgcolor="#336699" leftmargin="0" topmargin="0" rightmargin="0">');





document.write(' <table width="'+width+'" cellpadding="0" cellspacing="0" border="0" align="center">');

document.write(' 	<tr>');

document.write(' 		<td>');

document.write(' <img src="images/banner.jpg" width="800" height="75" alt="Tufts Center for Animals and Public Policy">');

document.write(' 		</td>');

document.write(' 	</tr>');

document.write(' </table>');







document.write(' <table width="'+width+'" cellpadding="0" cellspacing="0" border="2" bordercolorlight="#CCCCCC" align="center">');

document.write(' 	<tr>');

document.write(' 		<td>');	

document.write(' 			<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#336699">');

document.write(' 				<tr>');

document.write(' 					<td>');

document.write(' <div id="navHolder"></div>');

document.write(' 					</td>');

document.write(' 				</tr>');

document.write(' 			</table>');		



document.write(' 			<table width="100%" cellpadding="10" cellspacing="0" border="0" bgcolor="#FFFFFF">');

document.write(' 				<tr>');

document.write(' 					<td align="left">');



if(loc)

{

	locLink = "";

	

	switch(loc)

	{

		case 1:

		locTitle = 'About Us'

		break

		

		case 2:

		locTitle = 'Masters Program'

		break

		

		case 3:

		locTitle = 'Ethics and Values Program'

		break

		

		case 4:

		locTitle = 'Research and Publications'

		break

		

		case 5:

		locTitle = 'People'

		break

		

		case "5a":

		locTitle = 'Faculty'

		locLink = 'People -> <a href="people_faculty.html">Faculty</a>'

		break

		

		case "5b":

		locTitle = 'Senior Fellows'

		locLink = 'People -> <a href="people_senior_fellows.html">Senior Fellows</a>'

		break

		

		case "5c":

		locTitle = 'Center Adjuncts'

		locLink = 'People -> <a href="people_fellows.html">Center Adjuncts</a>'

		break

		

		case "5d":

		locTitle = 'Alums'

		locLink = 'People -> <a href="people_alums.html">Alums</a>'

		break

		

		case 6:

		locTitle = 'Links'

		break

		

	}

}

else

{

	locTitle = 'Center for Animals and Public Policy'

}

document.write('<p class="text"><b>'+ locTitle);

if(pageTitle)

{

	document.write(' : ' + pageTitle );

}

document.write('</b></p>');







document.write(' <div style="position:relative; top:-12px; left:0px; width:100%; height:2px; background-color:#003366; font-size:1pt;"></div>');				

document.write(' <div style="position:relative; top:-10px; left:0px; width:100%;" class="small" align="right"><a href="index.html">Welcome</a> -> <a href="home.html">Home</a>');





// Cookies

if(loc)

{

	if(locLink == "")

	{

		locLink = locTitle;

	}

	document.write(' -> '+ locLink);



	if(pageTitle)

	{

		document.write(' -> <a href="' + pageURL + '">' + pageTitle +'</a>');

	}

}





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

document.write(' <div style="position:relative; top:-5px; left:0px; width:99%;" class="text" align="left"> ');



/*

if(photo)

{

	//specify corresponding images below

	var myimages=new Array();

	  

	//For Loop for all the images

	for(x = 0; x < 5; x++)

	{

		myimages[x]='images/small/' + x + '.jpg';

	}

	

	// Choose rendom number

	var ry=Math.floor(Math.random()*myimages.length);

	  

	//To write the random image and link into the table of the template 

	document.write('<img src="'+myimages[ry]+'" border="0" alt="CFA: Photo Credit - Andy Cunningham" align="right" />');

}

*/

