var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042583&x=3020',
		'title': '',
		'imageId': '69042583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042576&x=3020',
		'title': '',
		'imageId': '69042576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042575&x=3020',
		'title': '',
		'imageId': '69042575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042577&x=3020',
		'title': '',
		'imageId': '69042577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042579&x=3020',
		'title': '',
		'imageId': '69042579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042574&x=3020',
		'title': '',
		'imageId': '69042574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042578&x=3020',
		'title': '',
		'imageId': '69042578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042587&x=3020',
		'title': '',
		'imageId': '69042587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042580&x=3020',
		'title': '',
		'imageId': '69042580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042588&x=3020',
		'title': '',
		'imageId': '69042588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042573&x=3020',
		'title': '',
		'imageId': '69042573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042584&x=3020',
		'title': '',
		'imageId': '69042584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042585&x=3020',
		'title': '',
		'imageId': '69042585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042586&x=3020',
		'title': '',
		'imageId': '69042586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042581&x=3020',
		'title': '',
		'imageId': '69042581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971074&docid=69042582&x=3020',
		'title': '',
		'imageId': '69042582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971074';

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