var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694001&x=3941',
		'title': '',
		'imageId': '68694001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694002&x=3941',
		'title': '',
		'imageId': '68694002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694000&x=3941',
		'title': '',
		'imageId': '68694000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694005&x=3941',
		'title': '',
		'imageId': '68694005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694003&x=3941',
		'title': '',
		'imageId': '68694003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694006&x=3941',
		'title': '',
		'imageId': '68694006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954742&docid=68694004&x=3941',
		'title': '',
		'imageId': '68694004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954742';

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