var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629830&x=532',
		'title': '',
		'imageId': '68629830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629842&x=532',
		'title': '',
		'imageId': '68629842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629834&x=532',
		'title': '',
		'imageId': '68629834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629833&x=532',
		'title': '',
		'imageId': '68629833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629838&x=532',
		'title': '',
		'imageId': '68629838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629831&x=532',
		'title': '',
		'imageId': '68629831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629841&x=532',
		'title': '',
		'imageId': '68629841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629837&x=532',
		'title': '',
		'imageId': '68629837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629835&x=532',
		'title': '',
		'imageId': '68629835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629839&x=532',
		'title': '',
		'imageId': '68629839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951913&docid=68629843&x=532',
		'title': '',
		'imageId': '68629843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951913';

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