var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730122&x=402',
		'title': '',
		'imageId': '68730122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730124&x=402',
		'title': '',
		'imageId': '68730124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730127&x=402',
		'title': '',
		'imageId': '68730127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730120&x=402',
		'title': '',
		'imageId': '68730120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730130&x=402',
		'title': '',
		'imageId': '68730130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730128&x=402',
		'title': '',
		'imageId': '68730128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730129&x=402',
		'title': '',
		'imageId': '68730129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730119&x=402',
		'title': '',
		'imageId': '68730119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730121&x=402',
		'title': '',
		'imageId': '68730121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730125&x=402',
		'title': '',
		'imageId': '68730125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783619&docid=68730126&x=402',
		'title': '',
		'imageId': '68730126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3783619';

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