var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514169&x=467',
		'title': '',
		'imageId': '68514169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514174&x=467',
		'title': '',
		'imageId': '68514174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514172&x=467',
		'title': '',
		'imageId': '68514172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514170&x=467',
		'title': '',
		'imageId': '68514170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514176&x=467',
		'title': '',
		'imageId': '68514176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514177&x=467',
		'title': '',
		'imageId': '68514177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514180&x=467',
		'title': '',
		'imageId': '68514180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514182&x=467',
		'title': '',
		'imageId': '68514182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514181&x=467',
		'title': '',
		'imageId': '68514181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514175&x=467',
		'title': '',
		'imageId': '68514175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947159&docid=68514183&x=467',
		'title': '',
		'imageId': '68514183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947159';

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