var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141032&x=3432',
		'title': '',
		'imageId': '69141032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141030&x=3432',
		'title': '',
		'imageId': '69141030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141031&x=3432',
		'title': '',
		'imageId': '69141031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141029&x=3432',
		'title': '',
		'imageId': '69141029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141033&x=3432',
		'title': '',
		'imageId': '69141033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141045&x=3432',
		'title': '',
		'imageId': '69141045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141050&x=3432',
		'title': '',
		'imageId': '69141050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141051&x=3432',
		'title': '',
		'imageId': '69141051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141065&x=3432',
		'title': '',
		'imageId': '69141065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141053&x=3432',
		'title': '',
		'imageId': '69141053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141052&x=3432',
		'title': '',
		'imageId': '69141052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141054&x=3432',
		'title': '',
		'imageId': '69141054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141061&x=3432',
		'title': '',
		'imageId': '69141061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141058&x=3432',
		'title': '',
		'imageId': '69141058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141055&x=3432',
		'title': '',
		'imageId': '69141055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141056&x=3432',
		'title': '',
		'imageId': '69141056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141057&x=3432',
		'title': '',
		'imageId': '69141057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141060&x=3432',
		'title': '',
		'imageId': '69141060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141059&x=3432',
		'title': '',
		'imageId': '69141059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141062&x=3432',
		'title': '',
		'imageId': '69141062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141063&x=3432',
		'title': '',
		'imageId': '69141063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974793&docid=69141064&x=3432',
		'title': '',
		'imageId': '69141064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974793';

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