var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868309&x=239',
		'title': '',
		'imageId': '68868309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868305&x=239',
		'title': '',
		'imageId': '68868305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868306&x=239',
		'title': '',
		'imageId': '68868306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868307&x=239',
		'title': '',
		'imageId': '68868307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868312&x=239',
		'title': '',
		'imageId': '68868312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868310&x=239',
		'title': '',
		'imageId': '68868310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868302&x=239',
		'title': '',
		'imageId': '68868302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868311&x=239',
		'title': '',
		'imageId': '68868311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868303&x=239',
		'title': '',
		'imageId': '68868303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962618&docid=68868313&x=239',
		'title': '',
		'imageId': '68868313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962618';

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