var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074381&x=5054',
		'title': '',
		'imageId': '70074381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074377&x=5054',
		'title': '',
		'imageId': '70074377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074378&x=5054',
		'title': '',
		'imageId': '70074378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074380&x=5054',
		'title': '',
		'imageId': '70074380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074379&x=5054',
		'title': '',
		'imageId': '70074379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074382&x=5054',
		'title': '',
		'imageId': '70074382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014903&docid=70074376&x=5054',
		'title': '',
		'imageId': '70074376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014903';

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