var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323234&x=380',
		'title': '',
		'imageId': '68323234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323237&x=380',
		'title': '',
		'imageId': '68323237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323236&x=380',
		'title': '',
		'imageId': '68323236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323241&x=380',
		'title': '',
		'imageId': '68323241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323242&x=380',
		'title': '',
		'imageId': '68323242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323240&x=380',
		'title': '',
		'imageId': '68323240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323238&x=380',
		'title': '',
		'imageId': '68323238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323239&x=380',
		'title': '',
		'imageId': '68323239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010270&docid=68323235&x=380',
		'title': '',
		'imageId': '68323235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010270';

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