var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703242&x=1842',
		'title': '',
		'imageId': '67703242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703244&x=1842',
		'title': '',
		'imageId': '67703244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703245&x=1842',
		'title': '',
		'imageId': '67703245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703246&x=1842',
		'title': '',
		'imageId': '67703246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703247&x=1842',
		'title': '',
		'imageId': '67703247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703248&x=1842',
		'title': '',
		'imageId': '67703248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703250&x=1842',
		'title': '',
		'imageId': '67703250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703249&x=1842',
		'title': '',
		'imageId': '67703249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703251&x=1842',
		'title': '',
		'imageId': '67703251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703252&x=1842',
		'title': '',
		'imageId': '67703252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703253&x=1842',
		'title': '',
		'imageId': '67703253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912852&docid=67703255&x=1842',
		'title': '',
		'imageId': '67703255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912852';

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