var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395939&x=3230',
		'title': '',
		'imageId': '69395939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395943&x=3230',
		'title': '',
		'imageId': '69395943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395941&x=3230',
		'title': '',
		'imageId': '69395941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395940&x=3230',
		'title': '',
		'imageId': '69395940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395945&x=3230',
		'title': '',
		'imageId': '69395945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395944&x=3230',
		'title': '',
		'imageId': '69395944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395942&x=3230',
		'title': '',
		'imageId': '69395942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395946&x=3230',
		'title': '',
		'imageId': '69395946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395947&x=3230',
		'title': '',
		'imageId': '69395947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985551&docid=69395948&x=3230',
		'title': '',
		'imageId': '69395948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985551';

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