//chart2.js for channel 6954 / widget 828 / 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://www.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_828= new Array();	// channelvideo's
var curvid_828=0;			// first video
var cpvideo_828=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/yubbyp_v1/img/widget/chart2/iconprev24ov.png";
img1_ou.src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconprev24.png";
img1_d.src ="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconprev24d.png";
img2_ov.src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconnext24ov.png";
img2_ou.src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconnext24.png";
img2_d.src ="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconnext24d.png";

var wgElm_828 = document.getElementById('viidoo_chart2_828');
if (wgElm_828) {
	vp_createwg();
}

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

function vp_createwg() {
	var html='<div id="widget_flash_828" 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_828.push({vid:59975, thumb: 'http://a.images.blip.tv/Vincente-NicoletteVinkFestivalDirectorPicnicWomenAreMuchBetterAt653-209.jpg', title: 'Nicolette Vink: Women are much better at organizing then man, Festival director Picnic,', desc: 'Nicolette is happy the week after picnic. After a wild simmer with lots of challenges Picnic09 went smooth. The team of picnic consist of 1 man and 9 women. Why? Because women are just much better at this.'});
	cvids_828.push({vid:59974, thumb: 'http://a.images.blip.tv/Vincente-GianFrancoManagerPicnicNetworkorgAboutYubby141-654.jpg', title: 'GianFranco manager PicnicNetwork.org about Yubby', desc: ''});
	cvids_828.push({vid:58034, thumb: 'http://a.images.blip.tv/Vincente-MarleenStikkerEvalueerdPicnic09428-524.jpg', title: 'Marleen Stikker evalueert #Picnic09, inhoud, financieen, organisatie', desc: 'Wat vond Marleen Stikker, directeur Waag.org en oprichter samen met Bas Verhart van Picnic van de 4e 2009 picnic versie? Welke sprekers waren interessant? Hoe ging de organisatie? Hoeveel geld verdiende ze ermee deze keer? Wel % is subsidie? En wat kunnen we voor volgend jaar verwachten?'});
	cvids_828.push({vid:59157, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/273/790/27379015_640.jpg', title: '#hekje @ PICNIC 2009 woensdag 23/9 Frankwatching', desc: '#hekje brengt verslag uit van PICNIC 2009, dag 1.'});
	cvids_828.push({vid:59156, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/273/849/27384903_640.jpg', title: '#hekje @ PICNIC 2009 donderdag 24/9 Frankwatching', desc: '#hekje brengt verslag uit van PICNIC 2009, dag 2.'});
	cvids_828.push({vid:57473, thumb: 'http://i.ytimg.com/vi/EyDoxhxDaDA/0.jpg', title: 'Prize ceremony Vodafone Mobile Clicks 2009', desc: 'The grand finale of the Vodafone Mobile Clicks 2009 during Picnic conference in Amsterdam. Michiel Frackers hosted the entire afternoon, Vodafone\'s CEO Netherlands Jens Schulte-Bockum gives away the prizes and the money to Layar (1), Mobypicture (2) and Woobius (3).'});
	cvids_828.push({vid:59155, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/273/871/27387177_640.jpg', title: '#hekje @ PICNIC 2009 vrijdag 25/9 Frankwatching', desc: '#hekje brengt verslag uit van PICNIC 2009, dag 3.'});
	cvids_828.push({vid:57398, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/267/047/26704775_640.jpg', title: 'Nicolas Negroponte @ #picnic09', desc: ''});
	cvids_828.push({vid:57472, thumb: 'http://a.images.blip.tv/Vincente-mohanmadNajemAboutWeb20InTheArabicWorld826-154.jpg', title: 'mohanmad Najem about web2.0 in the arabic world', desc: 'mohanmad Najem was an interesting picnic09 speaker and talks about the role of the web in the arabic world. Examples from Egypt, Iran, Israel. 33% of the population is connected and it is starting to influence dictatorships although people are still tortured for their facebook password.'});
	cvids_828.push({vid:57471, thumb: 'http://a.images.blip.tv/Vincente-JensSchulteBockumCEOVodafoneAboutMobileClickWinnarLayar154-448.jpg', title: 'Jens Schulte-Bockum CEO Vodafone about Mobile click winnar Layar', desc: 'Jens Schulte-Bockum is the CEO of Vodafone. How is it as a german to run the 2nd biggest telecom company? What did he think of the mobile click competition and about the winner Layar? And further, how is the legacy telecom business doing (voice/sms!) and will mobile internet make up for it?'});
	cvids_828.push({vid:57454, thumb: 'http://i.ytimg.com/vi/hu_LY8nFDkQ/0.jpg', title: 'Layar wins #picnic2009 movie', desc: 'Verstuurd vanaf mijn 3G iPhone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57470, thumb: 'http://a.images.blip.tv/Vincente-RichardTitusJuryMemberMobileClicksOnLayer618-420.jpg', title: 'Richard Titus, jury member Mobile clicks on layer', desc: 'Richard Titus started Laserfisch, the biggest online design company and the #2. Now he works at a 3 billion dollar Daily Mail General Trust as business innovation and he is the producer of the movie \'who killed the electronic car\' and has a passion for green. His opinion about layer, the mobile startup industry and how to change an old media company'});
	cvids_828.push({vid:57469, thumb: 'http://a.images.blip.tv/Vincente-MichielFrackersOverMobileClicksLayarPicnic09462-541.jpg', title: 'Michiel Frackers over Mobile Clicks \& Layar #picnic09', desc: 'Michiel Frackers praat over the state of the mobile industry en vergelijkt het met zijn hoogtijdagen toen planet met internet begon the de breedband revolutie. Hij vertelt wat hij van Layar, de winnaar van mobile clicks vind en wat hij nu voor een investeringen doet. Ook wordt nog even het 925 behandellen van het rabo filmpje besproken.'});
	cvids_828.push({vid:57464, thumb: 'http://i.ytimg.com/vi/_-smCFsa-hg/0.jpg', title: '@renn is presenting mynameisE. Every month an application', desc: 'Verstuurd vanaf mijn 3G iphone #picnic Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57458, thumb: 'http://i.ytimg.com/vi/ocBy9IKLWWk/0.jpg', title: '@rummble presenta at #picnic09 recommendations of fysical...', desc: 'Verstuurd vanaf mijn 3G iPhone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57575, thumb: 'http://a.images.blip.tv/Justinkahn-TheAlJazeeraTwitterStrategyAtThe140CharacterConference853-990-464.jpg', title: 'The Al Jazeera Twitter Strategy at the 140 character conference - day 1', desc: '\nMoeed Ahmad (@moeed) - Head of New Media Technology and Future Media Department Technology Division, Al Jazeera Network The Al Jazeera Twitter Strategy at the 140 character conference in New York - day 1 June 16, 2009\n'});
	cvids_828.push({vid:57460, thumb: 'http://i.ytimg.com/vi/mD6spsY4OpI/0.jpg', title: 'Interview studio sophisti Picnic09', desc: ''});
	cvids_828.push({vid:57395, thumb: 'http://a.images.blip.tv/Vincente-TjeertHoekExChiefDesignerMicrosoftTerugInNLPicnic09901-351.jpg', title: 'Tjeert Hoek ex chief designer Microsoft terug in NL #picnic09', desc: 'Tjeert hoek was de grote designer achter microsoft vista. Direct naar het shippen van Vista ging hij naar Frog Design en is nu terug in Nederland. Volgens hem is zijn werk duidelijk te zien in Windows 7 dat binnenkort gaat shippen. Waarom komt hij terug naar NL?'});
	cvids_828.push({vid:57459, thumb: 'http://i.ytimg.com/vi/U-fwGZOeOkc/0.jpg', title: '090924 picnic at night', desc: 'The Netherlands, Amsterdam, Westergasfabriek picnic at night, picnic09 ... The Netherlands Amsterdam Westergasfabriek picnic at night picnic09 '});
	cvids_828.push({vid:57465, thumb: 'http://i.ytimg.com/vi/gOKdvnzJ3yA/0.jpg', title: 'Robin chase @rmchase on THE segway', desc: 'Verstuurd vanaf mijn 3G iphone #picnic Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57301, thumb: 'http://a.images.blip.tv/Vincente-RobinChaseRmchaseGreenChallangeIdeaPicnic09217-594-911.jpg', title: 'Robin Chase @rmchase green challange idea picnic09', desc: '\nRobin started www.Zipcars.com where 300.000 share 6000 cars (greenwheels like). She has a brilliant idea for the greenchanllange at #picnic09\n'});
	cvids_828.push({vid:57461, thumb: 'http://i.ytimg.com/vi/fMnTbq7Rpxk/0.jpg', title: '#HEKJE @ #PICNIC09 DONDERDAG 24/9', desc: '#HEKJE @ #PICNIC09 DONDERDAG 24/9 Live verslag picnic09'});
	cvids_828.push({vid:57462, thumb: 'http://i.ytimg.com/vi/lG2z3CX-k9s/0.jpg', title: '3D Layar Tour op PICNIC 2009', desc: 'Marco Langendam bekijkt de virtuele 3D windmolens in Layar tijdens PICNIC09 ... PICNIC Layar '});
	cvids_828.push({vid:57397, thumb: 'http://i.ytimg.com/vi/mD6spsY4OpI/0.jpg', title: 'Interview studio sophisti Picnic09', desc: ''});
	cvids_828.push({vid:57399, thumb: 'http://i.ytimg.com/vi/lKf61kjV-4g/0.jpg', title: '#picnic09 jury introduction during mobile click', desc: 'Verstuurd vanaf mijn 3G iPhone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57401, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/267/043/26704345_640.jpg', title: 'Nicolas Negroponte @ PICNIC09', desc: ''});
	cvids_828.push({vid:57455, thumb: 'http://i.ytimg.com/vi/aMoesX4POfk/0.jpg', title: 'GoWeb3D Augmented Reality on Layar Reality Browser', desc: 'Dave Elchoness of GoWeb3D demonstrates augmented reality, AR, layers on the Layar Reality Browser from Boulder, Colorado, USA. Layers demonstrated include Yelp, Wikipedia, FlickAR, Eat, Drink. Layers developed by GoWeb3D include Yelp, Wikipedia, FlickAR, Mazda, Eat, Drink, UDR Apartment Search, Syracuse University iSchool.'});
	cvids_828.push({vid:57396, thumb: 'http://a.images.blip.tv/Vincente-DeEbookOpHetJournaalOp3240909328-579.jpg', title: 'De E-book op het Journaal op 3 | 24-09-09', desc: 'Vincent Everts laat de voordelen van de E-book zien in het Journaal op 3!'});
	cvids_828.push({vid:57457, thumb: 'http://i.ytimg.com/vi/GsxswDBm4oA/0.jpg', title: 'Brad Pitt gespot met de bn-er verkenner op Editie NL', desc: 'Met de bn-er verkenner op je smartphone kun je blijkbaar niet alleen bekende nederlanders vinden. Tijdens het opnemen van een review in Amsterdam kwamen de mannen van Besteproduct.nl niemand minder dan Brad Pitt tegen. ------ Brad Pitt besteproduct.nl bekende nederlander rtl4 editie nl review samsung galaxy celebs vipspotting vip layar ... Brad Pitt besteproduct.nl bekende nederlander rtl4 editie nl review samsung galaxy celebs vipspotting vip layar '});
	cvids_828.push({vid:57400, thumb: 'http://i.ytimg.com/vi/uMUWWp4SuUo/0.jpg', title: 'Interview at PICNIC09 Young', desc: 'www.tvents.nl'});
	cvids_828.push({vid:57304, thumb: 'http://i.ytimg.com/vi/-Rp8ndVhcNQ/0.jpg', title: 'picnic09 marketingfacts', desc: ''});
	cvids_828.push({vid:57303, thumb: 'http://a.images.blip.tv/Vincente-GerdLeonhardMediaFuturisThe3TrendsWeNeedToWatch262-976-946.jpg', title: 'Gerd Leonhard MediaFuturis, the 3 trends we need to watch', desc: '\nGerd Leonhard is a media futuris. He talkes about the 3 things which wakes him up in the morning. 1) the end of closed garden in telecom, 2) different bussiness\n'});
	cvids_828.push({vid:57316, thumb: 'http://a.images.blip.tv/Vincente-FutureOfEbooksPicnic09620-126.jpg', title: 'Future of Ebooks? #picnic09', desc: 'Iemand van de NOS maakte een item over de toekomst van Ebooks en interviewde me tijdens Picnic09. Hij gaat op een persoonlijke zoektocht, is het wat voor mij?'});
	cvids_828.push({vid:57314, thumb: 'http://i.ytimg.com/vi/cXg9_1nn-MQ/0.jpg', title: 'Interview with Harold Schellinx about RjDj', desc: 'www.tvents.nl'});
	cvids_828.push({vid:57312, thumb: 'http://i.ytimg.com/vi/B7DV7LhruB8/0.jpg', title: 'woensdag live deel 1 met geluid', desc: ''});
	cvids_828.push({vid:57313, thumb: 'http://i.ytimg.com/vi/WvgbnVVekRY/0.jpg', title: 'Interview about Studio Klokhuis (dutch)', desc: 'Interview made in the PICNIC YOUNG room at PICNIC09 www.tvents.nl'});
	cvids_828.push({vid:57300, thumb: 'http://a.images.blip.tv/Vincente-MijnEersteIndrukVanDeKodakZi8WowPicnic09433-656-288.jpg', title: 'Mijn eerste indruk van de kodak Zi8 Wow #picnic09', desc: '\nVoor \&#8364;150 euro heb je een HD camera met externe microfoon aansluiting en 5 mpix foto camera\n'});
	cvids_828.push({vid:57302, thumb: 'http://a.images.blip.tv/Vincente-MarcJoostenStartteWwwautonlPicnic09100-508-789.jpg', title: 'Marc Joosten startte www.auto.nl #picnic09', desc: '\nMarc Joosten (ex funda) heeft auto.nl gestart waar je oude lease auto\'s kunt kopen. Hij heeft er na 3 weken 25 verkocht. Een trend?\n'});
	cvids_828.push({vid:57311, thumb: 'http://i.ytimg.com/vi/oeUbwYvAAv4/0.jpg', title: 'Part of the Electronic instruments conference', desc: 'You can find more info about this video on: tvents.nl'});
	cvids_828.push({vid:57310, thumb: 'http://i.ytimg.com/vi/cjJtXaoLCSU/0.jpg', title: 'TVents 3D Printer', desc: 'tvents 3D Printer'});
	cvids_828.push({vid:57309, thumb: 'http://i.ytimg.com/vi/UkNRhBFZ-ro/0.jpg', title: 'Atmosphere PICNIC09', desc: 'www.tvents.nl'});
	cvids_828.push({vid:57308, thumb: 'http://i.ytimg.com/vi/0Y7gYC9He4w/0.jpg', title: 'Interview Mitch Wolters about TVents at PICNIC09', desc: 'www.tvents.nl'});
	cvids_828.push({vid:57299, thumb: 'http://a.images.blip.tv/Vincente-GerdLeonardTalkesAboutHisYubbyLovePicnic09554-420-975.jpg', title: 'Gerd Leonard talkes about his Yubby love #picnic09', desc: '\nGerd Leonard is media Futurist. He stumbled on http://www.yubby.com/u/gleonhard and created his own channels. What does he thing of yubby (my own company)\n'});
	cvids_828.push({vid:57307, thumb: 'http://i.ytimg.com/vi/7PAG25Q9xvA/0.jpg', title: 'Teun Film01 picnic', desc: ''});
	cvids_828.push({vid:57178, thumb: 'http://a.images.blip.tv/Vincente-VodafoneIntroduceert360GradenDienst112-282.jpg', title: 'Vodafone introduceert 360 graden dienst', desc: ''});
	cvids_828.push({vid:57175, thumb: 'http://a.images.blip.tv/Vincente-RoelandStekelenburgOpPicnic09OverTVOpInternet936-663.jpg', title: 'Roeland Stekelenburg op #picnic09 over TV op internet', desc: 'Roeland heeft een goed jaar achter de rug. Veel waardering voor zijn olympische spelen website met 12 kanalen waar 3.6 miljoen mensen naar keken. Mijn vraag aan hem, wanneer ga je je bezig houden met het retour kanaal? Krijg ik een NOS journaal op maat over 10 jaar? Nee joh! Veel eerder '});
	cvids_828.push({vid:57169, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/264/511/26451119_640.jpg', title: 'Marco Streefkerk, Digitaal Erfgoed Nederland', desc: 'o.a. over digitaal rondlopen door 17e eeuws Amsterdam'});
	cvids_828.push({vid:57172, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/263/328/26332852_640.jpg', title: 'PICNIC HOT100 Introduction: Timen Olthof', desc: 'This is my video introduction for the Picnic09 HOT100 Academy.'});
	cvids_828.push({vid:57168, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/264/810/26481086_640.jpg', title: 'Marc Canter - How to build a digital city at Picnic09', desc: 'Marc Canter, former founder and CEO of Macromedia talking about his latest project in Cleveland; digital city focussing on creating digital immigrants out of old economy workers. Marc hosted a session (The Digital City) at Picnic Amsterdam 2009 (www.picnicnetwork.org)'});
	cvids_828.push({vid:57167, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/264/777/26477758_640.jpg', title: 'Picnic \'09 - Microsoft surface tables', desc: 'Some impressions from the first day.\n\nAt the Picnic 2009 conference in Amsterdam there a handful of Microsoft surface tables, most of them uses to play games like the PICNIC Marble competition.'});
	cvids_828.push({vid:57165, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/264/925/26492502_640.jpg', title: 'Picnic \'09 - Frank Bald\u00e9 (Steim) using the Wii Remote as instrument', desc: 'Frank Bald\u00e9 from Steim is showing how the Wii Remote can be used as a music instrument (of course in combination with some software).\n\nhttp://www.steim.org/steim/'});
	cvids_828.push({vid:57164, thumb: 'http://i.ytimg.com/vi/kGcm8qrAUrc/0.jpg', title: 'Picnic09 ambience', desc: ''});
	cvids_828.push({vid:57179, thumb: 'http://i.ytimg.com/vi/JqZVZ7ruUlc/0.jpg', title: '@Patrick met zijn nieuwe Kodak zi8. Hd met ext jack #picnic', desc: 'Snel,goedkoop,externe Mike, lichtgevoelig'});
	cvids_828.push({vid:57163, thumb: 'http://i.ytimg.com/vi/T_FEgJ83D3A/0.jpg', title: 'PICNIC09 Microsoft', desc: 'Short impression of the Microsoft area #picnic09'});
	cvids_828.push({vid:57042, thumb: 'http://a.images.blip.tv/Vincente-LindaStoneBeyondContinuousPartialAttention169-35.jpg', title: 'Linda Stone beyond \"continuous partial attention\"', desc: 'How did Linda\'s thinking evolve after her famous \"continuous partial attention\" quote? How can we survive all this media and specially Twitter!'});
	cvids_828.push({vid:57162, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/265/031/26503134_640.jpg', title: 'Demonstratie Layar Augmented Reality 3D op Picnic 2009', desc: 'Demonstratie Layar Augmented Relity 3D op Picnic 2009 met   een van de oprichters van Layar: Claire Boonstra.'});
	cvids_828.push({vid:57176, thumb: 'http://a.images.blip.tv/Vincente-PatrickDeLaiveOverTheNextWebOpPicnic09709-272.jpg', title: 'Patrick de Laive over the next web op #picnic09', desc: 'Wat vind patrick van #picnic09.'});
	cvids_828.push({vid:57161, thumb: 'http://i.ytimg.com/vi/0sp2go1rMQc/0.jpg', title: 'Hacking the Nintendo Wii into an Instrument', desc: 'STEIM\'s Frank Balde at Picnic 09 #picnic09 Turns the Nintendo Wii controller into a musical instrument ... STEIM Picnic09 wii nintendo \"wii hacks\" '});
	cvids_828.push({vid:57160, thumb: 'http://i.ytimg.com/vi/KRqwWUIA8G4/0.jpg', title: 'InHolland conferance @ Picnic09', desc: ''});
	cvids_828.push({vid:57159, thumb: 'http://i.ytimg.com/vi/oeUbwYvAAv4/0.jpg', title: '23 09 09 Picnic09 Electronic instruments', desc: ''});
	cvids_828.push({vid:57158, thumb: 'http://a.images.blip.tv/Vincente-VodafoneIntroduceert360GradenDienst112-282-760.jpg', title: 'Vodafone introduceert 360 graden dienst', desc: '\n\n'});
	cvids_828.push({vid:57043, thumb: 'http://i.ytimg.com/vi/PGY-BWoWnYw/0.jpg', title: '#Picnic09 ideo presentatie. How to creative intuitive user interfaces.', desc: 'Verstuurd vanaf mijn 3G iphone #picnic Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57050, thumb: 'http://i.ytimg.com/vi/Sd6uxzntTHo/0.jpg', title: 'Oliver Dudik van Heel talkes about the Lewis pound during Picnic09', desc: 'Why does Lewis, an Sussex town (UK) start printing their own money, only to be accepted in the town? To focus on local economy. The distortion of the international financial system gives way to 5000+ local currencies who do not want to be dependend. Still small but they have patience. How does it work? Oliver Dudik van Heel explains'});
	cvids_828.push({vid:57055, thumb: 'http://i.ytimg.com/vi/pnkfTFjgpNg/0.jpg', title: 'Liveshow Tvents @ Picnic woensdag deel 1', desc: 'Picnic09 #picnic09 Picnic Tuktuk GNR8 tvents Tvents09 Amstredam Westergasterein Confrence Helemaalloos ... Picnic09 #picnic09 Picnic Tuktuk GNR8 tvents Tvents09 Amstredam Westergasterein Confrence Helemaalloos '});
	cvids_828.push({vid:57049, thumb: 'http://i.ytimg.com/vi/Bi2GNsss--w/0.jpg', title: '#picnic09 impressie van het mediamatic hackerscamp. 8 app...', desc: 'Verstuurd vanaf mijn 3G iphone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57048, thumb: 'http://i.ytimg.com/vi/8ioJFMKJy0Y/0.jpg', title: 'Iktrek tijdens #picnic09 wie het grootste virtuele netwer...', desc: 'Verstuurd vanaf mijn 3G iphone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57046, thumb: 'http://i.ytimg.com/vi/_m_IlZHhUtk/0.jpg', title: '#picnic09 the arabic web. Update over de pr war tussen Is...', desc: 'Verstuurd vanaf mijn 3G iphone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57045, thumb: 'http://a.images.blip.tv/Vincente-OliverDudikVanHeelTalkesAboutTheLewisPoundDuringPicnic957-532.jpg', title: 'Oliver Dudik van Heel talkes about the Lewis pound during Picnic09', desc: 'Why does Lewis, an Sussex town (UK) start printing their own money, only to be accepted in the town? To focus on local economy. The distortion of the international financial system gives way to 5000+ local currencies who do not want to be dependend. Still small but they have patience. How does it work? Oliver Dudik van Heel explains'});
	cvids_828.push({vid:57054, thumb: 'http://i.ytimg.com/vi/8tltO-3LkDg/0.jpg', title: 'Liveshow Tvents @ Picnic woensdag deel 2', desc: 'Picnic09 #picnic09 Picnic Tuktuk GNR8 tvents Tvents09 Amstredam Westergasterein Confrence Helemaalloos ... \"Picnic09 #picnic09\" Picnic Tuktuk GNR8 tvents Tvents09 Amsterdam Westergasterein Confrence Helemaalloos '});
	cvids_828.push({vid:57093, thumb: 'http://i.ytimg.com/vi/cXg9_1nn-MQ/0.jpg', title: '23-09-09 RjDj Interview', desc: ''});
	cvids_828.push({vid:56922, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/264/316/26431698_640.jpg', title: 'Picnic09 Augmented City Lab', desc: 'Waag Society, 7scenes and Layar will host a one-day Augmented City Lab at PICNIC. The Lab focuses on near-future scenarios for mobile location-aware services. Services that will strongly impact the way we experience the city and create new possibilities for fields such as tourism, cultural heritage, transport and entertainment. In a public \u201cshow\&tell\u201d-session current state-of-the-art practices are showcased and a panel of local and international experts will discuss the opportunities for the Augmented City.'});
	cvids_828.push({vid:56948, thumb: 'http://a.images.blip.tv/Vincente-MaartenFitzgeraldOverLayar3DLaunch731-137.jpg', title: 'Maarten Fitzgerald over Layar 3D launch layar during picnic09', desc: 'Maarten Fitzgerald is one of the founders of Layar which is conquering the world with there augmented reality application. Today they introduced 3D augmented reality. One year ago he was battling cancer, today he is on top of the world. How do you cope with change like that?'});
	cvids_828.push({vid:57084, thumb: 'http://i.ytimg.com/vi/2kr6pnXnfxg/0.jpg', title: 'Picnic09 met de live show van GNR8', desc: 'Op Picnic 09 zal GNR8 met tvents live verslag doen van het festival doormiddal van een TukTuk!! ... Picnic09 #picnic09 Picnic Tuktuk GNR8 tvents Tvents09 Amstredam Westergasterein Confrence Helemaalloos '});
	cvids_828.push({vid:57057, thumb: 'http://i.ytimg.com/vi/TPJUGJ3mEOo/0.jpg', title: 'Picnic09 wednesday', desc: ''});
	cvids_828.push({vid:57085, thumb: 'http://i.ytimg.com/vi/phwHXF1pkeE/0.jpg', title: 'Tvents interviews Mitch Wolters', desc: 'Tvents interviews the producer of tvents09'});
	cvids_828.push({vid:56949, thumb: 'http://a.images.blip.tv/Vincente-HackerscampPicnic09CreatedRfidRealityGames426-841.jpg', title: 'Hackerscamp #picnic09 created rfid reality games', desc: '5 days before Picnic09 30 teams dreamed up RFID reality applications and developed experiences which combined fysical reality, the rfid every visitor of picnic gets and the reputation people have on the internet. In 5 days and night these teams created 8 interesting examples. Take a look at 4 of them.'});
	cvids_828.push({vid:57051, thumb: 'http://i.ytimg.com/vi/UfvQcbfsK_U/0.jpg', title: '#picnic09 impressie uit de gashouder. Sfeertje hier', desc: 'Verstuurd vanaf mijn 3G iphone Share your adventures realtime with your friends mobypicture.com'});
	cvids_828.push({vid:57052, thumb: 'http://i.ytimg.com/vi/ntzm4ONiqBU/0.jpg', title: 'PICNIC09: The Connected Body', desc: 'Chee Yee explains what \'The Connected Body\' session at PICNIC is all about.'});
	cvids_828.push({vid:57086, thumb: 'http://i.ytimg.com/vi/-MD-CfUxc6I/0.jpg', title: '22-09-09 building up picnic TVents', desc: ''});
	cvids_828.push({vid:57053, thumb: 'http://i.ytimg.com/vi/noJud8dcx1Q/0.jpg', title: 'Picnic09', desc: ''});
	cvids_828.push({vid:57059, thumb: 'http://i.ytimg.com/vi/RCz203H_Gu0/0.jpg', title: 'TVents PICNIC09 - Promo', desc: 'Check: www.tvents.nl TVents is a crossmedia platform run by GNR8, the student-company of INHolland University. TVents visits events like Picnic that are related to innovations in media.'});
	cvids_828.push({vid:57060, thumb: 'http://i.ytimg.com/vi/oygoRWrL1So/0.jpg', title: 'PICNIC09: Why Partners are Cool', desc: 'Liz tells something about Picnic\'s partners like Coolhunting.com'});
	cvids_828.push({vid:57061, thumb: 'http://i.ytimg.com/vi/Zu189-yFMMc/0.jpg', title: 'PICNIC09: Picnic Young', desc: 'Liz explains what PICNIC Young is.'});
	cvids_828.push({vid:57062, thumb: 'http://i.ytimg.com/vi/eC5wRMgTeKA/0.jpg', title: 'PICNIC09: How Pete Molyneux will interlude the Game programme', desc: 'An entire segment on PICNIC09 will deal with the Gaming industry. Kitty explains why Pete Molyneux was a speaker that could not be missed.'});
	cvids_828.push({vid:57063, thumb: 'http://i.ytimg.com/vi/v6024RhQ0rc/0.jpg', title: 'PICNIC09: Keynotespeaker Zimbardo', desc: 'Gianfranco tells al little bit about the presentation Zimbardo is going to give at PICNIC09.'});
	cvids_828.push({vid:57064, thumb: 'http://i.ytimg.com/vi/qB-UMCjvKIs/0.jpg', title: 'PICNIC09: Keynote Speaker Niklas Zennstr\u00f6m', desc: 'We all know him from Kazaa, Skype and Joost, Liz explains us why you need to go see Zennstr\u00f6m new projects at PICNIC09.'});
	cvids_828.push({vid:57065, thumb: 'http://i.ytimg.com/vi/zZk4Ypp-C9A/0.jpg', title: 'PICNIC: Molyneux the Game God', desc: 'A huge fan himself, Gianfranco can\'t wait to see Pete Molyneux live at PICNIC09. ... picnic amsterdam 2009 picnic09 dutchcowgirls molyneux games '});
	cvids_828.push({vid:57066, thumb: 'http://i.ytimg.com/vi/XLK_5_5y0zE/0.jpg', title: 'PICNIC09: Linda Stone will explain how breathing changes the way we communicate', desc: 'Gianfranco explains why Linda is going to give us deaper insights on breathing during PICNIC09.'});
	cvids_828.push({vid:57067, thumb: 'http://i.ytimg.com/vi/cjX1GOKzFmc/0.jpg', title: 'PICNIC09: Picnic Academy', desc: 'Kitty tells about the Picnic Academy.'});
	cvids_828.push({vid:57068, thumb: 'http://i.ytimg.com/vi/1kM9fkqHY6w/0.jpg', title: 'PICNIC09: Ignite', desc: 'Gianfranco explains what the Ignite sessions are, and how you can participate.'});
	cvids_828.push({vid:57069, thumb: 'http://i.ytimg.com/vi/-xR3_oi9938/0.jpg', title: 'PICNIC09: About Kevin Slavin, the Green Challenge and Picnic at Night', desc: 'Nicolette tells a little something about Keynote Speaker Kevin Slavin, The PICNIC Green Challenge and the bi party after the event: PICNIC @ Night!'});
	cvids_828.push({vid:57070, thumb: 'http://i.ytimg.com/vi/5-bv6Gu8_2g/0.jpg', title: 'PICNIC09: Social Media Cases from the Middle East', desc: 'One of the speakers Chee Yee is most looking forward to at PICNIC09 is Mohamed Najem from Sharek961 because it\'s a great example of how Social Media has an even bigger impact on people\'s lives in middle-eastern countries like Lebanon.'});
	cvids_828.push({vid:57071, thumb: 'http://i.ytimg.com/vi/ntzm4ONiqBU/0.jpg', title: 'PICNIC09: The Connected Body', desc: 'Chee Yee explains what \'The Connected Body\' session at PICNIC is all about.'});
	cvids_828.push({vid:57072, thumb: 'http://i.ytimg.com/vi/LDQC-Un_jsQ/0.jpg', title: 'PICNIC09: Why you should go see Jeffrey Hayzlett\'s keynote', desc: 'Jeffrey Hayzlett is one of the keynote speakers at PICNIC09. Liz Keel from PICNIC explains why he is a must-see for all visitors.'});
	cvids_828.push({vid:57073, thumb: 'http://i.ytimg.com/vi/aDUrOXTpFIM/0.jpg', title: 'PICNIC09: About the Festival and Labs', desc: 'Besides a conference, PICNIC09 also has a festivalprogramme which - amongst others - includes the Labs. Micky from PICNIC explains what they are.'});
	cvids_828.push({vid:57074, thumb: 'http://i.ytimg.com/vi/NbDW0pq7ySM/0.jpg', title: 'PICNIC09: Atau Tanaka', desc: 'Loads of different artists and performers find their way to PICNIC09. Micky explains why Atau Tanaka is a musical wonder you should not miss.'});
	cvids_828.push({vid:57075, thumb: 'http://i.ytimg.com/vi/2GL13f4RG6o/0.jpg', title: 'PICNIC09: Why see keynotespeaker Nicholas Negroponte?', desc: 'Annemarie from PICNIC tells us why Nicholas Negroponte is her must-see speaker at PICNIC09.'});
	cvids_828.push({vid:57076, thumb: 'http://i.ytimg.com/vi/ub-a60Qtzpo/0.jpg', title: 'PICNIC09: What is the Picnic Club?', desc: 'What exactly is the Picnic Club during PICNIC09? Annemarie tells all.'});
	cvids_828.push({vid:57077, thumb: 'http://i.ytimg.com/vi/j5ixrMfIzsQ/0.jpg', title: 'PICNIC09: Vodafone Mobile Clicks', desc: 'Annemarie from PICNIC explains why Vodafone Mobile Clicks this year is even bigger and more international than last year\'s edition.'});
	cvids_828.push({vid:57078, thumb: 'http://i.ytimg.com/vi/4g93FqgJmSw/0.jpg', title: 'PICNIC09: Why you should go to the Picnic Dinner', desc: 'Rolinka from the PICNIC09 Team tells us why we should definately go to the dinner-slash-bbq at PICNIC.'});
	cvids_828.push({vid:57079, thumb: 'http://i.ytimg.com/vi/IlcVSTAaloU/0.jpg', title: 'PICNIC09: MediaMatic \& RFID Games', desc: 'Rolinka from PICNIC tells us about MediaMatic and the RFID stuff that is going to happen during the event.'});
	cvids_828.push({vid:57305, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/265/557/26555739_640.jpg', title: 'Picnic 09 - Jeffrey Hayzlett - CMO Eastman Kodak - Brand Transformation', desc: 'Chief Marketing Officer of Eastman Kodak Jeffrey Hayzlett giving a fantastic energizing presentation about the brand transformation of Kodak. Also check my blog (in Dutch) for more info: http://www.ayman.nl/blog.\nThis presentations was given at Picnic 09 in Amsterdam (#picnic09)'});
	cvids_828.push({vid:57306, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/265/608/26560888_640.jpg', title: '#HEKJE @PICNIC 09 WOENSDAG', desc: '#HEKJE @PICNIC 09 WOENSDAG Live Verslag'});
html+='<div id="thumb_828" style="width:407px;overflow:hidden;height:336px;background-color:#FFFFFF;position:relative;float:left;">';
html+=vidthumbhtml_828(curvid_828);
html+='</div>';
	html +='<div style="height:26px;width:126px;position:absolute;right:5px;">';
		//html +='<img onclick="showmatrix_828(0);" style="position:absolute;left:66px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconmatrix24.png" title="popup an overview with all videos"/>';
		html +='<img id="pgprev_828" onclick="gotopageoffset_828(-1);" style="position:absolute;left:0px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconprev24.png" onmouseover="oMouEv(this,true);" onmouseout="oMouEv(this,false);" title="scroll back"/>';
		//html +='<img onclick="playstop_828();" style="position:absolute;left:5px;top:20px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconstop24.png" title="stop"/>';
		//html +='<img onclick="playstart_828();" style="position:absolute;left:5px;top:30px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconplay24.png" title="play"/>';
		html +='<img id="pgnext_828" onclick="gotopageoffset_828(1);" style="position:absolute;left:66px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/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_828">';
			html+='<div id="mxs_828"  style="position:absolute;top:0px;background-color:#ffffff;"></div>';
			html+='<div id="mxs2_828" 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://www.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/yubbyp_v1/img/project/yubby/logo.png"></a>';
			//html +='<a target=_blank href="http://www.yubby.com/channel/player/6954/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_828();" src="http://www.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://www.yubby.com/channel/player/6954/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/>A video collection from PICNIC \'09</div></a>';
		html+='</div>';
	
	html+='</div></div>';	// margin and innerflash
	html+='<iframe src="http://www.yubby.com/util/ustat" width="0" height="0" border="no" frameborder="0"  style="border:0; visibility: hidden;"></iframe>';
	wgElm_828.innerHTML=html;
	wgElm_828.style.display = 'block';

	gotopage_828(matrix_curpg);	// 1
		
}

function playnext_828() {
	if (curvid_828 < cvids_828.length -1 ) {
		curvid_828++;
		if (cpvideo_828)
			playstart_828();	// we are playing video
		else {
			var thumbdiv=document.getElementById('thumb_828');
			thumbdiv.innerHTML=vidthumbhtml_828(curvid_828);
		}
	}
}
function playprev_828() {
	if (curvid_828 >0 ) {
		curvid_828--;
		if (cpvideo_828)
			playstart_828();	// we are playing video
		else {
			var thumbdiv=document.getElementById('thumb_828');
			thumbdiv.innerHTML=vidthumbhtml_828(curvid_828);
		}
	}
}

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

// show large thumb video still
function playstop_828(vnr) {
	if (vnr==null)
		vnr=curvid_828;
	else
		curvid_828=vnr;	// set the current
	cpvideo_828=false;
	var thumbdiv=document.getElementById('thumb_828');
	thumbdiv.innerHTML=vidthumbhtml_828(vnr);
}

// big thumbnail / player window
function vidthumbhtml_828(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_828[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_828[vnr].title)+'</div><div style="margin: 2px 5px; font-size:13px;line-height:13px;color:#ffffff;overflow:hidden;height:27px;"  title="'+htmlspecialchars(cvids_828[vnr].desc)+'">'+htmlspecialchars(cvids_828[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_828.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/yubbyp_v1/img/widget/chart2/videoplay100.png) no-repeat;" onClick="playstart_828();"></div>';
	return html;
}

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

// thumbs rechts
function vidthumbhtmlSmall_828(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_828('+vnr+')" title="'+htmlspecialchars(cvids_828[vnr].desc)+'" src="'+cvids_828[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/yubbyp_v1/img/widget/chart2/videoplay20.png) no-repeat;" onclick="playstart_828('+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_828[vnr].title)+'</div>';
			html+='</div>';
		return html;
}

// cp 1..npages
function paginationhtml_828(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_828('+(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_828('+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_828('+(cp+1)+');">Next &#187;</span>';
	else
		html+='<span class="pageblock_disabled">Next &#187;</span>';
	html+='</div>';
	return html;
}

function vidplayurl_828(vnr) {
	if (vnr==null)
		vnr=curvid_828;
	return 'http://www.yubby.com/channel/player/6954/'+cvids_828[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_828() {
  el = document.getElementById('ipopup_828');
  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_828') { 
		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_828') { 
		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_828') 
		butnext_mousein=mouseIn;
	if (oBut.id == 'pgprev_828') 
		butprev_mousein=mouseIn;
	stButImg(oBut);
}

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

function initpage_828() {
	matrix_npages= Math.ceil(cvids_828.length / matrix_itemspp);
}

function gotopage_828(pg) {
		
	if (!matrix_npages)
		initpage_828();
	if (pg<1)
		pg=1;
	if (pg>matrix_npages)
		pg=matrix_npages;
		
	oldpg=matrix_curpg;
	matrix_curpg=pg;
	var mxs=document.getElementById('mxs_828');
	var mxs2=document.getElementById('mxs2_828');
	//if (!mxs)	
	//	alert('mxs_828 niet gevonden');
	var html='';
	for (var i=(matrix_curpg-1)*matrix_itemspp,cv=0;i<cvids_828.length && cv<matrix_itemspp;i++) {
		html+=  vidthumbhtmlSmall_828(i);
		cv++;
	}
	//html+=  '<div style="clear:both;"></div>';
	//if (matrix_npages>1) {
	//	html+=  '<div style="margin:10px 0px">'+paginationhtml_828(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_828');
	if (el) 
		stButImg(el); // update nextbutton state

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

function gotopageoffset_828(offset) {	// 1 or -1
	if (matrix_npages==0)
		initpage_828();
	if (matrix_curpg+offset<0 || matrix_curpg+offset>matrix_npages) {
		gotopage_828(matrix_curpg);
		return 0;
	}
	gotopage_828(matrix_curpg+offset);
	return 1;
}

function showmatrix_828() {
	// close old one
	closepopup_828();

	matrix_npages= Math.ceil(cvids_828.length / 16);
	
	// open new
	var popup_div = document.createElement('div');
	var title='matrix';
	popup_div.id = "ipopup_828";
	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_828();" style="position:absolute;top:7px;right:8px;cursor:pointer;cursor:hand;background:url(http://www.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;">A video collection from PICNIC \'09</div>';
	vid_html+=	'<div style="margin:30px 10px 10px 10px;" id="mxs_828">';
	// for (var i=0,cv=0;i<cvids_828.length && cv<16;i++) { 
	// 		vid_html+=  vidthumbhtmlSmall_828(i);
	// 		cv++;
	// 	}
	// 	vid_html+=  '<div style="clear:both;"></div>';
	// 
	// 	if (matrix_npages>1) {
	// 		vid_html+=  '<div style="margin:10px 0px">'+paginationhtml_828(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_828(matrix_curpg);
}


function closeembed_828() {
  el = document.getElementById('iembed_828');
  if (el) {
    el.parentNode.removeChild(el);
  } 
}
function toggleembed_828() {
	el = document.getElementById('iembed_828');
	if (el) 
		closeembed_828();
	else
		showembed_828();
}

function showembed_828() {
	// close old one
	closeembed_828();
	// open new
	var popup_div = document.createElement('div');
	var title='embed';
	popup_div.id = "iembed_828";
	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_828();" style="position:absolute;top:7px;right:0px;cursor:pointer;cursor:hand;background:url(http://www.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://www.yubby.com/channel/player/6954/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://www.yubby.com/widget/solojs/6954/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_828');
	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 + '"';
}




