var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416704&x=5259',
		'title': '',
		'imageId': '68416704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416705&x=5259',
		'title': '',
		'imageId': '68416705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416710&x=5259',
		'title': '',
		'imageId': '68416710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416708&x=5259',
		'title': '',
		'imageId': '68416708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416703&x=5259',
		'title': '',
		'imageId': '68416703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416711&x=5259',
		'title': '',
		'imageId': '68416711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416707&x=5259',
		'title': '',
		'imageId': '68416707',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416709&x=5259',
		'title': '',
		'imageId': '68416709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416702&x=5259',
		'title': '',
		'imageId': '68416702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416706&x=5259',
		'title': '',
		'imageId': '68416706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949316&docid=68416701&x=5259',
		'title': '',
		'imageId': '68416701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949316';

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