var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547449&x=5027',
		'title': '',
		'imageId': '67547449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547446&x=5027',
		'title': '',
		'imageId': '67547446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547450&x=5027',
		'title': '',
		'imageId': '67547450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547451&x=5027',
		'title': '',
		'imageId': '67547451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547453&x=5027',
		'title': '',
		'imageId': '67547453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547452&x=5027',
		'title': '',
		'imageId': '67547452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547454&x=5027',
		'title': '',
		'imageId': '67547454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547467&x=5027',
		'title': '',
		'imageId': '67547467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547468&x=5027',
		'title': '',
		'imageId': '67547468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547470&x=5027',
		'title': '',
		'imageId': '67547470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906155&docid=67547469&x=5027',
		'title': '',
		'imageId': '67547469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906155';

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