//chart2.js for channel 15002 / widget 7097 / WxH: 550x375 / skin: clean / vid: 0 / autoplay: N / shareicon: Y 
// pgstats - poor mans page statistics.. 
// NOT based on prototype or jquery - cause it must be lightweight

// // get our script src, to know our baseurl so we can call home
// var pgstatsScriptSource = (function(scripts) {
//     var scripts = document.getElementsByTagName('script'),
//         script = scripts[scripts.length - 1];	// at ths very moment, we are the last script guaranteed
// 
//     if (script.getAttribute.length !== undefined) {
//         return script.src
//     }
// 
//     return script.getAttribute('src', -1)
// }());

var pgstats= {
	browser: navigator.userAgent,
	uid: '',
	scr: screen.width.toString()+'x'+screen.height.toString(),
	url: document.URL,
	referrer: document.referrer,
	ecollect: {},
	baseurl: 'http://beta.yubby.com/',	// pgstatsScriptSource.substr(0,pgstatsScriptSource.lastIndexOf('/pgstats/')),
	init: function() {
		if (!(this.uid=this.readCookie('pgstats'))) {
			this.uid= Math.round(Math.random() * 2147483647).toString();
			this.uid+= Math.round(Math.random() * 2147483647).toString();
			this.createCookie('pgstats',this.uid,365*2);
		}
	}, 
	xPageHit: function () {
		var xhReq=this.createXMLHttpRequest();
		if (!xhReq)
			return 'ERR:xhReq';	// forget it..
		if (!this.baseurl)
			return 'ERR:baseurl';	// forget it..
		xhReq.open('get',this.baseurl+'pgstats/tick?'+this.collectInfo(),true);
		// xhReq.onreadystatechange = function() {
		//     if (xhReq.readyState != 4)  { return; }
		//     var serverResponse = xhReq.responseText;
		//     alert(serverResponse);
		// };
		xhReq.send();
		return 'OK';
	},
	collectInfo: function() {
		var rv;
		rv='ts=' + new Date().getTime();
		//rv+='&br='+this.encURI(this.browser);
		rv+='&uid='+this.uid;
		rv+='&url='+this.encURI(this.url);
		rv+='&refer='+this.encURI(this.referrer);
		//rv+='&ssrc='+this.encURI(this.baseurl);
		rv+='&scr='+this.scr;
		for (i in this.ecollect) {
			rv+='&'+i+'='+this.encURI(this.ecollect[i]);
		}

		return rv;
	},
	addcollect: function(key,val) {
		this.ecollect[key]=val;
	},
	//------- helper functions ----------
	createCookie: function (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=/";
	},
	readCookie: function(name) {
		var nameEQ = name + "=";
		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(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return null;
	},
	eraseCookie: function(name) {
		createCookie(name,"",-1);
	},
	encURI: function(url) {
		//return encodeURIComponent(url);	// forgets to encode a lot of chars. Useless
		var s = escape(url);	// this is the most complete one, however forgets to encode star, slash, @ and +
		s = s.replace(/\*/g,"%2A");
		s = s.replace(/\//g,"%2F");
		s = s.replace(/\@/g,"%40");
		s = s.replace(/\+/g,"%2B");
		return s;
	},
	createXMLHttpRequest: function() {
  		try { return new XMLHttpRequest(); } catch(e) {}
		try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
		try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch (e) {}
		return null;
	}
}
pgstats.init();
//pgstats.addcollect('vid','234234');
//pgstats.xPageHit();
// Widget standard js for yubby
// NOT based on prototype or jquery - cause it must be lightweight and cant interfere with host

/**
 *	htmlspecialchars - like its php counterpart
 *	@author rvw
 *	@since 08-03-2010 12:19
 */
function htmlspecialchars(string) {
	string = string.toString();
	string = string.replace(/&/g, '&amp;');    
	string = string.replace(/</g, '&lt;').replace(/>/g, '&gt;');
	string = string.replace(/"/g, '&quot;');
	// single quote.. string = string.replace(/'/g, '&#039;');
	return string;
}

//------------ tween.js ----------------------
function Delegate() {}
Delegate.create = function (o, f) {
	var a = new Array() ;
	var l = arguments.length ;
	for(var i = 2 ; i < l ; i++) a[i - 2] = arguments[i] ;
	return function() {
		var aP = [].concat(arguments, a) ;
		f.apply(o, aP);
	}
}

Tween = function(obj, prop, func, begin, finish, duration, suffixe){
	this.init(obj, prop, func, begin, finish, duration, suffixe)
}
var t = Tween.prototype;

t.obj = new Object();
t.prop='';
t.func = function (t, b, c, d) { return c*t/d + b; };
t.begin = 0;
t.change = 0;
t.prevTime = 0;
t.prevPos = 0;
t.looping = false;
t._duration = 0;
t._time = 0;
t._pos = 0;
t._position = 0;
t._startTime = 0;
t._finish = 0;
t.name = '';
t.suffixe = '';
t._listeners = new Array();	
t.setTime = function(t){
	this.prevTime = this._time;
	if (t > this.getDuration()) {
		if (this.looping) {
			this.rewind (t - this._duration);
			this.update();
			this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'});
		} else {
			this._time = this._duration;
			this.update();
			this.stop();
			this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'});
		}
	} else if (t < 0) {
		this.rewind();
		this.update();
	} else {
		this._time = t;
		this.update();
	}
}
t.getTime = function(){
	return this._time;
}
t.setDuration = function(d){
	this._duration = (d == null || d <= 0) ? 100000 : d;
}
t.getDuration = function(){
	return this._duration;
}
t.setPosition = function(p){
	this.prevPos = this._pos;
	var a = this.suffixe != '' ? this.suffixe : '';
	this.obj[this.prop] = Math.round(p) + a;
	this._pos = p;
	this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'});
}
t.getPosition = function(t){
	if (t == undefined) t = this._time;
	return this.func(t, this.begin, this.change, this._duration);
};
t.setFinish = function(f){
	this.change = f - this.begin;
};
t.geFinish = function(){
	return this.begin + this.change;
};
t.init = function(obj, prop, func, begin, finish, duration, suffixe){
	if (!arguments.length) return;
	this._listeners = new Array();
	this.addListener(this);
	if(suffixe) this.suffixe = suffixe;
	this.obj = obj;
	this.prop = prop;
	this.begin = begin;
	this._pos = begin;
	this.setDuration(duration);
	if (func!=null && func!='') {
		this.func = func;
	}
	this.setFinish(finish);
}
t.start = function(){
	this.rewind();
	this.startEnterFrame();
	this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'});
	//alert('in');
}
t.rewind = function(t){
	this.stop();
	this._time = (t == undefined) ? 0 : t;
	this.fixTime();
	this.update();
}
t.fforward = function(){
	this._time = this._duration;
	this.fixTime();
	this.update();
}
t.update = function(){
	this.setPosition(this.getPosition(this._time));
	}
t.startEnterFrame = function(){
	this.stopEnterFrame();
	this.isPlaying = true;
	this.onEnterFrame();
}
t.onEnterFrame = function(){
	if(this.isPlaying) {
		this.nextFrame();
		setTimeout(Delegate.create(this, this.onEnterFrame), 0);
	}
}
t.nextFrame = function(){
	this.setTime((this.getTimer() - this._startTime) / 1000);
	}
t.stop = function(){
	this.stopEnterFrame();
	this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});
}
t.stopEnterFrame = function(){
	this.isPlaying = false;
}

t.continueTo = function(finish, duration){
	this.begin = this._pos;
	this.setFinish(finish);
	if (this._duration != undefined)
		this.setDuration(duration);
	this.start();
}
t.resume = function(){
	this.fixTime();
	this.startEnterFrame();
	this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'});
}
t.yoyo = function (){
	this.continueTo(this.begin,this._time);
}

t.addListener = function(o){
	this.removeListener (o);
	return this._listeners.push(o);
}
t.removeListener = function(o){
	var a = this._listeners;	
	var i = a.length;
	while (i--) {
		if (a[i] == o) {
			a.splice (i, 1);
			return true;
		}
	}
	return false;
}
t.broadcastMessage = function(){
	var arr = new Array();
	for(var i = 0; i < arguments.length; i++){
		arr.push(arguments[i])
	}
	var e = arr.shift();
	var a = this._listeners;
	var l = a.length;
	for (var i=0; i<l; i++){
		if(a[i][e])
		a[i][e].apply(a[i], arr);
	}
}
t.fixTime = function(){
	this._startTime = this.getTimer() - this._time * 1000;
}
t.getTimer = function(){
	return new Date().getTime() - this._time;
}
Tween.backEaseIn = function(t,b,c,d,a,p){
	if (s == undefined) var s = 1.70158;
	return c*(t/=d)*t*((s+1)*t - s) + b;
}
Tween.backEaseOut = function(t,b,c,d,a,p){
	if (s == undefined) var s = 1.70158;
	return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
}
Tween.backEaseInOut = function(t,b,c,d,a,p){
	if (s == undefined) var s = 1.70158; 
	if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
	return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
}
Tween.elasticEaseIn = function(t,b,c,d,a,p){
		if (t==0) return b;  
		if ((t/=d)==1) return b+c;  
		if (!p) p=d*.3;
		if (!a || a < Math.abs(c)) {
			a=c; var s=p/4;
		}
		else 
			var s = p/(2*Math.PI) * Math.asin (c/a);
		
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	
}
Tween.elasticEaseOut = function (t,b,c,d,a,p){
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (!a || a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return (a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b);
	}
Tween.elasticEaseInOut = function (t,b,c,d,a,p){
	if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) var p=d*(.3*1.5);
	if (!a || a < Math.abs(c)) {var a=c; var s=p/4; }
	else var s = p/(2*Math.PI) * Math.asin (c/a);
	if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
}

Tween.bounceEaseOut = function(t,b,c,d){
	if ((t/=d) < (1/2.75)) {
		return c*(7.5625*t*t) + b;
	} else if (t < (2/2.75)) {
		return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
	} else if (t < (2.5/2.75)) {
		return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
	} else {
		return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
	}
}
Tween.bounceEaseIn = function(t,b,c,d){
	return c - Tween.bounceEaseOut (d-t, 0, c, d) + b;
	}
Tween.bounceEaseInOut = function(t,b,c,d){
	if (t < d/2) return Tween.bounceEaseIn (t*2, 0, c, d) * .5 + b;
	else return Tween.bounceEaseOut (t*2-d, 0, c, d) * .5 + c*.5 + b;
	}

Tween.strongEaseInOut = function(t,b,c,d){
	return c*(t/=d)*t*t*t*t + b;
	}

Tween.regularEaseIn = function(t,b,c,d){
	return c*(t/=d)*t + b;
	}
Tween.regularEaseOut = function(t,b,c,d){
	return -c *(t/=d)*(t-2) + b;
	}

Tween.regularEaseInOut = function(t,b,c,d){
	if ((t/=d/2) < 1) return c/2*t*t + b;
	return -c/2 * ((--t)*(t-2) - 1) + b;
	}
Tween.strongEaseIn = function(t,b,c,d){
	return c*(t/=d)*t*t*t*t + b;
	}
Tween.strongEaseOut = function(t,b,c,d){
	return c*((t=t/d-1)*t*t*t*t + 1) + b;
	}

Tween.strongEaseInOut = function(t,b,c,d){
	if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
	return c/2*((t-=2)*t*t*t*t + 2) + b;
	}

//======= end tween.js
var isIE = /MSIE ((5\.5)|[6])/.test(navigator.userAgent) && navigator.platform == "Win32";

var cvids_7097= new Array();	// channelvideo's
var curvid_7097=0;			// first video
var cpvideo_7097=false;		// false=thumb, true=video

var matrix_curpg=1;
var matrix_npages=0;
var matrix_itemspp=3;	// 16
var tweenflip=0;
var tween1=null;
var tween2=null;

var butnext_mousein=false;
var butprev_mousein=false;
var img1_ov = new Image;
var img1_ou = new Image;
var img1_d  = new Image;
var img2_ov = new Image;
var img2_ou = new Image;
var img2_d  = new Image;
img1_ov.src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconprev24ov.png";
img1_ou.src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconprev24.png";
img1_d.src ="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconprev24d.png";
img2_ov.src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconnext24ov.png";
img2_ou.src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconnext24.png";
img2_d.src ="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconnext24d.png";

var wgElm_7097 = document.getElementById('viidoo_chart2_7097');
if (wgElm_7097) {
	vp_createwg();
}

pgstats.addcollect('chid','15002');
pgstats.addcollect('hit','embed');
pgstats.addcollect('widget','chart2');
pgstats.xPageHit();

function vp_createwg() {
	var html='<div id="widget_flash_7097" class="widget_flash" style="width: 550px;height:375px;overflow:hidden; margin:0;padding:0;border:0px solid #DDDDDD;background:#fff;position:relative;font-family:Arial,helvetica,sans-serif">';
	html+='<div style="margin:0px;">';
	cvids_7097.push({vid:76284, thumb: 'http://i.ytimg.com/vi/18ehjFAckfs/0.jpg', title: 'TEDxAMSTERDAM IN DE BAN VAN TECHNOLOGIE GURU KEVIN KELLY', desc: 'Visionair denker op het gebied van technologie Kevin Kelly heeft gesproken. Voor een publiek van 400 mensen ontvouwde het orakel Kelly zijn visie op de toekomst en was LIVE te volgen diverse streams op internet. Technologie zal in groeiende mate de mens voorbijstreven en zelfs groter worden, maar volgens Kelly kan de mens daar juist zijn voordeel meedoen. Hij wijst erop dat technologie uit de hand dreigt te lopen, tenzij het voortdurend wordt geevalueerd en wordt bijgestuurd door de mens. De ...'});
	cvids_7097.push({vid:76521, thumb: 'http://i.ytimg.com/vi/GbDCKEaYa1k/0.jpg', title: 'TEDxAmsterdam Louise Vet: \'De Nieuwe wereld wordt beter\'', desc: 'De ecologische doemscenario\'s lijken onafwendbaar. Met het verstoren van het ecologisch evenwicht vernietigt de mens al het leven op aarde. \'The Inconvenient Truth\' van oud TED spreker Al Gore ligt nog vers in ieders geheugen. Dit is niet de boodschap van TEDxAmsterdam spreker Professor Dr Louise Vet. Zij pleit voor een collectief ecologisch bewustzijn, hiermee zal de wereld positief veranderen. Geen verspilling meer van middelen maar een economie gebaseerd op totale hergebruik. QUOTE Louise ...'});
	cvids_7097.push({vid:76519, thumb: 'http://i.ytimg.com/vi/HcdCqoqW5c0/0.jpg', title: 'TEDxAmsterdam Marcel Dicke: De knop moet om, we moeten aan de insecten.', desc: 'Dat zei professor Marcel Dicke vandaag op TEDx Amsterdam. Volgens de professor in de Entomologie eten we jaarlijks al 500 gram insecten verwerkt in ons eten en dat moet veel meer worden. Er kan nooit genoeg vlees geproduceerd om de hele wereldbevolking te voeden ... TEDX professor Dicke insecten '});
	cvids_7097.push({vid:76048, thumb: 'http://i.ytimg.com/vi/9JzZu-vuTso/0.jpg', title: 'Kevin Kelly', desc: 'Vincent Everts op tedx Amsterdam in gesprek met Kevin Kelly, mede-oprichter van het Amerikaanse tech magazine Wired.'});
	cvids_7097.push({vid:76273, thumb: 'http://i.ytimg.com/vi/eDJosFpYpog/0.jpg', title: 'Interview Staatssecretaris Frans Timmermans op TEDxAmsterdam', desc: 'Kunnen de Europese waarden en normen overeind gehouden worden onder de bedreiging van de islam of vreemde fundamentalistische bedreigingen? Volgens Frans Timmermans is er maar een manier om een volledige allesomvattende ramp te voorkomen: Quote: We moeten onze angst recht in de ogen durven kijken, en net zoals Jack Sparrow zeggen: Hello beasty. Frans Timmermans roept de politiek op te stoppen met het sussen en ontkennen van de angst van de massa. Gebruik de angst als motor om enorme krachten ...'});
	cvids_7097.push({vid:76290, thumb: 'http://i.ytimg.com/vi/fZE-zVnikfk/0.jpg', title: 'TEDxAmsterdam Wubbo Ockels interview: ET bestaat! HD 1080P', desc: 'Eerste Nederlandse astronaut: er is buitenaards leven! Wubbe Ockels heeft weken gewerkt aan zijn praatje voor tedx Amsterdam. Hij was er wat nerveus over want hij heeft een belangrijke boodschap: er is buitenaards leven! Als wij onze aardse begrenzingen kunnen loslaten, zullen we ander leven in het universum kunnen zien en ermee in contact kunnen komen. Onze hersenen houden ons voor de gek Quote: we zijn arrogant over de tijd, zoals we arrogant waren over de plaats. Net zoals we vroeger ...'});
	cvids_7097.push({vid:76272, thumb: 'http://i.ytimg.com/vi/0twdWfi_850/0.jpg', title: 'TEDxAmsterdam Prinses Mabel van Oranje pleit voor stap voor stap aanpak', desc: 'Korte termijn denken lost de problemen in de wereld niet op. Dit zei prinses Mabel van Oranje tijdens haar toespraak op tedx Amsterdam. In haar tedtalk sprak ze over The Elders, een denktank van voormalig wereldleiders waar onder Nelson Mandela. Zij helpen de wereldproblemen op te lossen.Verandering is alleen mogelijk als we het onmogelijke durven te denken. Zo luidt in het kort de boodschap van Mabel van Oranje, een van de sprekers op tedx Amsterdam.'});
	cvids_7097.push({vid:76050, thumb: 'http://i.ytimg.com/vi/T01cIcgUQKY/0.jpg', title: 'Interview Gernout Erens (Wattcher)', desc: 'Interview met Gernout Erens, general manager van Wattcher, een nieuw product dat de stroom in huis meet.'});
	cvids_7097.push({vid:76049, thumb: 'http://i.ytimg.com/vi/lcFl5bPPBS8/0.jpg', title: 'TEDx valt voor onderzoek naar varkens', desc: 'Bezoekers van tedx Amsterdam vallen unaniem voor de presentatie van ontwerper Christien Meindertsma, die vertelde over haar onderzoek naar varkens. Meindertsma ontdekte dat varkens voor enorm uiteenlopende producten gebruikt worden.'});
	cvids_7097.push({vid:76289, thumb: 'http://i.ytimg.com/vi/MovaYWTfsMQ/0.jpg', title: 'TEDxAmsterdam Tony DiSanto: Paris Hilton een technologische hoogstandje?  HD 1080p!', desc: 'Paris Hilton een technologische hoogstandje? Tony Di Santo, President Programming \& Development bij MTV, is verantwoordelijk voor spraakmakende reality series als Paris Hiltons BFF, The Hills en The City. In zijn tedtalk schetst hij de geschiedenis van het vertellen van verhalen. Quote: Verhalen vertellen zit in ons DNA. Het vertellen van verhalen is universeel en van alle tijden. Maar het is de technologie die ons inspireert om hierin nieuwe mogelijkheden te ontdekken en nieuwe wegen in te ...'});
	cvids_7097.push({vid:76288, thumb: 'http://i.ytimg.com/vi/Jwg3ILsE-YI/0.jpg', title: 'TEDXAMSTERDAM: HANS AARSMAN PLAATST DE WERELD IN EEN ANDER PERSPECTIEF', desc: 'Geen fotocamera meer voor fotograaf Hans Aarsman, hij plaatst de wereld liever in perspectief met de pen. Hans Aarsman werkte aanvankelijk als fotojournalist, onder andere voor het dagblad Trouw, en publiceerde drie fotoboeken. In 1993 fotografeerde hij een jaarlang Hollandse taferelen vanaf de dak van een camper. Nu schrijft Aarsman over fotografie en is docent aan de Rijksacademie in Amsterdam. In 1993 ontving hij de Marie Austria-Prijs. Een selectie uit het werk van Hans Aarsman als ...'});
	cvids_7097.push({vid:75927, thumb: 'http://i.ytimg.com/vi/f6lczi7w2r0/0.jpg', title: 'Pleidooi tegen \' hoe dingen moeten\'', desc: 'Interview met fotograaf/schrijver Hans Aarsman op tedx Amsterdam.'});
	cvids_7097.push({vid:75928, thumb: 'http://i.ytimg.com/vi/FLd3RFmwBGA/0.jpg', title: 'Transsectoraal innoveren als sleutel tot succes', desc: 'Interview met prof. Dr. Ir. Nico Baken, senior strateeg bij KPN en hoogleraar Enterprise Networks aan de TU Delft.'});
	cvids_7097.push({vid:75931, thumb: 'http://i.ytimg.com/vi/1GaeLcdyT9Y/0.jpg', title: 'Jacob Gelt Dekker', desc: 'Interview Jacob Gelt Dekker'});
	cvids_7097.push({vid:76287, thumb: 'http://i.ytimg.com/vi/v4UAXCi0Ycw/0.jpg', title: 'TEDxAmsterdam 2009 BJARKE INGELS wil meer!', desc: 'Zijn motto: Yes is More. Bjarke Ingel, vooraanstaand Architect uit Denemarken sprak vandaag tijdens tedxamsterdam over zijn werk en visie in de architectuur. Hij ontwerpt woon- en werkbare ecosytemen, die de natuur nabootsen en legt de nadruk op duurzaamheid. Zijn doel is het creeren van sociale, efficiente en milieu vriendelijke gebouwen. In zijn presentatie op tedxamsterdam pleit hij dan ook voor meer Eco design in de architectuur. Denk groot is zijn devies! Bjarke Ingels werkte eerder ...'});
	cvids_7097.push({vid:76268, thumb: 'http://i.ytimg.com/vi/WMr1uhj8WGs/0.jpg', title: 'TEDxAmsterdam: Indrukken van prominente gasten', desc: 'Eerste reactie op verschillende sprekers tedxamsterdam door oa Richard Krajicek, Ben van der Burg, Erik van Brugge (BKB), Kuldip Singh (Sanoma) en Bert Rensen (ACHMEA)'});
	cvids_7097.push({vid:75932, thumb: 'http://i.ytimg.com/vi/DOnNkvSBc1Y/0.jpg', title: 'Frans Timmermans (Sociale Zaken)', desc: 'Staatssecretaris Frans Timmermans na afloop van zijn speech op tedx Amsterdam.'});
	cvids_7097.push({vid:76276, thumb: 'http://i.ytimg.com/vi/b6wi3ftSlFQ/0.jpg', title: 'Rabijn Soetendorp ontroert publiek TEDxAmsterdam', desc: 'Rabijn Soetendorp was als onaangekondigde spreker aanwezig bij tedx Amsterdam. Zijn verhaal over hoe hij en zijn ouders de oorlog overlevenden ontroerde de zaal. Soetendorp pleitte voor samenwerking om doelen te bereiken.'});
	cvids_7097.push({vid:75933, thumb: 'http://i.ytimg.com/vi/GOlLp1lmruk/0.jpg', title: 'Interview Erik Huizer (TNO)', desc: 'Erik Huizer, directeur Kennis bij TNO, in gesprek met Erwin Blom over tedx Amsterdam.'});
	cvids_7097.push({vid:76285, thumb: 'http://i.ytimg.com/vi/b_T0__birpc/0.jpg', title: 'TEDxAmsterdam  Round - up   Een eerste terugblik', desc: 'tedx Amsterdam is door het publiek als zeer inspirerend ervaren. Van staatssecretaris tot miljardair allen spraken over vernieuwing in een positieve sfeer.'});
	cvids_7097.push({vid:76283, thumb: 'http://i.ytimg.com/vi/HzpkRvuQdL4/0.jpg', title: 'Interview TEdxAms: Rabbijn Soetendorp over zijn emotionele voordracht', desc: 'Rabbijn Soetendorp is zichtbaar aangeslagen na zijn overweldigend ontvangen speech. Door het uitvallen van een spreker mag hij op tedx zijn persoonlijke verhaal doen, waarvoor hij een staande ovatie krijgt. Wat doet dat met hem?'});
	cvids_7097.push({vid:76282, thumb: 'http://i.ytimg.com/vi/Pvfa5l4JBqE/0.jpg', title: 'Prominente bezoekers over TEdxAmsterdam: Richard Krajicek', desc: 'Oud tennisser, Richard Krajicek, directeur ABN Amro tennistoernooi en oprichter van de Richard Krajicek Foundation over tedx Amsterdam. Wat is hem opgevallen en waarom weerspiegelt dat zijn leven?'});
	cvids_7097.push({vid:76281, thumb: 'http://i.ytimg.com/vi/Ljd-7hr1r6g/0.jpg', title: 'TEDxAmsterdam Karsu Donmez: Nederland te klein voor talent Karsu Donmez', desc: 'De 19 jarige Karsu D\u00f6nmez staat op het punt om internationaal groots door te breken. Met nog maar net een internationaal platencontract op zak trad Karsu vandaag op voor 400 mensen tijdens de eerste tedxamsterdam Conferentie. Ze wordt ook wel de Nederlands Nora Jones genoemd en zingt en serveert sinds haar 15e een paar dagen in het Turks restaurant van haar vader. Naast twee grote optredens in het prestitieuze Carnegie Hall in New York trad ze ook op tijdens de televisieprogramma\'s \'Pauw en ...'});
	cvids_7097.push({vid:76278, thumb: 'http://i.ytimg.com/vi/GbDCKEaYa1k/0.jpg', title: 'TEDxAmsterdam Louise Vet: \'De Nieuwe wereld wordt beter\'', desc: 'De ecologische doemscenario\'s lijken onafwendbaar. Met het verstoren van het ecologisch evenwicht vernietigt de mens al het leven op aarde. \'The Inconvenient Truth\' van oud TED spreker Al Gore ligt nog vers in ieders geheugen. Dit is niet de boodschap van tedxamsterdam spreker Professor Dr Louise Vet. Zij pleit voor een collectief ecologisch bewustzijn, hiermee zal de wereld positief veranderen. Geen verspilling meer van middelen maar een economie gebaseerd op totale hergebruik. QUOTE Louise ...'});
	cvids_7097.push({vid:76280, thumb: 'http://i.ytimg.com/vi/gj8kV9o0fqI/0.jpg', title: 'De Sponsors over TEdxAmsterdam: Bert Rensen', desc: 'Bert Rensen woordvoerder van ACHMEA verklaart waarom Achmea juist sponsor is van tedx Amsterdam.'});
	cvids_7097.push({vid:76274, thumb: 'http://i.ytimg.com/vi/9uTmyQiZJ_g/0.jpg', title: 'TEDxAmsterdam 2009 - interview - Jacob Gelt Dekker  multimiljonair geeft handleiding voor geluk', desc: 'De veelbesproken multimiljonair en filantroop Jacob Gelt Dekker presenteert op tedx Amsterdam zijn filosofische roman Pot met goud. Een handleiding om goud te vinden? Nee, want de echte rijkdom zit niet in materiele zaken, maar in de reis die je moet maken om jezelf te vinden. Want de pot met goud zit in jezelf. Om die pot met goud te vinden moeten we de moed hebben om ieder aspect van onszelf en alles wat we tegenkomen aan te pakken. Zonder excuses. Quote: Stop met de flauwekul en ga het ...'});
	cvids_7097.push({vid:76279, thumb: 'http://i.ytimg.com/vi/HcdCqoqW5c0/0.jpg', title: 'TEDxAmsterdam Marcel Dicke: De knop moet om ,we moeten aan de insecten.', desc: 'Dat zei professor Marcel Dicke vandaag op tedx Amsterdam. Volgens de professor in de Entomologie eten we jaarlijks al 500 gram insecten verwerkt in ons eten en dat moet veel meer worden. Er kan nooit genoeg vlees geproduceerd om de hele wereldbevolking te voeden'});
	cvids_7097.push({vid:76277, thumb: 'http://i.ytimg.com/vi/LexWtEU9P9o/0.jpg', title: 'Ben van der Burg vermaakt zich op TEDxAmsterdam', desc: 'Ex schaatser en internet professional Ben van der Burg is kritisch en lyrisch over tedxamsterdam.'});
	cvids_7097.push({vid:75930, thumb: 'http://i.ytimg.com/vi/TEJUwy_KiQQ/0.jpg', title: 'Rabbijn Soetendorp', desc: 'Vincent Everts in gesprek met Rabbijn Soetendorp op tedx Amsterdam.'});
	cvids_7097.push({vid:76051, thumb: 'http://i.ytimg.com/vi/-39taRf5phk/0.jpg', title: 'Interview Hans Sibbel', desc: 'Cabaretier Hans Sibbel tijdens tedx Amsterdam.'});
	cvids_7097.push({vid:75934, thumb: 'http://i.ytimg.com/vi/YxMxEDi3anw/0.jpg', title: 'Ben van der Burg over TEDx Amsterdam', desc: 'Interview met Ben van der Burg, Business Development Director bij webads Interactive Advertising.'});
	cvids_7097.push({vid:76275, thumb: 'http://i.ytimg.com/vi/Ce8gFsrXycQ/0.jpg', title: 'Internationale belangstelling voor TEDx Amsterdam', desc: 'Tedx Amsterdam wordt door de hele wereld gevolgd. In de zaal zitten bloggers om de toespraken gelijk op het internet te plaatsen. Internationale nieuwsites geven het evenement live door.'});
	cvids_7097.push({vid:76271, thumb: 'http://i.ytimg.com/vi/hWDE9CTosBU/0.jpg', title: 'TEDx NEWSFLASH OPENING', desc: 'tedx Amsterdam, de conferentie over wereldvernieuwende idee\u00ebn is vanochtend begonnen. Zon 500 gasten luisteren naar sprekers als staatsecretaris Frans Timmermans, Prinses Mabel en vissionair Kevin Kelly. tedx Amsterdam duurt nog de hele dag. Een kleine impressie van de opening'});
	cvids_7097.push({vid:76270, thumb: 'http://i.ytimg.com/vi/4hWpt6jh0DM/0.jpg', title: 'TEDx Introductie en opening', desc: '\'Amsterdam is een stad waar grote ideeen floreren, daarom verwelkomen wij tedxamsterdam met open armen\'. Met deze woorden opende burgemeester van Amsterdam Job Cohen de eerste tedxamsterdam conferrentie vandaag in het Tropeninstituut in Amsterdam. tedxamsterdam is afgeleid van de jaarlijkse conferentie TED die sind 1990 jaarlijkse wordt gehouden Amerika. Je bent alleeen op uitnodiging welkom. TED is inmiddels een begrip, denkers vanuit de hele wereld zitten bij elkaar en lichten hun nieuwste ...'});
	cvids_7097.push({vid:73349, thumb: 'http://i.ytimg.com/vi/U41EmPTgefk/0.jpg', title: 'LuyendijK: Nieuws is vervormd, gefilterd en gemanipuleerd', desc: 'Joris Luyendijk analyseert in de tegenlichtaflevering \'Het Midden-Oosten gedecodeerd de mechanismen van de berichtgeving over het Midden-Oosten. De media moeten opener zijn en meer verantwoording moeten afleggen over hoe ze werken. Maandag 9 april 20.55 uur Ned 2. Ga naar www.vpro.nl'});
	cvids_7097.push({vid:73350, thumb: 'http://i.ytimg.com/vi/IPNKb6KNCO0/0.jpg', title: 'Job Cohen', desc: 'Job Cohen mayor of Amsterdam. Commercial WK Amsterdam'});
	cvids_7097.push({vid:73351, thumb: 'http://i.ytimg.com/vi/7wdqqCFDkAQ/0.jpg', title: 'Blair on Climate Solutions - Frans Timmermans- 8 mei 2009', desc: 'Blair event- 8 mei 2009 -Frans Timmermans'});
	cvids_7097.push({vid:73352, thumb: 'http://i.ytimg.com/vi/xgEcIQ_WoiU/0.jpg', title: '\'OVERWELDIGEND BEWIJS\' (van het onbenul van staatssecretaris Timmermans)', desc: 'Staatssecretaris Frans Timmermans (PvdA, BuZa) liet zich onlangs kennen als een klimaatalarmist pur sang. Hij baseerde zich op \'de\' wetenschap zo zei hij zelfverzekerd. In dit filmpje dienen de wetenschappers hem van repliek.'});
	cvids_7097.push({vid:73353, thumb: 'http://i.ytimg.com/vi/28D9UeBUV1o/0.jpg', title: 'Jacob Gelt Dekker verdedigt zich tegen aantijdingen', desc: 'Jacob is flink aangepakt door de media en overheden. Hij verdedigt zich hier'});
	cvids_7097.push({vid:73354, thumb: 'http://i.ytimg.com/vi/StqB7f2o6h0/0.jpg', title: 'Jacob Gelt Dekker even in Amsterdam', desc: 'Onlangs verbleef Jacob Gelt Dekker even in de hoofdstad en Menne Vellinga kwam hem tegen. Een korte gedachten wisseling in de volgende bijdrage. Ook uitgezonden op MVStv, niet alleen in de regio maar dankzij internet wereldwijd. Gelt Dekker is meer dan een ondernemer, zakenman, hij wil graag investeren in mensen niet alleen op de Antillen maar wereldwijd. De link www.jacobgeltdekker.com naar meer over deze persoon.'});
	cvids_7097.push({vid:73355, thumb: 'http://ak2.static.dailymotion.com/static/video/389/434/15434983:jpeg_preview_large.jpg?20090505052202', title: 'Christien Meindertsma, Makers \& Spectators', desc: 'Makers \&amp; Spectators is an experimental exhibit exploring the concept of seeing the same thing differently. By using eyetrackers, Christien Meindertsma researches how people view objects. The data is visualized in various forms, including the help of Nils V\u00f6lkers\u2019 robots (built with of the shelf parts). Makers \&amp; Spectators is on view at Mu gallery in Eindhoven till the 14th of June. www.mu.nl www.designguide.tv music courtesy of www.visuaal.c'});
	cvids_7097.push({vid:73356, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/325/202/32520298_640.jpg', title: 'Prof. Nico Baken (KPN) over de invloed van ICT in sectoren \&amp; zijn Green visie', desc: 'Nico Baken heeft een duidelijke visie over de invloed van ICT op de komende ontwikkelingen en de centrale rol die de mens daarin moet spelen. We spraken elkaar al een aantal malen via de telefoon en Jos kwam hem tegen op 4-11-2009 in Arnhem op een seminar over \u201cpersonal networks\u201d. Hij  heeft hij een uitgesproken mening en wil die ook delen. Er is een videoboodschap gemaakt voor het platform ICTRegie, die hij graag beschikbaar stelt en goed overbrengt waar het volgens hem om gaat. Beter dan dat tijdens een receptie met veel omgevingsruis gefilmd kan worden. Onze cameradop bleef er tijdens en na het gesprek dus op.\nhttp:www.mobielemens.nl Movares'});
	cvids_7097.push({vid:73357, thumb: 'http://i.ytimg.com/vi/vg5X_kxVJno/0.jpg', title: 'HKH Mabel van Oranje', desc: '11e Nationaal Congres Soa-Hiv-Aids in het RAI Congres Centrum in Amsterdam - 30 november 2007 . Programma van fotomomenten en aanbiedingen. De prinses in actie met een spuitbus bij de levensgrote letters I STOP AIDS NOW! Met fotograaf Adriaan Backer een wandeling langs de 15 kinderportretten. Uit handen van MW. Heijn ontvangt zij SEVEN een glossy van De Grote Onderneming (DGO).Robert Witlox van HIV Nederland reageert evenals Mw Heijn op de aanwezigheid van prinses Mabel. Dolle Bellefleur ...'});
	cvids_7097.push({vid:73359, thumb: 'http://i.ytimg.com/vi/dRsvUyM0jes/0.jpg', title: 'GLOBAL 3000 | Young Global Leaders \u00e2\u0080\u0093 Leadership', desc: 'be the movers and shakers of the future. Every year, the World Economic Forum appoints more than 200 exceptional people from the fields of economics, politics or the arts as Young Global Leaders. In the last part of our series, we profile three of these promising young people from the Netherlands, China and Germany. Mabel van Oranje feels that senior citizens should have a greater say in society. She points to parts of Africa where the tradition of village elders is still strong. ...'});
	cvids_7097.push({vid:73362, thumb: 'http://i.ytimg.com/vi/GmEhc1kQ9zk/0.jpg', title: 'Mabel dances for Jimmy founder of Wikipedia', desc: 'Mabel van Oranje does a dance behind Wikipedia founder Jimmy Wales as he prepares for a high pressure interview. Original posting: www.thomascrampton.com'});
	cvids_7097.push({vid:73410, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/300/537/30053713_640.jpg', title: 'Prof. Dr. Louise Vet | Preview', desc: ''});
	cvids_7097.push({vid:73365, thumb: 'http://i.ytimg.com/vi/QXURvISjh2A/0.jpg', title: 'CNN: Just Imagine: Gerhard Knies', desc: 'Just Imagine: Gerhard Knies 0:50 Solar power plants could supply the whole world with clean energy, says scientist Gerhard Knies.'});
	cvids_7097.push({vid:73367, thumb: 'http://i.ytimg.com/vi/MspLXlRHoZo/0.jpg', title: 'CNN: Just Imagine: Future science', desc: 'Just Imagine: Future science 6:50 Naomi Halas says nanotechnology could cure cancer; Gerhard Knies explains how the sun could give us all clean energy.'});
	cvids_7097.push({vid:73368, thumb: 'http://i.ytimg.com/vi/FKmUALFRhhs/0.jpg', title: 'Made in Germany | Desertec - Electricity from the Desert for Europe', desc: 'The idea of tapping into the power of the sun over the Sahara desert and using it to provide Europe with energy is a brilliant one. Now 20 large German companies want to get together and turn it into reality with investments of several hundred billion euros.The aim of the project is to build solar power plants in the desert and then transport the electricity produced there over the Mediterranean,turning North Africa into an energy exporter. Many big German companies have agreed to ...'});
	cvids_7097.push({vid:73411, thumb: 'http://i.ytimg.com/vi/RJr4XbJJVW4/0.jpg', title: 'Ruud Koornstra', desc: 'Mede oprichter van Tendris, producent van duurzame producten over zijn ambities en wensen als minister van innovatie'});
	cvids_7097.push({vid:73422, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/217/517/21751774_640.jpg', title: 'Fremantle Experimental - Gary Carter Q\&amp;A PT8', desc: 'What goes on in the experimental division of one of the world\'s largest screen-based media producers? Real-time narratives, blurring the distinction between real people and performers...it\'s well-orchestrated chaos on film.\n\nMaRS - Building Canada\u2019s next generation of global technology companies.  www.marsdd.com'});
	cvids_7097.push({vid:73420, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/217/514/21751430_640.jpg', title: 'Storytelling In The Digital Age: Gary Carter, Fremantle Media PT2', desc: 'Fremantle Media. The company\'s history mirrors the history of screen-based media itself. Gary Carter, Chief Operating Officer and head of Fremantle\'s experimental division, FMX tells the story of Fremantle from its earliest days to the present age of format wars and reality television.\n\nMaRS - Building Canada\u2019s next generation of global technology companies.  www.marsdd.com'});
	cvids_7097.push({vid:73415, thumb: 'http://a.images.blip.tv/Clarknovacouk-KevinKellyOnTheNext5000DaysOfTheWeb846-458-559.jpg', title: 'Kevin Kelly on the next 5,000 days of the web', desc: '\n\n'});
	cvids_7097.push({vid:73416, thumb: 'http://i.ytimg.com/vi/J132shgIiuY/0.jpg', title: 'Kevin Kelly - \"Web 3.0\"', desc: 'Northern California Grantmakers \& The William and Flora Hewlett Foundation Present: Web \& Where 2.0+ Feb. 14th, 2008 Session #11 Kevin Kelly \"Web 3.0\"'});
	cvids_7097.push({vid:73455, thumb: 'http://ak2.static.dailymotion.com/static/video/084/399/16993480:jpeg_preview_large.jpg?20090831143620', title: 'De ambities van SPRX Mobile', desc: 'In juni lanceerde SPRX Mobile de innovatieve Android apllicatie Layar. In een video-interview vertelt directeur Claire Booonstra over \'mobile magic\', de kracht van haar tram en hun wereldwijde ambities. Bekijk meer video\'s en artikelen op www.idealize.nl'});
	cvids_7097.push({vid:73428, thumb: 'http://i.ytimg.com/vi/XS-sHknyeYw/0.jpg', title: 'Hans Aarsman Vrooomm! Vrooomm! Photography', desc: 'Hans Aarsman Vrooomm! Vrooomm! Photography, see for more Hans Aarsman : bintphotobooks.googlepages.com'});
	cvids_7097.push({vid:73426, thumb: 'http://ak2.static.dailymotion.com/static/video/954/196/1691459:jpeg_preview_large.jpg?20080912000723', title: 'Hans Aarsman', desc: ''});
	cvids_7097.push({vid:73430, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/279/828/27982888_640.jpg', title: 'Prof. Dr. Marcel Dicke | Preview', desc: 'Prof. Dr. Marcel Dicke, researcher at the Department of Entomology (University of Wageningen), with an exciting introduction to his upcoming Talk at TEDxAmsterdam.'});
	cvids_7097.push({vid:73431, thumb: 'http://i.ytimg.com/vi/JMmSgIzOgw4/0.jpg', title: 'Congrestoespraak Robbert Dijkgraaf', desc: 'Toespraak van Robbert Dijkgraaf op het D66-congres in Breda.'});
	cvids_7097.push({vid:73432, thumb: 'http://i.ytimg.com/vi/nk1Iq800ulc/0.jpg', title: 'DWDD Hoogtepunten 7 mei', desc: 'De presentatie is woensdag in handen van Matthijs van Nieuwkerk. Zijn tafelheer is Giel Beelen. Te gast zijn: Robbert Dijkgraaf is een Nederlands wiskundige, theoretisch natuurkundige en universiteitshoogleraar aan de Universiteit van Amsterdam. Henk van Os, oud-directeur van het Rijksmuseum, is tegenwoordig adviseur van Kasteel Huis Bergh. Hij praat over de bijzondere collectie van het museum. Fotografe Hanne van der Woude heeft roodharigen geportretteerd, onder wie Gerrit Hiemstra. Ze zijn ...'});
	cvids_7097.push({vid:73433, thumb: 'http://i.ytimg.com/vi/BehX7Hz8y9Y/0.jpg', title: 'Picnic 2008 Mark Kamau', desc: 'Picnic 2008 Mark Kamau'});
	cvids_7097.push({vid:73438, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/298/743/29874338_640.jpg', title: 'YellowBird 360 graden meekijken met alle concerten door de kijker', desc: 'For the launch of revolutionary product Yellowbird I made a promo explaining the concept. Yellowbird is a Google Streetview-like camera, a system with six lenses, not as a photo but as a video camera, an all-encompassing picture is captured. This 3-D video can then be played online on any computer. An example can be found on the yellowBird website at www.yb.nl. The viewer will experience total immersion in a \ufb01lm, an event, or a special environment. From the point where the images were recorded, the viewer can look in any direction, let his eyes wander through the crowd, or stare at the ground or the air, which makes viewing a video an experience without boundaries.'});
	cvids_7097.push({vid:73434, thumb: 'http://a.images.blip.tv/DenmarkDK-YesIsMore408-30-125.jpg', title: 'Yes is more', desc: '\nDanish architect company Bjarke Ingels Group exhibits its finest work.\n'});
	cvids_7097.push({vid:73435, thumb: 'http://i.ytimg.com/vi/4AYE3w5TWHs/0.jpg', title: 'Bjarke Ingels: 3 warp-speed architecture tales', desc: 'www.ted.com Danish architect Bjarke Ingels rockets through photo stories of his eco-flashy designs. His buildings not only look like nature -- they act like nature: blocking the wind, collecting solar energy -- and creating stunning views.TEDTalks is a daily video podcast of the best talks and performances from the TED Conference, where the world\'s leading thinkers and doers give the talk of their lives in 18 minutes. Featured speakers have included Al Gore on climate change, Philippe Starck ...'});
	cvids_7097.push({vid:73439, thumb: 'http://i.ytimg.com/vi/8owa9Lxudmg/0.jpg', title: 'Interview Merlijn Twaalfhoven', desc: ''});
	cvids_7097.push({vid:73442, thumb: 'http://i.ytimg.com/vi/1ORrkk_jp4M/0.jpg', title: 'Merlijn Twaalfhoven - Long Distance Call op Cyprus', desc: 'Reportage van Llink-programma \"Move your Ass\" over het muziekproject dat Merlijn Twaalfhoven maakte aan weerszijden van de bufferzone in Nicosia, de gedeelde hoofdstad van Cyprus. 400 Kinderen, studenten, zangers en musici cre\u00eberden een muziekstuk dat een verbintenis tot stand bracht tussen de Turks- en Grieks- Cyprioten. 24 Oktober 2005 Meer informatio op www.twaalfhoven.net'});
	cvids_7097.push({vid:73440, thumb: 'http://i.ytimg.com/vi/sso66ykkr-4/0.jpg', title: 'Merlijn Twaalfhoven: Composing the audience', desc: 'Without any preparation, the audience follows the signs of Merlijn and creates a real-time composition. 100% Interactive, an adventure for those who believed they couldn\'t sing at all. At times the sound-effects were very delicate, complex and beautiful.'});
	cvids_7097.push({vid:73443, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F0.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3D2960e9e850e5d588%26offsetms%3D110000%26itag%3Dw160%26hl%3Dnl%26sigh%3DFbWdkO2FVp4cH5tPjwkhX26TgF4', title: 'Wubbo Ockels  () (, )', desc: 'Wubbo Ockels is een Nederlandse natuurkundige, ruimtevaarder, piloot en hoogleraar. In 1985 maakte hij als eerste persoon met de Nederlandse ...'});
	cvids_7097.push({vid:73445, thumb: 'http://i.ytimg.com/vi/V-CJvpn3rhg/0.jpg', title: 'Wubbo Ockels on Enviu\'s Hybrid Tuk Tuk Battle', desc: 'Enviu is busy these days with the so-called Hybrid Tuk Tuk Battle. This is a project aiming to find a technical solution to the in-efficient tuk-tuks (also known as auto rickshaws). This would allow a reduction of CO2 emissions and improve the quality of live of tuk tuk drivers. Last evening we had the kickoff party where, amongst others, the Dutch astronaut Wubbo Ockels expressed his support to this project. More Hybrid Tuk Tuk Battle at Hybridtuktuk.com More innovation \& sustainability at ...'});
	cvids_7097.push({vid:73446, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F3.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3D08b13a837aac6a93%26offsetms%3D1290000%26itag%3Dw160%26hl%3Dnl%26sigh%3DJNW_z3bq8mul5aTHHZH0Tcy6L6w', title: ' ()', desc: 'Het land van zonnestroom en windenergie maandag 27 oktober 2008 Tegenlicht - VPRO Waar staan we in Nederland met onze keuzes voor duurzame energie ...'});
	cvids_7097.push({vid:73454, thumb: 'http://ak2.static.dailymotion.com/static/video/628/074/17470826:jpeg_preview_large.jpg?20090906175448', title: 'Bruno Giussani \"Internet in society\" Lift06 EN)', desc: 'Bruno Giussani opens the LIFT06 conference with a keynote speech about the current state of the impact of the Internet on our society. Bruno is a writer and commentator and the Producer of the TEDGLOBAL conference.  Distributed by Tubemogul.'});
	cvids_7097.push({vid:73194, thumb: 'http://a.images.blip.tv/TelevisionWeek-MTVsTonyDiSantoAtTCA912-84.jpg', title: 'MTV\'s Tony DiSanto at TCA', desc: '\n\nMTV\'s Tony DiSanto discusses the network\'s classy, new approach to reality competition shows with \"From G\'s to Gents.\" Visit http://www.tvweek.com for more info.\n\n'});
html+='<div id="thumb_7097" style="width:407px;overflow:hidden;height:336px;background-color:#FFFFFF;position:relative;float:left;">';
html+=vidthumbhtml_7097(curvid_7097);
html+='</div>';
	html +='<div style="height:26px;width:126px;position:absolute;right:5px;">';
		//html +='<img onclick="showmatrix_7097(0);" style="position:absolute;left:66px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconmatrix24.png" title="popup an overview with all videos"/>';
		html +='<img id="pgprev_7097" onclick="gotopageoffset_7097(-1);" style="position:absolute;left:0px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconprev24.png" onmouseover="oMouEv(this,true);" onmouseout="oMouEv(this,false);" title="scroll back"/>';
		//html +='<img onclick="playstop_7097();" style="position:absolute;left:5px;top:20px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconstop24.png" title="stop"/>';
		//html +='<img onclick="playstart_7097();" style="position:absolute;left:5px;top:30px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconplay24.png" title="play"/>';
		html +='<img id="pgnext_7097" onclick="gotopageoffset_7097(1);" style="position:absolute;left:66px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/iconnext24.png" onmouseover="oMouEv(this,true);" onmouseout="oMouEv(this,false);"  title="scroll forward"/>';
		html +='<div style="position:relative;top:54px; width:124px; margin:0px 0px 0px 0px;height:280px;overflow:hidden;border:1px solid #ddd;background-color:#fff" id="mxsoutline_7097">';
			html+='<div id="mxs_7097"  style="position:absolute;top:0px;background-color:#ffffff;"></div>';
			html+='<div id="mxs2_7097" style="position:absolute;top:0px;background-color:#ffffff;"></div>';	// videolist placeholder
		html +='</div>';
	html +='</div>';
	html+='<div style="height:26px;width:100px;position:absolute;bottom:8px;left:0px;">';
	html+='<a target=_blank href="http://beta.yubby.com/"><img style="position:absolute;left:0px;top:3px;height:25px;z-index:5;cursor:pointer;margin:0;padding:0;" border=0 src="http://incdn.s3.amazonaws.com/yubbyb_v2/img/project/yubby/logo.png"></a>';
			//html +='<a target=_blank href="http://beta.yubby.com/channel/player/15002/first"><div style="position:absolute;left:70px;top:9px;color:#444;font-size:11px;line-height:10px;cursor:pointer;width:185px;height:20px;overflow:hidden;" >powered by yubby.com</div></a>';
					html +='<img onclick="toggleembed_7097();" src="http://beta.yubby.com/img/icon_share30.png" style="cursor:pointer;position:absolute;left:384px;top:0px;" title="share or embed" alt="share or embed">';
				html +='<a style="text-decoration:none" target=_blank href="http://beta.yubby.com/channel/player/15002/first"><div style="position:absolute;left:70px;top:3px;color:#444;font-size:11px;line-height:10px;cursor:pointer;width:185px;height:22px;overflow:hidden;" ><span style="color:#888;">You are watching channel</span><br/>Tedx Amsterdam 20 november #tedxams</div></a>';
		html+='</div>';
	
	html+='</div></div>';	// margin and innerflash
	html+='<iframe src="http://beta.yubby.com/util/ustat" width="0" height="0" border="no" frameborder="0"  style="border:0; visibility: hidden;"></iframe>';
	wgElm_7097.innerHTML=html;
	wgElm_7097.style.display = 'block';

	gotopage_7097(matrix_curpg);	// 1
		
}

function playnext_7097() {
	if (curvid_7097 < cvids_7097.length -1 ) {
		curvid_7097++;
		if (cpvideo_7097)
			playstart_7097();	// we are playing video
		else {
			var thumbdiv=document.getElementById('thumb_7097');
			thumbdiv.innerHTML=vidthumbhtml_7097(curvid_7097);
		}
	}
}
function playprev_7097() {
	if (curvid_7097 >0 ) {
		curvid_7097--;
		if (cpvideo_7097)
			playstart_7097();	// we are playing video
		else {
			var thumbdiv=document.getElementById('thumb_7097');
			thumbdiv.innerHTML=vidthumbhtml_7097(curvid_7097);
		}
	}
}

// play video in video window
function playstart_7097(vnr) {
	closepopup_7097();	// close popup (if open)
	if (vnr==null)
		vnr=curvid_7097;
	else
		curvid_7097=vnr;	// set the current
	var thumbdiv=document.getElementById('thumb_7097');
	thumbdiv.innerHTML='<div></div>';
	thumbdiv.style.background='#FFF url(http://incdn.s3.amazonaws.com/yubbyb_v2/img/spinner32.gif) no-repeat 173.5px 138px';
	thumbdiv.innerHTML='<iframe name="playerframe" class="playerframe" src="http://beta.yubby.com/widget/playvideo/'+cvids_7097[vnr].vid+'/407/336/L/W" width="407" height="336" frameborder="0" scrolling="no" allowtransparency="true"></iframe>';
	cpvideo_7097=true;
}

// show large thumb video still
function playstop_7097(vnr) {
	if (vnr==null)
		vnr=curvid_7097;
	else
		curvid_7097=vnr;	// set the current
	cpvideo_7097=false;
	var thumbdiv=document.getElementById('thumb_7097');
	thumbdiv.innerHTML=vidthumbhtml_7097(vnr);
}

// big thumbnail / player window
function vidthumbhtml_7097(vnr) {
	var html='';
	//th: 407 x 336  it: 407 x 274 t= -16 nrdesclines=2 
html+='<div style="width:407px;height:274px; overflow:hidden; position:absolute;left:0px;top:0px;">';
html+='<img src="'+cvids_7097[vnr].thumb+'" style="width:407px;height:305.25px;top:-16px;left:0px;position:relative;">';
html+='</div>';
html+='<div style="width:397px;height:62px;position:absolute;left:0px;bottom:0px;background-color:#BBB;padding:5px;"><div style="overflow:hidden;height:52px;"><div style="white-space:nowrap; margin: 2px 3px; font-size:16px;color:#555555;">'+htmlspecialchars(cvids_7097[vnr].title)+'</div><div style="margin: 2px 5px; font-size:13px;line-height:13px;color:#ffffff;overflow:hidden;height:27px;"  title="'+htmlspecialchars(cvids_7097[vnr].desc)+'">'+htmlspecialchars(cvids_7097[vnr].desc)+'</div><div style="padding: 3px 5px; letter-spacing:1px; background-color: #BBB; color: #333;font-size: 10px; position: absolute; right: 0px; top: -14px; ">'+(vnr+1)+'/'+(cvids_7097.length)+'</div></div></div>';
html+='<div style="position: absolute; width:100px;height:100px;top:118px;left:154px;z-index:200;cursor:pointer;cursor:hand;background:url(http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/videoplay100.png) no-repeat;" onClick="playstart_7097();"></div>';
	return html;
}

function visspb(vnr,show) {
	el = document.getElementById('spbid'+vnr);
	if (el) {
		el.style.display = show ? 'block':'none';  
	} 
	if (show && !cpvideo_7097)
		playstop_7097(vnr);
}

// thumbs rechts
function vidthumbhtmlSmall_7097(vnr) {
	var html='';
	html='';
				html+='<div style="margin: 0px; float: left; position: relative; width: 124px; height: 92px;">';
				html+='<div style="width:104px;max-height:58px;background:#f6f6f6;margin:13px auto 0px auto;overflow:hidden;position:relative;">';
				html+='<div style="width:104px;height:58px;background:#cccccc;border:0px solid #dedede;overflow:hidden;position:relative;"  onmouseover="visspb('+vnr+',true);" onmouseout="visspb('+vnr+',false);" >';
						html+='<img style="position:absolute;width:104px;height:78px;top:-10px;left:0;cursor: pointer;" onclick="playstart_7097('+vnr+')" title="'+htmlspecialchars(cvids_7097[vnr].desc)+'" src="'+cvids_7097[vnr].thumb+'" />';
						html+='<div id="spbid'+vnr+'" style="display:none; position: absolute; width:20px;height:20px;top:20px;left:40px;z-index:200;cursor:pointer;cursor:hand;background:url(http://incdn.s3.amazonaws.com/yubbyb_v2/img/widget/chart2/videoplay20.png) no-repeat;" onclick="playstart_7097('+vnr+')"></div>';
					html+='</div>';
				html+='</div>';
				html+='<div style="position: absolute; bottom: 0px; left: 10px;padding:0 0 4px 0;width:104px;height:15px;z-index:200;color:#555;font-size:11px;overflow:hidden;white-space: nowrap;cursor: pointer;" >'+htmlspecialchars(cvids_7097[vnr].title)+'</div>';
			html+='</div>';
		return html;
}

// cp 1..npages
function paginationhtml_7097(cp,npages) {
	if (npages<=1)
		return '';	// empty if no pagination..
	var html='';
	html+='<div class="pages">';
	if (cp>1) {
		// we CAN prev!
		html+= '<span class="pageblock" onclick="gotopage_7097('+(cp-1)+');">&#171; Previous</span>';
	}
	else {
		html+= '<span class="pageblock_disabled">&#171; Previous</span>';
	}
	// Available pages - Link
	var lpage = 1;
	var cpageSur = 2;
	var dotted = false;
	for (var lpage=1;lpage<=npages;lpage++) {
		// 1-2...8-9-[10]-11-12....58-59 
		if ( lpage<=2 || (lpage>=cp-4 && lpage<=cp+4) || lpage>=npages-1) {
			dotted = false;	// we need to dot afterwards
			if (lpage == cp )
				html+='<span class="pageblock_curpage"><b>'+lpage+'</b></span>';
			else
				html+='<span class="pageblock" onclick="gotopage_7097('+lpage+');">'+lpage+'</span>';
		}
		else {
			// no printing.. buttt maybe we need to dot
			if ( !dotted ) {
				html+='<span class="pageblock_dots">&nbsp;...&nbsp;</span>';
				dotted = true;
			}
		}
	}
		
	// Next page - Link
	if ( cp<npages )
		html+='<span class="pageblock" onclick="gotopage_7097('+(cp+1)+');">Next &#187;</span>';
	else
		html+='<span class="pageblock_disabled">Next &#187;</span>';
	html+='</div>';
	return html;
}

function vidplayurl_7097(vnr) {
	if (vnr==null)
		vnr=curvid_7097;
	return 'http://beta.yubby.com/channel/player/15002/'+cvids_7097[vnr].vid;
}

// find absolute top loc of object
function vp_offsetTop(obj) {
    curtop = 0;
    if (obj.offsetParent) {
    curtop = obj.offsetTop
    while (obj = obj.offsetParent) {
      curtop += obj.offsetTop
    }
  }
  return curtop;
}

function vp_offsetLeft(obj) {
  curtop = 0;
  if (obj.offsetParent) {
    curtop = obj.offsetLeft;
    while (obj = obj.offsetParent) {
      curtop += obj.offsetLeft;
    }
  }
  return curtop;
}


function closepopup_7097() {
  el = document.getElementById('ipopup_7097');
  if (el) {
    el.parentNode.removeChild(el);
  } 
}

//
// getPageScroll()
// Returns array with x,y page scroll values.
// Core code from - quirksmode.org
//
function getPageScroll(){

	var yScroll;

	if (self.pageYOffset) {
		yScroll = self.pageYOffset;
	} else if (document.documentElement && document.documentElement.scrollTop){	 // Explorer 6 Strict
		yScroll = document.documentElement.scrollTop;
	} else if (document.body) {// all other Explorers
		yScroll = document.body.scrollTop;
	}

	arrayPageScroll = new Array('',yScroll) 
	return arrayPageScroll;
}



//
// getPageSize()
// Returns array with page width, height and window width, height
// Core code from - quirksmode.org
// Edit for Firefox by pHaez
//
function getPageSize(){
	
	var xScroll, yScroll;
	
	if (window.innerHeight && window.scrollMaxY) {	
		xScroll = document.body.scrollWidth;
		yScroll = window.innerHeight + window.scrollMaxY;
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
		xScroll = document.body.scrollWidth;
		yScroll = document.body.scrollHeight;
	} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
		xScroll = document.body.offsetWidth;
		yScroll = document.body.offsetHeight;
	}
	
	var windowWidth, windowHeight;
	if (self.innerHeight) {	// all except Explorer
		windowWidth = self.innerWidth;
		windowHeight = self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	} else if (document.body) { // other Explorers
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
	}	
	
	// for small pages with total height less then height of the viewport
	if(yScroll < windowHeight){
		pageHeight = windowHeight;
	} else { 
		pageHeight = yScroll;
	}

	// for small pages with total width less then width of the viewport
	if(xScroll < windowWidth){	
		pageWidth = windowWidth;
	} else {
		pageWidth = xScroll;
	}


	arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) 
	return arrayPageSize;
}

//------------------------------------ button handlers --------------------------------------
function stButImg(oBut) {
	if (oBut.id == 'pgnext_7097') { 
		if (matrix_curpg>=matrix_npages)
			oBut.src = img2_d.src;
		else
			oBut.src= butnext_mousein ? img2_ov.src : img2_ou.src;
	}
	if (oBut.id == 'pgprev_7097') { 
		if (matrix_curpg<=1)
			oBut.src = img1_d.src;
		else
			oBut.src= butprev_mousein ? img1_ov.src : img1_ou.src;
	}
}

function oMouEv(oBut,mouseIn) {
	
	if (oBut.id == 'pgnext_7097') 
		butnext_mousein=mouseIn;
	if (oBut.id == 'pgprev_7097') 
		butprev_mousein=mouseIn;
	stButImg(oBut);
}

//----------------------------------------- pagination -------------------------------------

function initpage_7097() {
	matrix_npages= Math.ceil(cvids_7097.length / matrix_itemspp);
}

function gotopage_7097(pg) {
		
	if (!matrix_npages)
		initpage_7097();
	if (pg<1)
		pg=1;
	if (pg>matrix_npages)
		pg=matrix_npages;
		
	oldpg=matrix_curpg;
	matrix_curpg=pg;
	var mxs=document.getElementById('mxs_7097');
	var mxs2=document.getElementById('mxs2_7097');
	//if (!mxs)	
	//	alert('mxs_7097 niet gevonden');
	var html='';
	for (var i=(matrix_curpg-1)*matrix_itemspp,cv=0;i<cvids_7097.length && cv<matrix_itemspp;i++) {
		html+=  vidthumbhtmlSmall_7097(i);
		cv++;
	}
	//html+=  '<div style="clear:both;"></div>';
	//if (matrix_npages>1) {
	//	html+=  '<div style="margin:10px 0px">'+paginationhtml_7097(matrix_curpg, matrix_npages)+'</div>';
	//}
	if (oldpg<pg) {
		// stop old motions if busy
		if (tween1)	
			tween1.stop(); 
		if (tween2)
			tween2.stop();
		// tween UP
		(tweenflip?mxs2:mxs).innerHTML=html;	// put that in the NEW (to be shifted in) mxs
		// and start the tweens...
		// todo
		tween1 = new Tween((tweenflip?mxs2:mxs).style,'top',Tween.strongEaseOut,278,0      ,1,'px');
		tween1.start();
		tween2 = new Tween((tweenflip?mxs:mxs2).style,'top',Tween.strongEaseOut,0  ,-278 ,1,'px');
		tween2.start();
		tweenflip=!tweenflip;
		//mxs.innerHTML=html;
	}
	else if (oldpg>pg) {
		// tween down
		if (tween1)	
			tween1.stop(); 
		if (tween2)
			tween2.stop();
		(tweenflip?mxs2:mxs).innerHTML=html;	// put that in the NEW (to be shifted in) mxs
		// and start the tweens...
		// todo
		tween1 = new Tween((tweenflip?mxs2:mxs).style,'top',Tween.strongEaseOut,-278,0   ,1,'px');
		tween1.start();
		tween2 = new Tween((tweenflip?mxs:mxs2).style,'top',Tween.strongEaseOut,0   ,278   ,1,'px');
		tween2.start();
		tweenflip=!tweenflip;
	}
	else {
		(tweenflip?mxs:mxs2).innerHTML=html;
	}
	
	
	
	// disable/enable next/prev buttons
	el = document.getElementById('pgnext_7097');
	if (el) 
		stButImg(el); // update nextbutton state

	el = document.getElementById('pgprev_7097');
	if (el) 
		stButImg(el); // update prevbutton state
}

function gotopageoffset_7097(offset) {	// 1 or -1
	if (matrix_npages==0)
		initpage_7097();
	if (matrix_curpg+offset<0 || matrix_curpg+offset>matrix_npages) {
		gotopage_7097(matrix_curpg);
		return 0;
	}
	gotopage_7097(matrix_curpg+offset);
	return 1;
}

function showmatrix_7097() {
	// close old one
	closepopup_7097();

	matrix_npages= Math.ceil(cvids_7097.length / 16);
	
	// open new
	var popup_div = document.createElement('div');
	var title='matrix';
	popup_div.id = "ipopup_7097";
	popup_div.style.position = 'absolute';
	popup_div.style.border = 'none';
	var base_width=172*4+25;

	var base_height=100*4+30+10+4;
	if (matrix_npages>1) 
		base_height+=30;
	popup_div.style.width = base_width+'px';
	popup_div.style.height = base_height+'px';
	popup_div.style.fontFamily='Trebuchet MS,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Tahoma,Geneva,Arial,helvetica,sans-serif';
	popup_div.style.zIndex = '10000';

	// CENTER SCREEN
	var arrayPageSize = getPageSize();
	var arrayPageScroll = getPageScroll();
	var popup_top = arrayPageScroll[1] + ((arrayPageSize[3] -base_height) / 2);
	var popup_left = arrayPageScroll[0] +((arrayPageSize[0] - base_width) / 2);
	if (popup_top<0)
		popup_top=0;
	if (popup_left<0)
		popup_left=0;
	popup_div.style.position = 'absolute';
	popup_div.style.top = popup_top + 'px';
	popup_div.style.left = popup_left + 'px';


	
	var vid_html='';
	vid_html+='<div style="padding:0px;position:relative;border:2px #CCC solid;background-color:white;width:'+(base_width-4)+'px;height:'+(base_height-4)+'px;">';
	vid_html+='<br style="display:none;"/><style type="text/css">	\
		.pages {padding:2px 0 2px 8px; margin:0; clear:both;font-size:12px;} \
			.pages span.pageblock {border: 1px solid #888; color:#000; height: 12px; padding: 3px 6px;margin: 0px 4px 0px 0px;cursor: pointer;cursor:hand;}\
			.pages span.pageblock:hover {color:#D10101;text-decoration:underline;}	\
			.pages span.pageblock_disabled {border: 1px solid #888; color: #aaa; height: 12px; padding: 3px 6px;margin: 0px 4px 0px 0px;}\
			.pages span.pageblock_dots {border: 0px solid #888; color: #000; height: 12px; padding: 3px 6px;margin: 0px 4px 0px 0px;}\
			.pages span.pageblock_curpage {border: 1px solid #888; color: #aaa; height: 12px; padding: 3px 6px;margin: 0px 4px 0px 0px;}\
		</style>';
	vid_html+=	'<div onclick="closepopup_7097();" style="position:absolute;top:7px;right:8px;cursor:pointer;cursor:hand;background:url(http://beta.yubby.com/img/icon_bw_close22.png) no-repeat;width:24px;height:24px;z-index:10000;"></div>';
	vid_html+=	'<div style="position:absolute;top:8px;left:15px;color:#888;font-size:15px;overflow:hidden;width:'+(base_width-50)+'px;">Tedx Amsterdam 20 november #tedxams</div>';
	vid_html+=	'<div style="margin:30px 10px 10px 10px;" id="mxs_7097">';
	// for (var i=0,cv=0;i<cvids_7097.length && cv<16;i++) { 
	// 		vid_html+=  vidthumbhtmlSmall_7097(i);
	// 		cv++;
	// 	}
	// 	vid_html+=  '<div style="clear:both;"></div>';
	// 
	// 	if (matrix_npages>1) {
	// 		vid_html+=  '<div style="margin:10px 0px">'+paginationhtml_7097(matrix_curpg, matrix_npages)+'</div>';
	// 	}
	vid_html+=	'</div>';
	vid_html+=  '<div style="clear:both;"></div>';
	vid_html+='</div>';
					
	popup_div.innerHTML=vid_html;
	document.body.appendChild(popup_div);
	gotopage_7097(matrix_curpg);
}


function closeembed_7097() {
  el = document.getElementById('iembed_7097');
  if (el) {
    el.parentNode.removeChild(el);
  } 
}
function toggleembed_7097() {
	el = document.getElementById('iembed_7097');
	if (el) 
		closeembed_7097();
	else
		showembed_7097();
}

function showembed_7097() {
	// close old one
	closeembed_7097();
	// open new
	var popup_div = document.createElement('div');
	var title='embed';
	popup_div.id = "iembed_7097";
	popup_div.style.position = 'absolute';
	popup_div.style.border = 'none';
	var base_width=520;

	var base_height=90;
	popup_div.style.width = base_width+'px';
	popup_div.style.height = base_height+'px';
	popup_div.style.fontFamily='Trebuchet MS,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Tahoma,Geneva,Arial,helvetica,sans-serif';
	popup_div.style.zIndex = '10000';
	popup_div.style.position = 'absolute';
	popup_div.style.bottom = '38px';
	popup_div.style.left = '10px';


	
	var vid_html='';
	vid_html+='<div style="width:510px; height:'+(base_height-10).toString()+'px; border:3px solid #BBB;padding:5px; background-color:#fff;color:#000;">';
	vid_html+='<div onclick="closeembed_7097();" style="position:absolute;top:7px;right:0px;cursor:pointer;cursor:hand;background:url(http://beta.yubby.com/img/icon_bw_close22.png) no-repeat;width:24px;height:24px;z-index:10000;"></div>';
	vid_html+='<div style="font-face:Arial, Helvetica;font-size:10px; margin:10px 0 0 0;">';
	vid_html+='<div style="padding-bottom:3px;"><div style="float:left;width:40px;">URL:</div><input type="text" onclick="this.focus();this.select();" style="border: 0pt none ; background-color: #ccc; width: 440px; font-size: 9px; height: 15px;" value="http://beta.yubby.com/channel/player/15002/first"></div>';
	vid_html+='<div style=""><div style="float:left;width:40px;">Embed:</div><textarea rows=2 cols=100 onclick="this.focus();this.select();" style="border: 0pt none ; background-color: #ccc; width: 440px; font-size: 9px; height: 40px;">&lt;div id=&quot;viidoo_solo_92&quot;&gt&lt;/div&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;http://beta.yubby.com/widget/solojs/15002/92/width:550/height:375/skin:clean&quot;&gt;&lt;/script&gt;</textarea></div>';	
	vid_html+='</div>';

	vid_html+='</div>';	
	popup_div.innerHTML=vid_html;
	
	em = document.getElementById('widget_flash_7097');
	if (em) {
    	em.appendChild(popup_div);
	} 
}


// utf8 to string conversions
var escapable = /[\\\"\x00-\x1f\x7f-\uffff]/g,
    meta = {    // table of character substitutions
        '\b': '\\b',
        '\t': '\\t',
        '\n': '\\n',
        '\f': '\\f',
        '\r': '\\r',
        '"' : '\\"',
        '\\': '\\\\'
    };

function utf8quote(string) {
	// If the string contains no control characters, no quote characters, and no
	// backslash characters, then we can safely slap some quotes around it.
	// Otherwise we must also replace the offending characters with safe escape
	// sequences.

    escapable.lastIndex = 0;
    return escapable.test(string) ?
        '"' + string.replace(escapable, function (a) {
            var c = meta[a];
            return typeof c === 'string' ? c :
                '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
        }) + '"' :
        '"' + string + '"';
}




