var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808098&x=4322',
		'title': '',
		'imageId': '69808098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808099&x=4322',
		'title': '',
		'imageId': '69808099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808100&x=4322',
		'title': '',
		'imageId': '69808100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808101&x=4322',
		'title': '',
		'imageId': '69808101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808102&x=4322',
		'title': '',
		'imageId': '69808102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808103&x=4322',
		'title': '',
		'imageId': '69808103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808104&x=4322',
		'title': '',
		'imageId': '69808104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808105&x=4322',
		'title': '',
		'imageId': '69808105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808106&x=4322',
		'title': '',
		'imageId': '69808106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003899&docid=69808107&x=4322',
		'title': '',
		'imageId': '69808107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003899';

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