var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974411&x=2126',
		'title': '',
		'imageId': '69974411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974413&x=2126',
		'title': '',
		'imageId': '69974413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974412&x=2126',
		'title': '',
		'imageId': '69974412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974414&x=2126',
		'title': '',
		'imageId': '69974414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974415&x=2126',
		'title': '',
		'imageId': '69974415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974419&x=2126',
		'title': '',
		'imageId': '69974419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974422&x=2126',
		'title': '',
		'imageId': '69974422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974428&x=2126',
		'title': '',
		'imageId': '69974428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974429&x=2126',
		'title': '',
		'imageId': '69974429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010625&docid=69974410&x=2126',
		'title': '',
		'imageId': '69974410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010625';

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