var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227757&x=5126',
		'title': '',
		'imageId': '68227757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227756&x=5126',
		'title': '',
		'imageId': '68227756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227746&x=5126',
		'title': '',
		'imageId': '68227746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227750&x=5126',
		'title': '',
		'imageId': '68227750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227753&x=5126',
		'title': '',
		'imageId': '68227753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227747&x=5126',
		'title': '',
		'imageId': '68227747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227755&x=5126',
		'title': '',
		'imageId': '68227755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227751&x=5126',
		'title': '',
		'imageId': '68227751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227748&x=5126',
		'title': '',
		'imageId': '68227748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227752&x=5126',
		'title': '',
		'imageId': '68227752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227754&x=5126',
		'title': '',
		'imageId': '68227754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932833&docid=68227749&x=5126',
		'title': '',
		'imageId': '68227749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932833';

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