function showiconplus(id, state) {
	var icon = document.getElementById(id);
	if (!icon) {
		return false;
	}
	//img > a > div
	icon.parentNode.parentNode.parentNode.onmouseover=function(){ 
		icon.style.display='block';
	};
	icon.parentNode.parentNode.parentNode.onmouseout=function(){ 
		icon.style.display='none';
	};
}

function renderFlowPlayer(container, params){
	flowplayer(container, {src:'/jscript/flowplayer/flowplayer.commercial-3.0.3.swf', wmode:'opaque'}, {
		key: '#$6157e3f46cb330bc4aa',
		mouseOn: true,
		timer: null,
		onMouseOver: function(){
			this.mouseOn = true;
			if(this.isPlaying()){
				this.getPlugin('title').show();
				this.getPlugin('title').animate({opacity:0.95}, 3000);
			}
		},
		onMouseOut: function(){
			this.mouseOn = false;
			if(this.isPlaying()){
				this.getPlugin('title').animate({opacity:0}, 3000);
			}
		},
		clip: {
			onPause: function(clip){
				this.getPlugin('title').show();
				this.getPlugin('title').animate({opacity:0.95}, 3000);
			},
			onFinish: function(clip){
				this.getPlugin('title').show();
				this.getPlugin('title').animate({opacity:0.95}, 3000);
			}
		},
		playlist: [
			{
				url: params['staticImage'],
				scaling: 'orig'
			},
			{
				url: params['videoUrl'],
				autoPlay: false
			}
		],
		plugins:{
			controls:{
				url: '/jscript/flowplayer/flowplayer.controls-3.0.3.swf',
				fullscreen: false,
				time: false,
				height: 25,
				backgroundColor: '#3C3D37',
				backgroundGradient: 'low',
				buttonColor: '#BDCD80',
				buttonOverColor: '#BDCD80',
				timeColor: '#ffffff',
				progressColor: '#9FB086',
				bufferColor: '#9FB086'
			},
			title:{
				url: '/jscript/flowplayer/flowplayer.content-3.0.1.swf',
				html: '<a href="'+params['productHomeUrl']+'" target="_blank"><img src="'+params['productImage']+'" vspace="0" class="right" /></a><span><a href="'+params['productHomeUrl']+'" target="_blank">'+escape(params['productName'])+'</a></span>',
				left: 5,
				bottom: 30,
				width: 240,
				height: 63,
				opacity: 0.95,
				border: 'none',
				borderRadius: 10,
				backgroundColor: '#000000',
				style: {'.right': {marginRight: 10}}
			},
			expolink:{
				url: '/jscript/flowplayer/flowplayer.content-3.0.1.swf',
				html: '<a href="http://www.expotv.com/about" target="_blank"><img src="'+params['productImage']+'" vspace="0" hspace="0"/></a>',
				right: 5,
				bottom: 30,
				width: 60,
				height: 63,
				opacity: 0	
			}
		}
	});	
}