var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048662&x=4027',
		'title': '',
		'imageId': '69048662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048660&x=4027',
		'title': '',
		'imageId': '69048660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048661&x=4027',
		'title': '',
		'imageId': '69048661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048664&x=4027',
		'title': '',
		'imageId': '69048664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048665&x=4027',
		'title': '',
		'imageId': '69048665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048663&x=4027',
		'title': '',
		'imageId': '69048663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048669&x=4027',
		'title': '',
		'imageId': '69048669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048666&x=4027',
		'title': '',
		'imageId': '69048666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048668&x=4027',
		'title': '',
		'imageId': '69048668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971313&docid=69048667&x=4027',
		'title': '',
		'imageId': '69048667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971313';

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