var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520951&x=5641',
		'title': '',
		'imageId': '67520951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520957&x=5641',
		'title': '',
		'imageId': '67520957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520954&x=5641',
		'title': '',
		'imageId': '67520954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520953&x=5641',
		'title': '',
		'imageId': '67520953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520955&x=5641',
		'title': '',
		'imageId': '67520955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520956&x=5641',
		'title': '',
		'imageId': '67520956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904678&docid=67520952&x=5641',
		'title': '',
		'imageId': '67520952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904678';

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