var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525396&x=2149',
		'title': '',
		'imageId': '67525396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525401&x=2149',
		'title': '',
		'imageId': '67525401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525399&x=2149',
		'title': '',
		'imageId': '67525399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525398&x=2149',
		'title': '',
		'imageId': '67525398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525400&x=2149',
		'title': '',
		'imageId': '67525400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525397&x=2149',
		'title': '',
		'imageId': '67525397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3904883&docid=67525402&x=2149',
		'title': '',
		'imageId': '67525402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3904883';

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