var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195255&x=946',
		'title': '',
		'imageId': '68195255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195258&x=946',
		'title': '',
		'imageId': '68195258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195259&x=946',
		'title': '',
		'imageId': '68195259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195266&x=946',
		'title': '',
		'imageId': '68195266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195260&x=946',
		'title': '',
		'imageId': '68195260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195261&x=946',
		'title': '',
		'imageId': '68195261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195262&x=946',
		'title': '',
		'imageId': '68195262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195263&x=946',
		'title': '',
		'imageId': '68195263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195264&x=946',
		'title': '',
		'imageId': '68195264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195265&x=946',
		'title': '',
		'imageId': '68195265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932736&docid=68195267&x=946',
		'title': '',
		'imageId': '68195267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932736';

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