var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477452&x=3157',
		'title': '',
		'imageId': '69477452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477453&x=3157',
		'title': '',
		'imageId': '69477453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477454&x=3157',
		'title': '',
		'imageId': '69477454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477455&x=3157',
		'title': '',
		'imageId': '69477455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477456&x=3157',
		'title': '',
		'imageId': '69477456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477521&x=3157',
		'title': '',
		'imageId': '69477521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477522&x=3157',
		'title': '',
		'imageId': '69477522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477523&x=3157',
		'title': '',
		'imageId': '69477523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477524&x=3157',
		'title': '',
		'imageId': '69477524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477525&x=3157',
		'title': '',
		'imageId': '69477525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996665&docid=69477526&x=3157',
		'title': '',
		'imageId': '69477526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996665';

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