var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991312&x=2941',
		'title': '',
		'imageId': '68991312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991352&x=2941',
		'title': '',
		'imageId': '68991352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991372&x=2941',
		'title': '',
		'imageId': '68991372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991375&x=2941',
		'title': '',
		'imageId': '68991375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991388&x=2941',
		'title': '',
		'imageId': '68991388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991393&x=2941',
		'title': '',
		'imageId': '68991393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991397&x=2941',
		'title': '',
		'imageId': '68991397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991401&x=2941',
		'title': '',
		'imageId': '68991401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991404&x=2941',
		'title': '',
		'imageId': '68991404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991409&x=2941',
		'title': '',
		'imageId': '68991409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968639&docid=68991417&x=2941',
		'title': '',
		'imageId': '68991417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968639';

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