//matrix.js for channel 2521 / widget 328935 / 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_328935= new Array();	// channelvideo's
var curvid_328935=0;			// first video
var cpvideo_328935=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 matrix328935_curpg=1;
var matrix328935_npages=1;
var matrix328935_itemspp=36;

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

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

function vp_createwg() {
	var html='<div id="widget_flash_328935" 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_328935.push({vid:31013, thumb: 'http://i.ytimg.com/vi/p4WKvY5NRX0/1.jpg', title: 'Windowbreaker (reporter) Fail failblog**', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31039, thumb: 'http://media1.break.com/dnet/media/2009/1/649309_e75876a4-659a-478b-8043-ca7b19346ccf_prod_1_0001_thumb.jpg', title: 'Dating Fail', desc: 'For more, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31049, thumb: 'http://s1.mcstatic.com/thumb/2558596/0/4/catalog_item5/0/1/stats_fail.jpg', title: 'Stats Fail', desc: 'For more, visit http://failblog.org'});
	cvids_328935.push({vid:31050, thumb: 'http://media1.break.com/dnet/media/2009/1/649288_0eeda6d4-08a5-4522-b7a1-22bd6868ffa4_prod_1_0001_thumb.jpg', title: 'Faceplant Series - Segway Fail', desc: 'For more fail videos and pictures, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31062, thumb: 'http://i.ytimg.com/vi/iRcI-mFr6aQ/1.jpg', title: 'Fairy Fail', desc: 'For more, go to failblog.org ... fail fairy faceplant '});
	cvids_328935.push({vid:31064, thumb: 'http://s2.mcstatic.com/thumb/2591477/0/4/catalog_item5/0/1/interview_fail.jpg', title: 'Interview Fail', desc: 'For more, visit http://failblog.org'});
	cvids_328935.push({vid:31077, thumb: 'http://i.ytimg.com/vi/14e0FH_WiEc/1.jpg', title: 'Conspiracy Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31078, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/6766/77729771.jpeg', title: 'Reporter Fail', desc: 'For more, visit http://failblog.org'});
	cvids_328935.push({vid:31079, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14487089.jpg?20090310160731', title: 'Scratch My Nuts Fail', desc: 'More @ http://www.failfunnies.com My nuwts itch!!  Can you scratch \'em for me??  This guy is being arrested but all he wants to do is scratch his nuts, he even ask the officer if he would do it... If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31080, thumb: 'http://i.ytimg.com/vi/-w0oeibho1o/1.jpg', title: 'Track Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31081, thumb: 'http://i.ytimg.com/vi/npwJ0yFkl7M/1.jpg', title: 'Coca Cola Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31082, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14356464.jpg?20090303020002', title: 'Cheating Bike Race Fail', desc: 'More @ http://www.failfunnies.com During a biking race, two bikers get tangled \&amp; begin to fight ontop of a bridge. Just as the winner gets going again, a spectating fan gets upset, tackles \&amp; then throws the cheating bicyclist over a bridge to a cold lake below. Talk about getting your panties in a wad! Guess this will teach you not to cheat during a bike race. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31085, thumb: 'http://i.ytimg.com/vi/nsp1UmFl33Q/1.jpg', title: 'Crane Fail 2 failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31086, thumb: 'http://i.ytimg.com/vi/ZRcTgMsEG2k/1.jpg', title: 'Mugshot Fail', desc: 'For more, visit failblog.org ... Mugshot Fail News Report Broadcast TV Failblog '});
	cvids_328935.push({vid:31088, thumb: 'http://i.ytimg.com/vi/DooyoFJks3c/1.jpg', title: 'Staying Conscious Fail', desc: 'For more, visit failblog.org ... Staying Conscious Fail News Report Show TV Failblog '});
	cvids_328935.push({vid:31090, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14272893.jpg?20090226033715', title: 'Soccer Ball To Post To Face Fail', desc: 'More @ http://www.failfunnies.com When a soccer player kicks for a goal, it will only spell fail for the blocking goalie. Check out this funny accident when a soccer ball allmost misses the goal, hits the post, \&amp; then smaks the goalie right on the nose. Ouch! An epic soccer fail indeed. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31092, thumb: 'http://i.ytimg.com/vi/2xN_LBnFjic/1.jpg', title: 'Wii Fail NEW flat Screen FAIL failblog', desc: 'www.YourFreeiStuff.com Look what this guy got for X-MAS a Flat Screen and a wii to bad 1 of them went dead visit failblog. '});
	cvids_328935.push({vid:31094, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14041669.jpg?20090213155403', title: 'Reporter Location Fail', desc: 'More @ http://www.failfunnies.com Brazilian reporter is destroyed by a horse while mindlessly standing in the middle of the race way. Watch him get  what he deserves \&amp; get mangled by a racing horse in this reporter location fail. Ouch! If your still bored, check  out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31095, thumb: 'http://i.ytimg.com/vi/iyz5ixdEFEM/1.jpg', title: 'The Best Of Failblog Part 3', desc: 'Best of FAILBLOG part 3'});
	cvids_328935.push({vid:31098, thumb: 'http://i.ytimg.com/vi/ZoVPJpmK6Rk/1.jpg', title: 'Dance Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31100, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13765402.jpg?20090130024028', title: 'Skateboarding Accident Fail', desc: 'More @ http://www.failfunnies.com When this skateboarder tries to ollie over a rather large curb, a funny fail occurs. The skater eventually lands \&amp; crashes into a pole, groin first. Laugh as this accident is so bad that it even knocks this skaters shoe off. You allright? lol. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31102, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13746885.jpg?20090129025440', title: 'Ninja-backflip-fail', desc: 'More @ http://www.failfunnies.com When this martial artist tries to pull off a karate backflip move in front of a camera, it only spells fail. Get a load of this ninja backflip fail as the afro fighter faceplants on the ground, becomes dizzy, \&amp; then falls down again. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31104, thumb: 'http://i.ytimg.com/vi/fnEMuDTlzog/1.jpg', title: 'Swing Fail failblog', desc: 'www.YourFreeiStuff.com umm what happened was the dude thought he could fly period visit the failblog.org for more :) -TheModGuy'});
	cvids_328935.push({vid:31110, thumb: 'http://i.ytimg.com/vi/kyurbeTS5cg/1.jpg', title: 'Biking Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31112, thumb: 'http://i.ytimg.com/vi/evawEN-z_gE/1.jpg', title: 'Celebration Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31113, thumb: 'http://i.ytimg.com/vi/UR-AbUbjoO8/1.jpg', title: 'Child Molester Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31115, thumb: 'http://i.ytimg.com/vi/NE8ehCk-4OA/1.jpg', title: 'Tiddy Commercial fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31117, thumb: 'http://i.ytimg.com/vi/DgwkPaZvOkw/1.jpg', title: 'Trophy Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31118, thumb: 'http://i.ytimg.com/vi/EdLjUZV35WM/1.jpg', title: 'National Anthem Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31121, thumb: 'http://i.ytimg.com/vi/998j8oDZ9Mg/1.jpg', title: 'Coke Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31122, thumb: 'http://i.ytimg.com/vi/BVq8qC9fx1I/1.jpg', title: 'Public Safety Fail failblog**', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31124, thumb: 'http://i.ytimg.com/vi/_lP0CmEA6PA/1.jpg', title: 'Soccer Fail', desc: 'For more, visit failblog.org ... fail soccer football kick flip '});
	cvids_328935.push({vid:31125, thumb: 'http://i.ytimg.com/vi/Vibq4Dtypcg/1.jpg', title: 'Counting Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31129, thumb: 'http://i.ytimg.com/vi/AQ1XIji6rYE/1.jpg', title: 'Another Anthem Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31130, thumb: 'http://i.ytimg.com/vi/LiFLVEjr924/1.jpg', title: 'Baseball Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31131, thumb: 'http://i.ytimg.com/vi/ZV82y_QL_WQ/1.jpg', title: 'Statue Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31132, thumb: 'http://i.ytimg.com/vi/-5W58LoiSEQ/1.jpg', title: 'Jumping Jacks Fail', desc: 'For more, visit failblog.org ... Jumping Jacks Army Exercise Fail '});
	cvids_328935.push({vid:31137, thumb: 'http://i.ytimg.com/vi/MC1cNLOmurQ/1.jpg', title: 'Nunchuck Fail', desc: 'For more, visit failblog.org ... Nunchuck Fail Failblog blog Funny Video Series '});
	cvids_328935.push({vid:31138, thumb: 'http://i.ytimg.com/vi/eG_V4eB5PR4/1.jpg', title: 'Parked Car Fail', desc: 'For more, visit failblog.org ... Parked Car Fail Accident Gas Station Funny Video Failblog '});
	cvids_328935.push({vid:31141, thumb: 'http://i.ytimg.com/vi/EWVyJ-YG3ew/1.jpg', title: 'Activist Fail', desc: 'For more, visit failblog.org ... Activist Fail Failblog Funny Video Trees '});
	cvids_328935.push({vid:31145, thumb: 'http://i.ytimg.com/vi/BTz73Tt2m9Q/1.jpg', title: 'Birds and Bees Fail', desc: 'For more, visit failblog.org ... Birds and Bees Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31146, thumb: 'http://i.ytimg.com/vi/gtgSAlclqS8/1.jpg', title: 'Nickelback Fail', desc: 'For more, visit failblog.org ... Nickelback Fail Failblog Blog Funny Videos Music Performance TV '});
	cvids_328935.push({vid:31147, thumb: 'http://i.ytimg.com/vi/CbOtiOfRSiY/1.jpg', title: 'Injury Fail', desc: 'For more, visit failblog.org ... Injury Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31148, thumb: 'http://i.ytimg.com/vi/XCVGRDSB7EM/1.jpg', title: 'Lip Sync Fail', desc: 'For more, visit failblog.org ... Lip Sync Fail Failblog Music Performance Synching '});
	cvids_328935.push({vid:31149, thumb: 'http://i.ytimg.com/vi/s0ppDsKa4Sw/1.jpg', title: 'Party Boat Fail', desc: 'For more, visit failblog.org http ... Party Boat Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31150, thumb: 'http://i.ytimg.com/vi/xOYMBbW_Pdo/1.jpg', title: '404 Show #1 - Blagojevich, Mahalo Daily vs. Poptub, FailBlog, 60 Days Notice', desc: 'The 404 Show is your bi-weekly dose of all things good (or otherwise) on the Internet, YouTube, and elsewhere. Blagojevich skips his own '});
	cvids_328935.push({vid:31152, thumb: 'http://i.ytimg.com/vi/-Lj1zeAiYWw/1.jpg', title: 'Commercial Fail', desc: 'For more, visit failblog.org ... Commercial Fail The Wunder Boner TV Failblog '});
	cvids_328935.push({vid:31154, thumb: 'http://i.ytimg.com/vi/QOhDU_sUzCo/1.jpg', title: 'Acting Fail', desc: 'For more, visit failblog.org ... Acting Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31155, thumb: 'http://i.ytimg.com/vi/BzqwFAVsbKo/1.jpg', title: 'Trucks Fail', desc: 'For more, visit failblog.org ... Trucks Fail Bridge Accidents Failblog Series Funny Videos '});
	cvids_328935.push({vid:31157, thumb: 'http://i.ytimg.com/vi/uQTd_xXpDQ0/1.jpg', title: 'Jeep Fail', desc: 'For more, visit failblog.org ... Jeep Fail Truck Stuck In Mud Funny Video Failblog '});
	cvids_328935.push({vid:31159, thumb: 'http://i.ytimg.com/vi/0BwV_MH6hVQ/1.jpg', title: 'Trust Fail', desc: 'For more, visit failblog.org ... Trust Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31162, thumb: 'http://i.ytimg.com/vi/dDxZLerHDjU/1.jpg', title: 'Redneck Fail', desc: 'For more, visit failblog.org View the original here www.youtube.com ... Redneck Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31163, thumb: 'http://i.ytimg.com/vi/PjEKLByrG3U/1.jpg', title: 'News Anchor Fail', desc: 'For more, visit failblog.org ... News Anchor Fail Failblog Blog Funny Videos Report TV '});
	cvids_328935.push({vid:31164, thumb: 'http://i.ytimg.com/vi/ZREjArWgATY/1.jpg', title: 'Footloose Fail', desc: 'For more, visit failblog.org ... Footloose Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31166, thumb: 'http://i.ytimg.com/vi/f1piL0S6R0E/1.jpg', title: 'The Most Epic Fails Part 2', desc: 'new pics on failblog. Anyway please comment and rate, and if you liked it, tell your friends!! All pictures are from Failblog.org, '});
	cvids_328935.push({vid:31167, thumb: 'http://i.ytimg.com/vi/M2IFW_kEN80/1.jpg', title: 'Slam Dunk Fail', desc: 'For more, visit failblog.org ... Slam Dunk Fail Failblog Blog Funny Videos Basketball '});
	cvids_328935.push({vid:31168, thumb: 'http://i.ytimg.com/vi/0OeJvgNgWwg/1.jpg', title: 'Taser Protection Fail', desc: 'For more, visit failblog.org ... Taser Protection Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31169, thumb: 'http://i.ytimg.com/vi/B3dhu5IbYDs/1.jpg', title: 'Soccer Fan Fail', desc: 'For more, visit failblog.org ... Soccer Fan Fail Funny Sports Video TV Game Failblog '});
	cvids_328935.push({vid:31170, thumb: 'http://i.ytimg.com/vi/1y3jmE87SoE/1.jpg', title: 'Number of States Fail', desc: 'For more, visit failblog.org ... Number of States Fail Failblog Blog Funny Videos President News '});
	cvids_328935.push({vid:31172, thumb: 'http://i.ytimg.com/vi/WGBcY2IoFSg/1.jpg', title: 'Honking Fail', desc: 'For more, go to failblog.org ... honking fail car '});
	cvids_328935.push({vid:31175, thumb: 'http://i.ytimg.com/vi/r8BvBtdpQao/1.jpg', title: 'Bassist Fail', desc: 'For more, visit failblog.org ... Bassist Fail Failblog blog Funny Videos Music Video Series '});
	cvids_328935.push({vid:31176, thumb: 'http://i.ytimg.com/vi/ALob2IKOHD0/1.jpg', title: 'Animal Identification Fail', desc: 'For more, go to failblog.org ... tv fail animal identification '});
	cvids_328935.push({vid:31178, thumb: 'http://i.ytimg.com/vi/k03V29K5qBA/1.jpg', title: 'Singing Fail', desc: 'For more, visit failblog.org ... Singing Fail Failblog Funny Videos Singer '});
	cvids_328935.push({vid:31180, thumb: 'http://i.ytimg.com/vi/Tqa9VqiaUgg/1.jpg', title: 'Ice Sculpture Fail', desc: 'For more, visit failblog.org ... ice sculpture fail '});
	cvids_328935.push({vid:31181, thumb: 'http://i.ytimg.com/vi/aLm-QlG5Cf8/1.jpg', title: 'News Graphic Fail', desc: 'For more, visit failblog.org ... News Graphic Fail Failblog Blog Funny Videos Series Report '});
	cvids_328935.push({vid:31182, thumb: 'http://i.ytimg.com/vi/VBXxmISAMA8/1.jpg', title: 'Vending Machine Fail', desc: 'For more, visit failblog.org ... vending machine glass break fail '});
	cvids_328935.push({vid:31183, thumb: 'http://i.ytimg.com/vi/LbittLn84cY/1.jpg', title: 'Pen Trick Fail', desc: 'For more, visit failblog.org ... Pen Trick Electrocuted Fail '});
	cvids_328935.push({vid:31184, thumb: 'http://i.ytimg.com/vi/dj0jo-XLzHQ/1.jpg', title: 'Hunting Fail', desc: 'For more, visit failblog.org ... hunting animals boar lion fail '});
	cvids_328935.push({vid:31186, thumb: 'http://i.ytimg.com/vi/bOXnxmlEkY0/1.jpg', title: 'Slide Fail', desc: 'For more, visit failblog.org ... slide phallic fail '});
	cvids_328935.push({vid:31190, thumb: 'http://i.ytimg.com/vi/twZAGWOxn6s/1.jpg', title: 'Tiddy Commercial Fail', desc: 'For more, visit failblog.org ... Tiddy Commercial TV Ad Seatbelt Fail '});
	cvids_328935.push({vid:31191, thumb: 'http://i.ytimg.com/vi/BK3BnVi1NQE/1.jpg', title: 'Host Fail', desc: 'more, visit failblog.org Vote for FAIL Blog to win the Webbys at pv.webbyawards.com Thanks! ... Host Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31192, thumb: 'http://i.ytimg.com/vi/0hqx61roe-k/1.jpg', title: 'Driving Fail', desc: 'For more, visit failblog.org ... Mustang Crash House Driving New Car Fail '});
	cvids_328935.push({vid:31193, thumb: 'http://i.ytimg.com/vi/osXU2u5OhiI/1.jpg', title: 'Mountain Biker Fail', desc: 'For more, visit failblog.org ... Mountain Bike Jump Helmet Rocks Fail '});
	cvids_328935.push({vid:31194, thumb: 'http://i.ytimg.com/vi/ajXT9ER7WFo/1.jpg', title: 'Ironing Fail', desc: 'For more, visit failblog.org. Video by Dieko www.youtube.com ... Ironing Shirt Cell Phone Burn Fail '});
	cvids_328935.push({vid:31195, thumb: 'http://i.ytimg.com/vi/bHXj3qgFs_k/1.jpg', title: 'Sleepwalking Fail', desc: 'For more, visit failblog.org ... Sleepwalking Fail Dog Sleeping Animal Funny Cute '});
	cvids_328935.push({vid:31196, thumb: 'http://i.ytimg.com/vi/MEi032eYI1w/1.jpg', title: 'Gymnast Fail', desc: 'the gymnast himself. He survived his fall, and continues to do the sport. For more, visit failblog.org ... fall gymnast gymnastics fail '});
	cvids_328935.push({vid:31197, thumb: 'http://i.ytimg.com/vi/W92KYTWrwLY/1.jpg', title: 'Ultimate Fail Collection', desc: 'Insane fail pictures For more, visit failblog.org Video credits to failblog Audio was paid for from itunes ... Fail Failblog fail collection failed compilation funny pictures '});
	cvids_328935.push({vid:31198, thumb: 'http://i.ytimg.com/vi/w9F7bwl2w3o/1.jpg', title: 'Biological Fail', desc: 'to see more of this go to failblog.org or go to channel \"failblog\" youtube.com ... lol Obama Failblog Fail '});
	cvids_328935.push({vid:31202, thumb: 'http://i.ytimg.com/vi/ZVzdUGzbOYI/1.jpg', title: 'Goal Celebration Fail', desc: 'more, visit failblog.org Vote for Fail Blog to win the webbys at pv.webbyawards.com Thanks! ... Goal Celebration Fail Failblog Blog Funny '});
	cvids_328935.push({vid:31203, thumb: 'http://i.ytimg.com/vi/nBArqeadTYA/1.jpg', title: 'Snorkeling Fail', desc: 'For more, visit failblog.org http ... Snorkeling Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31204, thumb: 'http://i.ytimg.com/vi/bKDRQTEDMbQ/1.jpg', title: 'Marriage Proposal Fail', desc: 'For more, visit failblog.org View the original here www.youtube.com ... Marriage Proposal Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31206, thumb: 'http://i.ytimg.com/vi/eHn1n0JJiFc/1.jpg', title: 'Faceplant Series - Dancing Fail', desc: 'For more fail videos and pictures, go to failblog.org ... tv dance faceplant fail failblog '});
	cvids_328935.push({vid:31211, thumb: 'http://i.ytimg.com/vi/rU3WgN--sFs/1.jpg', title: 'Uppercut Fail', desc: 'For more, visit failblog.org View the original here www.youtube.com ... Uppercut Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31212, thumb: 'http://i.ytimg.com/vi/UPG2HLyVdOg/1.jpg', title: 'Crucifixion Fail', desc: 'For more, visit failblog.org View the original here www.youtube.com ... Crucifixion Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31213, thumb: 'http://i.ytimg.com/vi/QRJBgIO--rE/1.jpg', title: 'Courage Fail', desc: 'For more, visit failblog.org ... Courage Fail News Report Funny Video Lizard Failblog '});
	cvids_328935.push({vid:31214, thumb: 'http://i.ytimg.com/vi/gBkVuT5pw1g/1.jpg', title: 'AYDS Commercial Fail', desc: 'For more, visit failblog.org ... AYDS Commercial Fail TV Advertisement Funny Video Failblog '});
	cvids_328935.push({vid:31217, thumb: 'http://i.ytimg.com/vi/rvWUWtA5jIA/1.jpg', title: 'Faceplant Series - Segway Fail', desc: 'For more fail videos and pictures, go to failblog.org ... segway faceplant fail failblog fall '});
	cvids_328935.push({vid:31220, thumb: 'http://i.ytimg.com/vi/myah6CCh9Rs/1.jpg', title: 'Getting out of the way Fail', desc: 'For more, visit failblog.org ... Getting out of the way Fail News Broadcaster Report Funny Video Failblog '});
	cvids_328935.push({vid:31221, thumb: 'http://i.ytimg.com/vi/5FW4B7BxT2w/1.jpg', title: 'Road Sign Fail', desc: 'For more, visit failblog.org ... Road Sign Fail Zombies News Report Hackers Failblog '});
	cvids_328935.push({vid:31222, thumb: 'http://i.ytimg.com/vi/4qmozDoWPTs/1.jpg', title: 'Poledancing Fail', desc: 'For more, go to failblog.org ... fail failblog stripper pole dancing faceplant '});
	cvids_328935.push({vid:31223, thumb: 'http://i.ytimg.com/vi/XjkFoyiUdh0/1.jpg', title: 'Drive Thru Fail', desc: 'For more, visit failblog.org ... Drive Thru Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31224, thumb: 'http://i.ytimg.com/vi/M3yGCE8Tfp4/1.jpg', title: 'Golf Club Fail', desc: 'For more, visit failblog.org ... Golf Club Fail Funny Commercial TV Advertisement Failblog '});
	cvids_328935.push({vid:31225, thumb: 'http://i.ytimg.com/vi/8FefWp_4B0k/1.jpg', title: 'Dating Fail', desc: 'For more, go to failblog.org ... fail failblog dating goth '});
	cvids_328935.push({vid:31226, thumb: 'http://i.ytimg.com/vi/pX8K9G8to9E/1.jpg', title: 'Fail', desc: 'Quelle : www.failblog.org ... failblog fail lol hilarious nice funny anus burger lmao rofl :D '});
	cvids_328935.push({vid:31228, thumb: 'http://i.ytimg.com/vi/ZA3wYwjJiW4/1.jpg', title: 'Theater Fail', desc: 'For more, visit failblog.org ... Theater Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31229, thumb: 'http://i.ytimg.com/vi/mD0-ogXG70E/1.jpg', title: 'Track Fail', desc: 'For more, go to failblog.org Wait for it... wait for it... ... fail run track fall failblog '});
	cvids_328935.push({vid:31230, thumb: 'http://i.ytimg.com/vi/hMnISHCPeHk/1.jpg', title: 'Dance Dance Fail', desc: 'For more, visit failblog.org ... Dance Fail Failblog Blog Dancing Video Funny Videos Series '});
	cvids_328935.push({vid:31231, thumb: 'http://i.ytimg.com/vi/UZLYBGPU_c0/1.jpg', title: 'Safe Hands Fail', desc: 'For more, visit failblog.org ... Safe Hands Fail Failblog Funny Videos Series TV Show '});
	cvids_328935.push({vid:31232, thumb: 'http://i.ytimg.com/vi/YMIlSXUVXEI/1.jpg', title: 'Escape Fail', desc: 'For more, visit failblog.org ... Escape Fail Failblog News Report Broadcast Funny Video '});
	cvids_328935.push({vid:31233, thumb: 'http://i.ytimg.com/vi/WbJqSwHqeu4/1.jpg', title: 'Interview Fail', desc: 'For more, visit failblog.org ... Interview Fail News Report TV Funny Video Failblog '});
	cvids_328935.push({vid:31234, thumb: 'http://i.ytimg.com/vi/1_fpoSdK_aU/1.jpg', title: 'Ambulance Fail', desc: 'For more, visit failblog.org ... Ambulance Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31235, thumb: 'http://i.ytimg.com/vi/N0fINE8jfA8/1.jpg', title: 'Viola Fail', desc: 'For more, visit failblog.org ... Viola Fail Failblog Funny Video Series '});
	cvids_328935.push({vid:31236, thumb: 'http://i.ytimg.com/vi/mzArewRwLWY/1.jpg', title: 'Audition Fail', desc: 'For more, visit failblog.org ... Audition Fail Failblog Singing Video Funny TV '});
	cvids_328935.push({vid:31237, thumb: 'http://i.ytimg.com/vi/yUlVDqHG3X4/1.jpg', title: 'Stock Broker Fail', desc: 'For more, visit failblog.org ... Stock Broker Fail News Report Pranks Failblog '});
	cvids_328935.push({vid:31238, thumb: 'http://i.ytimg.com/vi/m_WNIsoskPE/1.jpg', title: 'Car in park Fail', desc: 'For more, visit failblog.org ... Car in Park Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31239, thumb: 'http://i.ytimg.com/vi/co-8kLtl4NU/1.jpg', title: 'Sleepwalking Fail', desc: 'For more, visit failblog.org ... Sleepwalking Fail Dog Sleeping Animal Funny Cute Failblog Failvideo '});
	cvids_328935.push({vid:38787, thumb: 'http://i.ytimg.com/vi/8Q_RXCgtKIg/1.jpg', title: 'Stripper Fail', desc: 'For more, go to failblog.org'});
	cvids_328935.push({vid:30979, thumb: 'http://media1.break.com/dnet/media/2009/1/649284_4f4bfc35-4ad5-496d-9477-70cf8fd4f69e_prod_1_0001_thumb.jpg', title: 'Child Molester Fail', desc: 'For more fail videos and pictures, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:30981, thumb: 'http://a.images.blip.tv/Failblog-AgilityTestFail730-302.jpg', title: 'Agility Test Fail', desc: '\n\nAgility Test Fail\n\n'});
	cvids_328935.push({vid:30988, thumb: 'http://media1.break.com/dnet/media/2009/1/649307_a5fdb3a4-837d-4ef2-8044-aa048f5e7f71_prod_1_0001_thumb.jpg', title: 'Pole Vault Fail', desc: 'For more, go to: http:\\/\\/failblog.org'});
	cvids_328935.push({vid:30989, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F3.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3Dcbf7b8ef7bcbc343%26offsetms%3D30000%26itag%3Dw160%26hl%3Dnl%26sigh%3D8dY42lfNslIyIWIxkMbbpsVpieI', title: 'Pen Trick Fail - Lourens Haasbroek www.the7figureclub.com', desc: '[RATE THIS VIDEO]\nFor more, visit http://failblog.org\nBrought to you by: Lourens Haasbroek\nwww.the7figureclub.com'});
	cvids_328935.push({vid:30993, thumb: 'http://media1.break.com/dnet/media/2009/1/649299_a800a173-59ee-418b-86e5-b52fdc2d9c57_prod_1_0001_thumb.jpg', title: 'Pyrotechnics Fail', desc: 'For more fail videos and pictures, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:30999, thumb: 'http://media1.break.com/dnet/media/2009/1/649287_c6009ca3-65d5-4e76-af05-fd9288da13af_prod_1_0001_thumb.jpg', title: 'Faceplant Series - Halfpipe Fail', desc: 'For more, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31000, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F2.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3D085a5649494d6a42%26offsetms%3D10000%26itag%3Dw160%26hl%3Dnl%26sigh%3DWw37-hKVGxxwbg39SN8vYACc5D4', title: 'Border Patrol Fail[Lourens Haasbroek] www.the7figureclub.com', desc: '[RATE THIS VIDEO]\nFor more, visit http://failblog.org\nBrought to you by: Lourens Haasbroek\n[www.the7figureclub.com]'});
	cvids_328935.push({vid:31001, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/8279/83431859.jpeg', title: 'TV Host Fail', desc: 'TV Host Fail'});
	cvids_328935.push({vid:31004, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/7885/82012742.jpeg', title: 'Activist Fail', desc: 'Activist Fail'});
	cvids_328935.push({vid:31005, thumb: 'http://s2.mcstatic.com/thumb/2565677/0/4/catalog_item5/0/1/stock_broker_fail.jpg', title: 'Stock Broker Fail', desc: 'For more, visit http://\&lt;b\&gt;failblog\&lt;/b\&gt;.org'});
	cvids_328935.push({vid:31006, thumb: 'http://media1.break.com/dnet/media/2009/1/649269_ba6dda81-fce2-4b3a-9243-7e7bc4f1e47e_prod_1_0001_thumb.jpg', title: 'Skateboarding Fail', desc: 'For more, go to: http:\\/\\/failblog.org<br \\/><br \\/>Skateboarder busts a nut and grabs onto a gushing handful of FAIL.'});
	cvids_328935.push({vid:31010, thumb: 'http://s3.mcstatic.com/thumb/2611478/0/4/catalog_item5/0/1/street_racing_fail.jpg', title: 'Street Racing Fail', desc: 'For more, visit http://failblog.org ...'});
	cvids_328935.push({vid:31011, thumb: 'http://media1.break.com/dnet/media/2009/1/649283_410ea203-b641-42d4-a247-96b90d954bfb_prod_1_0001_thumb.jpg', title: 'Track Fail', desc: 'For more, go to http:\\/\\/failblog.org<br \\/><br \\/>Wait for it... wait for it... :)'});
	cvids_328935.push({vid:31015, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/7957/82270408.jpeg', title: 'Dance Dance Fail', desc: 'Dance Dance Fail'});
	cvids_328935.push({vid:31016, thumb: 'http://s4.mcstatic.com/thumb/2607847/0/4/catalog_item5/0/1/professionalism_fail.jpg', title: 'Professionalism Fail', desc: 'For more, visit http://failblog.org ...'});
	cvids_328935.push({vid:31018, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F0.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3De6f47a6b4d4dc754%26offsetms%3D35000%26itag%3Dw160%26hl%3Dnl%26sigh%3DQDnPKdcj7y5nFOq9DVQETnrEWqQ', title: 'Fire Safety Fail', desc: 'Fire Safety Fail\nFire Safety Fail Failblog Blog Funny Videos'});
	cvids_328935.push({vid:31019, thumb: 'http://s3.mcstatic.com/thumb/2713050/0/4/catalog_item5/0/1/camaro_fail.jpg', title: 'Camaro Fail', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31024, thumb: 'http://media1.break.com/dnet/media/2009/1/649305_b2febaf2-36eb-470d-8f89-5f2ffaa8a19e_prod_1_0001_thumb.jpg', title: 'Backflip Fail', desc: 'For more, go to: http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31025, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F1.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3Db18941e60ece26d9%26offsetms%3D5000%26itag%3Dw160%26hl%3Dnl%26sigh%3D96zBzfXJgpqbJqBK44b5dGM6qcs', title: 'Machine Gun Fail [Lourens Haasbroek] www.the7figureclub.com', desc: '[RATE THIS VIDEO]\nFor more, visit http://failblog.org\nBrought to you by: Lourens Haasbroek\n[ www.the7figureclub.com ]'});
	cvids_328935.push({vid:31029, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14181462.jpg?20090226135803', title: 'Levitation Fail', desc: 'Levitation Fail XD  trouv\u00e9e sur failblog.org'});
	cvids_328935.push({vid:31031, thumb: 'http://media1.break.com/dnet/media/2009/1/649311_07e91644-123a-4ad7-8cec-0b31c770e12d_prod_1_0001_thumb.jpg', title: 'Car Fail', desc: 'For more, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31032, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F0.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3Defb5dd74bbc3ed68%26offsetms%3D0%26itag%3Dw160%26hl%3Dnl%26sigh%3DybLLX2Ddv4khpiVW6ShVc8PU4w0', title: 'Ski Jump Fail - Lourens Haasbroek www.the7figureclub.com', desc: '[RATE THIS VIDEO]\nFor more, visit http://failblog.org\nBrought to you by: [Lourens Haasbroek]\nwww.the7figureclub.com'});
	cvids_328935.push({vid:31033, thumb: 'http://a.images.blip.tv/Pop17-CheeseburgersFunnyCatsLovedByBenHuhLOLPop17795-573-912.jpg', title: 'Cheeseburgers, Funny Cats Loved By Ben Huh LOL (pop17)', desc: '\n\nBen Huh\'s on http://pop17.com for an interview. He gave a keynote at the web 2.0 expo in New York City. Ben is the CEO of the company that runs I Can Has Cheezburger?, FAIL Blog, EngrishFunny.com and several other user-created humor sites. The company has grown from nothing to serving 100 million page-views a month in less time than Sarah Palin has been governor of Alaska. http://icanhascheezburger.com/ http://ihasahotdog.com/ http://roflrazzi.com/ http://totallylookslike.com/ http://punditkitchen.com/ http://graphjam.com/ http://failblog.org/ http://engrishfunny.com/ You can get involved with all these blogs! Please comment rate and subscribe. Music by http://podingtonbear.com\n\n'});
	cvids_328935.push({vid:31035, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/861/844/8618445_200.jpg', title: 'FITNESS FAIL 1', desc: 'FITNESS FAIL, showing The Worst Way to Exercise (featuring Joe Six-Pack) is brought to you by: http://TTheBestWayToExercise.com\n\nIt can\'t get much worse than this... but at least he was having fun!!\n\n(This is not associated with FailBlog or Fail Blog) :-)'});
	cvids_328935.push({vid:31038, thumb: 'http://s1.mcstatic.com/thumb/2568168/0/4/catalog_item5/0/1/tie_color_fail.jpg', title: 'Tie Color Fail', desc: 'For more, visit http://failblog.org'});
	cvids_328935.push({vid:31040, thumb: 'http://a.images.blip.tv/Rocketboom-rb_08_oct_24471-993.jpg', title: 'Know Your Meme: FAIL', desc: '\n\nBlazing Star, FAIL group on Flickr, Fail Blog, Fail Dogs, a collection of FAIL images, Pro Wrestling, a collection of pwnage, 1895 Montparnasse train wreck, What is Mayonnaise anyway?, Darwinian Evolution, Charles Bosk\'s \"Forgive \&amp; Remember\"\n\n'});
	cvids_328935.push({vid:31043, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13391341.jpg?20090109052200', title: 'Pen Trick Fail - Lourens Haasbroek www.the7figureclub.com', desc: '[RATE THIS VIDEO]  For more, visit http://failblog.org  Brought to you by: Lourens Haasbroek  www.the7figureclub.com'});
	cvids_328935.push({vid:31045, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/8341/83657036.jpeg', title: 'FITNESS FAIL 1', desc: 'FITNESS FAIL, showing The Worst Way to Exercise (featuring Joe Six-Pack) is brought to you by: http://TTheBestWayToExercise.com  It can\'t get much worse than...'});
	cvids_328935.push({vid:31052, thumb: 'http://i.ytimg.com/vi/6xm5V7G5tgs/1.jpg', title: 'Diving Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31053, thumb: 'http://media1.break.com/dnet/media/2009/1/649303_1662c24a-37aa-4808-a345-9f6c9db259dc_prod_1_0001_thumb.jpg', title: 'Elephant Fail', desc: 'For more fail videos and pictures, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31054, thumb: 'http://i.ytimg.com/vi/Zzq5hw5KSXU/1.jpg', title: 'Opening Pitch Fail', desc: 'Vote here: pv.webbyawards.com Thanks! For more, visit http ... Opening Pitch Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31055, thumb: 'http://media1.break.com/dnet/media/2009/1/649270_4ac76256-4f05-451d-9a49-8bd0c11ce01c_prod_1_0001_thumb.jpg', title: 'Beach Invasion Fail', desc: 'For more, go to: http:\\/\\/failblog.org<br \\/><br \\/>Marines fail to storm a beach.'});
	cvids_328935.push({vid:31056, thumb: 'http://i.ytimg.com/vi/6xm5V7G5tgs/1.jpg', title: 'Diving Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31058, thumb: 'http://i.ytimg.com/vi/_Sd9QhKP7eI/1.jpg', title: 'Telemarketing Fail failblog**', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31059, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14860389.jpg?20090401185350', title: 'Rope Swing Fail', desc: 'More @ http://www.failfunnies.com Enjoying a nice summer afternoon at the lake, these folks decide to have fun jumping into the water via a rope swing. Giving it a try, this certain female finds herself enjoying a rope swing fail where she has quite the accident \&amp; faceplants at the end of her rope. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31061, thumb: 'http://media1.break.com/dnet/media/2009/1/649285_6b5f1bb3-8a87-4c3f-8da4-aeea75792ef0_prod_1_0001_thumb.jpg', title: 'Faceplant Series - Dancing Fail', desc: 'For more fail videos and pictures, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:31063, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14657358.jpg?20090320165144', title: 'Fattie Treadmill Fail', desc: 'More @ http://www.failfunnies.com For some reason, fattie decides that getting onto a treadmill that is running full blast is a good idea. Get a good laugh as you see one of the biggest treadmill faceplants ever. This fail is so epic, it will make a fatties lip even fatter than it allready is. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31065, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/6855/78035334.jpeg', title: 'Pen Trick Fail - Lourens Haasbroek www.the7figureclub.c', desc: '\\[RATE THIS VIDEO\\]  For more, visit http://failblog.org  Brought to you by: Lourens Haasbroek  www.the7figureclub.com'});
	cvids_328935.push({vid:31066, thumb: 'http://media1.break.com/dnet/media/2009/4/703529_590babff-64f9-4a18-a63b-93eb8cd17981_prod_1_0001_thumb.jpg', title: 'FITNESS FAIL 1', desc: 'FITNESS FAIL, showing The Worst Way to Exercise (featuring Joe Six-Pack) is brought to you by: http:\\/\\/TTheBestWayToExercise.comIt cant get much worse than this... but at least he was havi...'});
	cvids_328935.push({vid:31067, thumb: 'http://i.ytimg.com/vi/IYHxlzE1cG0/1.jpg', title: 'Best of Failblog part 2', desc: 'Part 2 for yall children'});
	cvids_328935.push({vid:31068, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14654615.jpg?20090320134244', title: 'Drunk Driver In Police Station Fail', desc: 'More @ http://www.failfunnies.com Severley intoxicated prisoner in the processing room confirms if he was or was not drinking. Watch as he fails many times over before even getting a breathalizer test.  If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.  '});
	cvids_328935.push({vid:31069, thumb: 'http://s4.mcstatic.com/thumb/2682311/0/4/catalog_item5/0/1/anthem_fail.jpg', title: 'Anthem Fail', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31073, thumb: 'http://s2.mcstatic.com/thumb/2602729/0/4/catalog_item5/0/1/golf_club_fail.jpg', title: 'Golf Club Fail', desc: 'For more, visit http://failblog.org ...'});
	cvids_328935.push({vid:31074, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/6855/78036348.jpeg', title: 'Border Patrol Fail\\[Lourens Haasbroek\\] www.the7figureclub.c', desc: '\\[RATE THIS VIDEO\\]  For more, visit http://failblog.org  Brought to you by: Lourens Haasbroek \\[www.the7figureclub.com\\]'});
	cvids_328935.push({vid:31075, thumb: 'http://i.ytimg.com/vi/yQFNvZmY2ao/1.jpg', title: 'Courage Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31076, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14572742.jpg?20090315175855', title: 'Working Out Fail', desc: 'More @ http://www.failfunnies.com A weightlifter who is working out all of a sudden finding himself in a world of fail. Watch this funny/crazy clip as the weightlifter suddenly has an accident \&amp; has his legs pulled behind his head. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31084, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14338236.jpg?20090302023032', title: 'Asian Bike Accident Fail', desc: 'More @ http://www.failfunnies.com Watch as a motorcycle gets run into by a car who runs a red light. Laugh as the biker spins like a chopper blade in the air from the impact. This extreme crash is near fatal, but word has it that the motorcycle driver lives to wanton soup another day. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31087, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14197836.jpg?20090222032424', title: 'Kid\'s Pet Mouse Fail', desc: 'More @ http://www.failfunnies.com A kid playing with his mouse suddenly loses it to a hawk. As the tike allows the mouse to play ontop of a cage, a hawk suddenly swoops down \&amp; steals the kid\'s pet mouse. This hilarous fail should teach kids about a thing called the food chain. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31089, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14179575.jpg?20090221010537', title: 'Coke Mentos Rocket Fail', desc: 'More @ http://www.failfunnies.com Kid gets owned by a coke and mentos mixture. Get a laugh when things backfire after he throws the coke bottle, only to have it find its way flying back at him \&amp; crash in his face. Crazy, funny fail. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31096, thumb: 'http://i.ytimg.com/vi/gUax5lZ72aE/1.jpg', title: 'Hidden Camera Fail failblog', desc: 'For more, go to failblog.org'});
	cvids_328935.push({vid:31097, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13824831.jpg?20090202053324', title: 'Half Pipe Faceplant Fail', desc: 'More @ http://www.failfunnies.com A little tike dares the half pipe in this funny faceplant fail. Get ready to laugh as you instantly notice that this kid is not adjusted to getting on a half pipe. When the kid gets going, he loses control \&amp; ineveitably splats on the pipe. Epic failure. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31099, thumb: 'http://i.ytimg.com/vi/o7IbB8CrnVg/1.jpg', title: 'Cop Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31101, thumb: 'http://i.ytimg.com/vi/Q9FsoqJ0WcY/1.jpg', title: 'Golfing Fail failblog', desc: 'For more, go to failblog.org'});
	cvids_328935.push({vid:31103, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13746401.jpg?20090129020323', title: 'Zorb Fail', desc: 'More @ http://www.failfunnies.com Funny, funny outtake of a TV Host getting run over by a Zorb in New Zealand. Host was OK, even did another take (without the zorb). Ready, get set, action Zorb! If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31105, thumb: 'http://i.ytimg.com/vi/0_FszQC3fBs/1.jpg', title: 'Beach Invasion Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31106, thumb: 'http://i.ytimg.com/vi/uV6c8v2GCEw/1.jpg', title: 'Firetruck fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31107, thumb: 'http://i.ytimg.com/vi/kXISSti3aBs/1.jpg', title: 'Clown Car Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31108, thumb: 'http://i.ytimg.com/vi/eZ3j-e9eL8Y/1.jpg', title: 'Coconut Breaking Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31109, thumb: 'http://i.ytimg.com/vi/yth1uWwjFyw/1.jpg', title: 'Tree Removal Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31111, thumb: 'http://i.ytimg.com/vi/4GWxMW4I6Lo/1.jpg', title: 'Magic Trick Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31114, thumb: 'http://i.ytimg.com/vi/rL2SQZpurxU/1.jpg', title: 'Another Toy Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31116, thumb: 'http://i.ytimg.com/vi/6d7O__3Kn4k/1.jpg', title: 'Drainage Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31119, thumb: 'http://i.ytimg.com/vi/jU4DV05aVLQ/1.jpg', title: 'Tailgate Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31120, thumb: 'http://i.ytimg.com/vi/V0CauxjnFdg/1.jpg', title: 'Rock and Roll Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31127, thumb: 'http://i.ytimg.com/vi/MGqokQ9hjoc/1.jpg', title: 'Jump Fail failblog', desc: 'For more, go to failblog.org'});
	cvids_328935.push({vid:31128, thumb: 'http://i.ytimg.com/vi/UpdjSgKq51Y/1.jpg', title: 'Kite Fail failblog**', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31133, thumb: 'http://i.ytimg.com/vi/8-X2odc61YA/1.jpg', title: 'Diver Fail', desc: 'For more, visit failblog.org http ... Diver Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31134, thumb: 'http://i.ytimg.com/vi/qsaXzP4V1r8/1.jpg', title: 'TV Host Fail', desc: 'For more, visit failblog.org ... TV Host Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31135, thumb: 'http://i.ytimg.com/vi/8JH_0IvC-IE/1.jpg', title: 'Bike Stunt Fail', desc: 'For more, visit failblog.org ... Bike Stunt Fail Failblog Blog Funny Videos Series Bicycle '});
	cvids_328935.push({vid:31139, thumb: 'http://i.ytimg.com/vi/MfDNDj9XlvM/1.jpg', title: 'Traffic Report Fail', desc: 'For more, visit failblog.org ... Traffic Report Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31140, thumb: 'http://i.ytimg.com/vi/TIRtMSfbj34/1.jpg', title: 'Knockout Fail', desc: 'For more, visit failblog.org ... Knockout Fail Failblog blog Funny Videos Boxing Prize Fight Double '});
	cvids_328935.push({vid:31142, thumb: 'http://i.ytimg.com/vi/wCRev-h8yq0/1.jpg', title: 'Frightened Fail', desc: 'For more, visit failblog.org ... Frightened Fail Failblog Blog Funny Videos Singing '});
	cvids_328935.push({vid:31143, thumb: 'http://i.ytimg.com/vi/-uLECuGK07U/1.jpg', title: 'Parking Fail', desc: 'For more, visit failblog.org ... Parking Fail Failblog Funny Video Cars Lot '});
	cvids_328935.push({vid:31144, thumb: 'http://i.ytimg.com/vi/KYNg6ZQLKQ4/1.jpg', title: 'Jump Fail', desc: 'For more, visit failblog.org ... Jump Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31153, thumb: 'http://i.ytimg.com/vi/kOrZHqfcfWU/1.jpg', title: 'Diving Fail', desc: 'For more, visit failblog.org View the original here www.youtube.com ... \"Diving Fail\" Failblog \"Fail Blog\" \"Funny Videos '});
	cvids_328935.push({vid:31158, thumb: 'http://i.ytimg.com/vi/eom77xFww5k/1.jpg', title: 'for failblog.', desc: ''});
	cvids_328935.push({vid:31160, thumb: 'http://i.ytimg.com/vi/NQsK-9VvOMU/1.jpg', title: 'Dunk Fail', desc: 'For more, visit failblog.org View the original here www.youtube.com ... Dunk Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31161, thumb: 'http://i.ytimg.com/vi/BQtifrlJKDc/1.jpg', title: 'Penalty Kick Fail', desc: 'For more, visit failblog.org ... Penalty Kick Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31171, thumb: 'http://i.ytimg.com/vi/M8FhCZBSksY/1.jpg', title: 'Hello Japan Fail', desc: 'For more, visit failblog.org ... Hello Japan Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31173, thumb: 'http://i.ytimg.com/vi/7L45qUFabR0/1.jpg', title: 'Canadian Police Chase Fail', desc: 'For more, visit failblog.org ... Canadian Police Chase Fail Failblog Car Funny Video '});
	cvids_328935.push({vid:31174, thumb: 'http://i.ytimg.com/vi/I0PBq8_olk4/1.jpg', title: 'Car Surfing Fail', desc: 'For more, visit failblog.org ... Idiot Surfing Car Funny Truck Street Accident Failblog Failvideo '});
	cvids_328935.push({vid:31177, thumb: 'http://i.ytimg.com/vi/MoTDA0YYh74/1.jpg', title: 'False Teeth Fail', desc: 'For more, visit failblog.org ... False Teeth Fail Failblog Blog Funny Videos News Report TV Series '});
	cvids_328935.push({vid:31179, thumb: 'http://i.ytimg.com/vi/nBAjWOhykNI/1.jpg', title: 'Backhand Fail', desc: 'For more, visit failblog.org ... Backhand Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31185, thumb: 'http://i.ytimg.com/vi/MwDigWvNBTA/1.jpg', title: 'Locked In Fail', desc: 'For more, visit failblog.org http ... Locked In Fail Failbog Blog Funny Videos '});
	cvids_328935.push({vid:31200, thumb: 'http://i.ytimg.com/vi/LgJxEfYT3Kg/1.jpg', title: 'Singer Fail - John Daker Singalong!', desc: ': www.youtube.com or here: failblog.org Thanks to failblog.org ... singer fail failblog john daker blog animation sing along singalong lip '});
	cvids_328935.push({vid:31201, thumb: 'http://i.ytimg.com/vi/XxGGyVklPHg/1.jpg', title: 'Biking Fail', desc: 'For more, go to failblog.org ... biking sign crash fail failblog '});
	cvids_328935.push({vid:31205, thumb: 'http://i.ytimg.com/vi/CjRM7yVuRtk/1.jpg', title: 'Driving Fail', desc: 'For more, visit failblog.org ... Driving Fail Failblog Funny Videos Accident '});
	cvids_328935.push({vid:31207, thumb: 'http://i.ytimg.com/vi/dAzrTM4aHfE/1.jpg', title: 'Exclusive Nightclub Fail', desc: 'For more, go to: failblog.org Girl fails at Wheel of Fortune. And words. ... fail failblog wheel of fortune dumb '});
	cvids_328935.push({vid:31208, thumb: 'http://i.ytimg.com/vi/J_M_FF1o27I/1.jpg', title: 'Skateboard Reporter Fail', desc: 'For more, visit failblog.org ... Skateboard Reporter Fail Failblog Blog Funny Videos Series News Report '});
	cvids_328935.push({vid:31210, thumb: 'http://i.ytimg.com/vi/X4r-TzJdpBQ/1.jpg', title: 'Ski Jump Fail', desc: 'For more, visit failblog.org ... Ski Jump Fail Failblog Blog Funny Videos Skiiing Series '});
	cvids_328935.push({vid:31240, thumb: 'http://i.ytimg.com/vi/q50xQb3I7wc/1.jpg', title: 'Dog Win', desc: 'For more, visit failblog.org ... Interesting Dog Incredible Smart Impressive Failblog Failvideo '});
	cvids_328935.push({vid:31241, thumb: 'http://i.ytimg.com/vi/vuEtG6K0gtA/1.jpg', title: 'Pimping Fail', desc: 'For more, visit failblog.org ... Pimp Pimping Whore Business Black Guy Police Lessons Martial Arts Failblog Failvideo '});
	cvids_328935.push({vid:30983, thumb: 'http://ll-images.veoh.com/image.out?imageId=media-v18230161eCaHJ6sr1239742718.jpg', title: 'FITNESS FAIL 1', desc: 'FITNESS FAIL, showing The Worst Way to Exercise (featuring Joe Six-Pack) is brought to you by: http://TTheBestWayToExercise.com  It can\'t get much worse than this... but at least he was having fun!!  (This is not associated with FailBlog or Fail Blog) :-)'});
	cvids_328935.push({vid:30992, thumb: 'http://s3.mcstatic.com/thumb/2696138/0/4/catalog_item5/0/1/tree_removal_fail.jpg', title: 'Tree Removal Fail', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31026, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/8286/83456175.jpeg', title: 'Traffic Report Fail', desc: 'Traffic Report Fail'});
	cvids_328935.push({vid:31027, thumb: 'http://i.ytimg.com/vi/7YwoQQd67sk/1.jpg', title: 'Balloon Fail failblog', desc: 'failblog.org'});
	cvids_328935.push({vid:31030, thumb: 'http://s4.mcstatic.com/thumb/2588731/0/4/catalog_item5/0/1/nunchuck_fail.jpg', title: 'Nunchuck Fail', desc: 'For more, visit http://failblog.org'});
	cvids_328935.push({vid:31041, thumb: 'http://i.ytimg.com/vi/Fm12KUoV1zI/1.jpg', title: 'Truck Driver Fail', desc: 'Vote here: pv.webbyawards.com Thanks! For more, visit http www.mindcrap.com ... Truck Driver Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31044, thumb: 'http://media1.break.com/dnet/media/2009/1/649292_3592e607-309a-4992-898f-6b0eef5e17d1_prod_1_0001_thumb.jpg', title: 'Steeple Chase Fail', desc: 'For more, go to http:\\/\\/failblog.org<br \\/><br \\/>Faced with the choice of splash or fail, athlete chooses FAIL.'});
	cvids_328935.push({vid:31046, thumb: 'http://i.ytimg.com/vi/C8VF1_pZphI/1.jpg', title: 'Brakes Fail', desc: 'For more, visit failblog.org ... Brakes Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31047, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14988393.jpg?20090409034309', title: 'Cross The Creek Fail', desc: 'More @ http://www.failfunnies.com During a summer camp, it is required that kids cross a creek via a hanging rope. During a rope crossing, this blonde female suddenly loses her grip \&amp; falls straight back into to the cold cold water. Watch \&amp; laugh at this imminent fail of epic proportions. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31060, thumb: 'http://s3.mcstatic.com/thumb/2469386/0/4/catalog_item5/0/1/car_gets_stuck_in_the_snow.jpg', title: 'Car Gets Stuck in the Snow!', desc: 'This huge vehicle gets stuck in a huge snow obstacle for about an hour!  People try to get it out but fail to a whole new level!\n\nSubscribe!\n\nhttp://www.youtube.com/Punkd197\n\nFollow me on Twitter:\n\nhttp://twitter.com/Punkd197'});
	cvids_328935.push({vid:31072, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14581846.jpg?20090316030258', title: 'Ass Rocket Fail', desc: 'More @ http://www.failfunnies.com Some crazy kids decide that it would be fun to shoot a bottle rocket in a very inappropriate place. Get ready to cry your eyes out laughing at what happens in this epic failure. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31083, thumb: 'http://i.ytimg.com/vi/CthSdaJjvuY/1.jpg', title: 'Hotel Ad Fail failblog', desc: 'For more, go to failblog.org'});
	cvids_328935.push({vid:31187, thumb: 'http://i.ytimg.com/vi/hA4TGRok3N0/1.jpg', title: 'Balloon launch Fail', desc: 'a set of balloons. Each balloon is said to represent one orphan child. For more, visit failblog.org ... orphan metaphor fail balloon launch '});
	cvids_328935.push({vid:31199, thumb: 'http://i.ytimg.com/vi/vkxCOphGJcU/1.jpg', title: 'Slam Dunk Fail', desc: 'For more, visit failblog.org ... Slam Dunk Fail Basketball Jump Halftime Show Sports '});
	cvids_328935.push({vid:30977, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13954873.jpg?20090209011452', title: 'Swing Faceplant Fail', desc: 'More @ http://www.failfunnies.com When some kids decide to spin one of their freinds on a swingset, it will only spell fail. Watch and laugh as you watch an oncoming train wreck out in the middle of this playground. The kids keep pushing the swing to the point of break \&amp; then watch their friend fall to the ground, faceplant, \&amp; walk away from the accident. If your still bored,check out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:30980, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/7711/81413717.jpeg', title: 'Excessive Celebration Fail', desc: 'Excessive Ping Pong Celebration Fail'});
	cvids_328935.push({vid:30997, thumb: 'http://s4.mcstatic.com/thumb/2611863/0/4/catalog_item5/0/1/excessive_ping_pong_celebration_highest_quality.jpg', title: 'Excessive Ping Pong Celebration (highest Quality)', desc: 'If Chad \'Ocho Cinco\' Johnson played Ping Pong... by Adam Bobrow. www.adambobrow.com Song: \'Tip\&#39;s Shuffle\' by DJ Topcat. And here it is with no music... the raw footage: http://www.youtube.com/watch?v=HBXQlGNAx_Q ...'});
	cvids_328935.push({vid:31057, thumb: 'http://media1.break.com/dnet/media/2009/1/649280_8ecaeadd-fa2d-4da1-b18c-21425504d969_prod_1_0001_thumb.jpg', title: 'Exclusive Nightclub Fail', desc: 'For more, go to: http:\\/\\/failblog.org<br \\/><br \\/>Girl fails at Wheel of Fortune. And words.'});
	cvids_328935.push({vid:31188, thumb: 'http://i.ytimg.com/vi/W4q_TFno3nM/1.jpg', title: 'Ladder Fail', desc: 'For more, go to failblog.org ... fail ladder tv faceplant '});
	cvids_328935.push({vid:30976, thumb: 'http://ll-images.veoh.com/image.out?imageId=media-v16422108ZZK8RbgA1225637072Med.jpg', title: 'funny fail pics', desc: 'pics of fail funny, 4 more go 2 failblog.org! i made a bit of an error by saying dat its failblog.com, its failblog.org'});
	cvids_328935.push({vid:31007, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F1.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3Dcffdedd2034ac31d%26offsetms%3D30000%26itag%3Dw160%26hl%3Dnl%26sigh%3DBQJAEbMor7mx3UfC-XcJGqfRG-o', title: 'Dance Dance Fail', desc: 'Dance Dance Fail\nDance Fail Failblog Blog Dancing Video Funny Videos Series'});
	cvids_328935.push({vid:31009, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/567/217/5672171_200.jpg', title: 'Fattie Treadmill Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nFor some reason, fattie decides that getting onto a treadmill that is running full blast is a good idea. Get a good laugh as you see one of the biggest treadmill faceplants ever. This fail is so epic, it will make a fatties lip even fatter than it allready is. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31020, thumb: 'http://i.ytimg.com/vi/YIGi3hvp8KA/1.jpg', title: 'Spelling Fail', desc: 'Vote here: pv.webbyawards.com Thanks! For more, visit http ... Spelling Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:31028, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/797/986/7979865_200.jpg', title: 'Cross The Creek Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nDuring a summer camp, it is required that kids cross a creek via a hanging rope. During a rope crossing, this blonde female suddenly loses her grip \& falls straight back into to the cold cold water. Watch \& laugh at this imminent fail of epic proportions. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31156, thumb: 'http://i.ytimg.com/vi/LwaxUX0SkPs/1.jpg', title: 'Skin Boarding Fail', desc: 'For more, visit failblog.org ... Skin Boarding Fail Failblog Blog Funny Videos Series '});
	cvids_328935.push({vid:31216, thumb: 'http://i.ytimg.com/vi/5vD4GkmpsuI/1.jpg', title: 'Life Fail', desc: 'For more, visit failblog.org ... Life Fail Failblog Funny Video TV Advertisement '});
	cvids_328935.push({vid:31008, thumb: 'http://i.ytimg.com/vi/00v1fc-wxBs/1.jpg', title: 'Language Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31012, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/8368/83749406.jpeg', title: 'Fire Safety Fail', desc: 'Fire Safety Fail'});
	cvids_328935.push({vid:31036, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/15019063.jpg?20090410231859', title: 'Crane Accident Fail', desc: 'More @ http://www.failfunnies.com Check out \&amp; marvel at this construction task gone bad. As the crane moves freight \&amp; battles against a barking dog, somehow, a huge fail occurs.  Get a kick out of how the video finishes.  Pay attention \&amp; you will see someone is obviously in trouble.  If your still bored, check out my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31151, thumb: 'http://i.ytimg.com/vi/RUnKsr3wSEM/1.jpg', title: 'License Plate Fail', desc: 'For more, visit failblog.org ... License Plate Fail Failblog Blog Funny Videos '});
	cvids_328935.push({vid:38820, thumb: 'http://2.gvt0.com/ThumbnailServer2?app=vss\&contentid=1df1d842169babb2\&offsetms=50000\&itag=w160\&hl=en\&sigh=t0zJYekEMj6eUP0dKu5Rmsu5e7U', title: 'Bad Reporter', desc: 'Umm... this video is... a video is funny. A funny one today.www.collegehumor.com'});
	cvids_328935.push({vid:30978, thumb: 'http://s1.mcstatic.com/thumb/2324472/9487465/4/catalog_item5/0/1/celebration_fail.jpg', title: 'Celebration Fail', desc: 'For more, visit failblog'});
	cvids_328935.push({vid:30982, thumb: 'http://i.ytimg.com/vi/Folh7C5fqow/1.jpg', title: 'The Best Of FailBlog', desc: 'All credits to failblog and me for setting up video'});
	cvids_328935.push({vid:31034, thumb: 'http://i.ytimg.com/vi/UjHCrH1Wyf0/1.jpg', title: 'In Memory of  FailBlog! :(', desc: 'As many of you know FailBlog\'s channel was shut down by youtube. I\'m not sure of the reason but it was probably some dumb copyright issues. '});
	cvids_328935.push({vid:31042, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/611/810/6118103_200.jpg', title: 'Hillary vs. Coffee Maker Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nHillary Clinton decides to prepare herself her own cup of hot coffee, only to fail \& become befuddled as to how to get the coffee machine to work. Get a good laugh as you watch this presidential hopeful actually try to make her \r\n\r\nown coffee. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of \r\n\r\nthing. \r\n\r\n\r\nThanks to RubixBromide for the submission:  http://www.youtube.com/user/RubixBromide'});
	cvids_328935.push({vid:31017, thumb: 'http://media1.break.com/dnet/media/2009/1/649295_357408a5-524e-49c9-a670-3d12aae7b0be_prod_1_0001_thumb.jpg', title: 'Safe Hands Fail', desc: 'For more fail videos and pictures, go to http:\\/\\/failblog.org'});
	cvids_328935.push({vid:30975, thumb: 'http://i.ytimg.com/vi/MZFfEHlZfjU/1.jpg', title: 'failures courtesy of failblog.org', desc: 'just a big old collection of failures from failblog!!!!COPYRIGHT www.failblog.org \u2554\u2550\u2566\u2557\u2554\u2566\u2557\u2554\u2550\u2566\u2550 '});
	cvids_328935.push({vid:31002, thumb: 'http://i.ytimg.com/vi/OTVyMAiIWRU/1.jpg', title: 'The best of Failblog', desc: 'My tribute to failblog, show in what I think are the best! The Song is: Weird Al: You\'re Pitiful. Please Rate, comment '});
	cvids_328935.push({vid:31215, thumb: 'http://i.ytimg.com/vi/h3bWsanTsps/1.jpg', title: 'Funniest videos ever!', desc: '. for full videos and tracks go to: failblog.org myspace.com/thetunics ... fail failblog tunics shine on accident funny clumsy best top man '});
	cvids_328935.push({vid:30996, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/705/281/7052812_200.jpg', title: 'Parking Garage Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nCheck out what happens when this driver gets out to open a parking garage gate with the car still in drive. Watch as this guy goes for quite a ride. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:30998, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/13595398.jpg?20090120211115', title: 'FAIL - Wii', desc: 'Une vid\u00e9o chop\u00e9e sur http://failblog.org/ Un blog super marrant, avec photos et vid\u00e9os :-) Il y a aussi : http://www.spoiledphotos.com/ Une photo spo(\u00ef)l\u00e9e est un instantan\u00e9 o\u00f9 quelque chose cloche, en bref. Enjoy :-)'});
	cvids_328935.push({vid:31021, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/15141696.jpg?20090418040614', title: 'Woman Parking Fail', desc: 'More @ http://www.failfunnies.com When a woman tries to park her car in a spot that is too small for her car, it can only spell fail. Check out this hilarious adventure of this female driver who tries \&amp; tries to park her car in the street, but cannot because of such a small parking spot. Epic parking fail. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31091, thumb: 'http://i.ytimg.com/vi/1uUx2tAqzYk/1.jpg', title: 'Journalism Fail failblog', desc: 'For more, go to failblog.org'});
	cvids_328935.push({vid:31003, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/513/227/5132270_200.jpg', title: 'Faceplant On Diving Board Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nWhen a fat kid starts to jump on a low dive diving board, it can only spell fail. Here, check out fattie when he tries to do a trick on the diving board, only to faceplant hard and then fall right into the pool of water. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31023, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/771/268/7712682_200.jpg', title: 'Soccer Goal Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nDuring a soccer game, a goalie who gave it his best tries to block a goal kick, only to miss \& break his crotch on the post at the same time. What a crazy double fail. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31093, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14163192.jpg?20090220024043', title: 'Ladder Of Fail', desc: 'More @ http://www.failfunnies.com Harold McCoo of the QVC takes a tumble off of a flex-o-ladder as Karen Connelly looks on in this classic home shopping blooper. If your still bored, check out/add my profile if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31123, thumb: 'http://i.ytimg.com/vi/_-qsl1nTlxI/1.jpg', title: 'Staying Conscious Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:31014, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/577/537/5775373_200.jpg', title: 'Ninja Backflip Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nWhen this martial artist tries to pull off a karate backflip move in front of a camera, it only spells fail. Get a load of this ninja backflip fail as the afro fighter faceplants on the ground, becomes dizzy, \& then falls down again. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing. '});
	cvids_328935.push({vid:31126, thumb: 'http://i.ytimg.com/vi/uFMpR2U2z7c/1.jpg', title: 'Demographic Fail failblog', desc: 'For more, visit failblog.org'});
	cvids_328935.push({vid:30985, thumb: 'http://ak.static.dailymotion.com/dyn/preview/320x240/14195894.jpg?20090222002328', title: 'Emo Head Slam Fail', desc: 'More @ http://www.failfunnies.com A young emo kid who cant play soccer tries to do a flip kick \&amp; fails horribly. Check out his backward flip kick \&amp;  headplant from his stupid emoflip which pwnes his head \&amp; leaves him in pain.  lol fail. If your still bored, check  out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31071, thumb: 'http://i.ytimg.com/vi/MBqwVqthThs/1.jpg', title: 'Amazing NONFAIL failblog**', desc: 'No need of a wheelbarrel. Watch to believe.'});
	cvids_328935.push({vid:31218, thumb: 'http://i.ytimg.com/vi/93sMuhaqpBs/1.jpg', title: 'Stats Fail', desc: 'For more, visit failblog.org ... Stats Fail News Report Funny Video Broadcast Failblog '});
	cvids_328935.push({vid:31189, thumb: 'http://i.ytimg.com/vi/cNUFMQqW7LA/1.jpg', title: 'The Most Epic Fails Part 1', desc: 'All pictures are from Failblog.org, I did not take or caption any of them. If you want more fail, go to failblog! Thanks! '});
	cvids_328935.push({vid:31209, thumb: 'http://i.ytimg.com/vi/Z1UF6eDZutk/1.jpg', title: 'Child Molester Fail', desc: 'For more fail videos and pictures, go to failblog.org ... weather news tv fail failblog '});
	cvids_328935.push({vid:31227, thumb: 'http://i.ytimg.com/vi/CY-Dzv-nQrE/1.jpg', title: 'Levitation Fail', desc: 'For more, visit failblog.org ... Levitation Fail TV Show Funny Video Failblog '});
	cvids_328935.push({vid:31048, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/784/149/7841496_200.jpg', title: 'Wheelie Crash In Front Of Cop Fail', desc: 'More @ http://www.failfunnies.com\r\n\r\nWhen you ride your motorcycle, you want to make sure you dont show-off in front of a cop.  Watch as this crotch rocket does a wheelie in front of a cop, only to lose control \& crash on camera. The word is, the biker was not very smart in that he was not wearing a helmet, \& had on only shorts \& a t-shirt. Get a good laugh at this wheelie crash fail as not only does he crash, but he also gets a ticket for wreckless indangerment. If your still bored, check out/add my profile/videos if you like \'fails\' or are into that sort of thing.'});
	cvids_328935.push({vid:31136, thumb: 'http://i.ytimg.com/vi/dmJEXe8gXNo/1.jpg', title: 'Masculinity Fail', desc: 'For more, visit failblog.org ... Masculinity Fail News Report Weatherman Funny Video Failblog '});
	cvids_328935.push({vid:51953, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/10506/91119910.jpeg', title: 'Fail fail fail fail', desc: 'fail compilation'});
	cvids_328935.push({vid:31219, thumb: 'http://i.ytimg.com/vi/tVTQKhqKdJg/1.jpg', title: 'Celebration Fail', desc: 'For more, visit failblog.org ... Celebration Fail Failblog Blog Funny Videos Series Bowling '});
	cvids_328935.push({vid:44687, thumb: 'http://media1.break.com/dnet/media/2008/3/stripper-bangs-head-on-pole.jpg', title: 'Stripper Bangs Head On Pole', desc: 'A chick is practicing a stripping routine on a pole but loses her balance and falls backward nailing her head.'});
	cvids_328935.push({vid:31037, thumb: 'http://l.yimg.com/a/p/i/bcst/videosearch/8099/82786874.jpeg', title: 'Jump Fail', desc: 'Jump Fail'});
	cvids_328935.push({vid:38454, thumb: 'http://media1.break.com/dnet/media/2009/5/tree-cutting-goes-very-wrong.jpg', title: 'Moron Cuts Tree and Crushes His Porch', desc: 'Don\\u0027t try this at home, because you may not have much of a home left afterward.'});
	html+='<div id="cvideos328935">';
	html+='</div>';	// widget_flash
	
	wgElm_328935.innerHTML=html;
	wgElm_328935.style.display = 'block';
	gotopage_328935(matrix328935_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_328935() {
	closevid_328935();
}

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


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



function closeVideoPlayer_328935() {
	// close screen
	closevid_328935();
	// call to flash object
	//getFlashObject("videostrip_328935").videoDeselect(0);
}


function closevid_328935() {
  el = document.getElementById('vidplayer_328935');
  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_328935(videoitem_id) {

	// close old one
	closevid_328935();

	// open new
	//var vidlist = document.getElementById(id);
	var video_div = document.createElement('div');
	var title='hello';
	video_div.id = "vidplayer_328935";
	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_328935');
	//	//var top = vp_offsetTop(wgElm_328935);
	//	//var left = vp_offsetLeft(wgElm_328935);
	//	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_328935[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_328935();" 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_328935() {
	//alert('cvids='+(cvids_328935.length).toString()+'itemspp='+matrix328935_itemspp);
	matrix328935_npages= Math.ceil(cvids_328935.length / matrix328935_itemspp);
}

function gotopage_328935(pg) {
		
	//if (!matrix328935_npages)
	initpage_328935();
	
	if (pg<1)
		pg=1;
	if (pg>matrix328935_npages)
		pg=matrix328935_npages;
		
	oldpg=matrix328935_curpg;
	matrix328935_curpg=pg;
	var mxs=document.getElementById('cvideos328935');
	var html='';
	for (var i=(matrix328935_curpg-1)*matrix328935_itemspp,cv=0;i<cvids_328935.length && cv<matrix328935_itemspp;i++) {
		html+=  vidthumbhtmlSmall_328935(i);
		cv++;
	}
	html+=  '<div class="v69resetstyle" style="clear:both;"></div>';
	
			if (matrix328935_npages>1) {
			html+=  '<div  class="v69resetstyle" style="margin:1px 0px">'+paginationhtml_328935(matrix328935_curpg, matrix328935_npages)+'</div>';
		}
	
	mxs.innerHTML=html;
}

function vidthumbhtmlSmall_328935(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_328935('+vnr+')" title="'+htmlspecialchars(cvids_328935[vnr].desc)+'" src="'+cvids_328935[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_328935('+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_328935('+vnr+')" >'+htmlspecialchars(cvids_328935[vnr].title)+'</div>';
			html+='</div>';
		html+='</div>';
	html+='</div>';
	return html;
}

//-----------------------------------------------------------------------
// cp 1..npages
function paginationhtml_328935(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_328935('+(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_328935('+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_328935('+(cp+1)+');">Next &gt;&gt;</div>';
	else
		html+='<div class="pageblock_disabled">Next &gt;&gt;</div>';
	html+='</div>';
	return html;
}



