var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278717&x=5535',
		'title': '',
		'imageId': '68278717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278712&x=5535',
		'title': '',
		'imageId': '68278712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278710&x=5535',
		'title': '',
		'imageId': '68278710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278714&x=5535',
		'title': '',
		'imageId': '68278714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278711&x=5535',
		'title': '',
		'imageId': '68278711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278709&x=5535',
		'title': '',
		'imageId': '68278709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278713&x=5535',
		'title': '',
		'imageId': '68278713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278715&x=5535',
		'title': '',
		'imageId': '68278715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278716&x=5535',
		'title': '',
		'imageId': '68278716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946011&docid=68278708&x=5535',
		'title': '',
		'imageId': '68278708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946011';

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