var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987445&x=4432',
		'title': '',
		'imageId': '69987445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987444&x=4432',
		'title': '',
		'imageId': '69987444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987448&x=4432',
		'title': '',
		'imageId': '69987448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987446&x=4432',
		'title': '',
		'imageId': '69987446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987447&x=4432',
		'title': '',
		'imageId': '69987447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987443&x=4432',
		'title': '',
		'imageId': '69987443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011243&docid=69987449&x=4432',
		'title': '',
		'imageId': '69987449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011243';

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