var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189724&x=3744',
		'title': '',
		'imageId': '67189724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189722&x=3744',
		'title': '',
		'imageId': '67189722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189725&x=3744',
		'title': '',
		'imageId': '67189725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189721&x=3744',
		'title': '',
		'imageId': '67189721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189728&x=3744',
		'title': '',
		'imageId': '67189728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189729&x=3744',
		'title': '',
		'imageId': '67189729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189726&x=3744',
		'title': '',
		'imageId': '67189726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189723&x=3744',
		'title': '',
		'imageId': '67189723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189730&x=3744',
		'title': '',
		'imageId': '67189730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944053&docid=67189727&x=3744',
		'title': '',
		'imageId': '67189727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944053';

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