var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728150&x=613',
		'title': '',
		'imageId': '67728150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728151&x=613',
		'title': '',
		'imageId': '67728151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728152&x=613',
		'title': '',
		'imageId': '67728152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728153&x=613',
		'title': '',
		'imageId': '67728153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728154&x=613',
		'title': '',
		'imageId': '67728154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728156&x=613',
		'title': '',
		'imageId': '67728156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728155&x=613',
		'title': '',
		'imageId': '67728155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728157&x=613',
		'title': '',
		'imageId': '67728157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728158&x=613',
		'title': '',
		'imageId': '67728158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913619&docid=67728159&x=613',
		'title': '',
		'imageId': '67728159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913619';

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