var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857602&x=547',
		'title': '',
		'imageId': '67857602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857603&x=547',
		'title': '',
		'imageId': '67857603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857604&x=547',
		'title': '',
		'imageId': '67857604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857605&x=547',
		'title': '',
		'imageId': '67857605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857606&x=547',
		'title': '',
		'imageId': '67857606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857607&x=547',
		'title': '',
		'imageId': '67857607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857608&x=547',
		'title': '',
		'imageId': '67857608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857609&x=547',
		'title': '',
		'imageId': '67857609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857610&x=547',
		'title': '',
		'imageId': '67857610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918238&docid=67857611&x=547',
		'title': '',
		'imageId': '67857611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918238';

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