function loadReel(){
	if(globalLink == "directing"){
		open("dirReel.html",400,355);
	}else if(globalLink == "editing"){
		open("editReel.html",400,460);
	}else{
		open("dirReel.html",400,355);
	}
}

function loadResume(){
	if(globalLink == "directing"){
		//alert("window.open");
		window.location = 'http://www.moviesstarringyou.com/alexisjestevez/redesign/resumes/Estevez_Director_CV.pdf';
		//window.open("resumes/Estevez_Director_CV.pdf");
	}else if(globalLink == "editing"){
		window.location = 'http://www.moviesstarringyou.com/alexisjestevez/redesign/resumes/Estevez_VideoEditor_CV_0311.pdf';
		//window.open("resumes/Estevez_VideoEditor_CV_0311.pdf");
	}else if(globalLink == "storyboard"){
		window.location = 'http://www.moviesstarringyou.com/alexisjestevez/redesign/resumes/Estevez_StoryboardArtist_CV_0311.pdf';
		//window.open("resumes/Estevez_StoryboardArtist_CV_0311.pdf");
	}
}


function updateDot(){
	//alert("updateDot");
	
	if(globalLink == "directing"){
		//alert("within directing if");
		document.getElementById("dir-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadDirecting('1')\" class=\"aje\">DIRECTING</a>";
		document.getElementById("edit-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/un-selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadEditing()\" class=\"aje\">EDITING</a>";
		document.getElementById("story-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/un-selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadStoryBoard()\" class=\"aje\">STORYBOARDS</a>";
	}else if(globalLink == "storyboard"){
		//alert("within storyboard if");
		document.getElementById("dir-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/un-selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadDirecting('1')\" class=\"aje\">DIRECTING</a>";
		document.getElementById("edit-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/un-selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadEditing()\" class=\"aje\">EDITING</a>";
		document.getElementById("story-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadStoryBoard()\" class=\"aje\">STORYBOARDS</a>";
	
	}else if(globalLink == "editing"){
		document.getElementById("dir-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/un-selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadDirecting('1')\" class=\"aje\">DIRECTING</a>";
		document.getElementById("edit-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadEditing()\" class=\"aje\">EDITING</a>";
		document.getElementById("story-link").innerHTML = "<img src=\"http://www.alexisjestevez.com/images/un-selected_dot.gif\" border=\"0\"/><a href=\"javascript:loadStoryBoard()\" class=\"aje\">STORYBOARDS</a>";
	
	}
}

function updateDirecting(index){

	var innerHTML = "";
	    innerHTML += "		<table border=\"0\" cellspacing=\"8\" cellpadding=\"0\">";
	    innerHTML += "		<tr>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directOne.html',460,330)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/pumpkin.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directTwo.html',400,465)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_animus.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directThree.html',400,340)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_cap_murder.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directFour.html',400,450)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_the_vi.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directFive.html',530,400)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_hanukkah.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    </tr>";
	    innerHTML += "		    <tr>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directSix.html',400,410)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_paganini.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directSeven.html',470,340)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_glo.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directEight.html',400,480)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_brooklyn.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directNine.html',400,410)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_ass.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    	<td>";
	    innerHTML += "		    		<a href=\"javascript:open('directTen.html',460,320)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/dir_all_yours.jpg\" border=\"0\"/></a>";
	    innerHTML += "		    	</td>";
	    innerHTML += "		    </tr>";
	    innerHTML += "		    <tr>";
	    innerHTML += "			<td colspan=\"5\" align=\"right\">";
	    innerHTML += "				<a href=\"javascript:updateDirecting('2')\"><img src=\"http://www.alexisjestevez.com/images/next.jpg\" border=\"0\"></a>";
	    innerHTML += "			</td>";
	    innerHTML += "	 	   </tr>";	    
	    innerHTML += "	 	</table>";
	    
	    
	    
	    var innerHTML2 = "";
	    //innerHTML2 += "<div class=\"panel\" title=\"2\">";
	    //innerHTML2 += "	<div class=\"wrapper\">";
	    innerHTML2 += "		<table border=\"0\" cellspacing=\"8\" cellpadding=\"0\">";
	    innerHTML2 += "		<tr>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<a href=\"javascript:open('directEleven.html',410,360)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/owen_payne.jpg\" border=\"0\"/></a>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<a href=\"javascript:open('directTwelve.html',400,455)\"><img src=\"http://www.alexisjestevez.com/images/thumbs/animus_revised.jpg\" border=\"0\"/></a>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    </tr>";
	    innerHTML2 += "		    <tr>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    	<td>";
	    innerHTML2 += "		    		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "		    	</td>";
	    innerHTML2 += "		    </tr>";
	    innerHTML2 += "		    <tr>";
	    innerHTML2 += "			<td colspan=\"5\" align=\"left\">";
	    innerHTML2 += "				<a href=\"javascript:updateDirecting('1')\"><img src=\"http://www.alexisjestevez.com/images/previous.jpg\" border=\"0\"></a>";
	    innerHTML2 += "			</td>";
	    innerHTML2 += "	 	   </tr>";	    
	    innerHTML2 += "	 	</table>";

	   
	   if(index == 1)
	    	document.getElementById('thumbs').innerHTML = innerHTML;
	   else if(index == 2)
	    	document.getElementById('thumbs').innerHTML = innerHTML2;

}

function loadDirecting(index){
	globalLink = "directing";
	document.getElementById("tr_header").innerHTML = "directing";
		
	    updateDirecting(index);

	    var bottomInnerHtml = "";	    
	    bottomInnerHtml += "<table border='0' cellpadding='0' width='692' cellspacing='0'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td colspan='2'><br></td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td align='left'>";
	    bottomInnerHtml += "		<h1>check it</h1>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td>&nbsp;";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td align='right'>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<table>";
	     
	    bottomInnerHtml += "<table border='0' cellpadding='0' cellspacing='0'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td><a href=\"http://alexisjestevez.blogspot.com/\"><img src=\"http://www.alexisjestevez.com/images/blog.logo.jpg\" border=\"0\"></a></td>";
	    bottomInnerHtml += "        <td><a href=\"http://www.facebook.com/alexisjestevez\"><img src=\"http://www.alexisjestevez.com/images/facebook.logo.jpg\" border=\"0\"></td>";
	    bottomInnerHtml += "        <td><a href=\"javascript:open('murder.html',400,300)\" border=\"0\"><img src=\"http://www.alexisjestevez.com/images/murder.logo.jpg\" border=\"0\"></a></td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "</table>";
  	    document.getElementById("bottom-content-row").innerHTML = bottomInnerHtml;
	    updateDot();


}

function updateStoryBoard(index){

	var innerHTML = " <table border='0' cellspacing='8' cellpadding='0'>";
	    innerHTML += "<tr>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgOne.html\",792,502)'><img src='http://www.alexisjestevez.com/images/thumbs/concept_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgTwo.html\",500,529)'><img src='http://www.alexisjestevez.com/images/thumbs/dodge_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgThree.html\",500,529)'><img src='http://www.alexisjestevez.com/images/thumbs/boost_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgFour.html\",966,515)'><img src='http://www.alexisjestevez.com/images/thumbs/addidas_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgFive.html\",808,549)'><img src='http://www.alexisjestevez.com/images/thumbs/coyote_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "</tr>";
	    innerHTML += "<tr>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgSix.html\",400,340)'><img src='http://www.alexisjestevez.com/images/thumbs/hbo_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgSeven.html\",424,529)'><img src='http://www.alexisjestevez.com/images/thumbs/nolet_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgEight.html\",612,389)'><img src='http://www.alexisjestevez.com/images/thumbs/toyota_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgNine.html\",365,759)'><img src='http://www.alexisjestevez.com/images/thumbs/juara_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"imgTen.html\",615,408)'><img src='http://www.alexisjestevez.com/images/thumbs/eco_thumb.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "</tr>";
	    innerHTML += "		    <tr>";
	    innerHTML += "			<td colspan=\"5\" align=\"right\">";
	    innerHTML += "				<a href=\"javascript:updateStoryBoard('2')\"><img src=\"http://www.alexisjestevez.com/images/next.jpg\" border=\"0\"></a>";
	    innerHTML += "			</td>";	    
	    innerHTML += "	 	   </tr>";	    
	    innerHTML += "</table>";
	    //document.getElementById("thumbs").innerHTML = innerHTML;


	var innerHTML2 = " <table border='0' cellspacing='8' cellpadding='0'>";
	    innerHTML2 += "<tr>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "</tr>";
	    innerHTML2 += "<tr>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "</tr>";
	    innerHTML2 += "		    <tr>";
	    innerHTML2 += "			<td colspan=\"5\" align=\"left\">";
	    innerHTML2 += "				<a href=\"javascript:updateStoryBoard('1')\"><img src=\"http://www.alexisjestevez.com/images/previous.jpg\" border=\"0\"></a>";
	    innerHTML2 += "			</td>";	    
	    innerHTML2 += "	 	   </tr>";	    
	    innerHTML2 += "</table>";
	    
	   if(index == 1)
	    	document.getElementById('thumbs').innerHTML = innerHTML;
	   else if(index == 2)
	    	document.getElementById('thumbs').innerHTML = innerHTML2;


}

function loadStoryBoard(){

	globalLink = "storyboard";
	document.getElementById("tr_header").innerHTML = "storyboards";
	
	updateStoryBoard(1);
	
	    var bottomInnerHtml = "";	    
	    bottomInnerHtml += "<table border='0' cellpadding='0' width='692' cellspacing='0'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td colspan='2'><br></td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td align='left'>";
	    bottomInnerHtml += "		<h1>storyboards</h1>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td>&nbsp;";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td align='right'>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<table>";
	    bottomInnerHtml += "<iframe style='margin:0; padding:0; border:0;' src='storyboards.html' name='story' height='200' width='692' frameborder='0'></iframe>"; 
  	    document.getElementById("bottom-content-row").innerHTML = bottomInnerHtml;

	    updateDot();
}

function updateEditing(index){

	var innerHTML = " <table border='0' cellspacing='8' cellpadding='0'>";
	    innerHTML += "<tr>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editOne.html\",400,460)'><img src='http://www.alexisjestevez.com/images/thumbs/editor_reel.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editTwo.html\",400,420)'><img src='http://www.alexisjestevez.com/images/thumbs/idol_gives_back.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editThree.html\",400,690)'><img src='http://www.alexisjestevez.com/images/thumbs/zombie_trailer.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editFour.html\",400,370)'><img src='http://www.alexisjestevez.com/images/thumbs/pepperbirds.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editFive.html\",400,420)'><img src='http://www.alexisjestevez.com/images/thumbs/break_the_chain.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "</tr>";
	    innerHTML += "<tr>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editSix.html\",400,400)'><img src='http://www.alexisjestevez.com/images/thumbs/jesse_james.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editSeven.html\",400,430)'><img src='http://www.alexisjestevez.com/images/thumbs/arredondo.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editEight.html\",400,520)'><img src='http://www.alexisjestevez.com/images/thumbs/ex-boy.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "		<a href='javascript:open(\"editNine.html\",400,340)'><img src='http://www.alexisjestevez.com/images/thumbs/paula_valstein.jpg' border='0'/></a>";
	    innerHTML += "	</td>";
	    innerHTML += "	<td>";
	    innerHTML += "	</td>";
	    innerHTML += "</tr>";
	    innerHTML += "		    <tr>";
	    innerHTML += "			<td colspan=\"5\" align=\"right\">";
	    innerHTML += "				<a href=\"javascript:updateEditing('2')\"><img src=\"http://www.alexisjestevez.com/images/next.jpg\" border=\"0\"></a>";
	    innerHTML += "			</td>";
	    innerHTML += "	 	   </tr>";	    
	    innerHTML += "</table>";

	var innerHTML2 = " <table border='0' cellspacing='8' cellpadding='0'>";
	    innerHTML2 += "<tr>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "</tr>";
	    innerHTML2 += "<tr>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "		<img src=\"http://www.alexisjestevez.com/images/empty_thumb.jpg\" border=\"0\"/>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "	<td>";
	    innerHTML2 += "	</td>";
	    innerHTML2 += "</tr>";
	    innerHTML2 += "		    <tr>";
	    innerHTML2 += "			<td colspan=\"5\" align=\"left\" valign=\"top\" >";
	    innerHTML2 += "				<a href=\"javascript:updateEditing('1')\"><img src=\"http://www.alexisjestevez.com/images/previous.jpg\" border=\"0\"></a>";
	    innerHTML2 += "			</td>";
	    innerHTML2 += "	 	   </tr>";	    
	    innerHTML2 += "</table>";


	   if(index == 1)
	    	document.getElementById('thumbs').innerHTML = innerHTML;
	   else if(index == 2)
	    	document.getElementById('thumbs').innerHTML = innerHTML2;



}

function loadEditing(){

	globalLink = "editing";
	document.getElementById("tr_header").innerHTML = "editing";
	    
	updateEditing(1);
	    
	    var bottomInnerHtml = "";
	    bottomInnerHtml += "<table border='0' cellpadding='0' width='692' cellspacing='0'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td colspan='2'><br></td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td align='left'>";
	    bottomInnerHtml += "		<h1>editing</h1>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td>&nbsp;";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td align='right'>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<table>";	    
	    //bottomInnerHtml += "<table border='0' cellpadding='0' cellspacing='3'>";
	    //bottomInnerHtml += "<tr>";
	    //bottomInnerHtml += "<td class='big'>";
	    bottomInnerHtml += "<iframe style='margin:0; padding:0; border:0;' src='editing.html' name='editing' height='200' width='692' frameborder='0'></iframe>";
	    
	    //bottomInnerHtml += "<td valign='top'><img src='http://www.alexisjestevez.com/images/Learn2edit.jpg' border='0' width='280'></td>";
	    //bottomInnerHtml += "</tr>";
	    //bottomInnerHtml += "</table>";
	    
	    document.getElementById("bottom-content-row").innerHTML = bottomInnerHtml;

	    updateDot();	    
}


function loadBio(){
	    var bottomInnerHtml = "";
	    bottomInnerHtml += "<table border='0' cellpadding='0' width='692' cellspacing='0'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td colspan='2'><br></td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td align='left'>";
	    bottomInnerHtml += "		<h1>bio</h1>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td>&nbsp;";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td align='right'>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<table>";	    	    
	    bottomInnerHtml += "<table border='0' cellpadding='0' cellspacing='3'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "<td colspan='2' width='60%' class='big'>";
	    bottomInnerHtml += "	Alexis J. Estevez worked professionally in New York City where he conceived, produced, directed and edited projects for 20th Century Fox, Comedy Central, The Peter G. Peterson Foundation and Plum TV. He also created animatics, illustrations and storyboards for clients such as Adidas, Elizabeth Arden, Boost Mobile, Discovery Channel and HBO.<br><br>";
	    bottomInnerHtml += "	In 2010, Estevez moved to Los Angeles where he became the Lead Character Designer and Animation Cell Illustrator for the animated feature, The Road to Independence. He has since directed and edited projects for Dentsu America, designed credit sequences for the feature, Abelar: Tales of an Ancient Empire and illustrated for The Disney Channel, Honda, Kia, NRA, Nissan, Power Rangers: Samurai and Toyota.<br><br>";
	    bottomInnerHtml += "	<a href='http://www.imdb.com/name/nm2340814/'>IMDb</a>";
	    bottomInnerHtml += "</td>";	    
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "</table>";
	    
	    document.getElementById("bottom-content-row").innerHTML = bottomInnerHtml;	
}

function loadContact(){
	    var bottomInnerHtml = "";
	    bottomInnerHtml += "<table border='0' cellpadding='0' width='692' cellspacing='0'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td colspan='2'><br></td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "	<td align='left'>";
	    bottomInnerHtml += "		<h1>Contact</h1>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td>&nbsp;";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "	<td align='right'>";
	    bottomInnerHtml += "	</td>";
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "<table>";	    	    
	    bottomInnerHtml += "<table border='0' cellpadding='0' cellspacing='3'>";
	    bottomInnerHtml += "<tr>";
	    bottomInnerHtml += "<td colspan='2' width='60%' class='big'>";
	    bottomInnerHtml += "	Alexis J. Estevez<br>";
	    bottomInnerHtml += "	<a href='mailto:ajestevez@gmail.com'>ajestevez@gmail.com</a>";
	    bottomInnerHtml += "</td>";	    
	    bottomInnerHtml += "</tr>";
	    bottomInnerHtml += "</table>";
	    
	    document.getElementById("bottom-content-row").innerHTML = bottomInnerHtml;	
}
