var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459354&x=1140',
		'title': '',
		'imageId': '68459354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459353&x=1140',
		'title': '',
		'imageId': '68459353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459355&x=1140',
		'title': '',
		'imageId': '68459355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459351&x=1140',
		'title': '',
		'imageId': '68459351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459359&x=1140',
		'title': '',
		'imageId': '68459359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459356&x=1140',
		'title': '',
		'imageId': '68459356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459357&x=1140',
		'title': '',
		'imageId': '68459357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459358&x=1140',
		'title': '',
		'imageId': '68459358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459352&x=1140',
		'title': '',
		'imageId': '68459352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944882&docid=68459350&x=1140',
		'title': '',
		'imageId': '68459350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944882';

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