var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794401&x=2032',
		'title': '',
		'imageId': '67794401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794403&x=2032',
		'title': '',
		'imageId': '67794403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794407&x=2032',
		'title': '',
		'imageId': '67794407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794406&x=2032',
		'title': '',
		'imageId': '67794406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794404&x=2032',
		'title': '',
		'imageId': '67794404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794402&x=2032',
		'title': '',
		'imageId': '67794402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794405&x=2032',
		'title': '',
		'imageId': '67794405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794670&x=2032',
		'title': '',
		'imageId': '67794670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794669&x=2032',
		'title': '',
		'imageId': '67794669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976538&docid=67794668&x=2032',
		'title': '',
		'imageId': '67794668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976538';

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