var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039852&x=638',
		'title': '',
		'imageId': '67039852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039847&x=638',
		'title': '',
		'imageId': '67039847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039846&x=638',
		'title': '',
		'imageId': '67039846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039849&x=638',
		'title': '',
		'imageId': '67039849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039845&x=638',
		'title': '',
		'imageId': '67039845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039844&x=638',
		'title': '',
		'imageId': '67039844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039848&x=638',
		'title': '',
		'imageId': '67039848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039851&x=638',
		'title': '',
		'imageId': '67039851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039843&x=638',
		'title': '',
		'imageId': '67039843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039842&x=638',
		'title': '',
		'imageId': '67039842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932636&docid=67039850&x=638',
		'title': '',
		'imageId': '67039850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932636';

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