var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395387&x=540',
		'title': '',
		'imageId': '69395387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395386&x=540',
		'title': '',
		'imageId': '69395386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395385&x=540',
		'title': '',
		'imageId': '69395385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395393&x=540',
		'title': '',
		'imageId': '69395393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395388&x=540',
		'title': '',
		'imageId': '69395388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395392&x=540',
		'title': '',
		'imageId': '69395392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395384&x=540',
		'title': '',
		'imageId': '69395384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395390&x=540',
		'title': '',
		'imageId': '69395390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395391&x=540',
		'title': '',
		'imageId': '69395391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395394&x=540',
		'title': '',
		'imageId': '69395394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912809&docid=69395389&x=540',
		'title': '',
		'imageId': '69395389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912809';

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