var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974507&x=2139',
		'title': '',
		'imageId': '69974507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974511&x=2139',
		'title': '',
		'imageId': '69974511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974508&x=2139',
		'title': '',
		'imageId': '69974508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974509&x=2139',
		'title': '',
		'imageId': '69974509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974516&x=2139',
		'title': '',
		'imageId': '69974516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974517&x=2139',
		'title': '',
		'imageId': '69974517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974510&x=2139',
		'title': '',
		'imageId': '69974510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974523&x=2139',
		'title': '',
		'imageId': '69974523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974525&x=2139',
		'title': '',
		'imageId': '69974525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010628&docid=69974506&x=2139',
		'title': '',
		'imageId': '69974506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010628';

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