var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932298&x=93',
		'title': '',
		'imageId': '69932298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932300&x=93',
		'title': '',
		'imageId': '69932300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932296&x=93',
		'title': '',
		'imageId': '69932296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932295&x=93',
		'title': '',
		'imageId': '69932295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932299&x=93',
		'title': '',
		'imageId': '69932299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932303&x=93',
		'title': '',
		'imageId': '69932303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932294&x=93',
		'title': '',
		'imageId': '69932294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932297&x=93',
		'title': '',
		'imageId': '69932297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932293&x=93',
		'title': '',
		'imageId': '69932293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932302&x=93',
		'title': '',
		'imageId': '69932302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932304&x=93',
		'title': '',
		'imageId': '69932304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008849&docid=69932301&x=93',
		'title': '',
		'imageId': '69932301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008849';

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