var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005799&x=5758',
		'title': '',
		'imageId': '68005799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005800&x=5758',
		'title': '',
		'imageId': '68005800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005798&x=5758',
		'title': '',
		'imageId': '68005798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005801&x=5758',
		'title': '',
		'imageId': '68005801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005802&x=5758',
		'title': '',
		'imageId': '68005802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005805&x=5758',
		'title': '',
		'imageId': '68005805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005795&x=5758',
		'title': '',
		'imageId': '68005795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005803&x=5758',
		'title': '',
		'imageId': '68005803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005797&x=5758',
		'title': '',
		'imageId': '68005797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005804&x=5758',
		'title': '',
		'imageId': '68005804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923419&docid=68005796&x=5758',
		'title': '',
		'imageId': '68005796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923419';

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