var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207938&x=3914',
		'title': '',
		'imageId': '69207938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207934&x=3914',
		'title': '',
		'imageId': '69207934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207935&x=3914',
		'title': '',
		'imageId': '69207935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207937&x=3914',
		'title': '',
		'imageId': '69207937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207936&x=3914',
		'title': '',
		'imageId': '69207936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207943&x=3914',
		'title': '',
		'imageId': '69207943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207941&x=3914',
		'title': '',
		'imageId': '69207941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207942&x=3914',
		'title': '',
		'imageId': '69207942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207939&x=3914',
		'title': '',
		'imageId': '69207939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977978&docid=69207940&x=3914',
		'title': '',
		'imageId': '69207940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977978';

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