var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901696&x=230',
		'title': '',
		'imageId': '69901696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901700&x=230',
		'title': '',
		'imageId': '69901700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901706&x=230',
		'title': '',
		'imageId': '69901706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901703&x=230',
		'title': '',
		'imageId': '69901703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901695&x=230',
		'title': '',
		'imageId': '69901695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901705&x=230',
		'title': '',
		'imageId': '69901705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901699&x=230',
		'title': '',
		'imageId': '69901699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901697&x=230',
		'title': '',
		'imageId': '69901697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901704&x=230',
		'title': '',
		'imageId': '69901704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901701&x=230',
		'title': '',
		'imageId': '69901701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901702&x=230',
		'title': '',
		'imageId': '69901702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007703&docid=69901698&x=230',
		'title': '',
		'imageId': '69901698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007703';

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