var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245039&x=164',
		'title': '',
		'imageId': '68245039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245034&x=164',
		'title': '',
		'imageId': '68245034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245038&x=164',
		'title': '',
		'imageId': '68245038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245037&x=164',
		'title': '',
		'imageId': '68245037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245035&x=164',
		'title': '',
		'imageId': '68245035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245030&x=164',
		'title': '',
		'imageId': '68245030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245031&x=164',
		'title': '',
		'imageId': '68245031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245036&x=164',
		'title': '',
		'imageId': '68245036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245033&x=164',
		'title': '',
		'imageId': '68245033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245029&x=164',
		'title': '',
		'imageId': '68245029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934837&docid=68245032&x=164',
		'title': '',
		'imageId': '68245032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934837';

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