var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150910&x=915',
		'title': '',
		'imageId': '70150910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150922&x=915',
		'title': '',
		'imageId': '70150922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150909&x=915',
		'title': '',
		'imageId': '70150909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150911&x=915',
		'title': '',
		'imageId': '70150911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150907&x=915',
		'title': '',
		'imageId': '70150907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150908&x=915',
		'title': '',
		'imageId': '70150908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150920&x=915',
		'title': '',
		'imageId': '70150920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150914&x=915',
		'title': '',
		'imageId': '70150914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150912&x=915',
		'title': '',
		'imageId': '70150912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150921&x=915',
		'title': '',
		'imageId': '70150921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150913&x=915',
		'title': '',
		'imageId': '70150913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150917&x=915',
		'title': '',
		'imageId': '70150917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150919&x=915',
		'title': '',
		'imageId': '70150919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150916&x=915',
		'title': '',
		'imageId': '70150916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150918&x=915',
		'title': '',
		'imageId': '70150918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016901&docid=70150915&x=915',
		'title': '',
		'imageId': '70150915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016901';

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