var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145527&x=2938',
		'title': '',
		'imageId': '70145527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145526&x=2938',
		'title': '',
		'imageId': '70145526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145528&x=2938',
		'title': '',
		'imageId': '70145528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145530&x=2938',
		'title': '',
		'imageId': '70145530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145529&x=2938',
		'title': '',
		'imageId': '70145529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145541&x=2938',
		'title': '',
		'imageId': '70145541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145539&x=2938',
		'title': '',
		'imageId': '70145539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145538&x=2938',
		'title': '',
		'imageId': '70145538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145544&x=2938',
		'title': '',
		'imageId': '70145544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145547&x=2938',
		'title': '',
		'imageId': '70145547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145548&x=2938',
		'title': '',
		'imageId': '70145548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016800&docid=70145525&x=2938',
		'title': '',
		'imageId': '70145525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016800';

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