var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754728&x=5549',
		'title': '',
		'imageId': '69754728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754724&x=5549',
		'title': '',
		'imageId': '69754724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754726&x=5549',
		'title': '',
		'imageId': '69754726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754727&x=5549',
		'title': '',
		'imageId': '69754727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754733&x=5549',
		'title': '',
		'imageId': '69754733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754734&x=5549',
		'title': '',
		'imageId': '69754734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754741&x=5549',
		'title': '',
		'imageId': '69754741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754742&x=5549',
		'title': '',
		'imageId': '69754742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754743&x=5549',
		'title': '',
		'imageId': '69754743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754723&x=5549',
		'title': '',
		'imageId': '69754723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001714&docid=69754725&x=5549',
		'title': '',
		'imageId': '69754725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001714';

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