var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882181&x=102',
		'title': '',
		'imageId': '68882181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882185&x=102',
		'title': '',
		'imageId': '68882185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882188&x=102',
		'title': '',
		'imageId': '68882188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882186&x=102',
		'title': '',
		'imageId': '68882186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882180&x=102',
		'title': '',
		'imageId': '68882180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882182&x=102',
		'title': '',
		'imageId': '68882182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882179&x=102',
		'title': '',
		'imageId': '68882179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882183&x=102',
		'title': '',
		'imageId': '68882183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882184&x=102',
		'title': '',
		'imageId': '68882184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963066&docid=68882187&x=102',
		'title': '',
		'imageId': '68882187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963066';

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