var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076788&x=4037',
		'title': '',
		'imageId': '69076788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076794&x=4037',
		'title': '',
		'imageId': '69076794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076787&x=4037',
		'title': '',
		'imageId': '69076787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076793&x=4037',
		'title': '',
		'imageId': '69076793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076792&x=4037',
		'title': '',
		'imageId': '69076792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076796&x=4037',
		'title': '',
		'imageId': '69076796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076789&x=4037',
		'title': '',
		'imageId': '69076789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076795&x=4037',
		'title': '',
		'imageId': '69076795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076791&x=4037',
		'title': '',
		'imageId': '69076791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972244&docid=69076790&x=4037',
		'title': '',
		'imageId': '69076790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972244';

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