var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471405&x=5353',
		'title': '',
		'imageId': '66471405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471406&x=5353',
		'title': '',
		'imageId': '66471406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471408&x=5353',
		'title': '',
		'imageId': '66471408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471407&x=5353',
		'title': '',
		'imageId': '66471407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471404&x=5353',
		'title': '',
		'imageId': '66471404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471403&x=5353',
		'title': '',
		'imageId': '66471403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862689&docid=66471402&x=5353',
		'title': '',
		'imageId': '66471402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3862689';

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