hs.graphicsDir = 'js/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'draggable-header';


function showHS(obj)
{

	var w = 500;
	
	var m = (Number(getScrollWidth())-w)>>1;
	hs.width = w;
	hs.marginTop = 60;
	hs.marginLeft = m;
	hs.marginRight = m;

	return hs.htmlExpand(obj,{objectType:'iframe',dimmingOpacity: 0.50});
}


function getScrollWidth()
{
	var w = 0;
	if (window.innerWidth) {
		w = window.innerWidth;
	} else if (document.documentElement && document.documentElement.scrollWidth) {
		w = document.documentElement.clientWidth;
	} else if (document.body) {
		w = document.body.scrollWidth;
	}
	return w;
}
