var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950906&x=744',
		'title': '',
		'imageId': '69950906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950907&x=744',
		'title': '',
		'imageId': '69950907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950908&x=744',
		'title': '',
		'imageId': '69950908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950909&x=744',
		'title': '',
		'imageId': '69950909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950913&x=744',
		'title': '',
		'imageId': '69950913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69952322&x=744',
		'title': '',
		'imageId': '69952322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69952323&x=744',
		'title': '',
		'imageId': '69952323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69952324&x=744',
		'title': '',
		'imageId': '69952324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950905&x=744',
		'title': '',
		'imageId': '69950905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009616&docid=69950904&x=744',
		'title': '',
		'imageId': '69950904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009616';

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