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

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

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

		return rv;
	},
	addcollect: function(key,val) {
		this.ecollect[key]=val;
	},
	//------- helper functions ----------
	createCookie: function (name,value,days) {
		if (days) {
			var date = new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			var expires = "; expires="+date.toGMTString();
		}
		else var expires = "";
		document.cookie = name+"="+value+expires+"; path=/";
	},
	readCookie: function(name) {
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return null;
	},
	eraseCookie: function(name) {
		createCookie(name,"",-1);
	},
	encURI: function(url) {
		//return encodeURIComponent(url);	// forgets to encode a lot of chars. Useless
		var s = escape(url);	// this is the most complete one, however forgets to encode star, slash, @ and +
		s = s.replace(/\*/g,"%2A");
		s = s.replace(/\//g,"%2F");
		s = s.replace(/\@/g,"%40");
		s = s.replace(/\+/g,"%2B");
		return s;
	},
	createXMLHttpRequest: function() {
  		try { return new XMLHttpRequest(); } catch(e) {}
		try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}
		try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch (e) {}
		return null;
	}
}
pgstats.init();
//pgstats.addcollect('vid','234234');
//pgstats.xPageHit();
// Widget standard js for yubby
// NOT based on prototype or jquery - cause it must be lightweight and cant interfere with host

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

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

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

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

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

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

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

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

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

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

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

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

var cvids_7668= new Array();	// channelvideo's
var curvid_7668=0;			// first video
var cpvideo_7668=false;		// false=thumb, true=video

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

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

var wgElm_7668 = document.getElementById('viidoo_chart2_7668');
if (wgElm_7668) {
	vp_createwg();
}

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

function vp_createwg() {
	var html='<div id="widget_flash_7668" class="widget_flash" style="width: 550px;height:375px;overflow:hidden; margin:0;padding:0;border:0px solid #DDDDDD;background:#fff;position:relative;font-family:Arial,helvetica,sans-serif">';
	html+='<div style="margin:0px;">';
	cvids_7668.push({vid:56776, thumb: 'http://i.ytimg.com/vi/OrgahSUbVRk/0.jpg', title: 'Chad Vader Breaks the Internet', desc: 'Chad, in an attempt to force BlogWorld to accept him, breaks the internet. He contacts 3 famous new media experts to help him out'});
	cvids_7668.push({vid:58577, thumb: 'http://i.ytimg.com/vi/nqIMKMvgqlU/0.jpg', title: 'BlogWorld Expo 2009 Las Vegas New Media', desc: ''});
	cvids_7668.push({vid:53465, thumb: 'http://i.ytimg.com/vi/oAIUrq5b64c/1.jpg', title: 'BWE08: ProBlogger Advice for Beginning Bloggers', desc: 'Darren Rowse from Problogger.net offers some tips and advice for the beginning bloggers at BloggingBasics101.com'});
	cvids_7668.push({vid:53462, thumb: 'http://frame.revver.com/frame/120x90/1367793.jpg', title: 'Blog Tips from BWE08 - Part 3', desc: 'Here\'s the last in a 3 part series of quick blog tip videos from Blog World Expo 08.'});
	cvids_7668.push({vid:53514, thumb: 'http://i.ytimg.com/vi/OPmJv-vRww0/1.jpg', title: 'Erin Kotecki Vest', desc: 'Her thoughts on the BlogWorldExpo. ... bwe08 blogworld sparkplugging epson '});
	cvids_7668.push({vid:53444, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F3.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3D291fb2e57c454b53%26offsetms%3D150000%26itag%3Dw160%26hl%3Dnl%26sigh%3Dl372mX9VfTH3Ca5oqS2rTLs34vc', title: 'Richard Jalichandra\'s First Year as Technorati CEO', desc: 'We met Richard Jalichandra last year at the BlogWorld Expo 2007, just 40 days after he had been named the CEO of Technorati. One year later, we ...'});
	cvids_7668.push({vid:53493, thumb: 'http://i.ytimg.com/vi/xlpwr5B6DiI/1.jpg', title: 'Tony Hsieh - CEO of Zappos - Differentiating Your Business 2', desc: 'How to differentiate you business in a commodity market. ... hsieh zappos bwe08 '});
	cvids_7668.push({vid:53466, thumb: 'http://ak2.static.dailymotion.com/static/video/202/035/11530202:jpeg_preview_large.jpg?20081010054028', title: 'David Bullock Interviewed by The Blog Squad', desc: 'Denise Wakeman of The Blog Squad caught up with David Bullock at BlogWorld Expo \&amp; asked got his impressions. David spoke on a panel about monetizing social media \&amp; shared a case study of how Barack Obama is using social media. http://www.barack20.com'});
	cvids_7668.push({vid:53478, thumb: 'http://i.ytimg.com/vi/rVKa1jIHmFQ/1.jpg', title: 'BWE08: Chris Brogan\'s Advice for Beginning Bloggers', desc: 'Chris Brogan offers tips and advice for the beginning bloggers at BloggingBasics101.com.'});
	cvids_7668.push({vid:56103, thumb: 'http://ak2.static.dailymotion.com/static/video/719/973/13379917:jpeg_preview_large.jpg?20090108154308', title: 'Motivational Tips from Gary Vaynerchuk at BlogWorld 2008', desc: 'Gary Vaynerchuk is known for his popular videos on Wine Library TV. Although Gary has been successful, he will be the first to tell you that his success didn\'t happen overnight. Watch and learn from his story in this WebProNews interview with Gary Vaynerchuk.'});
	cvids_7668.push({vid:53443, thumb: 'http://ts.vimeo.com.s3.amazonaws.com/997/936/9979366_200.jpg', title: 'How to Deal with Trolls, Spammers \& Sock Puppets Panel at Blog World Expo 2008', desc: 'Blog post: http://www.managingcommunities.com/2009/04/26/video-how-to-deal-with-trolls-spammers-sock-puppets-panel-at-blog-world-expo-2008\n\nYou just wrote the greatest blog post youve ever written. You researched the subject, spoke with sources, conducted interviews and completed a well thought out, well written article. You hit the post button and your baby is up. Here comes the praise! The first comment you receive? Youre stupid, youre ugly and youre writing sucks. Whether you call them trolls, haters or griefers, theyre out there, waiting to ruin your day, harm your community and taint your world.\n\nOr maybe the first comment was something like, Hey, nice article, check out mine! Just like there are people whod like to harm you, there are also people whod like to cheaply benefit from your work and your audience. Spammers can do their own sort of damage.\n\nBut, neither of these two groups need harm you, if you know how to deal with them. This panel will give you the knowledge you need to tackle it.\n\nPanel participants:\n\nRick Calvert (@blogworld)\nCEO, Blog World \& New Media Expo, http://www.blogworldexpo.com\n\nJohn Chow (@JohnChow)\nFounder and CEO, TTZ Media, http://www.ttzmedia.com\nBlogger, John Chow dot Com, http://www.johnchow.com\n\nJeremy Schoemaker (@shoemoney)\nPresident, ShoeMoney Media Group, http://www.shoemoneymedia.com\nBlogger, ShoeMoney, http://www.shoemoney.com\n\nPatrick O\'Keefe (@iFroggy)\nOwner, iFroggy Network, http://www.ifroggy.com\nAuthor, \"Managing Online Forums\", http://www.managingonlineforums.com'});
	cvids_7668.push({vid:53475, thumb: 'http://i.ytimg.com/vi/Ee45kNoaVAQ/1.jpg', title: 'BWE08: How Can Technorati Help Beginning Bloggers?', desc: 'Max Gideon explains how Technorait.com can help drive traffic to your blog.'});
	cvids_7668.push({vid:53446, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F2.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3D88031d0525ffac82%26offsetms%3D1610000%26itag%3Dw160%26hl%3Dnl%26sigh%3DWh5e3d3InAjME9mtSXL4GLjCsmk', title: 'Affiliate Marketing Secrets For Bloggers', desc: 'Panel discussion from BlogWorld Expo on September 20, 2008 in Las Vegas with Mike Allen, Shawn Collins, and Tim Jones. Introduction and Q\&A with ...'});
	cvids_7668.push({vid:53469, thumb: 'http://a.images.blip.tv/Darrenrowse-TipsFromBlogWorldExpo318-410-936.jpg', title: 'Tips from Blog World Expo', desc: '\n\nAt Blog World Expo I met literally hundreds of bloggers - each with their own experience of blogging. In this video I feature three short interviews with bloggers.\n\n'});
	cvids_7668.push({vid:53452, thumb: 'http://i.ytimg.com/vi/qNqFGIpMbnA/1.jpg', title: 'Interview: Kathy Jacobs, AllVoices (DanielHonigman.com)', desc: 'This is Kathy Jacobs, founder of AllVoices, a citizen journalism site, at Blogworld Expo 2008. AllVoices is quite cool, by the way. Check it out! ... BWE08 #BWE08 BlogWorld Expo DanielHonigman Kathy Jacobs AllVoices '});
	cvids_7668.push({vid:53461, thumb: 'http://i.ytimg.com/vi/Hbe3bpX2Cqs/1.jpg', title: 'Zac Johnson Affiliate Summit', desc: 'Zac Johnson at Affiliate Summit Las Vegas Recorded on March 03, 2008 using a Flip Video camcorder. ... BlogWorldExpo affiliate+summit Zac Johnson super affiliate '});
	cvids_7668.push({vid:53450, thumb: 'http://a.images.blip.tv/Miikomentz-RobertScobleDocSearlsWithAshleyBieverBlogWorldExpo20823-865.jpg', title: 'Robert Scoble \& Doc Searls with Ashley Biever - Blog World Expo 2008', desc: '\n\nBub.blicio.us Reporter Ashley Biever interviews Robert Scoble and Doc Searls at Blog World Expo 2008 in Las Vegas. Ashley caught up with them after their session on citizen journalism titled \"Microjournalism: Breaking News in 140 Words or Less.\" Ashley talks to them about their thoughts on microjournalism and microblogging, and what the evolution of it all will bring us in the future.\n\n'});
	cvids_7668.push({vid:53464, thumb: 'http://www.yubby.com/util/fetchurl?http%3A%2F%2F2.gvt0.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3D30f250fca0843bc2%26offsetms%3D100000%26itag%3Dw160%26hl%3Dnl%26sigh%3DumoQkE3KOnoACOGVV0ubxX8QqhM', title: 'Rich Brooks at BlogWorld Expo', desc: 'Denise Wakeman of The Blog Squad interviews Rich Brooks of flyte new media at BlogWorld Expo. The Rich Brooks shares his insights about changes in ...'});
	cvids_7668.push({vid:53471, thumb: 'http://i.ytimg.com/vi/1oUvGRBuThU/1.jpg', title: 'BWE08: Jim Kukral\'s Advice for Beginning Bloggers', desc: 'Jim Kukral offers advice for beginning bloggers at BloggingBasics101.com'});
	cvids_7668.push({vid:53453, thumb: 'http://i.ytimg.com/vi/4YtJQ4QrOLA/1.jpg', title: 'Deb Ng Talks about Social Media', desc: 'Deb Ng being interviewed at BlogWorld Expo 2008. ... bwe08 BlogWorld Blog World Sparkplugging Freelance Parent Deb Ng Writing Jobs FWJ '});
	cvids_7668.push({vid:53456, thumb: 'http://i.ytimg.com/vi/V5T17234L4Q/1.jpg', title: 'Blogging Expert John Chow', desc: 'John Chow speaks at BlogWorld Expo 2008. Interviewed by Jim Krukal. ... blogging john chow jim krukal '});
	cvids_7668.push({vid:53457, thumb: 'http://i.ytimg.com/vi/anVW6RKxAnY/1.jpg', title: 'PR Web', desc: 'Mario tells us about PR Web from the floor of BlogWorld Expo 2008. ... bwe08 BlogWorld Blog World Sparkplugging Freelance Parent PR Web '});
	cvids_7668.push({vid:53487, thumb: 'http://i.ytimg.com/vi/9tKChIKOcZE/1.jpg', title: 'Mari Smith Interviewed by The Blog Squad', desc: 'Mari Smith, the Pied Piper of Facebook, talked to Denise Wakeman of The Blog Squad about the highlights of BlogWorld Expo 08. She also talked about her new blogging strategy. www.betterbizblogging.com ... blogging blogsquad blogworld bwe08 denise expo facebook mari smith wakeman '});
	cvids_7668.push({vid:53448, thumb: 'http://a.images.blip.tv/Bubblicious-TechSetLasVegasAtBlogWorldExpo2008491-596.jpg', title: 'TechSet Las Vegas at Blog World Expo 2008', desc: '\n\nInternet Geek Girl Stephanie Agresta interviews Dave Cynkin at the Las Vegas TechSet party on September 19th, which took place at Bare, Mirage Hotel\'s poolside bar \& cabanas. Stephanie talks to Dave about the evolution of Blog World Expo, now in its second year. Dave is a co-producer of Blog World Expo along with his partners Rick Calvert and Libby Durfee.TechSet Las Vegas was produced by Stephanie Agresta and Brian Solis, and sponsored by Canvas on Demand, Empressr, (mt) Media Temple, MindTouch, ShareThis and Tagga.Disclaimer: Miiko Mentz works as a video producer and editor for bub.blicio.us, and is also the senior director of new media and PR for FutureWorks where MindTouch is a client. Both bub.blicio.us and FutureWorks are owned by Brian Solis; however, they are separate entities.\n\n'});
	cvids_7668.push({vid:53458, thumb: 'http://i.ytimg.com/vi/cj6aDhzOMmY/1.jpg', title: 'Unique Blog Designs', desc: 'An introduction from one of the vendors at BlogWorld Expo 2008. ... bwe08 BlogWorld Blog World Sparkplugging Freelance Parent '});
	cvids_7668.push({vid:53460, thumb: 'http://i.ytimg.com/vi/X7n661qAUqA/1.jpg', title: 'Marketing Eggspert and Balance Girl Arrive at BlogWorld!', desc: 'Recorded on September 20, 2008 using a Flip Video camcorder. ... sparkcast Sparkplugging BlogWorld Expo #bwe08 blogworld work life balance marketing '});
	cvids_7668.push({vid:53463, thumb: 'http://i.ytimg.com/vi/xydtuTaqZY8/1.jpg', title: '#bwe08 Tweetup Blog Wold Expo Las Vegas', desc: 'www.piratesofthepublicdomain.com Last night in Las Vegas for Blog World Expo Dave Taylor organized a last minute Tweetup for Dinner. I got most of the attendees on this video... but more kept showing up and I got so excited meeting people I forgot to get the camera out again. If you are a blogger or marketer of any kind make sure you get yourself to BWE09 in Las Vegas.'});
	cvids_7668.push({vid:53467, thumb: 'http://frame.revver.com/frame/120x90/1287976.jpg', title: '3 Bloggers Share their Blog Tips from Blog World Expo', desc: 'While at Blog World Expo this year I asked bloggers for their tips on how to build a successful blog. Here 3 successful bloggers answer that question.'});
	cvids_7668.push({vid:53468, thumb: 'http://images.vimeo.com/14/62/56/146256762/146256762_200.jpg', title: 'Gary Vaynerchuk Speech Prep at Blog World Expo 2008', desc: 'Gary getting ready to speak at Blog World Expo 2008 in Las Vegas, with a quick look at the people I was sitting next to during the keynote. Zac Johnson and I think its Debby from Market Leverage.'});
	cvids_7668.push({vid:53470, thumb: 'http://i.ytimg.com/vi/z-fFBSz2kjc/1.jpg', title: 'BWE08: Interview with Barbara Jones of One2OneNetwork.com', desc: 'Barbara Jones is the owner of One2OneNetwork.com, a site that pairs women with marketers for benefits on both sides.'});
	cvids_7668.push({vid:53490, thumb: 'http://i.ytimg.com/vi/o8QIiYDGUy4/1.jpg', title: 'SME-TV: Photrade Makes Photo Contests Easy', desc: 'Jason Falls catches up with Krista Neher from Photrade to see the photosharing and protecting site\'s new photo contest tool. The show was shot at Blog World \& New Media Expo in Las Vegas. ... Photrade photography photo sharing contests bwe08 blogworldexpo '});
	cvids_7668.push({vid:53496, thumb: 'http://i.ytimg.com/vi/GJ_Df_7z1ZA/1.jpg', title: 'Lessons Learned: BlogWorld - Corporate Blogging', desc: 'A discussion of corporate blogging practices, taken from a panel at BlogWorld Expo 2008. ... corporate blogging BlogWorld Expo BWE08 '});
	cvids_7668.push({vid:53472, thumb: 'http://i.ytimg.com/vi/LFJt-f0urfk/1.jpg', title: 'BWE08 Social Marketing Q\&A', desc: 'Darren Rowse, Jason Falls, Lee LeFever \& Patrick O\'Keefe'});
	cvids_7668.push({vid:53473, thumb: 'http://images.vimeo.com/14/62/63/146263322/146263322_200.jpg', title: 'Lunch at Blog World Expo 2008', desc: 'Guy Kawasaki being interviewed by Steve Rubel about various things as we ate our meals. Started with a nice salad, had some chicken and potatoes as the main course and finished out with a really good dessert (don\'t know what it was, but I want more!)\n\nThe conversation centered around AllTop primarily.'});
	cvids_7668.push({vid:53474, thumb: 'http://a.images.blip.tv/Blogsquad77-MariSmithInterviewByTheBlogSquad218-730.jpg', title: 'Mari Smith Interview by The Blog Squad', desc: '\n\nMari Smith, the Pied Piper of Facebook, talked to Denise Wakeman of The Blog Squad about the highlights of BlogWorld Expo 08. She also talked about her new blogging strategy. http://www.betterbizblogging.com\n\n'});
	cvids_7668.push({vid:53476, thumb: 'http://images.vimeo.com/14/47/05/144705137/144705137_200.jpg', title: 'Kevin Blalock at SouthWest booth in Las Vegas - BlogWorld 2008', desc: 'While attending BlogWorld 2008, Kevin decided to try his luck at the SouthWest Airlines booth to win a round trip ticket.'});
	cvids_7668.push({vid:53459, thumb: 'http://i.ytimg.com/vi/6TQ8-WIhQKw/1.jpg', title: 'A Little Duck and Vaynerchuk', desc: 'Check out the old school move Gary Vaynerchuk performs with Becky the Rubber Ducky, of karmacooler.com! We met at BlogWorld Expo 2008 and Gary was not only kind enough to pose for a picture with Becky, but shows off his forearm skills with a sweet back in the day move. Check out Gary V\'s Wine Library Channel: tv.winelibrary.com '});
	cvids_7668.push({vid:53477, thumb: 'http://i.ytimg.com/vi/rA-4wjAteVc/1.jpg', title: 'David Brim Holds BWE08 Record Long Jump', desc: 'David Brim from IZEA takes a record breaking jump at Blog World Expo!'});
	cvids_7668.push({vid:53498, thumb: 'http://i.ytimg.com/vi/ZAGvjYxtuW8/1.jpg', title: 'Guy Kawasaki at BlogWorld 08', desc: 'Guy Kawasaki is one of the keynote speakers at BlogWorld 08 ... bwe08 blogworld sparkplugging conference GuyKawasaki \"Garage Technology Ventures\" '});
	cvids_7668.push({vid:53479, thumb: 'http://images.vimeo.com/19/04/92/190492501/190492501_200.jpg', title: 'Avoiding Disaster: How Not to Use Social Media Panel at Blog World Expo', desc: 'Blog post: http://www.managingcommunities.com/2008/11/16/video-avoiding-disaster-how-not-to-use-social-media-panel-at-blog-world-new-media-expo-2008/\n\nThe \"Avoiding Disaster: How Not to Use Social Media\" panel at Blog World Expo 2008 discussed how not to approach social media for people looking to promote themselves and/or their companies through blogs, forums, social networking sites and other types of communities online. \n\nPanel participants:\n\nLee LeFever (@leelefever), Principal, Common Craft (http://www.commoncraft.com)\n\nJason Falls (@JasonFalls), Social Media Explorer, Doe-Anderson (http://www.doeanderson.com) and Blogger, Social Media Explorer (http://www.socialmediaexplorer.com)\n\nDarren Rowse (@problogger), Owner, ProBlogger.net (http://www.problogger.net), Co-Founder, Sixfigureblogging.com (http://www.sixfigureblogging.com), Co-Founder and VP Training, b5media (http://www.b5media.com) and Co-Author, \"ProBlogger: The Book\" (http://probloggerbook.com)\n\nPatrick O\'Keefe (@iFroggy), Owner, iFroggy Network (http://www.ifroggy.com) and Author, \"Managing Online Forums\" (http://www.managingonlineforums.com)'});
	cvids_7668.push({vid:53480, thumb: 'http://i.ytimg.com/vi/wkWaoX5MQmM/1.jpg', title: 'BWE08 Twitter Friends', desc: 'Barbara Rozgoyni and Ricardo Beuno at Dinner after BWE08'});
	cvids_7668.push({vid:53481, thumb: 'http://images.vimeo.com/14/47/07/144707809/144707809_200.jpg', title: 'Charnell Pugsley at BlogWorld 2008 - SouthWest Airlines Booth', desc: 'Trying my luck at a round trip ticket at the SouthWest Airline booth in Las Vegas - BlogWorld 2008.'});
	cvids_7668.push({vid:53482, thumb: 'http://i.ytimg.com/vi/n9BMdbTtuXQ/1.jpg', title: 'John Andrews of Walmart Talks About Who He\'s Met at BWE08', desc: 'John Andrews, Sr. Marketing Manager Emerging Media at Walmart, talks about Mommy Bloggers and the things he\'s learned at BlogWorldExpo08'});
	cvids_7668.push({vid:53483, thumb: 'http://i.ytimg.com/vi/QDPFAsKQfJ8/1.jpg', title: 'Keep Your Shirt on Your Body, Girl!', desc: 'Awww... Ted makes a special presentation at BWE08 to Crystal of a new IZEA tee shirt after Joe made a \'chocolate dipped sundae\' of Crystal and her shirt in the IZEAHunt! ... izea izeahunt izeafest orlando florida las vegas nevada bwe08 ted murphy '});
	cvids_7668.push({vid:53484, thumb: 'http://i.ytimg.com/vi/KrZJhdd_JQg/1.jpg', title: 'BlogWorld Expo Highlights', desc: 'www.clicknewz.com Highlights from BWE08 ... bwe08 blogworld '});
	cvids_7668.push({vid:53485, thumb: 'http://i.ytimg.com/vi/mQpjMhoUkgc/1.jpg', title: 'Blog World Expo 08 UBD Team Round 2', desc: 'Josh from Unique Blog Design takes a second record breaking jump at BWE08! ... BWE08 Las Vegas Blog World Expo 08 Unique Design '});
	cvids_7668.push({vid:53488, thumb: 'http://i.ytimg.com/vi/vh4LcmZ2IIk/1.jpg', title: 'Dave Taylor on Selling Blog Ads', desc: 'www.clicknewz.com Dave Taylor gives tips on selling ad space on your blog during BlogWorld Expo panel session... ... bwe08 blogworld '});
	cvids_7668.push({vid:53489, thumb: 'http://i.ytimg.com/vi/zYOZJC-mFKE/1.jpg', title: 'Des Walsh @ Blogworld \'08', desc: 'Des Walsh shares his thoughts on challenges of working in the home office, and how to overcome some of them. ... des walsh home business office bwe08 '});
	cvids_7668.push({vid:53491, thumb: 'http://i.ytimg.com/vi/sApf88-Ha4A/1.jpg', title: 'BlogWorld Opening Party', desc: 'www.clicknewz.com BWE08 Las Vegas ... bwe08 blogworld '});
	cvids_7668.push({vid:53492, thumb: 'http://i.ytimg.com/vi/rFRB4Ig14K4/1.jpg', title: 'Wendy Piersall Interviews Ted Murphy from Izea', desc: 'I assumed Izea was just a repackaged brand for PayPerPost. This conversation shows that I definitely ASSumed wrongly. ... bwe08 blogworld08 sparkplugging conference izea \"ted murphy\" payperpost blogging '});
	cvids_7668.push({vid:53494, thumb: 'http://i.ytimg.com/vi/nYn1F3fPY8g/1.jpg', title: 'Twitter Discussion Group - Part 2', desc: 'a Panel of Twitter experts at BWE08 ... twitter bwe08 hsieh '});
	cvids_7668.push({vid:53495, thumb: 'http://i.ytimg.com/vi/PRCiIDD-MCM/1.jpg', title: '7 Minutes of Blog World Expo Awsomeness', desc: 'blog.hubpages.com I had the chance to interview some of the more interesting people at Blog World Expo. ... bwe08 blog world expo las vegas ryan hupfer hubpages hub pages problogger comcast techsmith '});
	cvids_7668.push({vid:53497, thumb: 'http://i.ytimg.com/vi/pQ25S1fUU24/1.jpg', title: 'Tim Ferriss Talking SEI Design Group and Architecture', desc: 'At BlogWorld Expo, talked with Tim Ferriss about SEI Design Group and Architecture. ... architect BlogWorld08 Design SEI #bwe08 blogworld Tim Ferriss hour work week '});
	cvids_7668.push({vid:53499, thumb: 'http://i.ytimg.com/vi/MjQkeElB8pQ/1.jpg', title: 'FaceBook Expert Mari Smith at BlogWorld 08', desc: 'Mari talks about making friends with key, influential people on FaceBook. An info-packed 5 minutes from BlogWorld 08. ... mari smith #BWE08 blogworld blogging facebook face book social media coach '});
	cvids_7668.push({vid:53500, thumb: 'http://i.ytimg.com/vi/F0aPD-C8Qp0/1.jpg', title: 'David Bullock - Get Your Story Right - Part 1', desc: 'START - Your Business Plan ... bullock strategy marketing bwe08 '});
	cvids_7668.push({vid:53501, thumb: 'http://i.ytimg.com/vi/b9bxDxTAJkA/1.jpg', title: 'David Bullock - Part 6', desc: 'Creating your business plan ... bullock strategy bwe08 '});
	cvids_7668.push({vid:53502, thumb: 'http://i.ytimg.com/vi/f3uP7GNNJRE/1.jpg', title: 'David Bullock - Part 4', desc: 'Creating Your business plan ... bullock bwe08 '});
	cvids_7668.push({vid:53503, thumb: 'http://i.ytimg.com/vi/yVO1CjsI8vQ/1.jpg', title: 'Sparkplugging Plays Where\'s Wendy with Epson @ BlogWorld 08', desc: 'Look who found Wendy! ... blogworld #bwe08 sparkplugging epson '});
	cvids_7668.push({vid:53504, thumb: 'http://i.ytimg.com/vi/gYvCHoRKLqk/1.jpg', title: 'Website Magazine', desc: 'An introduction to Website Magazine from the floor of BlogWorld Expo. ... bwe08 BlogWorld Blog World Sparkplugging Freelance Parent Website Magazine '});
	cvids_7668.push({vid:53506, thumb: 'http://i.ytimg.com/vi/Hum8i-o90RA/1.jpg', title: 'Talk Market', desc: 'An introduction to Talk Market from the BlogWorld Expo 2008 convention center floor. ... bwe08 BlogWorld Blog World Sparkplugging Freelance Parent '});
	cvids_7668.push({vid:53507, thumb: 'http://i.ytimg.com/vi/0Udsf45-BlM/1.jpg', title: 'Maria Thurrell, Media Awaken Gives Us a Glimpse...', desc: 'of soon to launch deal-of-the-day site for Moms...DailyGrommet.com ... maria thurrell sparkplugging epson bwe08 media awaken daily grommet deal-a-day shopping mom '});
	cvids_7668.push({vid:53508, thumb: 'http://i.ytimg.com/vi/DD-1CrIGcuY/1.jpg', title: 'Blog World Expo: Making Money Online with a Blog', desc: 'Shannon Hutton from Sparkplugging.com shares what she learned from this panel of top bloggers. ... #bwe08 problogger RSS blogging '});
	cvids_7668.push({vid:53509, thumb: 'http://i.ytimg.com/vi/CNWqVfmGF8U/1.jpg', title: 'Jessie Jones', desc: 'Advice on affiliate marketing. ... bwe08 blogworld sparkplugging epson '});
	cvids_7668.push({vid:53510, thumb: 'http://i.ytimg.com/vi/mBL1iAXETrw/1.jpg', title: 'David Bullock - Part 5', desc: 'Business Plan ... bullock bwe08 marketing '});
	cvids_7668.push({vid:53511, thumb: 'http://i.ytimg.com/vi/0JMUZeDKR3o/1.jpg', title: 'Elisa Camahort Page, Co-Founder of BlogHer', desc: 'Elisa Camahort Page using a funny South Park analogy to describe the way companies enter the blogosphere. ... sparkplugging Blog World BWE08 Elisa Camahort Page BlogHer Epson Blogging Corporate Social Media '});
	cvids_7668.push({vid:53512, thumb: 'http://i.ytimg.com/vi/tbYYdAnkQis/1.jpg', title: 'Making Money Online Part 1', desc: 'Darren Rowse ... bwe08 blogworld sparkplugging conference travel '});
	cvids_7668.push({vid:53513, thumb: 'http://i.ytimg.com/vi/omA8vkPjIP4/1.jpg', title: 'JoeTech.com - Market Leverage Blog World Cashinator', desc: 'Market Leverage let me into the Cashinator and I pulled out some cash. Then John Chow went in and pulled out almost as much and I gave mine to him for a contest on his site. Fun stuff. ... bwe08 blogworld cashinator joetech '});
	cvids_7668.push({vid:53515, thumb: 'http://i.ytimg.com/vi/TKm0qrKpcU0/1.jpg', title: 'Interview with Geoff Nelson from Buzz Corps.', desc: 'Advice on how to get corporate sponsorships. ... bwe08 blogworld sparkplugging epson '});
	cvids_7668.push({vid:53516, thumb: 'http://i.ytimg.com/vi/g2rfBpA7sZQ/1.jpg', title: 'Mommy Bloggers', desc: 'Some of the great women and entrepreneurs we\'ve met at BlogWorld. ... BlogWorld bwe08 mommy bloggers freelance parent sparkplugging '});
	cvids_7668.push({vid:53517, thumb: 'http://i.ytimg.com/vi/14TSzq1HRcU/1.jpg', title: 'Kevin Blalock from ServerBeach at BlogWorld 2008', desc: 'Kevin trying to win a free round trip from SouthWest at their booth - Las Vegas BlogWorld 2008. ... Kevin Blalock BlogWorld bwe08 SouthWest Airlines Las Vegas ServerBeach '});
	cvids_7668.push({vid:56104, thumb: 'http://ak2.static.dailymotion.com/static/video/774/863/13368477:jpeg_preview_large.jpg?20090107203845', title: 'Linkin Park\'s Mike Shinoda Talks to WebProNews', desc: 'You just never know who might show up at BlogWorld! This year it was Mike Shinoda of Linkin Park and Abby Johnson was able to grab him for an interview. Check out the complete interview to find out how Linkin Park built their brand.'});
	cvids_7668.push({vid:56105, thumb: 'http://ak2.static.dailymotion.com/static/video/311/793/13397113:jpeg_preview_large.jpg?20090109155215', title: 'Roxanne Darling Speaks about Finding Your Voice Online', desc: 'The Internet has brought opportunities for everyone. Roxanne Darling of Bare Feet Studios explains one more example of those opportunities as she describes how using the social Web allows everyone to have a voice. Catch more from Roxanne in the WebProNews interview from BlogWorld Expo 2008.'});
	cvids_7668.push({vid:56106, thumb: 'http://i.ytimg.com/vi/KWZLuCDTmNY/0.jpg', title: 'Jim Turner on How to Become a Professional Blogger', desc: 'Are you a blogger but want to become a pro (AKA get paid for what you do)? According to Jim Turner, companies looking to hire a blogger want to see someone who is (1) active in a community and (2) uses social media tools to enhance his/her message. ... 2008 abby blogging blogworld by jim johnson media one turner webpronews '});
	cvids_7668.push({vid:58940, thumb: 'http://i.ytimg.com/vi/KyWyNczjK6o/0.jpg', title: 'Rick  Calvert, founder BlogWorld about the 2009 program', desc: 'Rick was in amsterdam. What is blogworld I asked him. Is blogging still relevant since twitter absorbs everything :-)'});
	cvids_7668.push({vid:58941, thumb: 'http://a.images.blip.tv/Vincente-RickCalvertFounderBlogworldAboutBlogworldexpoLasVegas200190-560-14.jpg', title: 'Rick Calvert, founder Blogworld about Blogworldexpo Las Vegas 2009 ', desc: '\n2nd trial of the interview\n'});
html+='<div id="thumb_7668" style="width:407px;overflow:hidden;height:336px;background-color:#FFFFFF;position:relative;float:left;">';
html+=vidthumbhtml_7668(curvid_7668);
html+='</div>';
	html +='<div style="height:26px;width:126px;position:absolute;right:5px;">';
		//html +='<img onclick="showmatrix_7668(0);" style="position:absolute;left:66px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconmatrix24.png" title="popup an overview with all videos"/>';
		html +='<img id="pgprev_7668" onclick="gotopageoffset_7668(-1);" style="position:absolute;left:0px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconprev24.png" onmouseover="oMouEv(this,true);" onmouseout="oMouEv(this,false);" title="scroll back"/>';
		//html +='<img onclick="playstop_7668();" style="position:absolute;left:5px;top:20px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconstop24.png" title="stop"/>';
		//html +='<img onclick="playstart_7668();" style="position:absolute;left:5px;top:30px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconplay24.png" title="play"/>';
		html +='<img id="pgnext_7668" onclick="gotopageoffset_7668(1);" style="position:absolute;left:66px;top:1px;cursor:pointer;margin:0;padding:0;" src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/widget/chart2/iconnext24.png" onmouseover="oMouEv(this,true);" onmouseout="oMouEv(this,false);"  title="scroll forward"/>';
		html +='<div style="position:relative;top:54px; width:124px; margin:0px 0px 0px 0px;height:280px;overflow:hidden;border:1px solid #ddd;background-color:#fff" id="mxsoutline_7668">';
			html+='<div id="mxs_7668"  style="position:absolute;top:0px;background-color:#ffffff;"></div>';
			html+='<div id="mxs2_7668" style="position:absolute;top:0px;background-color:#ffffff;"></div>';	// videolist placeholder
		html +='</div>';
	html +='</div>';
	html+='<div style="height:26px;width:100px;position:absolute;bottom:8px;left:0px;">';
	html+='<a target=_blank href="http://www.yubby.com/"><img style="position:absolute;left:0px;top:3px;height:25px;z-index:5;cursor:pointer;margin:0;padding:0;" border=0 src="http://incdn.s3.amazonaws.com/yubbyp_v1/img/project/yubby/logo.png"></a>';
			//html +='<a target=_blank href="http://www.yubby.com/channel/player/6023/first"><div style="position:absolute;left:70px;top:9px;color:#444;font-size:11px;line-height:10px;cursor:pointer;width:185px;height:20px;overflow:hidden;" >powered by yubby.com</div></a>';
					html +='<img onclick="toggleembed_7668();" src="http://www.yubby.com/img/icon_share30.png" style="cursor:pointer;position:absolute;left:384px;top:0px;" title="share or embed" alt="share or embed">';
				html +='<a style="text-decoration:none" target=_blank href="http://www.yubby.com/channel/player/6023/first"><div style="position:absolute;left:70px;top:3px;color:#444;font-size:11px;line-height:10px;cursor:pointer;width:185px;height:22px;overflow:hidden;" ><span style="color:#888;">You are watching channel</span><br/>BlogWorldExpo 2009</div></a>';
		html+='</div>';
	
	html+='</div></div>';	// margin and innerflash
	html+='<iframe src="http://www.yubby.com/util/ustat" width="0" height="0" border="no" frameborder="0"  style="border:0; visibility: hidden;"></iframe>';
	wgElm_7668.innerHTML=html;
	wgElm_7668.style.display = 'block';

	gotopage_7668(matrix_curpg);	// 1
		
}

function playnext_7668() {
	if (curvid_7668 < cvids_7668.length -1 ) {
		curvid_7668++;
		if (cpvideo_7668)
			playstart_7668();	// we are playing video
		else {
			var thumbdiv=document.getElementById('thumb_7668');
			thumbdiv.innerHTML=vidthumbhtml_7668(curvid_7668);
		}
	}
}
function playprev_7668() {
	if (curvid_7668 >0 ) {
		curvid_7668--;
		if (cpvideo_7668)
			playstart_7668();	// we are playing video
		else {
			var thumbdiv=document.getElementById('thumb_7668');
			thumbdiv.innerHTML=vidthumbhtml_7668(curvid_7668);
		}
	}
}

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

// show large thumb video still
function playstop_7668(vnr) {
	if (vnr==null)
		vnr=curvid_7668;
	else
		curvid_7668=vnr;	// set the current
	cpvideo_7668=false;
	var thumbdiv=document.getElementById('thumb_7668');
	thumbdiv.innerHTML=vidthumbhtml_7668(vnr);
}

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

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

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

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

function vidplayurl_7668(vnr) {
	if (vnr==null)
		vnr=curvid_7668;
	return 'http://www.yubby.com/channel/player/6023/'+cvids_7668[vnr].vid;
}

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

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


function closepopup_7668() {
  el = document.getElementById('ipopup_7668');
  if (el) {
    el.parentNode.removeChild(el);
  } 
}

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

	var yScroll;

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

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



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

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


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

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

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

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

function initpage_7668() {
	matrix_npages= Math.ceil(cvids_7668.length / matrix_itemspp);
}

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

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

function gotopageoffset_7668(offset) {	// 1 or -1
	if (matrix_npages==0)
		initpage_7668();
	if (matrix_curpg+offset<0 || matrix_curpg+offset>matrix_npages) {
		gotopage_7668(matrix_curpg);
		return 0;
	}
	gotopage_7668(matrix_curpg+offset);
	return 1;
}

function showmatrix_7668() {
	// close old one
	closepopup_7668();

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

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

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


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


function closeembed_7668() {
  el = document.getElementById('iembed_7668');
  if (el) {
    el.parentNode.removeChild(el);
  } 
}
function toggleembed_7668() {
	el = document.getElementById('iembed_7668');
	if (el) 
		closeembed_7668();
	else
		showembed_7668();
}

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

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


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

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


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

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

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




