var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792251&x=4929',
		'title': '',
		'imageId': '69792251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792250&x=4929',
		'title': '',
		'imageId': '69792250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792252&x=4929',
		'title': '',
		'imageId': '69792252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792254&x=4929',
		'title': '',
		'imageId': '69792254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792256&x=4929',
		'title': '',
		'imageId': '69792256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792255&x=4929',
		'title': '',
		'imageId': '69792255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003355&docid=69792253&x=4929',
		'title': '',
		'imageId': '69792253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003355';

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