var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908700&x=3729',
		'title': '',
		'imageId': '67908700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908707&x=3729',
		'title': '',
		'imageId': '67908707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908713&x=3729',
		'title': '',
		'imageId': '67908713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908690&x=3729',
		'title': '',
		'imageId': '67908690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908694&x=3729',
		'title': '',
		'imageId': '67908694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908692&x=3729',
		'title': '',
		'imageId': '67908692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908693&x=3729',
		'title': '',
		'imageId': '67908693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908695&x=3729',
		'title': '',
		'imageId': '67908695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908701&x=3729',
		'title': '',
		'imageId': '67908701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908706&x=3729',
		'title': '',
		'imageId': '67908706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908718&x=3729',
		'title': '',
		'imageId': '67908718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908719&x=3729',
		'title': '',
		'imageId': '67908719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908722&x=3729',
		'title': '',
		'imageId': '67908722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908745&x=3729',
		'title': '',
		'imageId': '67908745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908728&x=3729',
		'title': '',
		'imageId': '67908728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908731&x=3729',
		'title': '',
		'imageId': '67908731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908730&x=3729',
		'title': '',
		'imageId': '67908730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908734&x=3729',
		'title': '',
		'imageId': '67908734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908739&x=3729',
		'title': '',
		'imageId': '67908739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908744&x=3729',
		'title': '',
		'imageId': '67908744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908746&x=3729',
		'title': '',
		'imageId': '67908746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908749&x=3729',
		'title': '',
		'imageId': '67908749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3920021&docid=67908691&x=3729',
		'title': '',
		'imageId': '67908691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3920021';

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