var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827474&x=5336',
		'title': '',
		'imageId': '67827474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827482&x=5336',
		'title': '',
		'imageId': '67827482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827481&x=5336',
		'title': '',
		'imageId': '67827481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827478&x=5336',
		'title': '',
		'imageId': '67827478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827477&x=5336',
		'title': '',
		'imageId': '67827477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827476&x=5336',
		'title': '',
		'imageId': '67827476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827473&x=5336',
		'title': '',
		'imageId': '67827473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827475&x=5336',
		'title': '',
		'imageId': '67827475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827480&x=5336',
		'title': '',
		'imageId': '67827480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827483&x=5336',
		'title': '',
		'imageId': '67827483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932683&docid=67827479&x=5336',
		'title': '',
		'imageId': '67827479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932683';

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";
	})
}
