var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=68313715&x=359',
		'title': '',
		'imageId': '68313715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=64178199&x=359',
		'title': '',
		'imageId': '64178199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=64178195&x=359',
		'title': '',
		'imageId': '64178195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=64178193&x=359',
		'title': '',
		'imageId': '64178193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=64178198&x=359',
		'title': '',
		'imageId': '64178198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=64178196&x=359',
		'title': '',
		'imageId': '64178196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=68313714&x=359',
		'title': '',
		'imageId': '68313714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=68313713&x=359',
		'title': '',
		'imageId': '68313713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=68313716&x=359',
		'title': '',
		'imageId': '68313716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937737&docid=68313711&x=359',
		'title': '',
		'imageId': '68313711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937737';

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