var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135782&x=5752',
		'title': '',
		'imageId': '68135782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135785&x=5752',
		'title': '',
		'imageId': '68135785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135788&x=5752',
		'title': '',
		'imageId': '68135788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135791&x=5752',
		'title': '',
		'imageId': '68135791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135794&x=5752',
		'title': '',
		'imageId': '68135794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135797&x=5752',
		'title': '',
		'imageId': '68135797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135800&x=5752',
		'title': '',
		'imageId': '68135800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135803&x=5752',
		'title': '',
		'imageId': '68135803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135806&x=5752',
		'title': '',
		'imageId': '68135806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135809&x=5752',
		'title': '',
		'imageId': '68135809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135812&x=5752',
		'title': '',
		'imageId': '68135812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930359&docid=68135779&x=5752',
		'title': '',
		'imageId': '68135779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930359';

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