var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107434&x=4341',
		'title': '',
		'imageId': '70107434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107436&x=4341',
		'title': '',
		'imageId': '70107436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107435&x=4341',
		'title': '',
		'imageId': '70107435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107438&x=4341',
		'title': '',
		'imageId': '70107438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107442&x=4341',
		'title': '',
		'imageId': '70107442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107441&x=4341',
		'title': '',
		'imageId': '70107441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107439&x=4341',
		'title': '',
		'imageId': '70107439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107440&x=4341',
		'title': '',
		'imageId': '70107440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107433&x=4341',
		'title': '',
		'imageId': '70107433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015860&docid=70107437&x=4341',
		'title': '',
		'imageId': '70107437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015860';

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