var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750061&x=29',
		'title': '',
		'imageId': '67750061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750063&x=29',
		'title': '',
		'imageId': '67750063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750060&x=29',
		'title': '',
		'imageId': '67750060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750062&x=29',
		'title': '',
		'imageId': '67750062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750059&x=29',
		'title': '',
		'imageId': '67750059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750066&x=29',
		'title': '',
		'imageId': '67750066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750064&x=29',
		'title': '',
		'imageId': '67750064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750058&x=29',
		'title': '',
		'imageId': '67750058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750057&x=29',
		'title': '',
		'imageId': '67750057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913946&docid=67750065&x=29',
		'title': '',
		'imageId': '67750065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913946';

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