var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943843&x=4858',
		'title': '',
		'imageId': '61943843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943844&x=4858',
		'title': '',
		'imageId': '61943844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943845&x=4858',
		'title': '',
		'imageId': '61943845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943846&x=4858',
		'title': '',
		'imageId': '61943846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943847&x=4858',
		'title': '',
		'imageId': '61943847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943848&x=4858',
		'title': '',
		'imageId': '61943848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943849&x=4858',
		'title': '',
		'imageId': '61943849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943850&x=4858',
		'title': '',
		'imageId': '61943850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943851&x=4858',
		'title': '',
		'imageId': '61943851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943852&x=4858',
		'title': '',
		'imageId': '61943852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943853&x=4858',
		'title': '',
		'imageId': '61943853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943854&x=4858',
		'title': '',
		'imageId': '61943854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943855&x=4858',
		'title': '',
		'imageId': '61943855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943856&x=4858',
		'title': '',
		'imageId': '61943856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943857&x=4858',
		'title': '',
		'imageId': '61943857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943858&x=4858',
		'title': '',
		'imageId': '61943858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943859&x=4858',
		'title': '',
		'imageId': '61943859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943860&x=4858',
		'title': '',
		'imageId': '61943860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001803&docid=61943861&x=4858',
		'title': '',
		'imageId': '61943861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001803';

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