var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687422&x=2518',
		'title': '',
		'imageId': '69687422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687437&x=2518',
		'title': '',
		'imageId': '69687437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687434&x=2518',
		'title': '',
		'imageId': '69687434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687402&x=2518',
		'title': '',
		'imageId': '69687402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687406&x=2518',
		'title': '',
		'imageId': '69687406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687404&x=2518',
		'title': '',
		'imageId': '69687404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687403&x=2518',
		'title': '',
		'imageId': '69687403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687427&x=2518',
		'title': '',
		'imageId': '69687427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687414&x=2518',
		'title': '',
		'imageId': '69687414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687405&x=2518',
		'title': '',
		'imageId': '69687405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687410&x=2518',
		'title': '',
		'imageId': '69687410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687421&x=2518',
		'title': '',
		'imageId': '69687421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687407&x=2518',
		'title': '',
		'imageId': '69687407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687433&x=2518',
		'title': '',
		'imageId': '69687433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687418&x=2518',
		'title': '',
		'imageId': '69687418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999167&docid=69687428&x=2518',
		'title': '',
		'imageId': '69687428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999167';

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