var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957237&x=2430',
		'title': '',
		'imageId': '67957237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957240&x=2430',
		'title': '',
		'imageId': '67957240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957233&x=2430',
		'title': '',
		'imageId': '67957233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957236&x=2430',
		'title': '',
		'imageId': '67957236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957235&x=2430',
		'title': '',
		'imageId': '67957235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957234&x=2430',
		'title': '',
		'imageId': '67957234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957239&x=2430',
		'title': '',
		'imageId': '67957239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957238&x=2430',
		'title': '',
		'imageId': '67957238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957232&x=2430',
		'title': '',
		'imageId': '67957232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922309&docid=67957241&x=2430',
		'title': '',
		'imageId': '67957241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922309';

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