var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609720&x=2837',
		'title': '',
		'imageId': '68609720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609731&x=2837',
		'title': '',
		'imageId': '68609731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609741&x=2837',
		'title': '',
		'imageId': '68609741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609744&x=2837',
		'title': '',
		'imageId': '68609744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609745&x=2837',
		'title': '',
		'imageId': '68609745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609746&x=2837',
		'title': '',
		'imageId': '68609746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609747&x=2837',
		'title': '',
		'imageId': '68609747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609748&x=2837',
		'title': '',
		'imageId': '68609748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609749&x=2837',
		'title': '',
		'imageId': '68609749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951005&docid=68609751&x=2837',
		'title': '',
		'imageId': '68609751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951005';

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