var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353017&x=2120',
		'title': '',
		'imageId': '68353017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353018&x=2120',
		'title': '',
		'imageId': '68353018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353019&x=2120',
		'title': '',
		'imageId': '68353019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353021&x=2120',
		'title': '',
		'imageId': '68353021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353022&x=2120',
		'title': '',
		'imageId': '68353022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353023&x=2120',
		'title': '',
		'imageId': '68353023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353026&x=2120',
		'title': '',
		'imageId': '68353026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353031&x=2120',
		'title': '',
		'imageId': '68353031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353035&x=2120',
		'title': '',
		'imageId': '68353035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018400&docid=68353051&x=2120',
		'title': '',
		'imageId': '68353051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018400';

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