var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749928&x=343',
		'title': '',
		'imageId': '67749928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749930&x=343',
		'title': '',
		'imageId': '67749930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749933&x=343',
		'title': '',
		'imageId': '67749933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749936&x=343',
		'title': '',
		'imageId': '67749936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749931&x=343',
		'title': '',
		'imageId': '67749931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749934&x=343',
		'title': '',
		'imageId': '67749934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749929&x=343',
		'title': '',
		'imageId': '67749929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749927&x=343',
		'title': '',
		'imageId': '67749927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749935&x=343',
		'title': '',
		'imageId': '67749935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913941&docid=67749932&x=343',
		'title': '',
		'imageId': '67749932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913941';

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