var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121679&x=1948',
		'title': '',
		'imageId': '70121679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121678&x=1948',
		'title': '',
		'imageId': '70121678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121681&x=1948',
		'title': '',
		'imageId': '70121681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121682&x=1948',
		'title': '',
		'imageId': '70121682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121683&x=1948',
		'title': '',
		'imageId': '70121683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121676&x=1948',
		'title': '',
		'imageId': '70121676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121680&x=1948',
		'title': '',
		'imageId': '70121680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=70121677&x=1948',
		'title': '',
		'imageId': '70121677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=59270894&x=1948',
		'title': '',
		'imageId': '59270894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013463&docid=59270893&x=1948',
		'title': '',
		'imageId': '59270893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013463';

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