var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868354&x=3756',
		'title': '',
		'imageId': '69868354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868355&x=3756',
		'title': '',
		'imageId': '69868355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868349&x=3756',
		'title': '',
		'imageId': '69868349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868353&x=3756',
		'title': '',
		'imageId': '69868353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868351&x=3756',
		'title': '',
		'imageId': '69868351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868358&x=3756',
		'title': '',
		'imageId': '69868358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868350&x=3756',
		'title': '',
		'imageId': '69868350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868356&x=3756',
		'title': '',
		'imageId': '69868356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868357&x=3756',
		'title': '',
		'imageId': '69868357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006432&docid=69868352&x=3756',
		'title': '',
		'imageId': '69868352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006432';

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