var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064698&x=1740',
		'title': '',
		'imageId': '69064698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064702&x=1740',
		'title': '',
		'imageId': '69064702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064703&x=1740',
		'title': '',
		'imageId': '69064703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064704&x=1740',
		'title': '',
		'imageId': '69064704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064705&x=1740',
		'title': '',
		'imageId': '69064705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064706&x=1740',
		'title': '',
		'imageId': '69064706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064707&x=1740',
		'title': '',
		'imageId': '69064707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064708&x=1740',
		'title': '',
		'imageId': '69064708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064701&x=1740',
		'title': '',
		'imageId': '69064701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972013&docid=69064700&x=1740',
		'title': '',
		'imageId': '69064700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972013';

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