var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566573&x=531',
		'title': '',
		'imageId': '68566573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566570&x=531',
		'title': '',
		'imageId': '68566570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566576&x=531',
		'title': '',
		'imageId': '68566576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566571&x=531',
		'title': '',
		'imageId': '68566571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566574&x=531',
		'title': '',
		'imageId': '68566574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566577&x=531',
		'title': '',
		'imageId': '68566577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566580&x=531',
		'title': '',
		'imageId': '68566580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566572&x=531',
		'title': '',
		'imageId': '68566572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566575&x=531',
		'title': '',
		'imageId': '68566575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566569&x=531',
		'title': '',
		'imageId': '68566569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566578&x=531',
		'title': '',
		'imageId': '68566578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949170&docid=68566579&x=531',
		'title': '',
		'imageId': '68566579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949170';

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