var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=65865867&x=3325',
		'title': '',
		'imageId': '65865867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=65865865&x=3325',
		'title': '',
		'imageId': '65865865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=65865871&x=3325',
		'title': '',
		'imageId': '65865871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=65865874&x=3325',
		'title': '',
		'imageId': '65865874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=65890364&x=3325',
		'title': '',
		'imageId': '65890364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=66325219&x=3325',
		'title': '',
		'imageId': '66325219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=66325218&x=3325',
		'title': '',
		'imageId': '66325218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=67690630&x=3325',
		'title': '',
		'imageId': '67690630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=67690629&x=3325',
		'title': '',
		'imageId': '67690629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921978&docid=67690631&x=3325',
		'title': '',
		'imageId': '67690631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921978';

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