var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776965&x=821',
		'title': '',
		'imageId': '69776965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776966&x=821',
		'title': '',
		'imageId': '69776966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776967&x=821',
		'title': '',
		'imageId': '69776967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776968&x=821',
		'title': '',
		'imageId': '69776968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776969&x=821',
		'title': '',
		'imageId': '69776969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776970&x=821',
		'title': '',
		'imageId': '69776970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776971&x=821',
		'title': '',
		'imageId': '69776971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776972&x=821',
		'title': '',
		'imageId': '69776972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776973&x=821',
		'title': '',
		'imageId': '69776973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002749&docid=69776974&x=821',
		'title': '',
		'imageId': '69776974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002749';

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