var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828399&x=1629',
		'title': '',
		'imageId': '68828399',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828397&x=1629',
		'title': '',
		'imageId': '68828397',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828393&x=1629',
		'title': '',
		'imageId': '68828393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828398&x=1629',
		'title': '',
		'imageId': '68828398',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828396&x=1629',
		'title': '',
		'imageId': '68828396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828394&x=1629',
		'title': '',
		'imageId': '68828394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030693&docid=68828395&x=1629',
		'title': '',
		'imageId': '68828395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030693';

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