var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230445&x=4346',
		'title': '',
		'imageId': '70230445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230446&x=4346',
		'title': '',
		'imageId': '70230446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230449&x=4346',
		'title': '',
		'imageId': '70230449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230450&x=4346',
		'title': '',
		'imageId': '70230450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230444&x=4346',
		'title': '',
		'imageId': '70230444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230448&x=4346',
		'title': '',
		'imageId': '70230448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=68460974&x=4346',
		'title': '',
		'imageId': '68460974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=68460973&x=4346',
		'title': '',
		'imageId': '68460973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=68460972&x=4346',
		'title': '',
		'imageId': '68460972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017077&docid=70230447&x=4346',
		'title': '',
		'imageId': '70230447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017077';

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