var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573283&x=1615',
		'title': '',
		'imageId': '68573283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573279&x=1615',
		'title': '',
		'imageId': '68573279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573274&x=1615',
		'title': '',
		'imageId': '68573274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573277&x=1615',
		'title': '',
		'imageId': '68573277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573272&x=1615',
		'title': '',
		'imageId': '68573272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573281&x=1615',
		'title': '',
		'imageId': '68573281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573275&x=1615',
		'title': '',
		'imageId': '68573275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573276&x=1615',
		'title': '',
		'imageId': '68573276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573282&x=1615',
		'title': '',
		'imageId': '68573282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573280&x=1615',
		'title': '',
		'imageId': '68573280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573271&x=1615',
		'title': '',
		'imageId': '68573271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573270&x=1615',
		'title': '',
		'imageId': '68573270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573278&x=1615',
		'title': '',
		'imageId': '68573278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573286&x=1615',
		'title': '',
		'imageId': '68573286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573284&x=1615',
		'title': '',
		'imageId': '68573284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573285&x=1615',
		'title': '',
		'imageId': '68573285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949448&docid=68573273&x=1615',
		'title': '',
		'imageId': '68573273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949448';

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