var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144685&x=3947',
		'title': '',
		'imageId': '68144685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144691&x=3947',
		'title': '',
		'imageId': '68144691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144682&x=3947',
		'title': '',
		'imageId': '68144682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144686&x=3947',
		'title': '',
		'imageId': '68144686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144683&x=3947',
		'title': '',
		'imageId': '68144683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144689&x=3947',
		'title': '',
		'imageId': '68144689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144690&x=3947',
		'title': '',
		'imageId': '68144690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144688&x=3947',
		'title': '',
		'imageId': '68144688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144684&x=3947',
		'title': '',
		'imageId': '68144684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144687&x=3947',
		'title': '',
		'imageId': '68144687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144692&x=3947',
		'title': '',
		'imageId': '68144692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930940&docid=68144693&x=3947',
		'title': '',
		'imageId': '68144693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930940';

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