var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728027&x=2932',
		'title': '',
		'imageId': '67728027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728028&x=2932',
		'title': '',
		'imageId': '67728028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728029&x=2932',
		'title': '',
		'imageId': '67728029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728030&x=2932',
		'title': '',
		'imageId': '67728030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728031&x=2932',
		'title': '',
		'imageId': '67728031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728032&x=2932',
		'title': '',
		'imageId': '67728032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728034&x=2932',
		'title': '',
		'imageId': '67728034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728033&x=2932',
		'title': '',
		'imageId': '67728033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728035&x=2932',
		'title': '',
		'imageId': '67728035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728037&x=2932',
		'title': '',
		'imageId': '67728037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913607&docid=67728036&x=2932',
		'title': '',
		'imageId': '67728036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913607';

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