var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871745&x=741',
		'title': '',
		'imageId': '69871745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871752&x=741',
		'title': '',
		'imageId': '69871752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871751&x=741',
		'title': '',
		'imageId': '69871751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871750&x=741',
		'title': '',
		'imageId': '69871750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871754&x=741',
		'title': '',
		'imageId': '69871754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871753&x=741',
		'title': '',
		'imageId': '69871753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871746&x=741',
		'title': '',
		'imageId': '69871746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871749&x=741',
		'title': '',
		'imageId': '69871749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871747&x=741',
		'title': '',
		'imageId': '69871747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871755&x=741',
		'title': '',
		'imageId': '69871755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871760&x=741',
		'title': '',
		'imageId': '69871760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871748&x=741',
		'title': '',
		'imageId': '69871748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871758&x=741',
		'title': '',
		'imageId': '69871758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871759&x=741',
		'title': '',
		'imageId': '69871759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871757&x=741',
		'title': '',
		'imageId': '69871757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871761&x=741',
		'title': '',
		'imageId': '69871761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006561&docid=69871756&x=741',
		'title': '',
		'imageId': '69871756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006561';

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