var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416116&x=406',
		'title': '',
		'imageId': '68416116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416117&x=406',
		'title': '',
		'imageId': '68416117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416118&x=406',
		'title': '',
		'imageId': '68416118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416119&x=406',
		'title': '',
		'imageId': '68416119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416120&x=406',
		'title': '',
		'imageId': '68416120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416121&x=406',
		'title': '',
		'imageId': '68416121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416122&x=406',
		'title': '',
		'imageId': '68416122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416123&x=406',
		'title': '',
		'imageId': '68416123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416124&x=406',
		'title': '',
		'imageId': '68416124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416125&x=406',
		'title': '',
		'imageId': '68416125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416126&x=406',
		'title': '',
		'imageId': '68416126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416127&x=406',
		'title': '',
		'imageId': '68416127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416128&x=406',
		'title': '',
		'imageId': '68416128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416129&x=406',
		'title': '',
		'imageId': '68416129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416130&x=406',
		'title': '',
		'imageId': '68416130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416131&x=406',
		'title': '',
		'imageId': '68416131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416132&x=406',
		'title': '',
		'imageId': '68416132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416133&x=406',
		'title': '',
		'imageId': '68416133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416135&x=406',
		'title': '',
		'imageId': '68416135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416136&x=406',
		'title': '',
		'imageId': '68416136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416137&x=406',
		'title': '',
		'imageId': '68416137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943126&docid=68416138&x=406',
		'title': '',
		'imageId': '68416138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943126';

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