// Edit this file to configure this skin. Settings related to a given VL installation
// (such as where to find the toc and the video files) are set in deployment.js
// Default values are shown commented out. You need to uncomment and edit the value
// in order to change the skin's behaviour.

window.config = {
	// SetUIMode. A function to show different parts of the UI
// Common modes are: 'frontpage', 'videos', 'details', 'searchResults', 
   //allChaptersJump,
	setUIMode: setUIMode,	
	thumbnail: {x: 200, y: 150}, //you must always set a thumbnail
	breadcrumbSeparator: '&nbsp;::&nbsp;',
	//hover: {x: 320, y:240},
	disableAdHocLive: true
};

// Auto-Refresh. Uncomment this to reload the toc periodically. Default is off
	//setInterval(refresh, 40000);
	
///////////////////////////////////////////////////////////////////////////////	
//Add any custom functions or initialization below this line

var overlay = document.createElement('div');
overlay.id = 'vl_overlay';

function setUIMode(mode)
{
    if(mode == 'details'){
		document.body.appendChild(overlay);
		scrollTo(0,0);
	} else {
		if(D('vl_overlay')) document.body.removeChild(overlay);
	}	  
}

// Copyright (c) 2008 Encoded Media (UK) Limited. All Rights Reserved. For more information, visit www.encodedmedia.com //
// $Revision: 1.1.2.3 $
