var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251288&x=61',
		'title': '',
		'imageId': '68251288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251291&x=61',
		'title': '',
		'imageId': '68251291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251292&x=61',
		'title': '',
		'imageId': '68251292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251287&x=61',
		'title': '',
		'imageId': '68251287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251285&x=61',
		'title': '',
		'imageId': '68251285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251294&x=61',
		'title': '',
		'imageId': '68251294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251293&x=61',
		'title': '',
		'imageId': '68251293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251295&x=61',
		'title': '',
		'imageId': '68251295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251286&x=61',
		'title': '',
		'imageId': '68251286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251289&x=61',
		'title': '',
		'imageId': '68251289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940849&docid=68251290&x=61',
		'title': '',
		'imageId': '68251290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940849';

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