
	/* function showDiv(id){
	 document.getElementById('zoomDivCon').style.display = 'block';	 
	 var md = document.getElementById(id);
	 if(md.style.display == 'none' || md.style.display == ''){
	 	md.style.display = 'block';
		var offWidth = md.offsetWidth;
	 	var offHeight = md.offsetHeight;
	 	md.style.margin = '-' + (offHeight / 2 ) + 'px ' + '0px ' + '0px ' + '-' + ( offWidth / 2 ) + 'px';
		}
	 else
	    md.style.display = 'none';
	}		
function closeDiv(id){
	 var md = document.getElementById(id);
	 md.style.display='none';
	 document.getElementById('zoomDivCon').style.display = 'none';	
	}*/
	function showDiv(movie, descr, width, height){
	 document.getElementById('zoomDivCon').style.display = 'block';	
	 var d = document.getElementById('zoomDiv');
	 var h = document.getElementById('hide');
	 h.style.display='block';
	 h.style.width=width +'px';
	 h.style.height=height + 'px';
	 var ul = document.getElementById('zoomImg'); 
	 if(d.style.display=='none' || d.style.display=='') {
		d.style.display = 'block';
		if(descr == '') {
			ul.innerHTML = '<li><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'"><param name="wmode" value="transparent"><param name="movie" value="'+movie+'"><param name="quality" value="high"><embed src="'+movie+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed></object></li>';
		}
		else {
			ul.innerHTML = '<li><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'"><param name="wmode" value="transparent"><param name="movie" value="'+movie+'"><param name="quality" value="high"><embed src="'+movie+'" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></embed></object></li><li id="descr" class="description">'+descr+'</li>';
			}
//		var offWidth = d.offsetWidth;
//		var offHeight = d.offsetHeight;
		var offWidth = parseInt(width)+20;
	 	var offHeight = parseInt(height)+20;
	 	d.style.margin = '-' + ( offHeight / 2 ) + 'px ' + '0px ' + '0px ' + '-' + ( offWidth / 2 ) + 'px';
		}
	 else {
		d.style.display='none';
		}
	}
	
	function closeDiv(id){
	 var d = document.getElementById(id);
	 var h = document.getElementById('hide');
	 h.style.display='none';
	 d.style.display='none';
	 document.getElementById('zoomDivCon').style.display = 'none';	
	}