var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256665&x=1553',
		'title': '',
		'imageId': '70256665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256610&x=1553',
		'title': '',
		'imageId': '70256610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256650&x=1553',
		'title': '',
		'imageId': '70256650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256653&x=1553',
		'title': '',
		'imageId': '70256653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256674&x=1553',
		'title': '',
		'imageId': '70256674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256680&x=1553',
		'title': '',
		'imageId': '70256680',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256686&x=1553',
		'title': '',
		'imageId': '70256686',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256713&x=1553',
		'title': '',
		'imageId': '70256713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256745&x=1553',
		'title': '',
		'imageId': '70256745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256798&x=1553',
		'title': '',
		'imageId': '70256798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021218&docid=70256810&x=1553',
		'title': '',
		'imageId': '70256810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021218';

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