var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282944&x=593',
		'title': '',
		'imageId': '67282944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282945&x=593',
		'title': '',
		'imageId': '67282945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282947&x=593',
		'title': '',
		'imageId': '67282947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282948&x=593',
		'title': '',
		'imageId': '67282948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282949&x=593',
		'title': '',
		'imageId': '67282949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282950&x=593',
		'title': '',
		'imageId': '67282950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282951&x=593',
		'title': '',
		'imageId': '67282951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282952&x=593',
		'title': '',
		'imageId': '67282952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282953&x=593',
		'title': '',
		'imageId': '67282953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895504&docid=67282954&x=593',
		'title': '',
		'imageId': '67282954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3895504';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
