var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694699&x=25',
		'title': '',
		'imageId': '68694699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694702&x=25',
		'title': '',
		'imageId': '68694702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694704&x=25',
		'title': '',
		'imageId': '68694704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694700&x=25',
		'title': '',
		'imageId': '68694700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694701&x=25',
		'title': '',
		'imageId': '68694701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694703&x=25',
		'title': '',
		'imageId': '68694703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694707&x=25',
		'title': '',
		'imageId': '68694707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68695043&x=25',
		'title': '',
		'imageId': '68695043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68695059&x=25',
		'title': '',
		'imageId': '68695059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954793&docid=68694710&x=25',
		'title': '',
		'imageId': '68694710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954793';

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