var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567076&x=4514',
		'title': '',
		'imageId': '68567076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567077&x=4514',
		'title': '',
		'imageId': '68567077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567078&x=4514',
		'title': '',
		'imageId': '68567078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567079&x=4514',
		'title': '',
		'imageId': '68567079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567080&x=4514',
		'title': '',
		'imageId': '68567080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567081&x=4514',
		'title': '',
		'imageId': '68567081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567082&x=4514',
		'title': '',
		'imageId': '68567082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567084&x=4514',
		'title': '',
		'imageId': '68567084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567085&x=4514',
		'title': '',
		'imageId': '68567085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567086&x=4514',
		'title': '',
		'imageId': '68567086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567087&x=4514',
		'title': '',
		'imageId': '68567087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567088&x=4514',
		'title': '',
		'imageId': '68567088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567089&x=4514',
		'title': '',
		'imageId': '68567089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567090&x=4514',
		'title': '',
		'imageId': '68567090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567091&x=4514',
		'title': '',
		'imageId': '68567091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949200&docid=68567092&x=4514',
		'title': '',
		'imageId': '68567092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949200';

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