var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394063&x=1619',
		'title': '',
		'imageId': '69394063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394064&x=1619',
		'title': '',
		'imageId': '69394064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394066&x=1619',
		'title': '',
		'imageId': '69394066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394067&x=1619',
		'title': '',
		'imageId': '69394067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394070&x=1619',
		'title': '',
		'imageId': '69394070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394065&x=1619',
		'title': '',
		'imageId': '69394065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394068&x=1619',
		'title': '',
		'imageId': '69394068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394072&x=1619',
		'title': '',
		'imageId': '69394072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394071&x=1619',
		'title': '',
		'imageId': '69394071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985456&docid=69394069&x=1619',
		'title': '',
		'imageId': '69394069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985456';

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