var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065202&x=4310',
		'title': '',
		'imageId': '70065202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065297&x=4310',
		'title': '',
		'imageId': '70065297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065380&x=4310',
		'title': '',
		'imageId': '70065380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065388&x=4310',
		'title': '',
		'imageId': '70065388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065392&x=4310',
		'title': '',
		'imageId': '70065392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065395&x=4310',
		'title': '',
		'imageId': '70065395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065424&x=4310',
		'title': '',
		'imageId': '70065424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065437&x=4310',
		'title': '',
		'imageId': '70065437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065721&x=4310',
		'title': '',
		'imageId': '70065721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014445&docid=70065756&x=4310',
		'title': '',
		'imageId': '70065756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014445';

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