var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327634&x=313',
		'title': '',
		'imageId': '68327634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327623&x=313',
		'title': '',
		'imageId': '68327623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327619&x=313',
		'title': '',
		'imageId': '68327619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327621&x=313',
		'title': '',
		'imageId': '68327621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327639&x=313',
		'title': '',
		'imageId': '68327639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327641&x=313',
		'title': '',
		'imageId': '68327641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327620&x=313',
		'title': '',
		'imageId': '68327620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327642&x=313',
		'title': '',
		'imageId': '68327642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327669&x=313',
		'title': '',
		'imageId': '68327669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327631&x=313',
		'title': '',
		'imageId': '68327631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327659&x=313',
		'title': '',
		'imageId': '68327659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327664&x=313',
		'title': '',
		'imageId': '68327664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327647&x=313',
		'title': '',
		'imageId': '68327647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327668&x=313',
		'title': '',
		'imageId': '68327668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327622&x=313',
		'title': '',
		'imageId': '68327622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327656&x=313',
		'title': '',
		'imageId': '68327656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327624&x=313',
		'title': '',
		'imageId': '68327624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327633&x=313',
		'title': '',
		'imageId': '68327633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938322&docid=68327660&x=313',
		'title': '',
		'imageId': '68327660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938322';

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