var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67541727&x=420',
		'title': '',
		'imageId': '67541727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67541728&x=420',
		'title': '',
		'imageId': '67541728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67541726&x=420',
		'title': '',
		'imageId': '67541726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67541729&x=420',
		'title': '',
		'imageId': '67541729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67893990&x=420',
		'title': '',
		'imageId': '67893990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67893989&x=420',
		'title': '',
		'imageId': '67893989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67893992&x=420',
		'title': '',
		'imageId': '67893992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67893991&x=420',
		'title': '',
		'imageId': '67893991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67894104&x=420',
		'title': '',
		'imageId': '67894104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67894103&x=420',
		'title': '',
		'imageId': '67894103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67894106&x=420',
		'title': '',
		'imageId': '67894106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3905499&docid=67894105&x=420',
		'title': '',
		'imageId': '67894105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3905499';

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