var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389300&x=363',
		'title': '',
		'imageId': '68389300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389301&x=363',
		'title': '',
		'imageId': '68389301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389302&x=363',
		'title': '',
		'imageId': '68389302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389303&x=363',
		'title': '',
		'imageId': '68389303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389304&x=363',
		'title': '',
		'imageId': '68389304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389305&x=363',
		'title': '',
		'imageId': '68389305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389306&x=363',
		'title': '',
		'imageId': '68389306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389307&x=363',
		'title': '',
		'imageId': '68389307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389308&x=363',
		'title': '',
		'imageId': '68389308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3941024&docid=68389309&x=363',
		'title': '',
		'imageId': '68389309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3941024';

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