var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885283&x=2659',
		'title': '',
		'imageId': '69885283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885286&x=2659',
		'title': '',
		'imageId': '69885286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885287&x=2659',
		'title': '',
		'imageId': '69885287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885334&x=2659',
		'title': '',
		'imageId': '69885334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885335&x=2659',
		'title': '',
		'imageId': '69885335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885358&x=2659',
		'title': '',
		'imageId': '69885358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885357&x=2659',
		'title': '',
		'imageId': '69885357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885375&x=2659',
		'title': '',
		'imageId': '69885375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885374&x=2659',
		'title': '',
		'imageId': '69885374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885382&x=2659',
		'title': '',
		'imageId': '69885382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007289&docid=69885381&x=2659',
		'title': '',
		'imageId': '69885381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007289';

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