var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539388&x=4740',
		'title': '',
		'imageId': '69539388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539390&x=4740',
		'title': '',
		'imageId': '69539390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539392&x=4740',
		'title': '',
		'imageId': '69539392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539391&x=4740',
		'title': '',
		'imageId': '69539391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539389&x=4740',
		'title': '',
		'imageId': '69539389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539395&x=4740',
		'title': '',
		'imageId': '69539395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539394&x=4740',
		'title': '',
		'imageId': '69539394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539397&x=4740',
		'title': '',
		'imageId': '69539397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539393&x=4740',
		'title': '',
		'imageId': '69539393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992274&docid=69539396&x=4740',
		'title': '',
		'imageId': '69539396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992274';

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