var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68809377&x=3137',
		'title': '',
		'imageId': '68809377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68809380&x=3137',
		'title': '',
		'imageId': '68809380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68809379&x=3137',
		'title': '',
		'imageId': '68809379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68809378&x=3137',
		'title': '',
		'imageId': '68809378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68816961&x=3137',
		'title': '',
		'imageId': '68816961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68816978&x=3137',
		'title': '',
		'imageId': '68816978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68816958&x=3137',
		'title': '',
		'imageId': '68816958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68816959&x=3137',
		'title': '',
		'imageId': '68816959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68816962&x=3137',
		'title': '',
		'imageId': '68816962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959493&docid=68816960&x=3137',
		'title': '',
		'imageId': '68816960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959493';

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