var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568820&x=4343',
		'title': '',
		'imageId': '69568820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568826&x=4343',
		'title': '',
		'imageId': '69568826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568829&x=4343',
		'title': '',
		'imageId': '69568829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568827&x=4343',
		'title': '',
		'imageId': '69568827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568824&x=4343',
		'title': '',
		'imageId': '69568824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568828&x=4343',
		'title': '',
		'imageId': '69568828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568825&x=4343',
		'title': '',
		'imageId': '69568825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568822&x=4343',
		'title': '',
		'imageId': '69568822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568823&x=4343',
		'title': '',
		'imageId': '69568823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993482&docid=69568821&x=4343',
		'title': '',
		'imageId': '69568821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993482';

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