var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68982004&x=3543',
		'title': '',
		'imageId': '68982004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456390&x=3543',
		'title': '',
		'imageId': '68456390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456388&x=3543',
		'title': '',
		'imageId': '68456388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456368&x=3543',
		'title': '',
		'imageId': '68456368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456369&x=3543',
		'title': '',
		'imageId': '68456369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456383&x=3543',
		'title': '',
		'imageId': '68456383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456391&x=3543',
		'title': '',
		'imageId': '68456391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68456398&x=3543',
		'title': '',
		'imageId': '68456398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68982001&x=3543',
		'title': '',
		'imageId': '68982001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68982002&x=3543',
		'title': '',
		'imageId': '68982002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957797&docid=68982003&x=3543',
		'title': '',
		'imageId': '68982003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957797';

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