var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102705&x=510',
		'title': '',
		'imageId': '69102705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102709&x=510',
		'title': '',
		'imageId': '69102709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102710&x=510',
		'title': '',
		'imageId': '69102710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102713&x=510',
		'title': '',
		'imageId': '69102713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102716&x=510',
		'title': '',
		'imageId': '69102716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102707&x=510',
		'title': '',
		'imageId': '69102707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102720&x=510',
		'title': '',
		'imageId': '69102720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102722&x=510',
		'title': '',
		'imageId': '69102722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102726&x=510',
		'title': '',
		'imageId': '69102726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102706&x=510',
		'title': '',
		'imageId': '69102706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973338&docid=69102708&x=510',
		'title': '',
		'imageId': '69102708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973338';

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