var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716941&x=5456',
		'title': '',
		'imageId': '69716941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716934&x=5456',
		'title': '',
		'imageId': '69716934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716944&x=5456',
		'title': '',
		'imageId': '69716944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716942&x=5456',
		'title': '',
		'imageId': '69716942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716930&x=5456',
		'title': '',
		'imageId': '69716930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716929&x=5456',
		'title': '',
		'imageId': '69716929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716925&x=5456',
		'title': '',
		'imageId': '69716925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716932&x=5456',
		'title': '',
		'imageId': '69716932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716928&x=5456',
		'title': '',
		'imageId': '69716928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716927&x=5456',
		'title': '',
		'imageId': '69716927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716937&x=5456',
		'title': '',
		'imageId': '69716937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716943&x=5456',
		'title': '',
		'imageId': '69716943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716938&x=5456',
		'title': '',
		'imageId': '69716938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716936&x=5456',
		'title': '',
		'imageId': '69716936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716935&x=5456',
		'title': '',
		'imageId': '69716935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716926&x=5456',
		'title': '',
		'imageId': '69716926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716931&x=5456',
		'title': '',
		'imageId': '69716931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716940&x=5456',
		'title': '',
		'imageId': '69716940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716939&x=5456',
		'title': '',
		'imageId': '69716939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=69716933&x=5456',
		'title': '',
		'imageId': '69716933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=59270723&x=5456',
		'title': '',
		'imageId': '59270723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999087&docid=59270722&x=5456',
		'title': '',
		'imageId': '59270722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999087';

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