function load_portfolio_data(){
	item_title=new Array();
	item_description=new Array();
	var current_item=0;
	// Init
	
	item_title[0]="Adobe Ad and Logo Concept";
	item_description[0]="Created a concept for a new logo design for Adobe, as well as an advertisement utilizing the logo. 2005 school project.";
	
	item_title[1]="Xcel Energy Ad Concept";
	item_description[1]="Created a concept for an ad for Xcel Energy, promoting their wind energy plan. Stock Photography. 2005 school project.";
	
	item_title[2]="Red Cross DVD Package Design";
	item_description[2]='Created a DVD package design for the local Red Cross blood center. The DVD has since been distributed nation-wide. Photography by <a href="http://www.shurphotography.com/" target="_blank">Sher Vang<\/a>. Client: <a href="http://www.redcross.org/" target="_blank">American Red Cross<\/a>. 2005.';
	
	item_title[3]="Sleuth Interface and CD Design";
	item_description[3]='Re-designed a Flash-based CD presentation for a medical device. Also did some of the animation.<br\/>The CD was used for internal marketing purposes. Client: <a href="http://www.transomamedical.com/" target="_blank">Transoma Medical<\/a>. 2007.';
	
	item_title[4]='Perfect Fit Interface Design';
	item_description[4]='Re-designed an interface for a Flash-based personal workout tool. Their original design was much more gray and drab. Programming by <a href="http://www.pixelfarminteractive.com/" target="_blank">Pixel Farm Interactive<\/a>. Client: <a href="http://www.rankininnovations.com/" target="_blank">Rankin Innovations, Inc.<\/a> 2006.';
	
	item_title[5]='Deluxe NEO Interface Design';
	item_description[5]='Designed an interface for a Flash-based New Employee Orientation (NEO) tool for Deluxe, based on their latest website color scheme. Programming by <a href="http://www.pixelfarminteractive.com/" target="_blank">Pixel Farm Interactive<\/a>. Client: <a href="http://www.deluxe.com/" target="_blank">Deluxe<\/a>. 2007.';
	
	item_title[6]='US Bank NEO Interface Design';
	item_description[6]='Designed an interface for a Flash-based New Employee Orientation (NEO) tool for U.S. Bank. I also helped with the animation. Programming by <a href="http://www.pixelfarminteractive.com/" target="_blank">Pixel Farm Interactive<\/a>. Client: <a href="http://www.usbank.com/" target="_blank">U.S. Bancorp<\a>. 2006.';
	
	item_title[7]='SAVE Website';
	item_description[7]='Created a new web site design for one of the world\'s largest suicide awareness organizations. Save.org gets over two million visitors each month. Client: <a href="http://www.save.org/" target="_blank">SAVE<\/a>. 2006.';
	
	item_title[8]='Best Buy Presentation Design';
	item_description[8]='Designed an interface for a Flash-based presentation for Best Buy to help them sell Microsoft Office products. The final product featured a video actor who interacted with the interface. Programming by <a href="http://www.pixelfarminteractive.com/" target="_blank">Pixel Farm Interactive<\/a>. Client: <a href="http://www.bestbuy.com/" target="_blank">Best Buy<\/a>. 2006.';
	
	item_title[9]='Summer Crossover Package Design';
	item_description[9]='Developed an identity for an urban Christian clothing company\'s annual fundraiser. Items designed include logos, packaging (CD, tickets, stationary), and a website. Client: <a href="http://www.jayceeclothing.com/" target="_blank">JayCee Clothing Co.<\/a>. 2005-2006.';
	
	item_title[10]='Equilibrium Poster Design';
	item_description[10]='Created new poster designs for one of my favorite movies. Personal project. 2005.';
	
	item_title[11]='Gentle Doves Website';
	item_description[11]='Designed a website for Ruth Olson Ministries. Sadly, I didn\'t program it, and the guy who did made it only look good in Internet Explorer. 2007.';
	
	item_title[12]='WillPower Partnership Website';
	item_description[12]='Designed and implemented a website for <a href="http://www.willpowerpartnership.net/" target="_blank">WillPower Partnership</a>, a local life planning organization (wills, etc). 2007.';
	
	// -----
	
	item_title[13]='AdMission Flash Ads';
	item_description[13]='Designed and programmed a series of Flash Ads for <a href="http://www.admission.net/" target="_blank">AdMission</a>, an ad agency.<br/>Other ads I designed for them can be seen in <a href="http://adcenter.admission.net/adcreator/" target="_blank">AdCreator</a>, their flagship product. 2008.';
	
	item_title[14]='N2N Website';
	item_description[14]='Designed and programmed a website for <a href="http://www.n2nchurch.org/" target="_blank">Neighbors to Nations Church and International Outreach</a>, a ministry based in Minnesota. The site should be up within the year. 2008.';
	
	item_title[15]='Latin Rose Poster';
	item_description[15]='Designed a poster for a film currently in development by <a href="http://www.filmsfromtheheart.com/" target="_blank">Films from the Heart</a>. 2008.';
	
	// item_title[0]="Adobe Ad and Logo Concept";
	// 	item_description[0]="Description";

}
load_portfolio_data();
// Function for loading the portfolio data

    /* if (document.images)
    {
      preload_image_object = new Image();
      // set image url
      image_url = new Array();
      image_url[0] = "http://mydomain.com/image0.gif";
      image_url[1] = "http://mydomain.com/image1.gif";
      image_url[2] = "http://mydomain.com/image2.gif";
      image_url[3] = "http://mydomain.com/image3.gif";

       var i = 0;
       for(i=0; i<=3; i++) 
         preload_image_object.src = image_url[i];
    } */


function popup(url,toolbar,scrollbars,location, statusbar,menubar,resizable,width,height) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(url, '" + id + "', 'toolbar="+toolbar+",scrollbars="+scrollbars+",location="+location+",statusbar="+statusbar+",menubar="+menubar+",resizable="+resizable+",width="+width+",height="+height+"');");
}

// POPUP ITEMS
function show_popup_item (id,url) {
	switch(id){
		case 1:
			// lcs banner ad
			popup(url,0,0,0,0,0,1,600,700);
			break;
		case 2:
			// thrivent ad
			popup(url,0,0,0,0,0,1,600,500);
			break;
		case 3:
			// slumberland ad
			popup(url,0,0,0,0,0,1,700,500);
			break;
		case 4:
			// slumberland ad 2
			popup(url,0,0,0,0,0,1,700,500);
			break;
		default: // default
			popup(url,0,0,0,0,0,1,600,400);
			break;
	}
}


function show_item (id) {
	if (document.getElementById) {
		var whichpic=document.getElementById('item_'+id);
		document.getElementById('placeholder').src = whichpic.href;

		if(item_title[id]!=null){
			document.getElementById('title').innerHTML = item_title[id];
			// document.getElementById('title').childNodes[0].nodeValue = item_title[id]; // <- use this for text-only alteration
			document.getElementById('title_area').style.display="";
		}else{
			document.getElementById('title_area').style.display="none";
		}
		// Display the item's title
		
		if(item_description[id]!=null){
			document.getElementById('desc').innerHTML = item_description[id];
			document.getElementById('desc_area').style.display="";
		}else{
			if (whichpic.title) {
				document.getElementById('desc').innerHTML = whichpic.title;
				document.getElementById('desc_area').style.display="";
			}else{
				document.getElementById('desc_area').style.display="none";
			}
		}
		// Display the item's description

		return false;
	} else {
		return true;
	}
}
// Function for displaying a portfolio item