if (!papers_array) var papers_array = Array()

papers_array.push({
title: "Opportunistic Programming: Writing Code to Prototype, Ideate, and Discover",
paper: "http://hci.stanford.edu/publications/2009/brandt_software09_opportunistic_programming.pdf",
authors: "Joel Brandt, Philip J. Guo, Joel Lewenstein, Mira Dontcheva, and Scott R. Klemmer",
publisher: "IEEE Software",
pages: "",
tags: "new"
});


papers_array.push({
title: "Toolkit Support for Integrating Physical and Digital Interactions",
paper: "http://hci.stanford.edu/publications/2009/ToolkitSupportHCI2009.pdf",
authors: "Scott R. Klemmer, and James A. Landay",
publisher: "HCI Journal",
pages: "",
tags: "new"
});

papers_array.push({
title: "Automatic Retargeting of Web Page Content",
paper: "http://hci.stanford.edu/publications/2009/kumar-wip-chi09.pdf",
authors: "Ranjitha Kumar, Juho Kim, and Scott R Klemmer",
publisher: "CHI 2009 work-in-progress",
pages: "",
tags: "new"
});

papers_array.push({
title: "Aesthetics Matter: Leveraging Design Heuristics to Synthesize Visually Satisfying Handheld Interfaces",
paper: "http://hci.stanford.edu/publications/2009/yang-aesther-chi09.pdf",
authors: "Yeonsoo Yang, Scott R. Klemmer",
publisher: "CHI 2009 work-in-progress",
pages: "",
tags: "new"
});

papers_array.push({
title: "Remixing The Web: Enhancing Tailoring Using Programmable Proxies",
paper: "http://hci.stanford.edu/publications/2009/remix_chi09_workshop.pdf",
authors: "Joel Brandt, Leslie Wu, Scott R. Klemmer",
publisher: "Workshop on End User Programming for the Web, CHI: ACM Conference on Human Factors in Computing Systems",
pages: "",
tags: "new"
});

papers_array.push({
title: "Two Studies of Opportunistic Programming: Interleaving Web Foraging, Learning, and Writing Code",
paper: "http://hci.stanford.edu/publications/2009/brandt_chi09_webuse.pdf",
authors: "Joel Brandt, Philip J. Guo, Joel Lewenstein, Mira Dontcheva, and Scott R. Klemmer",
publisher: "CHI: ACM Conference on Human Factors in Computing Systems",
pages: "",
tags: "new,designtools"
});

papers_array.push({
title: "Coordinating Tasks on the Commons: Designing for Personal Goals, Expertise, and Serendipity",
paper: "http://hci.stanford.edu/publications/2009/mkrieger-estark-srk-wikitasks-chi09.pdf",
authors: "Michel Krieger, Emily Margarete Stark, Scott R Klemmer",
publisher: "CHI: ACM Conference on Human Factors in Computing Systems",
pages: "",
tags: "new"
});

papers_array.push({
title: "Finding Inspiration for the Future in Our Past",
paper: "http://hci.stanford.edu/publications/2008/srk-findinginspirations-ambi08.pdf",
authors: "Scott R. Klemmer",
publisher: "Ambidextrous Magazine, Issue 10",
pages: "",
tags: "new"
});

papers_array.push({
title: "Integrating Physical and Digital Interactions on Walls",
paper: "http://hci.stanford.edu/publications/2008/Outpost-HCI-Journal-2008.pdf",
authors: "Scott R. Klemmer, Katherine M. Everitt, James A. Landay",
publisher: "HCI Journal",
pages: "",
tags: "new"
});

papers_array.push({
title: "Range: Exploring Implicit Interaction through Electronic Whiteboard Design",
paper: "http://hci.stanford.edu/publications/2008/cscw_range.pdf",
authors: "Wendy Ju, Brian Lee, and Scott R Klemmer",
publisher: "Computer Supported Cooperative Work",
pages: "",
tags: "new"
});

papers_array.push({
title: "Iterative Design and Evaluation of an Event Architecture for Pen-and-Paper Interfaces",
paper: "http://hci.stanford.edu/publications/2008/papertoolkit-uist2008.pdf",
authors: "Ron B. Yeh, Andreas Paepcke, and Scott Klemmer",
publisher: "UIST 2008: ACM Symposium on User Interface Software and Technology",
pages: "",
tags: "new,designtools"
});

papers_array.push({
title: "Design As Exploration: Creating Interface Alternatives through Parallel Authoring and Runtime Tuning",
paper: "http://hci.stanford.edu/publications/2008/juxtapose-uist2008.pdf",
authors: "Bj&ouml;rn Hartmann, Loren Yu, Abel Allison, Yeonsoo Yang, and Scott R. Klemmer",
publisher: "UIST 2008: ACM Symposium on User Interface Software and Technology",
pages: "",
tags: "new,designtools"
});


papers_array.push({
title: "Hacking, Mashing, Gluing: Understanding Opportunistic Design",
paper: "http://hci.stanford.edu/publications/2008/hackingmashinggluing.pdf",
authors: "Björn Hartmann, Scott Doorley and Scott R. Klemmer",
publisher: "IEEE Pervasive Computing July-September 2008",
pages: "",
tags: "designtools,new"
});


papers_array.push({
title: "Opportunistic Programming: How Rapid Ideation and Prototyping Occur in Practice",
paper: "http://hci.stanford.edu/devtools/brandt_weuse08.pdf",
authors: "Joel Brandt, Philip Guo, Joel Lewenstein, Scott R. Klemmer",
publisher: "Workshop on End-User Software Engineering IV. ICSE 2008: 30th International Conference on Software Engineering",
pages: "to appear",
tags: "designtools,new"
});

papers_array.push({
title: "Exiting the Cleanroom: On Ecological Validity and Ubiquitous Computing",
paper: "http://hci.stanford.edu/publications/2008/hcij07-exiting-the-cleanroom.pdf",
authors: "Scott Carter, Jennifer Mankoff, Scott R. Klemmer, and Tara Matthews",
publisher: "Human-Computer Interaction",
pages: "to appear",
tags: "physicaldigital,new"
});

papers_array.push({
title: "Programming by a Sample: Rapidly Creating Web Applications with d.mix",
project:"http://hci.stanford.edu/mashups/",
paper: "http://hci.stanford.edu/publications/2007/dmix-uist07.pdf",
authors: "Björn Hartmann, Leslie Wu, Kevin Collins, Scott R. Klemmer",
publisher: "UIST 2007: ACM Symposium on User Interface Software and Technology",
pages: "to appear",
thumb: "/images/sample-this.png",
video: "http://hci.stanford.edu/mashups/220-hartmann.wmv",
tags: "designtools,new"
});

papers_array.push({
title:"Patterns of Collaboration in Design Courses: Team dynamics affect technology appropriation, artifact creation, and course performance",
authors: "Heidy Maldonado, Brian Lee, Scott R Klemmer, Roy D Pea",
paper: "http://hci.stanford.edu/ideas/publications/CSCL2007HM.pdf",
publisher: "CSCL 2007: Conference on Computer Supported Collaborative Learning",
pages: "to appear",
tags: "designtools,new"
});

papers_array.push({
title:"Authoring Sensor-based Interactions by Demonstration with Direct Manipulation and Pattern Recognition",
authors:"Björn Hartmann, Leith Abdulla, Manas Mittal, Scott R Klemmer",
project: "http://hci.stanford.edu/exemplar/",
publisher:"CHI 2007: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 145–154",
paper: "http://hci.stanford.edu/publications/2007/exemplar-chi07.pdf",
video: "http://hci.stanford.edu/exemplar/media/exemplar.mov",
thumb: "/srk/icons/exemplar.png",
extra: "BEST PAPER AWARD",
tags: "physicaldigital,new"
});

papers_array.push({
title: "txt 4 l8r: Lowering the Burden for Diary Studies Under Mobile Conditions",
project:"http://hci.stanford.edu/research/mobile/",
paper: "http://hci.stanford.edu/publications/2007/brandt_txt4l8r_chi2007_wip.pdf",
authors: "Joel Brandt, Noah Weiss, and Scott R. Klemmer",
publisher: "CHI 2007 work-in-progress",
	tags: "physicaldigital"
});

papers_array.push({
title: "Reflective physical prototyping through integrated design, test, and analysis",
authors: "Björn Hartmann, Scott R Klemmer, Michael Bernstein, Leith Abdulla, Brandon Burr, Avi Robinson-Mosher, Jennifer Gee",
publisher: "UIST 2006: ACM Symposium on User Interface Software and Technology",
pages: "pp. 299–308",
extra: "BEST PAPER AWARD",
paper: "http://hci.stanford.edu/publications/2006/dtools-uist06.pdf",
project: "http://hci.stanford.edu/dtools/",
video: "http://hci.stanford.edu/dtools/dtools-apr06.mov",
thumb: "/srk/icons/dtools.png",
tags: "physicaldigital,designtools,new"
})

papers_array.push({
title:"How Bodies Matter: Five Themes for Interaction Design",
authors:"Scott R Klemmer, Björn Hartmann, Leila Takayama",
publisher:"DIS 2006: ACM Conference on Designing Interactive Systems",
pages: "pp. 140–149",
tags: "physicaldigital,new",
paper: "http://hci.stanford.edu/publications/2006/HowBodiesMatter-DIS2006.pdf"
})

papers_array.push({
title:"ButterflyNet: A Mobile Capture and Access System for Field Biology Research",
authors:"Ron Yeh, Chunyuan Liao, Scott R Klemmer, François Guimbretière, Brain Lee, Boyko Kakaradov, Jeannie Stamberger, Andreas Paepcke",
paper: "http://hci.stanford.edu/bio/publications/ButterflyNetCHI2006.pdf",
project: "http://hci.stanford.edu/research/biology/butterflynet/",
publisher:"CHI 2006: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 571–80",
video: "http://hci.stanford.edu/research/biology/video/BNet.wmv",
thumb: "/srk/icons/bnet.png",
tags:"designtools,physicaldigital,new"    
})

papers_array.push({
title: "groupTime: Preference-Based Group Scheduling",
authors: "Mike Brzozowski, Kendra Carattini, Patrick Mihelich, Scott R Klemmer, Jiang Hu, Andrew Y. Ng",
paper: "http://hci.stanford.edu/publications/2006/groupTimeCHI2006.pdf",
publisher: "CHI 2006: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 1047–56",
video: "http://hci.stanford.edu/publications/2006/groupTimeCHI2006.wmv",
tags: "new"
})

papers_array.push({
title:"Teaching Embodied Interaction Design Practice",
authors:"Scott R. Klemmer, Bill Verplank, Wendy Ju",
publisher:"DUX 2005: ACM Conference on Designing for User eXperience",
tags: "physicaldigital",
paper: "http://cs247a.stanford.edu/TeachingID-DUX2005.pdf"
})

papers_array.push({
title: "Papier-Mâché: Toolkit Support for Tangible Input",
authors: "Scott R Klemmer, Jack Li, James Lin, James A Landay",
paper: "http://hci.stanford.edu/srk/pubs/Papier-Mache.pdf",
publisher: "CHI 2004: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 399–406",
extra: null,
thumb: "/srk/icons/papier-mache.gif",
tags: "designtools, physicaldigital"
})

papers_array.push({
title: "Books with Voices: Paper Transcripts as a Tangible Interface to Oral Histories",
paper: "http://hci.stanford.edu/srk/pubs/BooksWithVoices.pdf",
authors: "Scott R Klemmer, Jamey Graham, Gregory J. Wolff, James A Landay",
publisher: "CHI 2003: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 89–96",
thumb: "/srk/icons/BooksWithVoices.gif",
extra: null,
tags: "physicaldigital"
})

papers_array.push({
title: "Two Worlds Apart: Bridging the Gap Between Physical and Virtual Media for Distributed Design Collaboration",
paper: "http://hci.stanford.edu/srk/pubs/CHI03_remote_outpost.pdf",
authors: "Katherine M. Everitt, Scott R Klemmer, Robert Lee, James A Landay",
publisher: "CHI 2003: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 553–60",
extra: null,
tags: "physicaldigital,designtools"
})

papers_array.push({
title: "Where Do Web Sites Come From? Capturing and Interacting with Design History",
paper: "http://hci.stanford.edu/srk/pubs/DesignHistory.pdf",
authors: "Scott R Klemmer, Michael Thomsen, Ethan Phelps-Goodman, Robert Lee, James A Landay",
publisher: "CHI 2002: ACM Conference on Human Factors in Computing Systems",
pages: "pp. 1–8",
video: "http://hci.stanford.edu/videos/DesignHistory.wmv",
tags: "designtools"
})

papers_array.push({
title: "The Designers’ Outpost: A Tangible Interface for Collaborative Web Site Design",
paper: "http://hci.stanford.edu/srk/pubs/Outpost-UIST2001.pdf",
authors: "Scott R Klemmer, Mark W Newman, Ryan Farrell, Mark Bilezikjian, James A Landay",
publisher: "UIST 2001: ACM Symposium on User Interface Software and Technology",
pages: "pp. 1–10",
video: "http://hci.stanford.edu/videos/Outpost.wmv",
thumb: "/srk/icons/outpost.gif",
tags: "designtools,physicaldigital"
})
papers_array.push({
title: "SUEDE: A Wizard of Oz Prototyping Tool for Speech User Interfaces",
paper: "http://hci.stanford.edu/srk/pubs/suede-uist2000.pdf",
authors: "Scott R Klemmer, Anoop K Sinha, J. Chen, James A Landay, Nadeem Aboobaker, Annie Wang",
publisher: "UIST 2000: ACM Symposium on User Interface Software and Technology",
pages: "pp. 1–10",
thumb: "/srk/icons/suede.gif",
video: "http://hci.stanford.edu/videos/suede.asf",
tags: "designtools"
})

// function postProcessFn(){
//     var teaching = document.getElementById('teaching');
//     var research = document.getElementById('research');
//     teaching.className = research.className = "";
//     if(teaching.offsetHeight < research.offsetHeight) research.className = "rightborder";
//     else teaching.className = "leftborder";
// }

function writePaperEntry(paper){
    var paperOrProject = paper.project ? paper.project : paper.paper;
    var newDiv = "";
    newDiv += "<div class='paper'>";
    if(paper.thumb) newDiv += "<img class='right research_photo' width='80' src='" + paper.thumb + "'/>";        
    newDiv += "<strong><a href='" + paperOrProject + "' class='title'>" + paper.title + "</a></strong><br/>";
    newDiv += "" + paper.authors;
    newDiv += ". ";
    newDiv += "<span class='smaller'>";
    newDiv += '<em>' + paper.publisher + '</em>';
    //if(paper.pages) newDiv += ': ' + paper.pages;
    newDiv += " ";
    for(var ex = 0; ex < extras.length; ex++){
        var cur = extras[ex];
        if(paper[cur]) newDiv += "<a href='" + paper[cur] + "'> (" + cur + ") </a>";            
    }
    newDiv += "</span>";
    newDiv += "</div>"
	return newDiv;
}
