var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280549&x=5351',
		'title': '',
		'imageId': '70280549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280556&x=5351',
		'title': '',
		'imageId': '70280556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280557&x=5351',
		'title': '',
		'imageId': '70280557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280552&x=5351',
		'title': '',
		'imageId': '70280552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280551&x=5351',
		'title': '',
		'imageId': '70280551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280555&x=5351',
		'title': '',
		'imageId': '70280555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280554&x=5351',
		'title': '',
		'imageId': '70280554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280550&x=5351',
		'title': '',
		'imageId': '70280550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280553&x=5351',
		'title': '',
		'imageId': '70280553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280559&x=5351',
		'title': '',
		'imageId': '70280559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4022239&docid=70280558&x=5351',
		'title': '',
		'imageId': '70280558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4022239';

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