var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204441&x=562',
		'title': '',
		'imageId': '70204441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204442&x=562',
		'title': '',
		'imageId': '70204442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204443&x=562',
		'title': '',
		'imageId': '70204443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204444&x=562',
		'title': '',
		'imageId': '70204444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204445&x=562',
		'title': '',
		'imageId': '70204445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204446&x=562',
		'title': '',
		'imageId': '70204446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204447&x=562',
		'title': '',
		'imageId': '70204447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204448&x=562',
		'title': '',
		'imageId': '70204448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204449&x=562',
		'title': '',
		'imageId': '70204449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018980&docid=70204451&x=562',
		'title': '',
		'imageId': '70204451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018980';

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