var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608311&x=5956',
		'title': '',
		'imageId': '67608311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608316&x=5956',
		'title': '',
		'imageId': '67608316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608326&x=5956',
		'title': '',
		'imageId': '67608326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608327&x=5956',
		'title': '',
		'imageId': '67608327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608328&x=5956',
		'title': '',
		'imageId': '67608328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608330&x=5956',
		'title': '',
		'imageId': '67608330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608331&x=5956',
		'title': '',
		'imageId': '67608331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608332&x=5956',
		'title': '',
		'imageId': '67608332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608335&x=5956',
		'title': '',
		'imageId': '67608335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608336&x=5956',
		'title': '',
		'imageId': '67608336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608337&x=5956',
		'title': '',
		'imageId': '67608337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908380&docid=67608338&x=5956',
		'title': '',
		'imageId': '67608338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908380';

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