var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092435&x=2821',
		'title': '',
		'imageId': '68092435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092436&x=2821',
		'title': '',
		'imageId': '68092436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092518&x=2821',
		'title': '',
		'imageId': '68092518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092519&x=2821',
		'title': '',
		'imageId': '68092519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092575&x=2821',
		'title': '',
		'imageId': '68092575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092580&x=2821',
		'title': '',
		'imageId': '68092580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092712&x=2821',
		'title': '',
		'imageId': '68092712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092720&x=2821',
		'title': '',
		'imageId': '68092720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092736&x=2821',
		'title': '',
		'imageId': '68092736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928400&docid=68092737&x=2821',
		'title': '',
		'imageId': '68092737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928400';

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