var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7488991&x=139',
		'title': '',
		'imageId': '7488991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7489005&x=139',
		'title': '',
		'imageId': '7489005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7488996&x=139',
		'title': '',
		'imageId': '7488996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7489010&x=139',
		'title': '',
		'imageId': '7489010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7489001&x=139',
		'title': '',
		'imageId': '7489001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7488993&x=139',
		'title': '',
		'imageId': '7488993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7488992&x=139',
		'title': '',
		'imageId': '7488992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7489014&x=139',
		'title': '',
		'imageId': '7489014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7489002&x=139',
		'title': '',
		'imageId': '7489002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931975&docid=7489012&x=139',
		'title': '',
		'imageId': '7489012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #931975';

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