var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735093&x=5933',
		'title': '',
		'imageId': '70735093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735097&x=5933',
		'title': '',
		'imageId': '70735097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735096&x=5933',
		'title': '',
		'imageId': '70735096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735095&x=5933',
		'title': '',
		'imageId': '70735095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735099&x=5933',
		'title': '',
		'imageId': '70735099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735094&x=5933',
		'title': '',
		'imageId': '70735094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038932&docid=70735098&x=5933',
		'title': '',
		'imageId': '70735098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038932';

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