var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207849&x=46',
		'title': '',
		'imageId': '70207849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207850&x=46',
		'title': '',
		'imageId': '70207850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207851&x=46',
		'title': '',
		'imageId': '70207851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207852&x=46',
		'title': '',
		'imageId': '70207852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207853&x=46',
		'title': '',
		'imageId': '70207853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207854&x=46',
		'title': '',
		'imageId': '70207854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207855&x=46',
		'title': '',
		'imageId': '70207855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207856&x=46',
		'title': '',
		'imageId': '70207856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207865&x=46',
		'title': '',
		'imageId': '70207865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019141&docid=70207866&x=46',
		'title': '',
		'imageId': '70207866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019141';

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