var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681434&x=2255',
		'title': '',
		'imageId': '69681434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681437&x=2255',
		'title': '',
		'imageId': '69681437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681439&x=2255',
		'title': '',
		'imageId': '69681439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681435&x=2255',
		'title': '',
		'imageId': '69681435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681436&x=2255',
		'title': '',
		'imageId': '69681436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681433&x=2255',
		'title': '',
		'imageId': '69681433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681431&x=2255',
		'title': '',
		'imageId': '69681431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681430&x=2255',
		'title': '',
		'imageId': '69681430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681432&x=2255',
		'title': '',
		'imageId': '69681432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681429&x=2255',
		'title': '',
		'imageId': '69681429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998938&docid=69681428&x=2255',
		'title': '',
		'imageId': '69681428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998938';

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