var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224107&x=5127',
		'title': '',
		'imageId': '68224107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224099&x=5127',
		'title': '',
		'imageId': '68224099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224106&x=5127',
		'title': '',
		'imageId': '68224106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224096&x=5127',
		'title': '',
		'imageId': '68224096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224098&x=5127',
		'title': '',
		'imageId': '68224098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224097&x=5127',
		'title': '',
		'imageId': '68224097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224089&x=5127',
		'title': '',
		'imageId': '68224089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224100&x=5127',
		'title': '',
		'imageId': '68224100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224087&x=5127',
		'title': '',
		'imageId': '68224087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224095&x=5127',
		'title': '',
		'imageId': '68224095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224088&x=5127',
		'title': '',
		'imageId': '68224088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224101&x=5127',
		'title': '',
		'imageId': '68224101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224105&x=5127',
		'title': '',
		'imageId': '68224105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224108&x=5127',
		'title': '',
		'imageId': '68224108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224109&x=5127',
		'title': '',
		'imageId': '68224109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224093&x=5127',
		'title': '',
		'imageId': '68224093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224094&x=5127',
		'title': '',
		'imageId': '68224094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224092&x=5127',
		'title': '',
		'imageId': '68224092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224104&x=5127',
		'title': '',
		'imageId': '68224104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224103&x=5127',
		'title': '',
		'imageId': '68224103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224102&x=5127',
		'title': '',
		'imageId': '68224102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224090&x=5127',
		'title': '',
		'imageId': '68224090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940846&docid=68224091&x=5127',
		'title': '',
		'imageId': '68224091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940846';

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