var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488787&x=2029',
		'title': '',
		'imageId': '68488787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488789&x=2029',
		'title': '',
		'imageId': '68488789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488790&x=2029',
		'title': '',
		'imageId': '68488790',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488791&x=2029',
		'title': '',
		'imageId': '68488791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488792&x=2029',
		'title': '',
		'imageId': '68488792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488794&x=2029',
		'title': '',
		'imageId': '68488794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488793&x=2029',
		'title': '',
		'imageId': '68488793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488795&x=2029',
		'title': '',
		'imageId': '68488795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488798&x=2029',
		'title': '',
		'imageId': '68488798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488796&x=2029',
		'title': '',
		'imageId': '68488796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946253&docid=68488797&x=2029',
		'title': '',
		'imageId': '68488797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946253';

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