var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706874&x=4454',
		'title': '',
		'imageId': '66706874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706876&x=4454',
		'title': '',
		'imageId': '66706876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706877&x=4454',
		'title': '',
		'imageId': '66706877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706873&x=4454',
		'title': '',
		'imageId': '66706873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706871&x=4454',
		'title': '',
		'imageId': '66706871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706875&x=4454',
		'title': '',
		'imageId': '66706875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706884&x=4454',
		'title': '',
		'imageId': '66706884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706885&x=4454',
		'title': '',
		'imageId': '66706885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706879&x=4454',
		'title': '',
		'imageId': '66706879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706872&x=4454',
		'title': '',
		'imageId': '66706872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706880&x=4454',
		'title': '',
		'imageId': '66706880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706878&x=4454',
		'title': '',
		'imageId': '66706878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706886&x=4454',
		'title': '',
		'imageId': '66706886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706882&x=4454',
		'title': '',
		'imageId': '66706882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706881&x=4454',
		'title': '',
		'imageId': '66706881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924422&docid=66706883&x=4454',
		'title': '',
		'imageId': '66706883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924422';

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