var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505747&x=440',
		'title': '',
		'imageId': '69505747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505749&x=440',
		'title': '',
		'imageId': '69505749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505746&x=440',
		'title': '',
		'imageId': '69505746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505748&x=440',
		'title': '',
		'imageId': '69505748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505751&x=440',
		'title': '',
		'imageId': '69505751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505752&x=440',
		'title': '',
		'imageId': '69505752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505744&x=440',
		'title': '',
		'imageId': '69505744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505753&x=440',
		'title': '',
		'imageId': '69505753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505745&x=440',
		'title': '',
		'imageId': '69505745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505743&x=440',
		'title': '',
		'imageId': '69505743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990786&docid=69505750&x=440',
		'title': '',
		'imageId': '69505750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990786';

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