var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157256&x=4611',
		'title': '',
		'imageId': '69157256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157257&x=4611',
		'title': '',
		'imageId': '69157257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157258&x=4611',
		'title': '',
		'imageId': '69157258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157259&x=4611',
		'title': '',
		'imageId': '69157259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157260&x=4611',
		'title': '',
		'imageId': '69157260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157261&x=4611',
		'title': '',
		'imageId': '69157261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157262&x=4611',
		'title': '',
		'imageId': '69157262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157263&x=4611',
		'title': '',
		'imageId': '69157263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157264&x=4611',
		'title': '',
		'imageId': '69157264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975437&docid=69157265&x=4611',
		'title': '',
		'imageId': '69157265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975437';

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