var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257810&x=4855',
		'title': '',
		'imageId': '69257810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257812&x=4855',
		'title': '',
		'imageId': '69257812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257809&x=4855',
		'title': '',
		'imageId': '69257809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257806&x=4855',
		'title': '',
		'imageId': '69257806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257807&x=4855',
		'title': '',
		'imageId': '69257807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257813&x=4855',
		'title': '',
		'imageId': '69257813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257808&x=4855',
		'title': '',
		'imageId': '69257808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257805&x=4855',
		'title': '',
		'imageId': '69257805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257811&x=4855',
		'title': '',
		'imageId': '69257811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979884&docid=69257814&x=4855',
		'title': '',
		'imageId': '69257814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979884';

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