var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798675&x=2754',
		'title': '',
		'imageId': '67798675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798672&x=2754',
		'title': '',
		'imageId': '67798672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798666&x=2754',
		'title': '',
		'imageId': '67798666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798667&x=2754',
		'title': '',
		'imageId': '67798667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798673&x=2754',
		'title': '',
		'imageId': '67798673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798674&x=2754',
		'title': '',
		'imageId': '67798674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798669&x=2754',
		'title': '',
		'imageId': '67798669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798676&x=2754',
		'title': '',
		'imageId': '67798676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798671&x=2754',
		'title': '',
		'imageId': '67798671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798665&x=2754',
		'title': '',
		'imageId': '67798665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798670&x=2754',
		'title': '',
		'imageId': '67798670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916250&docid=67798668&x=2754',
		'title': '',
		'imageId': '67798668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916250';

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