var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078001&x=4243',
		'title': '',
		'imageId': '70078001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078003&x=4243',
		'title': '',
		'imageId': '70078003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078004&x=4243',
		'title': '',
		'imageId': '70078004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078005&x=4243',
		'title': '',
		'imageId': '70078005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078006&x=4243',
		'title': '',
		'imageId': '70078006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078007&x=4243',
		'title': '',
		'imageId': '70078007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078008&x=4243',
		'title': '',
		'imageId': '70078008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078009&x=4243',
		'title': '',
		'imageId': '70078009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078010&x=4243',
		'title': '',
		'imageId': '70078010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078011&x=4243',
		'title': '',
		'imageId': '70078011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078000&x=4243',
		'title': '',
		'imageId': '70078000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015121&docid=70078012&x=4243',
		'title': '',
		'imageId': '70078012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015121';

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