var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206588&x=1942',
		'title': '',
		'imageId': '68206588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206582&x=1942',
		'title': '',
		'imageId': '68206582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206591&x=1942',
		'title': '',
		'imageId': '68206591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206583&x=1942',
		'title': '',
		'imageId': '68206583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206585&x=1942',
		'title': '',
		'imageId': '68206585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206586&x=1942',
		'title': '',
		'imageId': '68206586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206581&x=1942',
		'title': '',
		'imageId': '68206581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206584&x=1942',
		'title': '',
		'imageId': '68206584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206589&x=1942',
		'title': '',
		'imageId': '68206589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933096&docid=68206590&x=1942',
		'title': '',
		'imageId': '68206590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933096';

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