var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510580&x=1033',
		'title': '',
		'imageId': '69510580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510583&x=1033',
		'title': '',
		'imageId': '69510583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510591&x=1033',
		'title': '',
		'imageId': '69510591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510665&x=1033',
		'title': '',
		'imageId': '69510665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510659&x=1033',
		'title': '',
		'imageId': '69510659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510604&x=1033',
		'title': '',
		'imageId': '69510604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510637&x=1033',
		'title': '',
		'imageId': '69510637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510651&x=1033',
		'title': '',
		'imageId': '69510651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510656&x=1033',
		'title': '',
		'imageId': '69510656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007605&docid=69510577&x=1033',
		'title': '',
		'imageId': '69510577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007605';

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