/*
	particle.js
	For regular updates - modify/update the global variables.
	Place this file in ./includes
*/


/***************************
	Set global variables: 
	- currentSemester
	- entries
****************************/

currentSemester = "Spring  2012";	

// each row of 'entries' is an array of variable size with these fields:
// [<date>, <name>, <affiliation>, <title>, <abstract>, <special note>]
// each field has to be double-quoted
entries = new Array();	
entries.push(["Jan 6","Daniel Green","IAS","Signatures of Supersymmetry from the  Early Universe","Supersymmetry plays a fundamental role in the radiative stability of many inflationary models. I will explain how supersymmetry and naturalness require additional scalar degrees of freedom with masses on the order of the inflationary Hubble scale. These fields lead to distinctive non-gaussian signatures that may be observable in both the CMB and large scale structure."]);
entries.push(["Jan 13","David Poland","IAS","Carving Out the Space of Conformal Field Theories","Conformal Field Theories have numerous applications, from condensed matter systems, to quantum gravity, to potentially playing a crucial role in Beyond the Standard Model physics. I will review recent progress at understanding the behavior that is possible in 4D CFTs, focusing on bounds on operator dimensions that follow from crossing symmetry and unitarity. In theories with an SU(2) or SO(4) symmetry, these bounds now place strong constraints on models of Conformal Technicolor. In theories with N=1 supersymmetry, the bounds are even more constraining, and one finds tantalizing hints for new superconformal fixed points."]);
entries.push(["Jan 23","Liam Fitzpatrick","Stanford","Model-Independent Dark Matter Direct Detection","The nature of dark matter is a fascinating mystery that continues to be unsolved.  Direct detection experiments offer the possibility of determining the precise interactions of a dark matter particle with nuclei. However, studies are typically performed in a model-driven way, with the goal of putting constraints on a specific particle model. In this talk, we begin by motivating and studying generalizations beyond the standard spin-independent and spin-dependent interactions. Such generalizations can arise due to additional structure in the dark matter sector and include momentum- and velocity-dependent interactions. Then, we turn to a systematic analysis of all such possible models by constructing the non-relativistic effective field theory for elastic wimp-nucleon scattering.  We pay special attention to the basic non-relativistic building blocks, that connect directly to relevant experimental observables, and to their symmetry properties.  In order to make possible a detailed analysis of experimental constraints on an arbitrary model, we compute all nuclear form factors for the scattering of wimps through operators in the effective theory, for a range of commonly-used nuclear elements.  We find that the general nuclear form factors can all be written in terms of a small number of independent nuclear response functions. We emphasize throughout the implications of generalized interactions for consistency between results at different experiments."]);
entries.push(["Jan 31","David Skinner","Perimeter Institute", "Scattering Amplitudes and Wilson Loops in Twistor Space (or, How To Tie Your Shoelaces in Three Complex Dimensions)","I'll discuss the duality between scattering amplitudes in planar N=4 SYM and null polygonal Wilson Loops. Quite remarkably, once translated into twistor space these Wilson Loops may be understood purely geometrically, and reveal themselves to be close cousin of knot invariants. The BCFW recursion relations for scattering amplitudes are analogous to skein relations for knot polynomials, while the amplitude itself is a holomorphic version of the (large N) HOMFLY polynomial. I'll explain why."]);
entries.push(["Feb 1","Anatoly Dymarsky","IAS","Power of holography: from QCD to Cosmology","The holography is a powerful tool to address various problems of strongly coupled nonpertubative dynamics. In my talk I overview an array of applications of the holographic method focusing on the QCD-like theories and gauge theories with soft or spontaneous supersymmetry breaking. Besides, holography plays an important role in various models of stringy inflation and of the early Universe. Some of these models will be discussed in the second part of the talk."]);
entries.push(["Feb 7","Natalia Saulina","Perimeter Institute","Particle Physics and F-theory","A recent  focus of high energy theory has been  in  models of particle physics predicting TeV phenomena. Can these models be derived from string theory, a consistent theory valid all the way to the Planck scale? I will review a general model building strategy and discuss how this strategy can be realized in string theory. I will explain why F-theory, a class of vacua in string theory, is especially suitable for this purpose. In particular,  F-theory naturally accommodates supersymmetric  Grand Unified Theories and the Minimal Supersymmetric Standard Model.  I will discuss how a U(1) symmetry, that prevents rapid proton decay, is realized in F-theory and outline mechanisms of supersymmetry breaking in this set up."]);
entries.push(["Feb 9","Paul Chesler","MIT","Gravitational collapse, dynamical Hawking radiation and holographic thermalization","A remarkable result from heavy ion collisions at the Relativistic Heavy Ion Collider and Large Hadron Collider is that, shortly after the collision event, the quark-gluon plasma produced behaves as a nearly ideal liquid. Understanding the dynamics responsible for such rapid thermalization is a challenge using traditional perturbative field theory.  In recent years holography has emerged as a powerful tool to study non-equilibrium phenomena, mapping the dynamics of certain quantum field theories onto the dynamics of semi-classical gravity.  Via holography, the production of quark-gluon plasma maps onto the process of gravitational collapse and black hole formation, with thermalization of the black hole's Hawking radiation encoding thermalization of the dual quark-gluon plasma.  I will describe several processes which mimic heavy ion collisions, present results for thermalization times and mechanisms, and demonstrate that rapid thermalization is natural in strongly coupled field theories."]); 

/**********************************************
	Do - not - modify beyond this point
**********************************************/

// for convenience, initialize 'abstractId' to zero 
// used to identify which abstract is being shown/hidden
abstractId = 0;		

function showData() {
	var pageTitle = "Calendar - " + currentSemester;	// currentSemester is a global variable
	placeText("semester", pageTitle);
	
	var seminars = "<tr>" + getHeader() + "</tr>";
	for (var index in entries){ 
		seminars += "<tr>" + getRow(entries[index]) + "</tr>";
	}
	placeText("calendar", seminars);	
}

function getHeader() {
	var header = "<th id=\"date\">Date</th>";
	header += "<th id=\"speaker\">Speaker (Affiliation) and Title</th>";
	return header;
}

function getRow(row){	
	var out = "<td>" + getDate(row) + "</td>";
	out += "<td>" + getName(row) + getAffiliation(row) + getTitle(row) + getAbstract(row) + getSpecial(row) + "</td>";
	return out;
}

function getDate(row){
	if (row.length < 1) return "";
	return row[0];
}

function getName(row){
	if (row.length < 2) return "";
	return row[1];
}

function getSpecial(row){
	if (row.length == 6) return "<br /><em>" + row[5] + "</em>";
	return "";
}

function getAffiliation(row){
	if (row.length < 3 || row[2] == "") return "";
	return " (" + row[2] + ")<br />";
}

function getTitle(row){
	var len = row.length;
	if (len < 4 || row[3] == "") return "";
	
	// check if abstract exists
	var linkStart = (len > 4) ? "<a class=toggle id=" + abstractId + " href=# onClick=\"showAbstract(" + abstractId + "); return false;\">" : "";
	var linkEnd = (len > 4) ? "</a>" : "";
	
	return linkStart + row[3] + linkEnd;
}

function getAbstract(row){
	if (row.length < 5) return "";	// no abstract exists	

	var out = "<p class=toggle id=show" + abstractId + ">";
	out += row[4];
	out += "</p>";
	
	abstractId++;	// update 'abstractId'
	return out;
}

function showAbstract(id){
	var elementId = "show" + id;
	var abstract = document.getElementById(elementId).style;
	abstract.display = (abstract.display == "block") ? "none" : "block"; 
}

function placeText(id, text){
	var node = document.getElementById(id);
	if (node != null){
		node.innerHTML = text;
	}
}
