var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205647&x=46',
		'title': '',
		'imageId': '70205647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205648&x=46',
		'title': '',
		'imageId': '70205648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205652&x=46',
		'title': '',
		'imageId': '70205652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205653&x=46',
		'title': '',
		'imageId': '70205653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205671&x=46',
		'title': '',
		'imageId': '70205671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205677&x=46',
		'title': '',
		'imageId': '70205677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205645&x=46',
		'title': '',
		'imageId': '70205645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205682&x=46',
		'title': '',
		'imageId': '70205682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205683&x=46',
		'title': '',
		'imageId': '70205683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019050&docid=70205686&x=46',
		'title': '',
		'imageId': '70205686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019050';

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