var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140697&x=1652',
		'title': '',
		'imageId': '69140697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140702&x=1652',
		'title': '',
		'imageId': '69140702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140693&x=1652',
		'title': '',
		'imageId': '69140693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140696&x=1652',
		'title': '',
		'imageId': '69140696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140698&x=1652',
		'title': '',
		'imageId': '69140698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140695&x=1652',
		'title': '',
		'imageId': '69140695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140699&x=1652',
		'title': '',
		'imageId': '69140699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140701&x=1652',
		'title': '',
		'imageId': '69140701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140694&x=1652',
		'title': '',
		'imageId': '69140694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974767&docid=69140700&x=1652',
		'title': '',
		'imageId': '69140700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974767';

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