var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185951&x=4011',
		'title': '',
		'imageId': '65185951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185945&x=4011',
		'title': '',
		'imageId': '65185945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65186037&x=4011',
		'title': '',
		'imageId': '65186037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65186033&x=4011',
		'title': '',
		'imageId': '65186033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65186122&x=4011',
		'title': '',
		'imageId': '65186122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185939&x=4011',
		'title': '',
		'imageId': '65185939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185935&x=4011',
		'title': '',
		'imageId': '65185935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185937&x=4011',
		'title': '',
		'imageId': '65185937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185936&x=4011',
		'title': '',
		'imageId': '65185936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967102&docid=65185938&x=4011',
		'title': '',
		'imageId': '65185938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967102';

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