var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69453994&x=5654',
		'title': '',
		'imageId': '69453994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69453995&x=5654',
		'title': '',
		'imageId': '69453995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69453996&x=5654',
		'title': '',
		'imageId': '69453996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69453997&x=5654',
		'title': '',
		'imageId': '69453997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69453998&x=5654',
		'title': '',
		'imageId': '69453998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69453999&x=5654',
		'title': '',
		'imageId': '69453999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69454000&x=5654',
		'title': '',
		'imageId': '69454000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69454001&x=5654',
		'title': '',
		'imageId': '69454001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69454002&x=5654',
		'title': '',
		'imageId': '69454002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69454003&x=5654',
		'title': '',
		'imageId': '69454003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988260&docid=69454004&x=5654',
		'title': '',
		'imageId': '69454004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988260';

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