
var exp = 5;

function newCookie(name,value,days) {
  if (days) {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  } else var expires = "";
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameSG = name + "=";
  var nuller = '';
  if (document.cookie.indexOf(nameSG) == -1)
  return nuller;
  var ca = document.cookie.split(';');
  for(var i=0; i<ca.length; i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameSG) == 0) return c.substring(nameSG.length,c.length);
  }
  return null;
}

function eraseCookie(name) {
  newCookie(name,"",-1);
}

if (document.getElementById) {
  document.writeln('<style type="text/css">')
  document.writeln('.main {text-decoration:none; color:#0973ba; cursor:hand; cursor:pointer}')
  document.writeln('span:hover.mainLink {text-decoration:underline; color:red}')
  document.writeln('.sublinks1 {display:none; padding-left:14px}')
  document.writeln('.link2 {text-decoration:none; color:#0973ba}')
  document.writeln('a:hover.link2 {text-decoration:none; color:#0973ba}')
  document.writeln('</style>') }

    // Below you should add a1, a2 etc. for each main link you wish to include
    // so if you want 3 main links you should add a1, a2, a3 in the format shown
    // enclosed in double quotes
  var mainNum = new Array("a1","a2","a3","a4");

    // Below you should add b1, b2 etc. for each sub link you wish to include
    // under one main link, here the first main link. so if you want 4 sub links you
    // should add b1, b2, b3, b4 in the format shown enclosed in double quotes
  var subNum1 = new Array("b1","b2");

    // Below, this is for sub links under the second main link. there are 3 sub links
    // in the given example
  var subNum2 = new Array("c1","c2","c3","c4","c5","c6","c7","c8");
 

function openClose(theName, menuArray, theID) {
  for(var i=0; i < menuArray.length; i++) {
    if (menuArray[i] == theID) {
      if (document.getElementById(theID).style.display == "block") {
        document.getElementById(theID).style.display = "none";
        document.getElementById("tick_"+menuArray[i]).innerHTML = "";
        eraseCookie(theName); }
      else {
        document.getElementById(theID).style.display = "block";
        document.getElementById("tick_"+menuArray[i]).innerHTML = "";
        newCookie(theName,menuArray[i],exp); }
      }
    else {
      document.getElementById(menuArray[i]).style.display = "none";
      document.getElementById("tick_"+menuArray[i]).innerHTML = "";
    }
  }
}

function memStatus() {
  var num = readCookie("MN");
  if (num) {
    document.getElementById(num).style.display = "block";
    document.getElementById("tick_"+num).innerHTML = ""; }
  var num1 = readCookie("SB");
  if (num1) {
    document.getElementById(num1).style.display = "block";
    document.getElementById("tick_"+num1).innerHTML = ""; }
}


function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  memStatus();
});
var newwindow;
var wheight=0;
var wwidth=0;
function popupMovie(title, iwidth, iheight){
	
	
	var pwidth, pheight;
	if (!newwindow || newwindow.closed){
		pwidth=iwidth+30;
		pheight=iheight+30;
		newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=0,top=50,left=10');
		wheight=iheight;
		wwidth=iwidth;	
	}
	if (wheight!=iheight || wwidth!=iwidth ) {
		pwidth=iwidth+30;
		pheight=iheight+110;
		newwindow.resizeTo(pwidth, pheight);
		wheight=iheight;
		wwidth=iwidth;
	}
	if (title == 'Why Vital Life'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8106848&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8106848&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Social Confluence'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8180901&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8180901&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Longevity'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/M4plbhZE7MY&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/M4plbhZE7MY&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Oldest Showgirl'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/tb_VkNOGWxI&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/tb_VkNOGWxI&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();		
	}
	if (title == 'Symposium Intro'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296772&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296772&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();			
	}
	if (title == 'Younger Next Year 1 - Chris Crowley'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296813&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296813&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();			
	}
	if (title == 'Younger Next Year 2 - Chris Crowley'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296834&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296834&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();				
	}
	if (title == 'Younger Next Year 3 - Chris Crowley'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296852&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296852&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();		
	}
	if (title == 'Wellness Through Fitness'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296891&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296891&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();			
	}
	if (title == 'New Ideas on Healthcare'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296905&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296905&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();			
	}
	if (title == 'The Villages'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296919&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296919&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();			
	}
	if (title == 'Confluence Management'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296933&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296933&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();		
	}
	if (title == 'How We Care for the Aging 1'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296937&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296937&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();		
	}
	if (title == 'How We Care for the Aging 2'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296948&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296948&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();
	}
	if (title == 'The Challenge Ahead'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296987&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296987&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Audience Discussion 1'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6296995&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6296995&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Audience Discussion 2'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6297021&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6297021&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Day Two Introduction'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6297040&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6297040&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'BB&T Chris Keysor & Tommy Brewer'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6297050&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6297050&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'BB&T Q&A'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="640" height="480"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6297065&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6297065&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="480"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
	if (title == 'Blue Zones'){
		newwindow.document.clear();
		newwindow.focus();
		newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body> <center>');
		newwindow.document.writeln('<object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param> <param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/DanBuettner_2009X-medium.flv&su=http://images.ted.com/images/ted/tedindex/embed-posters/DanBuettner-2009X.embed_thumbnail.jpg&vw=432&vh=240&ap=0&ti=727&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=dan_buettner_how_to_live_to_be_100;year=2009;theme=unconventional_explanations;theme=what_makes_us_happy;theme=might_you_live_a_great_deal_longer;theme=new_on_ted_com;event=TEDxTC;&preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/dynamic/DanBuettner_2009X-medium.flv&su=http://images.ted.com/images/ted/tedindex/embed-posters/DanBuettner-2009X.embed_thumbnail.jpg&vw=432&vh=240&ap=0&ti=727&introDuration=16500&adDuration=4000&postAdDuration=2000&adKeys=talk=dan_buettner_how_to_live_to_be_100;year=2009;theme=unconventional_explanations;theme=what_makes_us_happy;theme=might_you_live_a_great_deal_longer;theme=new_on_ted_com;event=TEDxTC;"></embed></object>');
		newwindow.document.writeln('<\/center> <\/body> <\/html>');
		newwindow.document.close();
		newwindow.focus();	
	}
}

