var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578240&x=3211',
		'title': '',
		'imageId': '68578240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578241&x=3211',
		'title': '',
		'imageId': '68578241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578242&x=3211',
		'title': '',
		'imageId': '68578242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578245&x=3211',
		'title': '',
		'imageId': '68578245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578250&x=3211',
		'title': '',
		'imageId': '68578250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578252&x=3211',
		'title': '',
		'imageId': '68578252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578265&x=3211',
		'title': '',
		'imageId': '68578265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578283&x=3211',
		'title': '',
		'imageId': '68578283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578285&x=3211',
		'title': '',
		'imageId': '68578285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578298&x=3211',
		'title': '',
		'imageId': '68578298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949731&docid=68578304&x=3211',
		'title': '',
		'imageId': '68578304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949731';

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