var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68647908&x=2748',
		'title': '',
		'imageId': '68647908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574880&x=2748',
		'title': '',
		'imageId': '68574880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574883&x=2748',
		'title': '',
		'imageId': '68574883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68647896&x=2748',
		'title': '',
		'imageId': '68647896',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574882&x=2748',
		'title': '',
		'imageId': '68574882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574884&x=2748',
		'title': '',
		'imageId': '68574884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574886&x=2748',
		'title': '',
		'imageId': '68574886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574887&x=2748',
		'title': '',
		'imageId': '68574887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574888&x=2748',
		'title': '',
		'imageId': '68574888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574881&x=2748',
		'title': '',
		'imageId': '68574881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949517&docid=68574885&x=2748',
		'title': '',
		'imageId': '68574885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949517';

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