var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703848&x=141',
		'title': '',
		'imageId': '68703848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703847&x=141',
		'title': '',
		'imageId': '68703847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703849&x=141',
		'title': '',
		'imageId': '68703849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703850&x=141',
		'title': '',
		'imageId': '68703850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703853&x=141',
		'title': '',
		'imageId': '68703853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703858&x=141',
		'title': '',
		'imageId': '68703858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703859&x=141',
		'title': '',
		'imageId': '68703859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703864&x=141',
		'title': '',
		'imageId': '68703864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703865&x=141',
		'title': '',
		'imageId': '68703865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955247&docid=68703846&x=141',
		'title': '',
		'imageId': '68703846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955247';

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