var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088378&x=5311',
		'title': '',
		'imageId': '69088378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088379&x=5311',
		'title': '',
		'imageId': '69088379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088380&x=5311',
		'title': '',
		'imageId': '69088380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088381&x=5311',
		'title': '',
		'imageId': '69088381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088382&x=5311',
		'title': '',
		'imageId': '69088382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088383&x=5311',
		'title': '',
		'imageId': '69088383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088384&x=5311',
		'title': '',
		'imageId': '69088384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088385&x=5311',
		'title': '',
		'imageId': '69088385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088387&x=5311',
		'title': '',
		'imageId': '69088387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088388&x=5311',
		'title': '',
		'imageId': '69088388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088389&x=5311',
		'title': '',
		'imageId': '69088389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972519&docid=69088390&x=5311',
		'title': '',
		'imageId': '69088390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972519';

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