var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627940&x=3054',
		'title': '',
		'imageId': '67627940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627945&x=3054',
		'title': '',
		'imageId': '67627945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627948&x=3054',
		'title': '',
		'imageId': '67627948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627942&x=3054',
		'title': '',
		'imageId': '67627942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627951&x=3054',
		'title': '',
		'imageId': '67627951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627946&x=3054',
		'title': '',
		'imageId': '67627946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627958&x=3054',
		'title': '',
		'imageId': '67627958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627957&x=3054',
		'title': '',
		'imageId': '67627957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627950&x=3054',
		'title': '',
		'imageId': '67627950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627947&x=3054',
		'title': '',
		'imageId': '67627947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909409&docid=67627954&x=3054',
		'title': '',
		'imageId': '67627954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909409';

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