var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729933&x=411',
		'title': '',
		'imageId': '68729933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729943&x=411',
		'title': '',
		'imageId': '68729943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729944&x=411',
		'title': '',
		'imageId': '68729944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729937&x=411',
		'title': '',
		'imageId': '68729937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729934&x=411',
		'title': '',
		'imageId': '68729934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729936&x=411',
		'title': '',
		'imageId': '68729936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729939&x=411',
		'title': '',
		'imageId': '68729939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729940&x=411',
		'title': '',
		'imageId': '68729940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729938&x=411',
		'title': '',
		'imageId': '68729938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3783614&docid=68729942&x=411',
		'title': '',
		'imageId': '68729942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3783614';

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