var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403640&x=5432',
		'title': '',
		'imageId': '71403640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403638&x=5432',
		'title': '',
		'imageId': '71403638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403639&x=5432',
		'title': '',
		'imageId': '71403639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403641&x=5432',
		'title': '',
		'imageId': '71403641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403642&x=5432',
		'title': '',
		'imageId': '71403642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403643&x=5432',
		'title': '',
		'imageId': '71403643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403644&x=5432',
		'title': '',
		'imageId': '71403644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403645&x=5432',
		'title': '',
		'imageId': '71403645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403646&x=5432',
		'title': '',
		'imageId': '71403646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403647&x=5432',
		'title': '',
		'imageId': '71403647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403648&x=5432',
		'title': '',
		'imageId': '71403648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403649&x=5432',
		'title': '',
		'imageId': '71403649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403650&x=5432',
		'title': '',
		'imageId': '71403650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403656&x=5432',
		'title': '',
		'imageId': '71403656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403657&x=5432',
		'title': '',
		'imageId': '71403657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403658&x=5432',
		'title': '',
		'imageId': '71403658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403659&x=5432',
		'title': '',
		'imageId': '71403659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403660&x=5432',
		'title': '',
		'imageId': '71403660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066589&docid=71403661&x=5432',
		'title': '',
		'imageId': '71403661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066589';

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