//matrix.js for channel 21755 / widget 250892 / cols 3 / rows 12 / skin clean 
// 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
// 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.dik.nl/',	// 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();
var isIE = /MSIE ((5\.5)|[6])/.test(navigator.userAgent) && navigator.platform == "Win32";

var cvids_250892= new Array();	// channelvideo's
var curvid_250892=0;			// first video
var cpvideo_250892=false;		// false=thumb, true=video

// in IE, you need to declare these before the vp_createwg is called, otherwise they do not exist in the onclick context
var matrix250892_curpg=1;
var matrix250892_npages=1;
var matrix250892_itemspp=36;

var wgElm_250892 = document.getElementById('viidoo_matrix_250892');
if (wgElm_250892) {
	// we exist!
	// hide 
	//wgElm_250892.innerHTML = 'x';
	//wgElm.style.display = 'none';
	//....
	vp_createwg();
}

pgstats.addcollect('chid','21755');
pgstats.addcollect('hit','embed');
pgstats.addcollect('widget','matrix');
pgstats.xPageHit();

function vp_createwg() {
	var html='<div id="widget_flash_250892" class="widget_flash" style="width: 516px;height:1230px;overflow:hidden; border: 0px solid #DDDDDD;font-family:Trebuchet MS,Lucida Sans Unicode,Lucida Grande,Lucida Sans,Tahoma,Geneva,Arial,helvetica,sans-serif">';
	//html+='<link rel="stylesheet" href="http://www.dik.nl/css/main.css" type="text/css" media="screen" title="x" charset="utf-8" />';
	// silly IE needs a br before style element
	html+='<br style="display:none;"/><style type="text/css">	\
		.stdthumb {width:160px;max-height:122px;background:#f6f6f6;margin:0 auto 6px auto;overflow:hidden;position:relative;}	\
		.stdthumbbrd {width:156px;height:86px;background:#cccccc;border:2px solid #dedede;overflow:hidden;position:relative;}	\
		.stdthumbbrd .stbdimg {position:absolute;width:160px;height:119px;top:-20px;left:0;}	\
		.stdthumbbrd .smallroundaction	{position: absolute; width:24px;height:24px;z-index:200;cursor:pointer;cursor:hand;}	\
		.stdthumbbrd .bigplay	{position: absolute; width:24px;height:24px;top:28px;left:68px;z-index:200;cursor:pointer;cursor:hand;background:url(http://www.dik.nl/img/media_play24.png) no-repeat;} \
		.stdthumbbrd .inlinetitle 	{position: absolute; bottom: 0px; left: 0px;width:156px;height:15px;z-index:200;background-color:#dedede;color:#000000;font-size:11px;overflow:hidden;white-space: nowrap;padding:2px 5px 2px 3px;filter: alpha(opacity=80);filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);-moz-opacity: 0.80; opacity: 0.80;} \
		.stdthumbbrd .thumbavatar	{position: absolute; top: 2px; left:2px;z-index:300;} 	\
		.pages {padding:2px 0 2px 8px; margin:0; height:clear:both;font-size:12px;	line-height:14px; -moz-user-select: none;-khtml-user-select: none; user-select: none;} \
			.pages div.pageblock {float:left;border: 1px solid #888; color:#000; height: 14px; padding: 3px 6px 3px 6px; margin: 0px 4px 0px 0px;cursor: pointer;cursor:hand;}\
			.pages div.pageblock:hover {color:#D10101;text-decoration:underline;}	\
			.pages div.pageblock_disabled {float:left;border: 1px solid #888; color: #aaa; height: 14px; padding: 3px 6px 3px 6px;margin: 0px 4px 0px 0px;}\
			.pages div.pageblock_dots {float:left; border: 0px solid #888; color: #000; height: 14px; padding: 3px 6px 3px 6px;margin: 0px 4px 0px 0px;}\
			.pages div.pageblock_curpage {float:left; border: 1px solid #888; color: #aaa; height: 14px; padding: 3px 6px 3px 6px;margin: 0px 4px 0px 0px;}\
		</style>';
		cvids_250892.push({vid:89566, thumb: 'http://i.ytimg.com/vi/Sr-pULp-K-0/0.jpg', title: 'Samsung 9000 Series 3D LED TV from CES 2010', desc: 'www.T3.com - The Gadget Website Perhaps the most impressive TV we\'ve ever laid eyes on.'});
	cvids_250892.push({vid:89537, thumb: 'http://i.ytimg.com/vi/kpWXJf0avdE/0.jpg', title: '1cm,3D,super remote Samsungs New Pencil-Thin HDTV - Tekzilla ...', desc: 'New Samsung LED 9000 is easily the thinnest TV ever, at only slightly more than a quarter of an inch thick! Its a 3D TV, has great online video processing, and it looks and sounds great! It also includes a pretty crazy remote control, with a built-in screen as well. WOW.'});
	cvids_250892.push({vid:89567, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_864b46e4.jpg', title: 'Samsung LED HDTV CES 2009', desc: ''});
	cvids_250892.push({vid:88776, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_62080c44.jpg', title: 'COOL! Light Blue Optics Light Touch hands-on', desc: 'Light Blue Optics Light Touch hands-on. This really works!'});
	cvids_250892.push({vid:88677, thumb: 'http://i.ytimg.com/vi/IMMbihbeIls/0.jpg', title: 'Charge iphone with Wifi  CES 2010: Airnergy WiFi Harvesting Charger', desc: 'Charger that harvests energy from WiFi signals, to be released by RCA summer 2010 for . Read more at www.ohgizmo.com \nWill charge the blackberry bold from 30% to 90% in 45 minutes. Will be build in to the battery next yr'});
	cvids_250892.push({vid:88121, thumb: 'http://a.images.blip.tv/Mavromatic-CES2010SamsungMyFit549-858-865.jpg', title: 'How Fit am I MyFit Samsung Ces2010', desc: 'Video Demonstration of Samsung MyFit from CES 2010. \n'});
	cvids_250892.push({vid:88120, thumb: 'http://a.images.blip.tv/Highimpacttv-CES2010676-789.jpg', title: 'Sony 3D TV, Camera, BlueRay \&amp; more', desc: 'Great overview of the sony products All 3D shipping this summer Marc Saltzman talks about cool products from 2010 CES in Las Vegas.\n'});
	cvids_250892.push({vid:88118, thumb: 'http://a.images.blip.tv/LenEdgerly-TKCEXTRACES2356-424-126.jpg', title: 'TKC EXTRA - CES 2', desc: '\nAt the Consumer Electronics Show in Las Vegas, Maureen Mellon, senior director of product marketing for Plastic Logic, walks us through the svelte, business-oiented, Que proReader. Recorded on January 7, 2007.\n'});
	cvids_250892.push({vid:87756, thumb: 'http://i.ytimg.com/vi/C8-O8mvbOMY/0.jpg', title: 'PlasticLogic Que Pro eBook reader / tablet @ CES 2010', desc: 'Day two also saw a lot of attendees making a beeline for what is quite possibly the hottest ereader at the show PlasticLogic\'s Que Pro. Actually describing it as an ereader is selling it bit short as it can undertake all types of functions from displaying PDFs through to keeping you up to date with your email. However its big talking points are; one how thin it is, and two, how it displays magazines and publications. The company has done deals with a lot of US papers and few UK ones too like ...'});
	cvids_250892.push({vid:87753, thumb: 'http://i.ytimg.com/vi/pIzjYvNEmO0/0.jpg', title: 'CES 2010 - Sony Blu-ray Home Theater In A Box', desc: ''});
	cvids_250892.push({vid:87752, thumb: 'http://i.ytimg.com/vi/SiQX5psvrCU/0.jpg', title: 'Adventures in CES 2010 Day 4 Part 2 China', desc: ''});
	cvids_250892.push({vid:87749, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/408/857/40885723_640.jpg', title: 'totale GEEKS Cooling Evento XS CES 2010', desc: 'How do you cool down the processor and how far can you go. Crazy movie'});
	cvids_250892.push({vid:87748, thumb: 'http://s1.mcstatic.com/thumb/4001512/12806749/4/catalog_item5/0/1/hanvon_10_1_touchpad_at_ces_2010.jpg', title: 'Hanvon 10.1\" Touchpad at CES 2010', desc: 'http://www.netbooknews.com Hanvon Touchpad, an Intel Atom-based Windows 7 tablet PC. The unit has a 10.1\" screen, e-Book content and includes handwriting recognition software in different languages'});
	cvids_250892.push({vid:87451, thumb: 'http://s1.mcstatic.com/thumb/3995420/12794896/4/catalog_item5/0/1/ces_2010_video_powermat_shows_us_wireless_charging.jpg', title: 'CES 2010 Video - Powermat Shows Us Wireless Charging', desc: 'Andrew Moore-Crispin talks with Tony Ostrom from Powermat about new possibilities for wireless charging. With the 2x Powermat with built in battery you have four charges without ever having to plug in the Powermat. Andrew also talks about the Powermat Powerpack that internalizes Powermat\'s technology into a battery so you so you don\'t have to use a Powermat case. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87450, thumb: 'http://i.ytimg.com/vi/Mvfv3aypX7s/0.jpg', title: 'CES 2010 - LG Demos Its eXpo Mini Projector', desc: 'Oh LG, you wowed and amazed us at CES with the mini projector youve embedded into you new LG eXpo phone. LGs 1GHz smartphone sports a full QWERTY keyboard, supports AT\&amp;T\'s 7.2Mbps HSPA network and a pico projector (optional) from Texas Instruments that can throw up images as far as eight feet away. We watched as this mini projector demonstrated its mini power. Yeah no problem'});
	cvids_250892.push({vid:87449, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/407/489/40748925_640.jpg', title: 'Rhythm Touch Back Massager at CES 2010', desc: 'Believe it or not, my shoulders were aching pretty bad after walking CES 2010 for 2 days straight with my laptop and digital camera.  Well, rhythm touch back massaging system solved all my problems, just in 10 minutes.  Don\'t believe me?  Check out this video of me actually using this super-portable massager device, highly recommended although it\'s sorta pricey at 9.99.'});
	cvids_250892.push({vid:87448, thumb: 'http://i.ytimg.com/vi/Xy-sxwngFng/0.jpg', title: 'Gran Turismo 5 - Lamborghini Gallardo In-Car @ Indianapolis', desc: 'gtplanet.net - Video from CES 2010, via GameSpot. '});
	cvids_250892.push({vid:87447, thumb: 'http://s3.mcstatic.com/thumb/3996234/12796190/4/catalog_item5/0/1/ces_2010_video_microvision_shows_off_the_showwx_laser_pocke.jpg', title: 'CES 2010 Video - Microvision Shows off the ShowWX Laser Pocke...', desc: 'Andy Walker talks with Matthew Carmean from Microvision about the ShowWX. This\npocket projector uses lasers to project images from your laptop, cell phone, or any device with a TV output. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87379, thumb: 'http://i.ytimg.com/vi/nLo4rIHWcDo/0.jpg', title: 'CES Unveiled: PopBox', desc: 'Syabas Popcorn hour unveiled their PopBox at this year\'s CES sneak preview. The PopBox will host your home movies, photos, videos, music, and online applications all in one device.'});
	cvids_250892.push({vid:87382, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_d484a70a.jpg', title: 'Litl Webbook hands-on', desc: 'Litl Webbook hands-on'});
	cvids_250892.push({vid:87380, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_eed4360.jpg', title: 'Sony Dash video hands-on', desc: 'Sony Dash video hands-on'});
	cvids_250892.push({vid:87381, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_8968e8ca_v1.jpg', title: 'Sony Dash 9 Internet viewer (personal)', desc: 'Eric Sandine shows the Sony Dash, which allows you to download over a thousand widgets to the device, which also has an open developers kit so developers can create their own apps for the device. The device launches in April for 9. Distributed by Tubemogul.'});
	cvids_250892.push({vid:87378, thumb: 'http://i.ytimg.com/vi/sNCH3imZKf8/0.jpg', title: 'CES 2010: New PopBox HD - Even More Reasons to Cut ...', desc: 'Syabas launches the new Popbox HD, a network-enabled streaming device that brings a wide range of online video into your home and your HDTV, including Revision3, Netflix, the BBC and more! It also includes what the company calls PopApps, which let you access twitter, Facebook, Weatherbug and other online services right on your HDTV.'});
	cvids_250892.push({vid:87372, thumb: 'http://i.ytimg.com/vi/hSg91bGIC7w/0.jpg', title: 'Burn+crash SSD HARD IoSafe Solo ', desc: 'Watch IoSafe set fire to a hard drive enclosure, spray it with a fire hose, drop it from 20 feet, and then drive over it with a backhoe. And then the drive works great. '});
	cvids_250892.push({vid:87371, thumb: 'http://i.ytimg.com/vi/lq6tcOUm3h0/0.jpg', title: 'Lenovo\'s U1 hybrid netbook/tablet', desc: 'We go hands on with Lenovo\'s crazy new tablet/netbook hybrid at a private event during CES 2010. Pretty cool little thing, yeah? '});
	cvids_250892.push({vid:87369, thumb: 'http://i.ytimg.com/vi/698D-jmk42w/0.jpg', title: 'HET Ultimate scherm Pixel Qi at CES 2010', desc: 'I am testing the latest production ready Pixel Qi screen outdoors by the Venetian Hotel in Las Vegas. It is the technology that will combine Laptops with Tablets and Ereaders. '});
	cvids_250892.push({vid:87368, thumb: 'http://i.ytimg.com/vi/WSMmW9kA23Y/0.jpg', title: 'Connected Televisions: A Common Trend at CES 2010', desc: 'We went over to Sharps CES booth to check out their line of connected televisions. Connected TVs are now content portals for all kinds of online media content and allow you to download apps and other media straight to your TV. We definitely expect the trend of interactive TVs to continue to grow.'});
	cvids_250892.push({vid:87365, thumb: 'http://s6.mcstatic.com/thumb/3994661/12793289/4/catalog_item5/0/1/ces_2010_video_zomm_makes_sure_you_never_lose_your_cell.jpg', title: 'YES YES Ik wil er een! Zomm Makes Sure You Never Lose Your Cell', desc: 'Andy Walker talks with Henry Penix, the CEO and Co-Founder of The Zomm about their device, Zomm. Not only does this device make sure that you never leave your cellphone behind again, but it doubles as a speaker phone on your key-chain.  A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87363, thumb: 'http://i.ytimg.com/vi/qNE2gsntQj8/0.jpg', title: 'Where is OLED technology today?', desc: 'Andy Walker talks with Janice Mahon about how OLED technology is being used today, and its future in the world. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87361, thumb: 'http://s6.mcstatic.com/thumb/3993337/12790799/4/catalog_item5/0/1/samsung_portable_media_booth_sketch_ces_2010.jpg', title: 'WOW wat een STAND!! Samsung Portable Media Booth Sketch CES 2010 ', desc: 'Samsung IceTouch(YP-H1),MyFit(YP-W1)! \n\nBoth players received a 2010 CES \u201cInnovations Honoree\u201d award and will be on display at the Samsung booth #11026 during the International Consumer Electronics Show at the Las Vegas Convention Center, January 7 \u2013 10, 2010.'});
	cvids_250892.push({vid:87360, thumb: 'http://ak2.static.dailymotion.com/static/video/589/787/19787985:jpeg_preview_large.jpg?20100108010653', title: 'Boxee Releases Hulu, Netflix, WebTV Device', desc: 'http://revision3.com/CES  Internet TV pioneer Boxee releases its first hardware, with partner D-Link at CES.  This new box includes Hulu, finally, along with Revision3, Netflix and many, many more content choices.  It looks great on a big screen TV, and includes an easy to use remote as well \u2013 with full keyboard and Apple-like buttons!  The box will be available for under \ufffd when it is available later this year!  ------------------------------------ Full Tekzilla CES 2010 coverage playlist. http://youtube.com/view_play_list?p=BFFF37ADDA0ED690  Tekzilla on Twitter http://twitter.com/Tekzilla  Patrick Norton on Twitter http://twitter.com/PatrickNorton'});
	cvids_250892.push({vid:87359, thumb: 'http://a.images.blip.tv/Plesstv-SonnyShettyOnNetbook473-605.jpg', title: 'New Stylish \000 HP Netbook for Bussiness Users Priced Under ', desc: 'LAS VEGAS, HP unveiled a new line of stylish 2.6 pound netbooks with a very attractive price point. The basic unit start at 9, with Windows 7 starting at 9. \n'});
	cvids_250892.push({vid:87357, thumb: 'http://i.ytimg.com/vi/WxgRBC47SAo/0.jpg', title: 'Pixel Qi tablet with Nvidia Tegra2 processor from Notion Ink ', desc: 'Notion Ink is the first to have announced Pixel Qi screen integration. This is the first example of the huge revolution that comes with ARM Cortex A9 Power and a Pixel Qi display. This is awesome. '});
	cvids_250892.push({vid:87074, thumb: 'http://i.ytimg.com/vi/UIjPAxYYvIY/0.jpg', title: 'Samsung MyFit MP3 Player CES 2010 HCPlive', desc: 'Created on January 7, 2010 using FlipShare.'});
	cvids_250892.push({vid:87072, thumb: 'http://i.ytimg.com/vi/IKELFG9eN6o/0.jpg', title: 'HD skype-enabled tv at ces 2010', desc: 'panasonic shows off skype on tv at ces 2010'});
	cvids_250892.push({vid:87069, thumb: 'http://i.ytimg.com/vi/LUFqOPGW9so/0.jpg', title: 'Heavy Rain preview Game (Off Screen - CES 2010)', desc: ''});
	cvids_250892.push({vid:87066, thumb: 'http://ak2.static.dailymotion.com/static/video/807/887/19788708:jpeg_preview_large.jpg?20100108020444', title: 'Yurbuds are  Custom Molded Earbuds', desc: 'http://revision3.com/CES  Yurbuds changes the equation for custom molded earbuds for iphones, ipods, music, cellphones and more with an innovative web application that helps you figure out exactly which \u201cear bud enhancer\u201d will help you get better sound, better fit and more.  Don\u2019t spend thousands of dollars for a good fitting earbud!  This new company will get you all taken care of for just pennies.  Yurbuds Homepage http://yurbuds.com  ------------------------------------  Full Tekzilla CES 2010 coverage playlist. http://youtube.com/view_play_list?p=BFFF37ADDA0ED690  Tekzilla on Twitter http://twitter.com/Tekzilla  Patrick Norton on Twitter http://twitter.com/PatrickNorton'});
	cvids_250892.push({vid:87065, thumb: 'http://i.ytimg.com/vi/_DW6epxMPTY/0.jpg', title: 'HD Headcam with LASERS baby!', desc: 'Ok, so that\'s way too much excitement for an HD headcam but come on, how many do you know with laser targeting? tv.hexus.net'});
	cvids_250892.push({vid:87063, thumb: 'http://i.ytimg.com/vi/qpU9uI7QDrE/0.jpg', title: '3D Television Demo', desc: '3D television is undoubtedly cool, but what will consumers be willing to spend the money to put it in their living rooms. Scott Steinberg goes over some of the interesting issues surrounding this years most talked about CES topic, 3D television.'});
	cvids_250892.push({vid:87062, thumb: 'http://ak2.static.dailymotion.com/static/video/988/287/19782889:jpeg_preview_large.jpg?20100107194519', title: 'Pocket Radar Gun!', desc: 'New Pocket Radar device packs an incredibly powerful radar gun into an ipod-sized device.  The company claims it will measure speeds from 7mph to 375mph, up to about 300 feet away.  It\'s an amazing example of Doppler Radar, shrunk into a tiny, 4.5 ounce package.  The sleek device is ideal for amateur or professional coaches, racing fans looking to see how fast that car is really going, and anyone else wondering just how fast something, anything, really is!  The Pocket Radar will be available in March 2010 for 9  Pocket Radar Homepage http://pocketradar.com/  ------------------------------------  See all the videos on the Tekzilla CES 2010 playlist. http://youtube.com/view_play_list?p=BFFF37ADDA0ED690  Tekzilla on Twitter http://twitter.com/Tekzilla  Jim Louderback on Twitter http://twitter.com/JLouderb'});
	cvids_250892.push({vid:87060, thumb: 'http://ak2.static.dailymotion.com/static/video/242/787/19787242:jpeg_preview_large.jpg?20100108001012', title: 'HDTV 3D, Yellow Pixels, 240HZ and more!', desc: 'http://revision3.com/tekzilla/  Everyone Anncouned 3D HDTVs, including Panasonic and Toshiba, but there\u2019s a lot more.  See Sharp\u2019s new quad-color LCD \u2013 adding a yellow pixel to blue, green and red.   Toshiba is using their new Cell processor to enhance 3D too.  Also Panasonic is launching a consumer 3D HD video camera, so you can pretend you too are James Cameron.  But wait there\u2019s more!   A .3\u201d thin television from Samsung that basically disappears when you turn it on edge.  Plus Blu-Ray 3D for HDTV \u2013 yes it\u2019s Monsters vs. Aliens..  And DirecTV gets 3D HDTV too!  ------------------------------------  See all the videos on the Tekzilla CES 2010 playlist. http://youtube.com/view_play_list?p=BFFF37ADDA0ED690  Tekzilla on Twitter http://twitter.com/Tekzilla  Patrick Norton on Twitter http://twitter.com/PatrickNorton'});
	cvids_250892.push({vid:86924, thumb: 'http://i.ytimg.com/vi/TSv2ca-IECc/0.jpg', title: 'Battling AR helicopter\&amp;iPhone', desc: 'Combine augmented reality, a helicopter and an iphone and you get the AR Drone from France based Parrot.'});
	cvids_250892.push({vid:86920, thumb: 'http://i.ytimg.com/vi/KMS7XDGzzNI/0.jpg', title: '3D, thin TVs and e-readers among Samsung\'s CES announcements', desc: 'At CES in Las Vegas Samsung unveiled a strong line up of products including a 3D home entertainment system, LED TVs with screens as thin as a pencil and e-readers.'});
	cvids_250892.push({vid:86878, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_848eca08.jpg', title: 'MSI Prototype e-reader sneak peek', desc: ''});
	cvids_250892.push({vid:86689, thumb: 'http://i.ytimg.com/vi/lyegqqYhLbU/0.jpg', title: 'Cisco shows home telepresence', desc: 'Cisco demonstrated the home telepresence concept at the Consumer Electronics Show in Las Vegas Wednesday. The technology utilizes a person\'s HDTV and broadband connection for two-way video communication.'});
	cvids_250892.push({vid:86822, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_4490f450.jpg', title: 'MyFord walkthrough', desc: 'A video walkthrough of the MyFord virtual dashboard.'});
	cvids_250892.push({vid:86925, thumb: 'http://i.ytimg.com/vi/zZPZVJRTMBM/0.jpg', title: 'iPhone combo rechargers from XtremeMac', desc: 'iphone accessories maker xtrememac had some interesting combination battery recharger systems at this year\'s CES.'});
	cvids_250892.push({vid:86833, thumb: 'http://i.ytimg.com/vi/g-QaevWdxwQ/0.jpg', title: '3D Leaping From TV Screens at CES', desc: 'Tech companies are determined to make 2010 the year that 3-D TV viewing becomes the hot new thing. The AP\'s Haven Daley reports from the 2010 Consumer Electronics Show in Las Vegas. (Jan. 6)'});
	cvids_250892.push({vid:86923, thumb: 'http://i.ytimg.com/vi/FVa9xqcXCmE/0.jpg', title: 'HP shows touch-enabled netbooks', desc: 'Get your fingers moving! HP\'s Mike Hockey talks about new HP mini notebooks running Windows 7 and with touch-screen enabled features.'});
	cvids_250892.push({vid:86688, thumb: 'http://i.ytimg.com/vi/Cg-Y88J8OW8/0.jpg', title: 'Google Nexus One up close', desc: 'The hottest device at CES wasn\'t even announced there, but we talk with HTC\'s Keith Nowak, who has one and talks a bit about the Google \"Superphone\". And Keith Shaw gets to touch the phone, too.'});
	cvids_250892.push({vid:86721, thumb: 'http://i.ytimg.com/vi/BhDH-FubBwE/0.jpg', title: 'wireless electricity Powermat furthers the wireless charging revolution', desc: 'We\'re all aware of wireless charging but Powermat have now taken it a step further by integrating it more elegantly with your phone. tv.hexus.net'});
	cvids_250892.push({vid:86876, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_7e604d69.jpg', title: 'weird Intel Reader hands-on', desc: 'Intel Reader'});
	cvids_250892.push({vid:86826, thumb: 'http://i.ytimg.com/vi/wzRVC608k2A/0.jpg', title: 'Shiny Sony Z Series Laptops', desc: 'These are 13inch screen laptops whose key feature is a smart backlit keyboard and a LED backlight that adjusts automatically to lighting conditions. It will be on sale shortly for around. It is in dark box to illustrate one of its best new features'});
	cvids_250892.push({vid:86680, thumb: 'http://ak2.static.dailymotion.com/static/video/365/277/19772563:jpeg_preview_large.jpg?20100107092052', title: 'New PopBox HD - Even More Reasons to Cut Cable!', desc: 'http://revision3.com/tekzilla/  Syabas launches the new Popbox HD, a network-enabled streaming device that brings a wide range of online video into your home and your HDTV, including Revision3, Netflix, the BBC and more!  It also includes what the company calls \u201cPopApps\u201d, which let you access twitter, Facebook, Weatherbug and other online services right on your HDTV.  The Interface is clean, the remote easy to use, and the content looks and sounds great.  The company claims it will support virtually every file type, including obscure codecs like Ogg Vorbis and more.  It\u2019s also easy to set up and operate.  If you want to cut cable, this is a great option!  The product will cost 99 when it ships in March.  Syabas Homepage http://syabas.com  ------------------------------------  See all the videos on the Tekzilla CES 2010 playlist. http://youtube.com/view_play_list?p=BFFF37ADDA0ED690  Tekzilla on Twitter http://twitter.com/Tekzilla  Jim Louderback on Twitter http://twitter.com/JLouderb'});
	cvids_250892.push({vid:86835, thumb: 'http://i.ytimg.com/vi/yBd5ON0OV54/0.jpg', title: 'New BraviaLX900 3D TV boring!', desc: 'Check out this product demo of the new Sony Bravia LX900 3D at CES 2010. www.Sony.com/News www.Sony.com/CES'});
	cvids_250892.push({vid:86831, thumb: 'http://i.ytimg.com/vi/vFn5C32lXs4/0.jpg', title: 'DUN!! 6.9 mm LG LED TV', desc: '6.9 mm LG LED TV @ CES2010 by LG Canada ... LG LED CES2010 CES 2010 \&quot;Las Vegas\&quot; TV \&quot;6.9 mm\&quot; '});
	cvids_250892.push({vid:86820, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_b06a8867.jpg', title: 'Kia Uvo hands-on', desc: 'Hands-on with the Kia Uvo'});
	cvids_250892.push({vid:86821, thumb: 'http://cdn-thumbs.viddler.com/thumbnail_2_3f50225e.jpg', title: 'Spring Design Alex hands-on', desc: 'Spring Design Alex hands-on'});
	cvids_250892.push({vid:86725, thumb: 'http://i.ytimg.com/vi/Y1q5VF10i6c/0.jpg', title: 'CES 2010 - HP unveil netbooks with added style', desc: 'With Nick\'s terrible dress sense, he needs all the style help he can get... HP\'s Kevin Wentzel is on hand with style guru advice. tv.hexus.net'});
	cvids_250892.push({vid:86724, thumb: 'http://i.ytimg.com/vi/MFeWAmpkcnY/0.jpg', title: 'Bloggers Staying Connected at CES 2010', desc: ''});
	cvids_250892.push({vid:86687, thumb: 'http://i.ytimg.com/vi/W5pVijO3Dlk/0.jpg', title: 'CES: Microsoft keynote highlights gaming announcement', desc: 'During Microsofts CES keynote on Wednesday night, the biggest news didnt come from CEO Steve Ballmer, but from Robbie Bach, president of the companys entertainment and devices division. ... microsoft ces \"steve ballmer\" windows gaming \"project natal\" '});
	cvids_250892.push({vid:86723, thumb: 'http://i.ytimg.com/vi/fwgJwHWBcqM/0.jpg', title: 'CES 2010 - Digital Experience - Smartfish', desc: 'Are you suffering from RSI because of your keyboard? Smartfish have the answer with a moving keyboard to subtly adjust your wrist position throughout the day. tv.hexus.net'});
	cvids_250892.push({vid:86722, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/404/687/40468718_640.jpg', title: 'CES 2010 - NVDIA Tegra Tablet', desc: 'CES 2010 - NVDIA Tegra Tablet'});
	cvids_250892.push({vid:86719, thumb: 'http://ak2.static.dailymotion.com/static/video/286/377/19773682:jpeg_preview_large.jpg?20100107111145', title: 'CES 2010: Ford Turns Car Into Computer on Wheels', desc: 'Ford introduced its updated SYNC interface, showing off a completely customizable dashboard, along with an open API that will allow other internet applications to easily plug into its upcoming lineup.  They also showed off web applications streaming to the new Taurus SHO, including Pandora radio, Stitcher, and even twitter \u2013 twitter integration will include a text to speech converter \u2013 imagine listening to tweets while you drive.  All this, sent to the car via your iPhone, \u2018Droid or other Google Phone, or Blackberry.    Radio is so dead.'});
	cvids_250892.push({vid:86827, thumb: 'http://ll-images.veoh.com/image.out?imageId=media-v19614734WaAAHwPt1262749682Med.jpg', title: 'All New Intel Core 2010 Processor, Graphics and WiMAX Chips', desc: 'Intel\'s Karen Regis explains some of the innovations built into the All New Intel Core 2010 processors with graphics integrated onto a single chip, then shows the latest Wi-Fi and WiMAX chips.'});
	cvids_250892.push({vid:86692, thumb: 'http://i.ytimg.com/vi/ksLhSsOkHew/0.jpg', title: 'Lenovo X100e: The \"business\" netbook', desc: 'Lenovo\'s ultraportable X100e is a different type of netbook - it\'s aimed at the business market, includes Windows 7 and the ThinkPad name and thumbtrack.'});
	cvids_250892.push({vid:86691, thumb: 'http://i.ytimg.com/vi/14733yfPoyo/0.jpg', title: 'CES: D-Link\'s touchscreen router, pocket NAS', desc: 'Networking gear can be cool, too, as D-Link shows off it\'s new touch-screen router (configure without a PC) and a portable pocket network-attached storage device.'});
	cvids_250892.push({vid:86690, thumb: 'http://i.ytimg.com/vi/jPgno42JQoo/0.jpg', title: 'CES: Seagate shows off USB 3.0 speeds', desc: 'At CES, Seagate demonstrated its new USB 3.0 gear (starter kit, cable and new external hard drive), which offers a 3x performance boost over USB 2.0. We also get a demo that shows USB 3.0 equalling internal hard drive data speed.'});
	cvids_250892.push({vid:86681, thumb: 'http://ak2.static.dailymotion.com/static/video/027/277/19772720:jpeg_preview_large.jpg?20100107093755', title: 'Xavier Lanier and his gadget vest from Notebooks.com', desc: 'http://www.netbooknews.com Xavier Lanier from Notebooks.com has an innovative way of staying online with all of his gadgets at CES. You need to check it out as it really is something else.'});
	cvids_250892.push({vid:86679, thumb: 'http://i.ytimg.com/vi/mdDHnMT3fjI/0.jpg', title: 'CES 2010 video - Pure Sensia Internet radio.  VE: I want one! facebook on clockradio :-)', desc: 'Sean Carruthers talks with Vicky Deacon from Pure about the Sensia. An Internet radio that offers Twitter and Facebook access. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:86653, thumb: 'http://ak2.static.dailymotion.com/static/video/887/967/19769788:jpeg_preview_large.jpg?20100107023003', title: 'CES 2010: New iTablet Killer + MultiTouch the Lenovo ...', desc: 'http://revision3.com/tekzilla/  Looking for a tablet that doubles as a real computer?  Lenovo released another Apple iTablet killer at CES 2010, the S10-3t.  The new gadget runs Windows 7 and twists to turn into a tablet, or a clamshell laptop.  Built around Intel\'s brand new Atom N470, it has enough power to run videos and most mainstream programs.  And with the first multi-touch capacative screen on the Windows platform, it\'s a great touch computer as well.  You can pick it up for 0, when it ships later in January.'});
	cvids_250892.push({vid:86654, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/403/162/40316248_640.jpg', title: 'CES 2010 - ASUS ROG G73Jh', desc: 'Gary Key of ASUS talks with Ryan Shrout of PC Perspective about the new ASUS ROG G73Jh gaming notebook.'});
	cvids_250892.push({vid:86655, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/404/379/40437901_640.jpg', title: 'Sony Electronics Press Conference from CES', desc: 'From CES 2010'});
	cvids_250892.push({vid:86656, thumb: 'http://i.ytimg.com/vi/OAvTwFYoAGo/0.jpg', title: 'CES 2010: Avatar Arcade', desc: 'Microsoft announced the Avatar arcade'});
	cvids_250892.push({vid:86657, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/8943/99970848.jpeg', title: 'Mobil Internet Devices Going to CES 2010', desc: 'Step inside Intel\'s Ultra Mobility Group Garage as the team packs up new Intel Atom-powered devices for the 2010 Consumer Electronics Show in Las Vegas, NV.'});
	cvids_250892.push({vid:86658, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/404/537/40453700_640.jpg', title: 'Light Touch by Light Blue Optics', desc: 'This holographic laser projector (HLP) projects images onto curved and tilted surfaces. These guys gave us a demo of the tech in the back rooms of CES 2010, and it works beautifully. '});
	cvids_250892.push({vid:86659, thumb: 'http://ak2.static.dailymotion.com/static/video/277/867/19768772:jpeg_preview_large.jpg?20100107005323', title: 'CES 2010 video - AR Drone from Parrot real life video game', desc: 'Sean Carruthers talks with Henri Seydoux from Parrot about their new AR Drone. A toy that has an iPhone app to play a video game in real life. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:86660, thumb: 'http://a.images.blip.tv/Newsgeek1-ParrotsARDrone929-732-997.jpg', title: 'Parrot\'s AR Drone', desc: '\nParrot Present the AR Drone in CES 2010\n'});
	cvids_250892.push({vid:87100, thumb: 'http://s4.mcstatic.com/thumb/3986147/12776546/4/directors_cut/0/1/ces_2010_video_seagate_blackarmor_ps110_usb_3_hard_drive.jpg', title: 'CES 2010 Video - Seagate BlackArmor PS110 USB 3 Hard Drive', desc: 'Andrew Moore-Crispin talks with Jon van Bronkhorst from Seagate about their brand new USB 3.0 BlackArmor PS 110 external hard drive and the BlackArmor PS 110 USB 3.0 Performance Kit. With the performance kit you\'ll be able to get USB 3.0 speeds right now on your notebooks, and enjoy the increased transfer speed that USB 3.0 offers. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87101, thumb: 'http://s1.mcstatic.com/thumb/3985624/12775428/4/directors_cut/0/1/ces_2010_video_duck_hunter_from_interactive_toys.jpg', title: 'CES 2010 Video - Duck Hunter from Interactive Toys', desc: 'Andy Walker checks back in with Ian Chisholm from Interactive Toy Concepts on the new and improved Duck Hunter game. Last year Andy checked out Duck Hunter but this year Ian is in control of the duck with the new remote controlled feature. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87102, thumb: 'http://s6.mcstatic.com/thumb/3985181/12774784/4/directors_cut/0/1/ces_2010_video_entourage_edge_beyond_ebook_readers.jpg', title: 'CES 2010 Video - EnTourage EDGe Beyond Ebook Readers', desc: 'Andy Walker talks with Doug Atkinson, VP of Marketing \& Business Development from Entourage Systems Inc. about their brand new enTourage eDGe. The eDGe offers an ebook reader on 1 side and an LCD monitor running an Android operating system on the other. A Internet video series by butterscotch.com.'});
	cvids_250892.push({vid:87373, thumb: 'http://i.ytimg.com/vi/MFiew4OHBLY/0.jpg', title: 'Looptastic Iphone music App Demo', desc: 'crunchgear.com'});
	cvids_250892.push({vid:87374, thumb: 'http://i.ytimg.com/vi/ZjFsVUtG5PU/0.jpg', title: 'Dual screen E-book Reader Alex Demo', desc: 'www.crunchgear.com'});
	cvids_250892.push({vid:87375, thumb: 'http://a.images.blip.tv/Crunchgear-CrunchgearcomCastoven317-395.jpg', title: 'Microwave with youtube screen Castoven', desc: 'Castoven'});
	cvids_250892.push({vid:87376, thumb: 'http://i.ytimg.com/vi/nD6aTB_wRS0/0.jpg', title: 'Samsung E6 E-book Reader', desc: ''});
	cvids_250892.push({vid:87377, thumb: 'http://a.images.blip.tv/Crunchgear-CrunchgearcomTakaraTomysLoveDigi678-772.jpg', title: 'Crunchgear.com: Takara Tomy\'s Love-Digi', desc: ''});
	cvids_250892.push({vid:87814, thumb: 'http://i.ytimg.com/vi/Qt7vhHxYeds/0.jpg', title: 'Phillips Pronto system controlling Sonos', desc: 'At CES 2010'});
	cvids_250892.push({vid:87817, thumb: 'http://i.ytimg.com/vi/LHnDkJ5egr8/0.jpg', title: 'Fun. Walking tour of Ces, gaming, philips', desc: 'Ok..So this is a little late, but none the less it\'s up.. I hope you all enjoy.. Wait till you see tonight\'s update.. OMG!!! ... CES 2010 las vegas mtpflyers phillips speck swticheasy '});
	cvids_250892.push({vid:87818, thumb: 'http://i.ytimg.com/vi/kks9q-CXoQI/0.jpg', title: 'Wirless Charging YES! At The Hotel-eCoupled Wireless Power-Scenes from a Wireless Lifestyle', desc: 'Here\'s an inside look at Fulton Innovation\'s eCoupled technology at CES 2010. Unleash your world from the restraints of power cords in the automobile. ... Hotel Demo wireless power Fulton innovation ecoupled ces travel electricity standard Duracell energizer hanrim postech hosiden nokia olympus philips samsung sang fei st-ericsson rohm rim leggett platt national semiconductor conitnental automotive logah technology '});
	cvids_250892.push({vid:87819, thumb: 'http://i.ytimg.com/vi/gJSzfOUjkLE/0.jpg', title: 'Wirless in Car Charging -eCoupled Wireless Power-Scenes from a Wireless lifestyle', desc: 'Here\'s an inside look at Fulton Innovation\'s eCoupled technology at CES 2010. Unleash your world from the restraints of power cords in the automobile. ... Car Demo wireless power Fulton innovation ecoupled ces travel electricity standard Duracell energizer hanrim postech hosiden nokia olympus philips samsung sang fei st-ericsson rohm rim leggett platt national semiconductor conitnental automotive logah technology '});
	html+='<div id="cvideos250892">';
	html+='</div>';	// widget_flash
	
	wgElm_250892.innerHTML=html;
	wgElm_250892.style.display = 'block';
	gotopage_250892(matrix250892_curpg);	// 1
}


// 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;
}

// flash jscalls

// stop video
function stopVideo_250892() {
	closevid_250892();
}

// show hoverevent
function showVideoInfo(videoitem_id) {
	// alert('Show some information for ' + videoitem_id + '.');
}


function hideVideoInfo() {
	// alert('hide');
}



function closeVideoPlayer_250892() {
	// close screen
	closevid_250892();
	// call to flash object
	//getFlashObject("videostrip_250892").videoDeselect(0);
}


function closevid_250892() {
  el = document.getElementById('vidplayer_250892');
  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;
}



function playVideo_250892(videoitem_id) {

	// close old one
	closevid_250892();

	// open new
	//var vidlist = document.getElementById(id);
	var video_div = document.createElement('div');
	var title='hello';
	video_div.id = "vidplayer_250892";
	video_div.style.position = 'absolute';
	video_div.style.border = 'none';
	var base_width=400;
	var base_height=300;
	var calc_width	= (base_width+2*17+10);
	var calc_height	= (base_height+16+2*22);
	
	video_div.style.width = calc_width+'px';
	video_div.style.height = calc_height+'px';
	video_div.style.zIndex = '10000';
	//video_div.style.border = "5px solid #cccccc";
	
	//
	//	var wgFlashDiv=document.getElementById('widget_flash_250892');
	//	//var top = vp_offsetTop(wgElm_250892);
	//	//var left = vp_offsetLeft(wgElm_250892);
	//	var top = vp_offsetTop(wgFlashDiv);
	//	var left = vp_offsetLeft(wgFlashDiv);
	//
	//	// left or right
	//	if (left < document.body.clientWidth/2) {
	//		if (3==1) {
	//			video_left = left + 172;	// one column play right from strip
	//			top = top - 3;
	//		}
	//		else {
	//			video_left = left + 40; // multicolum play inside strip
	//			top=top+40;
	//		}
	//	} else {
	//		// widget is at the right
	//		video_left = left + 3*172 - 40 - 402 - 2*17 ; // 402 plus borders 2x17 
	//	}

	//alert('video_left='+video_left+' top='+top);
	//video_div.style.top = top + 'px';
	//video_div.style.left = video_left + 'px';
	// CENTER SCREEN
	var arrayPageSize = getPageSize();
	var arrayPageScroll = getPageScroll();
	var video_top = arrayPageScroll[1] + ((arrayPageSize[3] -calc_height) / 2);
	var video_left = arrayPageScroll[0] +((arrayPageSize[0] - calc_width) / 2);
	if (video_top<0)
		video_top=0;
	if (video_left<0)
		video_left=0;
	video_div.style.position = 'absolute';
	video_div.style.top = video_top + 'px';
	video_div.style.left = video_left + 'px';

	 
	var vid_html = '<div style="padding:0px 5px 0px 5px;position:relative;">\
					<table cellspacing=0 cellpadding=0 border=0 style="margin:0px auto; background:transparant;width:100%;table-layout:fixed;position:relative;z-index:0">\
					<tr><td style="background:url(http://www.dik.nl/img/rbox/rbox5_01.png) no-repeat left top;padding:0;margin:0;width: 17px;height:22px;"></td>\
						<td style="background:url(http://www.dik.nl/img/rbox/rbox5_02.png) repeat-x top;height:22px;padding:0;margin:0;"></td>\
						<td style="background:url(http://www.dik.nl/img/rbox/rbox5_03.png) no-repeat left top;width: 17px;height:22px;padding:0;margin:0;"></td></tr>\
					<tr><td style="background:url(http://www.dik.nl/img/rbox/rbox5_04.png) no-repeat left top;width: 17px;background-color:#FFF;max-height:54px;padding:0;margin:0;" height=54 >\
					</td>\
					<td style="background:url(http://www.dik.nl/img/rbox/rbox5_05.png) repeat-x top;background-color:#fff; overflow:hidden;padding:0;margin:0;">\
					<div style="color:#DDDDDD;position:relative;border:1px solid transparent;overflow:hidden;height:318px;width:400px;background-color:transparent;padding:0;margin:0;">';
	vid_html +='<iframe name="playerframe" class="playerframe"	src = "http://www.dik.nl/widget/playvideo/'+cvids_250892[videoitem_id].vid+'/402/318/S/W" width="100%" height="100%" frameborder=0 scrolling="no" allowtransparency="true"></iframe>';
	vid_html +=		'<div style="clear:both;"></div></div>\
					</td><td style="background:url(http://www.dik.nl/img/rbox/rbox5_06.png) no-repeat left top; 	width: 17px;  	background-color:#FFF;padding:0;margin:0;"></td></tr>\
					<tr><td style="background:url(http://www.dik.nl/img/rbox/rbox5_07.png) no-repeat left top;width: 17px;height:22px;padding:0;margin:0;"></td>\
						<td style="background:url(http://www.dik.nl/img/rbox/rbox5_08.png) repeat-x top; height:22px;padding:0;margin:0;"></td>\
						<td style="background:url(http://www.dik.nl/img/rbox/rbox5_09.png) no-repeat left top;width:17px;height:22px;padding:0;margin:0;"></td></tr>\
					</table>\
					<div onclick="closeVideoPlayer_250892();" style="position:absolute;top:13px;right:11px;cursor:pointer;cursor:hand;background:url(http://www.dik.nl/img/icon_bw_close22.png) no-repeat;width:24px;height:24px;z-index:10000;"></div>\
					</div>';
					
	video_div.innerHTML=vid_html;
	document.body.appendChild(video_div);
}

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

function initpage_250892() {
	//alert('cvids='+(cvids_250892.length).toString()+'itemspp='+matrix250892_itemspp);
	matrix250892_npages= Math.ceil(cvids_250892.length / matrix250892_itemspp);
}

function gotopage_250892(pg) {
		
	//if (!matrix250892_npages)
	initpage_250892();
	
	if (pg<1)
		pg=1;
	if (pg>matrix250892_npages)
		pg=matrix250892_npages;
		
	oldpg=matrix250892_curpg;
	matrix250892_curpg=pg;
	var mxs=document.getElementById('cvideos250892');
	var html='';
	for (var i=(matrix250892_curpg-1)*matrix250892_itemspp,cv=0;i<cvids_250892.length && cv<matrix250892_itemspp;i++) {
		html+=  vidthumbhtmlSmall_250892(i);
		cv++;
	}
	html+=  '<div class="v69resetstyle" style="clear:both;"></div>';
	
			if (matrix250892_npages>1) {
			html+=  '<div  class="v69resetstyle" style="margin:1px 0px">'+paginationhtml_250892(matrix250892_curpg, matrix250892_npages)+'</div>';
		}
	
	mxs.innerHTML=html;
}

function vidthumbhtmlSmall_250892(vnr) {
	var html='';
	html='';
	html+='<div class="v69resetstyle" style="margin: 5px; float: left; position: relative; width: 162px; height: 90px;">';
		html+='<div  class="v69resetstyle" style="width:160px;max-height:122px;background:#f6f6f6;margin:0 auto 6px auto;overflow:hidden;position:relative;">';
			html+='<div  class="v69resetstyle" style="width:156px;height:86px;background:#cccccc;border:2px solid #dedede;overflow:hidden;position:relative;">';
				html+='<img style="position:absolute;width:160px;height:119px;top:-20px;left:0;cursor: pointer;" onclick="playVideo_250892('+vnr+')" title="'+htmlspecialchars(cvids_250892[vnr].desc)+'" src="'+cvids_250892[vnr].thumb+'" />';
				html+='<div class="v69resetstyle" style="position: absolute; width:24px;height:24px;top:28px;left:68px;z-index:200;cursor:pointer;cursor:hand;background:url(http://www.dik.nl/img/media_play24.png) no-repeat;" onclick="playVideo_250892('+vnr+')"></div>';
				html+='<div class="v69resetstyle" style="position: absolute; bottom: 0px; left: 0px;width:156px;height:15px;z-index:200;background-color:#dedede;color:#000000;font-size:11px;overflow:hidden;white-space: nowrap;padding:2px 5px 2px 3px;filter: alpha(opacity=80);filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);-moz-opacity: 0.80; opacity: 0.80;cursor: pointer;" onclick="playVideo_250892('+vnr+')" >'+htmlspecialchars(cvids_250892[vnr].title)+'</div>';
			html+='</div>';
		html+='</div>';
	html+='</div>';
	return html;
}

//-----------------------------------------------------------------------
// cp 1..npages
function paginationhtml_250892(cp,npages) {
	if (npages<=1)
		return '';	// empty if no pagination..
	var html='';
	html+='<div class="pages v69resetstyle">';
	if (cp>1) {
		// we CAN prev! beter ltlt ipv &#171; 
		html+= '<div class="pageblock" onclick="gotopage_250892('+(cp-1)+');">&lt;&lt; Previous</div>';
	}
	else {
		html+= '<div class="pageblock_disabled">&lt;&lt; Previous</div>';
	}
			// 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+='<div class="pageblock_curpage"><b>'+lpage+'</b></div>';
				else
					html+='<div class="pageblock" onclick="gotopage_250892('+lpage+');">'+lpage+'</div>';
			}
			else {
				// no printing.. buttt maybe we need to dot
				if ( !dotted ) {
					html+='<div class="pageblock_dots">&nbsp;...&nbsp;</div>';
					dotted = true;
				}
			}
		}
		
	// Next page - Link
	// beter gtgt ipv &#187;
	if ( cp<npages )
		html+='<div class="pageblock" onclick="gotopage_250892('+(cp+1)+');">Next &gt;&gt;</div>';
	else
		html+='<div class="pageblock_disabled">Next &gt;&gt;</div>';
	html+='</div>';
	return html;
}



