var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266657&x=2612',
		'title': '',
		'imageId': '69266657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266666&x=2612',
		'title': '',
		'imageId': '69266666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266670&x=2612',
		'title': '',
		'imageId': '69266670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266658&x=2612',
		'title': '',
		'imageId': '69266658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266668&x=2612',
		'title': '',
		'imageId': '69266668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266661&x=2612',
		'title': '',
		'imageId': '69266661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266664&x=2612',
		'title': '',
		'imageId': '69266664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266660&x=2612',
		'title': '',
		'imageId': '69266660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266669&x=2612',
		'title': '',
		'imageId': '69266669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266667&x=2612',
		'title': '',
		'imageId': '69266667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266659&x=2612',
		'title': '',
		'imageId': '69266659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266662&x=2612',
		'title': '',
		'imageId': '69266662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266663&x=2612',
		'title': '',
		'imageId': '69266663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266665&x=2612',
		'title': '',
		'imageId': '69266665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266671&x=2612',
		'title': '',
		'imageId': '69266671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980118&docid=69266656&x=2612',
		'title': '',
		'imageId': '69266656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980118';

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