var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889694&x=446',
		'title': '',
		'imageId': '67889694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889692&x=446',
		'title': '',
		'imageId': '67889692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889688&x=446',
		'title': '',
		'imageId': '67889688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889691&x=446',
		'title': '',
		'imageId': '67889691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889693&x=446',
		'title': '',
		'imageId': '67889693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889685&x=446',
		'title': '',
		'imageId': '67889685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889687&x=446',
		'title': '',
		'imageId': '67889687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889689&x=446',
		'title': '',
		'imageId': '67889689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889698&x=446',
		'title': '',
		'imageId': '67889698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889686&x=446',
		'title': '',
		'imageId': '67889686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889699&x=446',
		'title': '',
		'imageId': '67889699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889695&x=446',
		'title': '',
		'imageId': '67889695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889690&x=446',
		'title': '',
		'imageId': '67889690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889696&x=446',
		'title': '',
		'imageId': '67889696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919192&docid=67889697&x=446',
		'title': '',
		'imageId': '67889697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919192';

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