var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186260&x=2730',
		'title': '',
		'imageId': '68186260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186262&x=2730',
		'title': '',
		'imageId': '68186262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186259&x=2730',
		'title': '',
		'imageId': '68186259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186261&x=2730',
		'title': '',
		'imageId': '68186261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186265&x=2730',
		'title': '',
		'imageId': '68186265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186268&x=2730',
		'title': '',
		'imageId': '68186268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186267&x=2730',
		'title': '',
		'imageId': '68186267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186263&x=2730',
		'title': '',
		'imageId': '68186263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186266&x=2730',
		'title': '',
		'imageId': '68186266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186264&x=2730',
		'title': '',
		'imageId': '68186264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947395&docid=68186258&x=2730',
		'title': '',
		'imageId': '68186258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947395';

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