var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105921&x=5412',
		'title': '',
		'imageId': '69105921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105922&x=5412',
		'title': '',
		'imageId': '69105922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105923&x=5412',
		'title': '',
		'imageId': '69105923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105924&x=5412',
		'title': '',
		'imageId': '69105924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105928&x=5412',
		'title': '',
		'imageId': '69105928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105925&x=5412',
		'title': '',
		'imageId': '69105925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105933&x=5412',
		'title': '',
		'imageId': '69105933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105934&x=5412',
		'title': '',
		'imageId': '69105934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105940&x=5412',
		'title': '',
		'imageId': '69105940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973479&docid=69105920&x=5412',
		'title': '',
		'imageId': '69105920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973479';

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