var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972702&x=4613',
		'title': '',
		'imageId': '67972702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972711&x=4613',
		'title': '',
		'imageId': '67972711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972719&x=4613',
		'title': '',
		'imageId': '67972719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972729&x=4613',
		'title': '',
		'imageId': '67972729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972707&x=4613',
		'title': '',
		'imageId': '67972707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972695&x=4613',
		'title': '',
		'imageId': '67972695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972715&x=4613',
		'title': '',
		'imageId': '67972715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972740&x=4613',
		'title': '',
		'imageId': '67972740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972737&x=4613',
		'title': '',
		'imageId': '67972737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936977&docid=67972748&x=4613',
		'title': '',
		'imageId': '67972748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936977';

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