var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338922&x=5114',
		'title': '',
		'imageId': '68338922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338925&x=5114',
		'title': '',
		'imageId': '68338925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338929&x=5114',
		'title': '',
		'imageId': '68338929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338930&x=5114',
		'title': '',
		'imageId': '68338930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338933&x=5114',
		'title': '',
		'imageId': '68338933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338958&x=5114',
		'title': '',
		'imageId': '68338958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338966&x=5114',
		'title': '',
		'imageId': '68338966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338967&x=5114',
		'title': '',
		'imageId': '68338967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338973&x=5114',
		'title': '',
		'imageId': '68338973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957047&docid=68338977&x=5114',
		'title': '',
		'imageId': '68338977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957047';

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